@aldiokta/protocgen 1.1.50 → 1.1.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisca/v1/bidding/bidding_grpc_pb.js +23 -0
- package/prisca/v1/bidding/bidding_pb.js +463 -2
- package/prisca/v1/business_fields/business_fields_grpc_pb.js +33 -0
- package/prisca/v1/business_fields/business_fields_pb.js +356 -0
- package/prisca/v1/core/access_api/access_api_grpc_pb.js +204 -0
- package/prisca/v1/core/access_api/access_api_pb.js +3024 -0
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +66 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +1346 -2
- package/prisca/v1/core/attribute/attribute_grpc_pb.js +474 -0
- package/prisca/v1/core/attribute/attribute_pb.js +6550 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +22 -0
- package/prisca/v1/core/auth/auth_pb.js +152 -0
- package/prisca/v1/core/commodity/commodity_grpc_pb.js +156 -0
- package/prisca/v1/core/commodity/commodity_pb.js +1988 -0
- package/prisca/v1/core/company/company_grpc_pb.js +11 -0
- package/prisca/v1/core/cron_monitor/cron_monitor_grpc_pb.js +221 -0
- package/prisca/v1/core/cron_monitor/cron_monitor_pb.js +2681 -0
- package/prisca/v1/core/employee/employee_grpc_pb.js +25 -3
- package/prisca/v1/core/employee/employee_pb.js +203 -0
- package/prisca/v1/core/identity_provider/identity_provider_grpc_pb.js +156 -0
- package/prisca/v1/core/identity_provider/identity_provider_pb.js +2018 -0
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +2362 -1022
- package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +11 -0
- package/prisca/v1/core/line_of_approval_delegation/line_of_approval_delegation_pb.js +65 -35
- package/prisca/v1/core/material/material_grpc_pb.js +2 -0
- package/prisca/v1/core/material/material_pb.js +420 -2
- package/prisca/v1/core/messaging/email_template_grpc_pb.js +33 -0
- package/prisca/v1/core/messaging/email_template_pb.js +385 -0
- package/prisca/v1/core/number_range/number_range_grpc_pb.js +33 -0
- package/prisca/v1/core/number_range/number_range_pb.js +385 -0
- package/prisca/v1/core/report/report_pb.js +31 -1
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +33 -0
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +364 -0
- package/prisca/v1/core/users/users_grpc_pb.js +1 -0
- package/prisca/v1/core/users/users_pb.js +2 -0
- package/prisca/v1/delivery_order/delivery_order_grpc_pb.js +33 -0
- package/prisca/v1/delivery_order/delivery_order_pb.js +31 -1
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +33 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +273 -8
- package/prisca/v1/invoice/invoice_grpc_pb.js +33 -0
- package/prisca/v1/invoice/invoice_pb.js +237 -2
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +33 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +935 -12
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +35 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +527 -66
- package/prisca/v1/quotation/quotation_pb.js +55 -2
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +0 -123
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +34 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +1365 -0
|
@@ -27,6 +27,10 @@ var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core
|
|
|
27
27
|
goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
|
|
28
28
|
var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../prisca/v1/core/item_transaction/item_transaction_pb.js');
|
|
29
29
|
goog.object.extend(proto, prisca_v1_core_item_transaction_item_transaction_pb);
|
|
30
|
+
var prisca_v1_purchase_order_purchase_order_pb = require('../../../prisca/v1/purchase_order/purchase_order_pb.js');
|
|
31
|
+
goog.object.extend(proto, prisca_v1_purchase_order_purchase_order_pb);
|
|
32
|
+
var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
|
|
33
|
+
goog.object.extend(proto, prisca_v1_core_company_company_pb);
|
|
30
34
|
goog.exportSymbol('proto.BasePurchaseRequisitionTrx', null, global);
|
|
31
35
|
goog.exportSymbol('proto.BaseUpdatePurchaseRequisitionTrx', null, global);
|
|
32
36
|
goog.exportSymbol('proto.CreatePurchaseRequisitionTemplateRequest', null, global);
|
|
@@ -48,6 +52,7 @@ goog.exportSymbol('proto.GetPurchaseRequisitionTemplateListResponse', null, glob
|
|
|
48
52
|
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetail', null, global);
|
|
49
53
|
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload', null, global);
|
|
50
54
|
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload', null, global);
|
|
55
|
+
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload', null, global);
|
|
51
56
|
goog.exportSymbol('proto.GetPurchaseRequisitionTransactionTrxDetailPreloadResponse', null, global);
|
|
52
57
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxByGroupRefRequest', null, global);
|
|
53
58
|
goog.exportSymbol('proto.GetPurchaseRequisitionTrxByIdRequest', null, global);
|
|
@@ -851,6 +856,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
851
856
|
*/
|
|
852
857
|
proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload.displayName = 'proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload';
|
|
853
858
|
}
|
|
859
|
+
/**
|
|
860
|
+
* Generated by JsPbCodeGenerator.
|
|
861
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
862
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
863
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
864
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
865
|
+
* valid.
|
|
866
|
+
* @extends {jspb.Message}
|
|
867
|
+
* @constructor
|
|
868
|
+
*/
|
|
869
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload = function(opt_data) {
|
|
870
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.repeatedFields_, null);
|
|
871
|
+
};
|
|
872
|
+
goog.inherits(proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload, jspb.Message);
|
|
873
|
+
if (goog.DEBUG && !COMPILED) {
|
|
874
|
+
/**
|
|
875
|
+
* @public
|
|
876
|
+
* @override
|
|
877
|
+
*/
|
|
878
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.displayName = 'proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload';
|
|
879
|
+
}
|
|
854
880
|
/**
|
|
855
881
|
* Generated by JsPbCodeGenerator.
|
|
856
882
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1128,7 +1154,10 @@ createdBy: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
|
1128
1154
|
updatedBy: jspb.Message.getFieldWithDefault(msg, 25, ""),
|
|
1129
1155
|
justification: jspb.Message.getFieldWithDefault(msg, 26, ""),
|
|
1130
1156
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
1131
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
1157
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
1158
|
+
requestedBy: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
1159
|
+
requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
|
|
1160
|
+
companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompany.toObject(includeInstance, f)
|
|
1132
1161
|
};
|
|
1133
1162
|
|
|
1134
1163
|
if (includeInstance) {
|
|
@@ -1276,6 +1305,20 @@ proto.PurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1276
1305
|
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
1277
1306
|
msg.addFiles(value);
|
|
1278
1307
|
break;
|
|
1308
|
+
case 28:
|
|
1309
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1310
|
+
msg.setRequestedBy(value);
|
|
1311
|
+
break;
|
|
1312
|
+
case 29:
|
|
1313
|
+
var value = new prisca_v1_global_meta_meta_pb.Creator;
|
|
1314
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
|
|
1315
|
+
msg.setRequestor(value);
|
|
1316
|
+
break;
|
|
1317
|
+
case 30:
|
|
1318
|
+
var value = new prisca_v1_core_company_company_pb.BaseCompany;
|
|
1319
|
+
reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompany.deserializeBinaryFromReader);
|
|
1320
|
+
msg.setCompanies(value);
|
|
1321
|
+
break;
|
|
1279
1322
|
default:
|
|
1280
1323
|
reader.skipField();
|
|
1281
1324
|
break;
|
|
@@ -1497,6 +1540,29 @@ proto.PurchaseRequisitionTrx.serializeBinaryToWriter = function(message, writer)
|
|
|
1497
1540
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
1498
1541
|
);
|
|
1499
1542
|
}
|
|
1543
|
+
f = message.getRequestedBy();
|
|
1544
|
+
if (f.length > 0) {
|
|
1545
|
+
writer.writeString(
|
|
1546
|
+
28,
|
|
1547
|
+
f
|
|
1548
|
+
);
|
|
1549
|
+
}
|
|
1550
|
+
f = message.getRequestor();
|
|
1551
|
+
if (f != null) {
|
|
1552
|
+
writer.writeMessage(
|
|
1553
|
+
29,
|
|
1554
|
+
f,
|
|
1555
|
+
prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
|
|
1556
|
+
);
|
|
1557
|
+
}
|
|
1558
|
+
f = message.getCompanies();
|
|
1559
|
+
if (f != null) {
|
|
1560
|
+
writer.writeMessage(
|
|
1561
|
+
30,
|
|
1562
|
+
f,
|
|
1563
|
+
prisca_v1_core_company_company_pb.BaseCompany.serializeBinaryToWriter
|
|
1564
|
+
);
|
|
1565
|
+
}
|
|
1500
1566
|
};
|
|
1501
1567
|
|
|
1502
1568
|
|
|
@@ -2045,6 +2111,98 @@ proto.PurchaseRequisitionTrx.prototype.clearFilesList = function() {
|
|
|
2045
2111
|
};
|
|
2046
2112
|
|
|
2047
2113
|
|
|
2114
|
+
/**
|
|
2115
|
+
* optional string requested_by = 28;
|
|
2116
|
+
* @return {string}
|
|
2117
|
+
*/
|
|
2118
|
+
proto.PurchaseRequisitionTrx.prototype.getRequestedBy = function() {
|
|
2119
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
|
|
2120
|
+
};
|
|
2121
|
+
|
|
2122
|
+
|
|
2123
|
+
/**
|
|
2124
|
+
* @param {string} value
|
|
2125
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
2126
|
+
*/
|
|
2127
|
+
proto.PurchaseRequisitionTrx.prototype.setRequestedBy = function(value) {
|
|
2128
|
+
return jspb.Message.setProto3StringField(this, 28, value);
|
|
2129
|
+
};
|
|
2130
|
+
|
|
2131
|
+
|
|
2132
|
+
/**
|
|
2133
|
+
* optional prisca.v1.global.meta.Creator requestor = 29;
|
|
2134
|
+
* @return {?proto.prisca.v1.global.meta.Creator}
|
|
2135
|
+
*/
|
|
2136
|
+
proto.PurchaseRequisitionTrx.prototype.getRequestor = function() {
|
|
2137
|
+
return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
|
|
2138
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 29));
|
|
2139
|
+
};
|
|
2140
|
+
|
|
2141
|
+
|
|
2142
|
+
/**
|
|
2143
|
+
* @param {?proto.prisca.v1.global.meta.Creator|undefined} value
|
|
2144
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
2145
|
+
*/
|
|
2146
|
+
proto.PurchaseRequisitionTrx.prototype.setRequestor = function(value) {
|
|
2147
|
+
return jspb.Message.setWrapperField(this, 29, value);
|
|
2148
|
+
};
|
|
2149
|
+
|
|
2150
|
+
|
|
2151
|
+
/**
|
|
2152
|
+
* Clears the message field making it undefined.
|
|
2153
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
2154
|
+
*/
|
|
2155
|
+
proto.PurchaseRequisitionTrx.prototype.clearRequestor = function() {
|
|
2156
|
+
return this.setRequestor(undefined);
|
|
2157
|
+
};
|
|
2158
|
+
|
|
2159
|
+
|
|
2160
|
+
/**
|
|
2161
|
+
* Returns whether this field is set.
|
|
2162
|
+
* @return {boolean}
|
|
2163
|
+
*/
|
|
2164
|
+
proto.PurchaseRequisitionTrx.prototype.hasRequestor = function() {
|
|
2165
|
+
return jspb.Message.getField(this, 29) != null;
|
|
2166
|
+
};
|
|
2167
|
+
|
|
2168
|
+
|
|
2169
|
+
/**
|
|
2170
|
+
* optional BaseCompany companies = 30;
|
|
2171
|
+
* @return {?proto.BaseCompany}
|
|
2172
|
+
*/
|
|
2173
|
+
proto.PurchaseRequisitionTrx.prototype.getCompanies = function() {
|
|
2174
|
+
return /** @type{?proto.BaseCompany} */ (
|
|
2175
|
+
jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompany, 30));
|
|
2176
|
+
};
|
|
2177
|
+
|
|
2178
|
+
|
|
2179
|
+
/**
|
|
2180
|
+
* @param {?proto.BaseCompany|undefined} value
|
|
2181
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
2182
|
+
*/
|
|
2183
|
+
proto.PurchaseRequisitionTrx.prototype.setCompanies = function(value) {
|
|
2184
|
+
return jspb.Message.setWrapperField(this, 30, value);
|
|
2185
|
+
};
|
|
2186
|
+
|
|
2187
|
+
|
|
2188
|
+
/**
|
|
2189
|
+
* Clears the message field making it undefined.
|
|
2190
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
2191
|
+
*/
|
|
2192
|
+
proto.PurchaseRequisitionTrx.prototype.clearCompanies = function() {
|
|
2193
|
+
return this.setCompanies(undefined);
|
|
2194
|
+
};
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
/**
|
|
2198
|
+
* Returns whether this field is set.
|
|
2199
|
+
* @return {boolean}
|
|
2200
|
+
*/
|
|
2201
|
+
proto.PurchaseRequisitionTrx.prototype.hasCompanies = function() {
|
|
2202
|
+
return jspb.Message.getField(this, 30) != null;
|
|
2203
|
+
};
|
|
2204
|
+
|
|
2205
|
+
|
|
2048
2206
|
|
|
2049
2207
|
/**
|
|
2050
2208
|
* List of repeated fields within this message type.
|
|
@@ -2103,7 +2261,8 @@ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
|
2103
2261
|
status: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
2104
2262
|
justification: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
2105
2263
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
2106
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
2264
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
2265
|
+
requestedBy: jspb.Message.getFieldWithDefault(msg, 19, "")
|
|
2107
2266
|
};
|
|
2108
2267
|
|
|
2109
2268
|
if (includeInstance) {
|
|
@@ -2214,6 +2373,10 @@ proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, rea
|
|
|
2214
2373
|
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
2215
2374
|
msg.addFiles(value);
|
|
2216
2375
|
break;
|
|
2376
|
+
case 19:
|
|
2377
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2378
|
+
msg.setRequestedBy(value);
|
|
2379
|
+
break;
|
|
2217
2380
|
default:
|
|
2218
2381
|
reader.skipField();
|
|
2219
2382
|
break;
|
|
@@ -2371,6 +2534,13 @@ proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter = function(message, wri
|
|
|
2371
2534
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
2372
2535
|
);
|
|
2373
2536
|
}
|
|
2537
|
+
f = message.getRequestedBy();
|
|
2538
|
+
if (f.length > 0) {
|
|
2539
|
+
writer.writeString(
|
|
2540
|
+
19,
|
|
2541
|
+
f
|
|
2542
|
+
);
|
|
2543
|
+
}
|
|
2374
2544
|
};
|
|
2375
2545
|
|
|
2376
2546
|
|
|
@@ -2738,6 +2908,24 @@ proto.BasePurchaseRequisitionTrx.prototype.clearFilesList = function() {
|
|
|
2738
2908
|
};
|
|
2739
2909
|
|
|
2740
2910
|
|
|
2911
|
+
/**
|
|
2912
|
+
* optional string requested_by = 19;
|
|
2913
|
+
* @return {string}
|
|
2914
|
+
*/
|
|
2915
|
+
proto.BasePurchaseRequisitionTrx.prototype.getRequestedBy = function() {
|
|
2916
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
2917
|
+
};
|
|
2918
|
+
|
|
2919
|
+
|
|
2920
|
+
/**
|
|
2921
|
+
* @param {string} value
|
|
2922
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
2923
|
+
*/
|
|
2924
|
+
proto.BasePurchaseRequisitionTrx.prototype.setRequestedBy = function(value) {
|
|
2925
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
2926
|
+
};
|
|
2927
|
+
|
|
2928
|
+
|
|
2741
2929
|
|
|
2742
2930
|
/**
|
|
2743
2931
|
* List of repeated fields within this message type.
|
|
@@ -2798,7 +2986,8 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
|
2798
2986
|
numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
2799
2987
|
justification: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
2800
2988
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
2801
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
2989
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
2990
|
+
requestedBy: jspb.Message.getFieldWithDefault(msg, 21, "")
|
|
2802
2991
|
};
|
|
2803
2992
|
|
|
2804
2993
|
if (includeInstance) {
|
|
@@ -2917,6 +3106,10 @@ proto.BaseUpdatePurchaseRequisitionTrx.deserializeBinaryFromReader = function(ms
|
|
|
2917
3106
|
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
2918
3107
|
msg.addFiles(value);
|
|
2919
3108
|
break;
|
|
3109
|
+
case 21:
|
|
3110
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3111
|
+
msg.setRequestedBy(value);
|
|
3112
|
+
break;
|
|
2920
3113
|
default:
|
|
2921
3114
|
reader.skipField();
|
|
2922
3115
|
break;
|
|
@@ -3088,6 +3281,13 @@ proto.BaseUpdatePurchaseRequisitionTrx.serializeBinaryToWriter = function(messag
|
|
|
3088
3281
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
3089
3282
|
);
|
|
3090
3283
|
}
|
|
3284
|
+
f = message.getRequestedBy();
|
|
3285
|
+
if (f.length > 0) {
|
|
3286
|
+
writer.writeString(
|
|
3287
|
+
21,
|
|
3288
|
+
f
|
|
3289
|
+
);
|
|
3290
|
+
}
|
|
3091
3291
|
};
|
|
3092
3292
|
|
|
3093
3293
|
|
|
@@ -3491,6 +3691,24 @@ proto.BaseUpdatePurchaseRequisitionTrx.prototype.clearFilesList = function() {
|
|
|
3491
3691
|
};
|
|
3492
3692
|
|
|
3493
3693
|
|
|
3694
|
+
/**
|
|
3695
|
+
* optional string requested_by = 21;
|
|
3696
|
+
* @return {string}
|
|
3697
|
+
*/
|
|
3698
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getRequestedBy = function() {
|
|
3699
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
3700
|
+
};
|
|
3701
|
+
|
|
3702
|
+
|
|
3703
|
+
/**
|
|
3704
|
+
* @param {string} value
|
|
3705
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
3706
|
+
*/
|
|
3707
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setRequestedBy = function(value) {
|
|
3708
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
3709
|
+
};
|
|
3710
|
+
|
|
3711
|
+
|
|
3494
3712
|
|
|
3495
3713
|
|
|
3496
3714
|
|
|
@@ -9308,7 +9526,7 @@ proto.GetPurchaseRequisitionTransactionTrxDetailPreloadResponse.prototype.clearP
|
|
|
9308
9526
|
* @private {!Array<number>}
|
|
9309
9527
|
* @const
|
|
9310
9528
|
*/
|
|
9311
|
-
proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.repeatedFields_ = [1,2];
|
|
9529
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.repeatedFields_ = [1,2,3];
|
|
9312
9530
|
|
|
9313
9531
|
|
|
9314
9532
|
|
|
@@ -9344,7 +9562,9 @@ proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.toObject = function(
|
|
|
9344
9562
|
prTransactionBuilderItemList: jspb.Message.toObjectList(msg.getPrTransactionBuilderItemList(),
|
|
9345
9563
|
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance),
|
|
9346
9564
|
prTransactionBuilderItemDetailsList: jspb.Message.toObjectList(msg.getPrTransactionBuilderItemDetailsList(),
|
|
9347
|
-
proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload.toObject, includeInstance)
|
|
9565
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload.toObject, includeInstance),
|
|
9566
|
+
prTransactionBuilderItemServicesList: jspb.Message.toObjectList(msg.getPrTransactionBuilderItemServicesList(),
|
|
9567
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.toObject, includeInstance)
|
|
9348
9568
|
};
|
|
9349
9569
|
|
|
9350
9570
|
if (includeInstance) {
|
|
@@ -9391,6 +9611,11 @@ proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.deserializeBinaryFro
|
|
|
9391
9611
|
reader.readMessage(value,proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload.deserializeBinaryFromReader);
|
|
9392
9612
|
msg.addPrTransactionBuilderItemDetails(value);
|
|
9393
9613
|
break;
|
|
9614
|
+
case 3:
|
|
9615
|
+
var value = new proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload;
|
|
9616
|
+
reader.readMessage(value,proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.deserializeBinaryFromReader);
|
|
9617
|
+
msg.addPrTransactionBuilderItemServices(value);
|
|
9618
|
+
break;
|
|
9394
9619
|
default:
|
|
9395
9620
|
reader.skipField();
|
|
9396
9621
|
break;
|
|
@@ -9436,6 +9661,14 @@ proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.serializeBinaryToWri
|
|
|
9436
9661
|
proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload.serializeBinaryToWriter
|
|
9437
9662
|
);
|
|
9438
9663
|
}
|
|
9664
|
+
f = message.getPrTransactionBuilderItemServicesList();
|
|
9665
|
+
if (f.length > 0) {
|
|
9666
|
+
writer.writeRepeatedMessage(
|
|
9667
|
+
3,
|
|
9668
|
+
f,
|
|
9669
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.serializeBinaryToWriter
|
|
9670
|
+
);
|
|
9671
|
+
}
|
|
9439
9672
|
};
|
|
9440
9673
|
|
|
9441
9674
|
|
|
@@ -9515,6 +9748,44 @@ proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.prototype.clearPrTra
|
|
|
9515
9748
|
};
|
|
9516
9749
|
|
|
9517
9750
|
|
|
9751
|
+
/**
|
|
9752
|
+
* repeated GetPurchaseRequisitionTransactionTrxDetailItemServicePreload pr_transaction_builder_item_services = 3;
|
|
9753
|
+
* @return {!Array<!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload>}
|
|
9754
|
+
*/
|
|
9755
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.prototype.getPrTransactionBuilderItemServicesList = function() {
|
|
9756
|
+
return /** @type{!Array<!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload>} */ (
|
|
9757
|
+
jspb.Message.getRepeatedWrapperField(this, proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload, 3));
|
|
9758
|
+
};
|
|
9759
|
+
|
|
9760
|
+
|
|
9761
|
+
/**
|
|
9762
|
+
* @param {!Array<!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload>} value
|
|
9763
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload} returns this
|
|
9764
|
+
*/
|
|
9765
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.prototype.setPrTransactionBuilderItemServicesList = function(value) {
|
|
9766
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
9767
|
+
};
|
|
9768
|
+
|
|
9769
|
+
|
|
9770
|
+
/**
|
|
9771
|
+
* @param {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload=} opt_value
|
|
9772
|
+
* @param {number=} opt_index
|
|
9773
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload}
|
|
9774
|
+
*/
|
|
9775
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.prototype.addPrTransactionBuilderItemServices = function(opt_value, opt_index) {
|
|
9776
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload, opt_index);
|
|
9777
|
+
};
|
|
9778
|
+
|
|
9779
|
+
|
|
9780
|
+
/**
|
|
9781
|
+
* Clears the list making it empty but non-null.
|
|
9782
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload} returns this
|
|
9783
|
+
*/
|
|
9784
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemPreload.prototype.clearPrTransactionBuilderItemServicesList = function() {
|
|
9785
|
+
return this.setPrTransactionBuilderItemServicesList([]);
|
|
9786
|
+
};
|
|
9787
|
+
|
|
9788
|
+
|
|
9518
9789
|
|
|
9519
9790
|
/**
|
|
9520
9791
|
* List of repeated fields within this message type.
|
|
@@ -9676,6 +9947,166 @@ proto.GetPurchaseRequisitionTransactionTrxDetailItemDetailPreload.prototype.clea
|
|
|
9676
9947
|
|
|
9677
9948
|
|
|
9678
9949
|
|
|
9950
|
+
/**
|
|
9951
|
+
* List of repeated fields within this message type.
|
|
9952
|
+
* @private {!Array<number>}
|
|
9953
|
+
* @const
|
|
9954
|
+
*/
|
|
9955
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.repeatedFields_ = [1];
|
|
9956
|
+
|
|
9957
|
+
|
|
9958
|
+
|
|
9959
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9960
|
+
/**
|
|
9961
|
+
* Creates an object representation of this proto.
|
|
9962
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9963
|
+
* Optional fields that are not set will be set to undefined.
|
|
9964
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9965
|
+
* For the list of reserved names please see:
|
|
9966
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9967
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9968
|
+
* JSPB instance for transitional soy proto support:
|
|
9969
|
+
* http://goto/soy-param-migration
|
|
9970
|
+
* @return {!Object}
|
|
9971
|
+
*/
|
|
9972
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.prototype.toObject = function(opt_includeInstance) {
|
|
9973
|
+
return proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.toObject(opt_includeInstance, this);
|
|
9974
|
+
};
|
|
9975
|
+
|
|
9976
|
+
|
|
9977
|
+
/**
|
|
9978
|
+
* Static version of the {@see toObject} method.
|
|
9979
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9980
|
+
* the JSPB instance for transitional soy proto support:
|
|
9981
|
+
* http://goto/soy-param-migration
|
|
9982
|
+
* @param {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload} msg The msg instance to transform.
|
|
9983
|
+
* @return {!Object}
|
|
9984
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9985
|
+
*/
|
|
9986
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.toObject = function(includeInstance, msg) {
|
|
9987
|
+
var f, obj = {
|
|
9988
|
+
prTransactionBuilderItemServiceList: jspb.Message.toObjectList(msg.getPrTransactionBuilderItemServiceList(),
|
|
9989
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.toObject, includeInstance)
|
|
9990
|
+
};
|
|
9991
|
+
|
|
9992
|
+
if (includeInstance) {
|
|
9993
|
+
obj.$jspbMessageInstance = msg;
|
|
9994
|
+
}
|
|
9995
|
+
return obj;
|
|
9996
|
+
};
|
|
9997
|
+
}
|
|
9998
|
+
|
|
9999
|
+
|
|
10000
|
+
/**
|
|
10001
|
+
* Deserializes binary data (in protobuf wire format).
|
|
10002
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10003
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload}
|
|
10004
|
+
*/
|
|
10005
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.deserializeBinary = function(bytes) {
|
|
10006
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
10007
|
+
var msg = new proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload;
|
|
10008
|
+
return proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.deserializeBinaryFromReader(msg, reader);
|
|
10009
|
+
};
|
|
10010
|
+
|
|
10011
|
+
|
|
10012
|
+
/**
|
|
10013
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
10014
|
+
* given reader into the given message object.
|
|
10015
|
+
* @param {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload} msg The message object to deserialize into.
|
|
10016
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10017
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload}
|
|
10018
|
+
*/
|
|
10019
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.deserializeBinaryFromReader = function(msg, reader) {
|
|
10020
|
+
while (reader.nextField()) {
|
|
10021
|
+
if (reader.isEndGroup()) {
|
|
10022
|
+
break;
|
|
10023
|
+
}
|
|
10024
|
+
var field = reader.getFieldNumber();
|
|
10025
|
+
switch (field) {
|
|
10026
|
+
case 1:
|
|
10027
|
+
var value = new prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail;
|
|
10028
|
+
reader.readMessage(value,prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.deserializeBinaryFromReader);
|
|
10029
|
+
msg.addPrTransactionBuilderItemService(value);
|
|
10030
|
+
break;
|
|
10031
|
+
default:
|
|
10032
|
+
reader.skipField();
|
|
10033
|
+
break;
|
|
10034
|
+
}
|
|
10035
|
+
}
|
|
10036
|
+
return msg;
|
|
10037
|
+
};
|
|
10038
|
+
|
|
10039
|
+
|
|
10040
|
+
/**
|
|
10041
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
10042
|
+
* @return {!Uint8Array}
|
|
10043
|
+
*/
|
|
10044
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.prototype.serializeBinary = function() {
|
|
10045
|
+
var writer = new jspb.BinaryWriter();
|
|
10046
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.serializeBinaryToWriter(this, writer);
|
|
10047
|
+
return writer.getResultBuffer();
|
|
10048
|
+
};
|
|
10049
|
+
|
|
10050
|
+
|
|
10051
|
+
/**
|
|
10052
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
10053
|
+
* format), writing to the given BinaryWriter.
|
|
10054
|
+
* @param {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload} message
|
|
10055
|
+
* @param {!jspb.BinaryWriter} writer
|
|
10056
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10057
|
+
*/
|
|
10058
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.serializeBinaryToWriter = function(message, writer) {
|
|
10059
|
+
var f = undefined;
|
|
10060
|
+
f = message.getPrTransactionBuilderItemServiceList();
|
|
10061
|
+
if (f.length > 0) {
|
|
10062
|
+
writer.writeRepeatedMessage(
|
|
10063
|
+
1,
|
|
10064
|
+
f,
|
|
10065
|
+
prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail.serializeBinaryToWriter
|
|
10066
|
+
);
|
|
10067
|
+
}
|
|
10068
|
+
};
|
|
10069
|
+
|
|
10070
|
+
|
|
10071
|
+
/**
|
|
10072
|
+
* repeated TransactionBuilderFieldsDetail pr_transaction_builder_item_service = 1;
|
|
10073
|
+
* @return {!Array<!proto.TransactionBuilderFieldsDetail>}
|
|
10074
|
+
*/
|
|
10075
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.prototype.getPrTransactionBuilderItemServiceList = function() {
|
|
10076
|
+
return /** @type{!Array<!proto.TransactionBuilderFieldsDetail>} */ (
|
|
10077
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_transaction_builder_transaction_builder_pb.TransactionBuilderFieldsDetail, 1));
|
|
10078
|
+
};
|
|
10079
|
+
|
|
10080
|
+
|
|
10081
|
+
/**
|
|
10082
|
+
* @param {!Array<!proto.TransactionBuilderFieldsDetail>} value
|
|
10083
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload} returns this
|
|
10084
|
+
*/
|
|
10085
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.prototype.setPrTransactionBuilderItemServiceList = function(value) {
|
|
10086
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
10087
|
+
};
|
|
10088
|
+
|
|
10089
|
+
|
|
10090
|
+
/**
|
|
10091
|
+
* @param {!proto.TransactionBuilderFieldsDetail=} opt_value
|
|
10092
|
+
* @param {number=} opt_index
|
|
10093
|
+
* @return {!proto.TransactionBuilderFieldsDetail}
|
|
10094
|
+
*/
|
|
10095
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.prototype.addPrTransactionBuilderItemService = function(opt_value, opt_index) {
|
|
10096
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.TransactionBuilderFieldsDetail, opt_index);
|
|
10097
|
+
};
|
|
10098
|
+
|
|
10099
|
+
|
|
10100
|
+
/**
|
|
10101
|
+
* Clears the list making it empty but non-null.
|
|
10102
|
+
* @return {!proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload} returns this
|
|
10103
|
+
*/
|
|
10104
|
+
proto.GetPurchaseRequisitionTransactionTrxDetailItemServicePreload.prototype.clearPrTransactionBuilderItemServiceList = function() {
|
|
10105
|
+
return this.setPrTransactionBuilderItemServiceList([]);
|
|
10106
|
+
};
|
|
10107
|
+
|
|
10108
|
+
|
|
10109
|
+
|
|
9679
10110
|
|
|
9680
10111
|
|
|
9681
10112
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -10932,6 +11363,7 @@ purchaseOrderCreatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
|
10932
11363
|
goodsReceiptNumber: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
10933
11364
|
goodsReceiptQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0),
|
|
10934
11365
|
goodsReceiptCreatedAt: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
11366
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
10935
11367
|
createdByUser: (f = msg.getCreatedByUser()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f)
|
|
10936
11368
|
};
|
|
10937
11369
|
|
|
@@ -11050,6 +11482,10 @@ proto.PurchaseRequisitionItemTrack.deserializeBinaryFromReader = function(msg, r
|
|
|
11050
11482
|
msg.setGoodsReceiptCreatedAt(value);
|
|
11051
11483
|
break;
|
|
11052
11484
|
case 21:
|
|
11485
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11486
|
+
msg.setUnitOfMeasure(value);
|
|
11487
|
+
break;
|
|
11488
|
+
case 22:
|
|
11053
11489
|
var value = new prisca_v1_global_meta_meta_pb.Creator;
|
|
11054
11490
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
|
|
11055
11491
|
msg.setCreatedByUser(value);
|
|
@@ -11223,10 +11659,17 @@ proto.PurchaseRequisitionItemTrack.serializeBinaryToWriter = function(message, w
|
|
|
11223
11659
|
f
|
|
11224
11660
|
);
|
|
11225
11661
|
}
|
|
11662
|
+
f = message.getUnitOfMeasure();
|
|
11663
|
+
if (f.length > 0) {
|
|
11664
|
+
writer.writeString(
|
|
11665
|
+
21,
|
|
11666
|
+
f
|
|
11667
|
+
);
|
|
11668
|
+
}
|
|
11226
11669
|
f = message.getCreatedByUser();
|
|
11227
11670
|
if (f != null) {
|
|
11228
11671
|
writer.writeMessage(
|
|
11229
|
-
|
|
11672
|
+
22,
|
|
11230
11673
|
f,
|
|
11231
11674
|
prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
|
|
11232
11675
|
);
|
|
@@ -11595,12 +12038,30 @@ proto.PurchaseRequisitionItemTrack.prototype.setGoodsReceiptCreatedAt = function
|
|
|
11595
12038
|
|
|
11596
12039
|
|
|
11597
12040
|
/**
|
|
11598
|
-
* optional
|
|
12041
|
+
* optional string unit_of_measure = 21;
|
|
12042
|
+
* @return {string}
|
|
12043
|
+
*/
|
|
12044
|
+
proto.PurchaseRequisitionItemTrack.prototype.getUnitOfMeasure = function() {
|
|
12045
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
12046
|
+
};
|
|
12047
|
+
|
|
12048
|
+
|
|
12049
|
+
/**
|
|
12050
|
+
* @param {string} value
|
|
12051
|
+
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
12052
|
+
*/
|
|
12053
|
+
proto.PurchaseRequisitionItemTrack.prototype.setUnitOfMeasure = function(value) {
|
|
12054
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
12055
|
+
};
|
|
12056
|
+
|
|
12057
|
+
|
|
12058
|
+
/**
|
|
12059
|
+
* optional prisca.v1.global.meta.Creator created_by_user = 22;
|
|
11599
12060
|
* @return {?proto.prisca.v1.global.meta.Creator}
|
|
11600
12061
|
*/
|
|
11601
12062
|
proto.PurchaseRequisitionItemTrack.prototype.getCreatedByUser = function() {
|
|
11602
12063
|
return /** @type{?proto.prisca.v1.global.meta.Creator} */ (
|
|
11603
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator,
|
|
12064
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Creator, 22));
|
|
11604
12065
|
};
|
|
11605
12066
|
|
|
11606
12067
|
|
|
@@ -11609,7 +12070,7 @@ proto.PurchaseRequisitionItemTrack.prototype.getCreatedByUser = function() {
|
|
|
11609
12070
|
* @return {!proto.PurchaseRequisitionItemTrack} returns this
|
|
11610
12071
|
*/
|
|
11611
12072
|
proto.PurchaseRequisitionItemTrack.prototype.setCreatedByUser = function(value) {
|
|
11612
|
-
return jspb.Message.setWrapperField(this,
|
|
12073
|
+
return jspb.Message.setWrapperField(this, 22, value);
|
|
11613
12074
|
};
|
|
11614
12075
|
|
|
11615
12076
|
|
|
@@ -11627,7 +12088,7 @@ proto.PurchaseRequisitionItemTrack.prototype.clearCreatedByUser = function() {
|
|
|
11627
12088
|
* @return {boolean}
|
|
11628
12089
|
*/
|
|
11629
12090
|
proto.PurchaseRequisitionItemTrack.prototype.hasCreatedByUser = function() {
|
|
11630
|
-
return jspb.Message.getField(this,
|
|
12091
|
+
return jspb.Message.getField(this, 22) != null;
|
|
11631
12092
|
};
|
|
11632
12093
|
|
|
11633
12094
|
|
|
@@ -11875,13 +12336,13 @@ proto.PurchaseRequisitionProgressTrack.prototype.toObject = function(opt_include
|
|
|
11875
12336
|
proto.PurchaseRequisitionProgressTrack.toObject = function(includeInstance, msg) {
|
|
11876
12337
|
var f, obj = {
|
|
11877
12338
|
purchaseRequestNumber: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11878
|
-
|
|
11879
|
-
|
|
11880
|
-
|
|
11881
|
-
|
|
11882
|
-
|
|
11883
|
-
|
|
11884
|
-
|
|
12339
|
+
materialCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
12340
|
+
detailDescription: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
12341
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
12342
|
+
total: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
12343
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
12344
|
+
purchaseRequestFirstApprovalAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
12345
|
+
purchaseRequestLastApprovedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
11885
12346
|
createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
11886
12347
|
agingWorkdays: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
11887
12348
|
purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
@@ -11930,31 +12391,31 @@ proto.PurchaseRequisitionProgressTrack.deserializeBinaryFromReader = function(ms
|
|
|
11930
12391
|
break;
|
|
11931
12392
|
case 2:
|
|
11932
12393
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11933
|
-
msg.
|
|
12394
|
+
msg.setMaterialCode(value);
|
|
11934
12395
|
break;
|
|
11935
12396
|
case 3:
|
|
11936
12397
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11937
|
-
msg.
|
|
12398
|
+
msg.setDetailDescription(value);
|
|
11938
12399
|
break;
|
|
11939
12400
|
case 4:
|
|
11940
|
-
var value = /** @type {
|
|
11941
|
-
msg.
|
|
12401
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
12402
|
+
msg.setDescription(value);
|
|
11942
12403
|
break;
|
|
11943
12404
|
case 5:
|
|
11944
|
-
var value = /** @type {
|
|
11945
|
-
msg.
|
|
12405
|
+
var value = /** @type {number} */ (reader.readDouble());
|
|
12406
|
+
msg.setTotal(value);
|
|
11946
12407
|
break;
|
|
11947
12408
|
case 6:
|
|
11948
12409
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11949
|
-
msg.
|
|
12410
|
+
msg.setUnitOfMeasure(value);
|
|
11950
12411
|
break;
|
|
11951
12412
|
case 7:
|
|
11952
12413
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11953
|
-
msg.
|
|
12414
|
+
msg.setPurchaseRequestFirstApprovalAt(value);
|
|
11954
12415
|
break;
|
|
11955
12416
|
case 8:
|
|
11956
12417
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
11957
|
-
msg.
|
|
12418
|
+
msg.setPurchaseRequestLastApprovedAt(value);
|
|
11958
12419
|
break;
|
|
11959
12420
|
case 9:
|
|
11960
12421
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
@@ -12017,49 +12478,49 @@ proto.PurchaseRequisitionProgressTrack.serializeBinaryToWriter = function(messag
|
|
|
12017
12478
|
f
|
|
12018
12479
|
);
|
|
12019
12480
|
}
|
|
12020
|
-
f = message.
|
|
12481
|
+
f = message.getMaterialCode();
|
|
12021
12482
|
if (f.length > 0) {
|
|
12022
12483
|
writer.writeString(
|
|
12023
12484
|
2,
|
|
12024
12485
|
f
|
|
12025
12486
|
);
|
|
12026
12487
|
}
|
|
12027
|
-
f = message.
|
|
12488
|
+
f = message.getDetailDescription();
|
|
12028
12489
|
if (f.length > 0) {
|
|
12029
12490
|
writer.writeString(
|
|
12030
12491
|
3,
|
|
12031
12492
|
f
|
|
12032
12493
|
);
|
|
12033
12494
|
}
|
|
12034
|
-
f = message.
|
|
12035
|
-
if (f
|
|
12036
|
-
writer.
|
|
12495
|
+
f = message.getDescription();
|
|
12496
|
+
if (f.length > 0) {
|
|
12497
|
+
writer.writeString(
|
|
12037
12498
|
4,
|
|
12038
12499
|
f
|
|
12039
12500
|
);
|
|
12040
12501
|
}
|
|
12041
|
-
f = message.
|
|
12042
|
-
if (f
|
|
12043
|
-
writer.
|
|
12502
|
+
f = message.getTotal();
|
|
12503
|
+
if (f !== 0.0) {
|
|
12504
|
+
writer.writeDouble(
|
|
12044
12505
|
5,
|
|
12045
12506
|
f
|
|
12046
12507
|
);
|
|
12047
12508
|
}
|
|
12048
|
-
f = message.
|
|
12509
|
+
f = message.getUnitOfMeasure();
|
|
12049
12510
|
if (f.length > 0) {
|
|
12050
12511
|
writer.writeString(
|
|
12051
12512
|
6,
|
|
12052
12513
|
f
|
|
12053
12514
|
);
|
|
12054
12515
|
}
|
|
12055
|
-
f = message.
|
|
12516
|
+
f = message.getPurchaseRequestFirstApprovalAt();
|
|
12056
12517
|
if (f.length > 0) {
|
|
12057
12518
|
writer.writeString(
|
|
12058
12519
|
7,
|
|
12059
12520
|
f
|
|
12060
12521
|
);
|
|
12061
12522
|
}
|
|
12062
|
-
f = message.
|
|
12523
|
+
f = message.getPurchaseRequestLastApprovedAt();
|
|
12063
12524
|
if (f.length > 0) {
|
|
12064
12525
|
writer.writeString(
|
|
12065
12526
|
8,
|
|
@@ -12131,10 +12592,10 @@ proto.PurchaseRequisitionProgressTrack.prototype.setPurchaseRequestNumber = func
|
|
|
12131
12592
|
|
|
12132
12593
|
|
|
12133
12594
|
/**
|
|
12134
|
-
* optional string
|
|
12595
|
+
* optional string material_code = 2;
|
|
12135
12596
|
* @return {string}
|
|
12136
12597
|
*/
|
|
12137
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12598
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getMaterialCode = function() {
|
|
12138
12599
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
12139
12600
|
};
|
|
12140
12601
|
|
|
@@ -12143,16 +12604,16 @@ proto.PurchaseRequisitionProgressTrack.prototype.getDetailDescription = function
|
|
|
12143
12604
|
* @param {string} value
|
|
12144
12605
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12145
12606
|
*/
|
|
12146
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12607
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setMaterialCode = function(value) {
|
|
12147
12608
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
12148
12609
|
};
|
|
12149
12610
|
|
|
12150
12611
|
|
|
12151
12612
|
/**
|
|
12152
|
-
* optional string
|
|
12613
|
+
* optional string detail_description = 3;
|
|
12153
12614
|
* @return {string}
|
|
12154
12615
|
*/
|
|
12155
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12616
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getDetailDescription = function() {
|
|
12156
12617
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
12157
12618
|
};
|
|
12158
12619
|
|
|
@@ -12161,52 +12622,52 @@ proto.PurchaseRequisitionProgressTrack.prototype.getDescription = function() {
|
|
|
12161
12622
|
* @param {string} value
|
|
12162
12623
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12163
12624
|
*/
|
|
12164
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12625
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setDetailDescription = function(value) {
|
|
12165
12626
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
12166
12627
|
};
|
|
12167
12628
|
|
|
12168
12629
|
|
|
12169
12630
|
/**
|
|
12170
|
-
* optional
|
|
12171
|
-
* @return {
|
|
12631
|
+
* optional string description = 4;
|
|
12632
|
+
* @return {string}
|
|
12172
12633
|
*/
|
|
12173
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12174
|
-
return /** @type {
|
|
12634
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getDescription = function() {
|
|
12635
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
12175
12636
|
};
|
|
12176
12637
|
|
|
12177
12638
|
|
|
12178
12639
|
/**
|
|
12179
|
-
* @param {
|
|
12640
|
+
* @param {string} value
|
|
12180
12641
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12181
12642
|
*/
|
|
12182
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12183
|
-
return jspb.Message.
|
|
12643
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setDescription = function(value) {
|
|
12644
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
12184
12645
|
};
|
|
12185
12646
|
|
|
12186
12647
|
|
|
12187
12648
|
/**
|
|
12188
|
-
* optional
|
|
12189
|
-
* @return {
|
|
12649
|
+
* optional double total = 5;
|
|
12650
|
+
* @return {number}
|
|
12190
12651
|
*/
|
|
12191
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12192
|
-
return /** @type {
|
|
12652
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getTotal = function() {
|
|
12653
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
12193
12654
|
};
|
|
12194
12655
|
|
|
12195
12656
|
|
|
12196
12657
|
/**
|
|
12197
|
-
* @param {
|
|
12658
|
+
* @param {number} value
|
|
12198
12659
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12199
12660
|
*/
|
|
12200
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12201
|
-
return jspb.Message.
|
|
12661
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setTotal = function(value) {
|
|
12662
|
+
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
12202
12663
|
};
|
|
12203
12664
|
|
|
12204
12665
|
|
|
12205
12666
|
/**
|
|
12206
|
-
* optional string
|
|
12667
|
+
* optional string unit_of_measure = 6;
|
|
12207
12668
|
* @return {string}
|
|
12208
12669
|
*/
|
|
12209
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12670
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getUnitOfMeasure = function() {
|
|
12210
12671
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
12211
12672
|
};
|
|
12212
12673
|
|
|
@@ -12215,16 +12676,16 @@ proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseRequestCreatedAt = f
|
|
|
12215
12676
|
* @param {string} value
|
|
12216
12677
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12217
12678
|
*/
|
|
12218
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12679
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setUnitOfMeasure = function(value) {
|
|
12219
12680
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
12220
12681
|
};
|
|
12221
12682
|
|
|
12222
12683
|
|
|
12223
12684
|
/**
|
|
12224
|
-
* optional string
|
|
12685
|
+
* optional string purchase_request_first_approval_at = 7;
|
|
12225
12686
|
* @return {string}
|
|
12226
12687
|
*/
|
|
12227
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12688
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseRequestFirstApprovalAt = function() {
|
|
12228
12689
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
12229
12690
|
};
|
|
12230
12691
|
|
|
@@ -12233,16 +12694,16 @@ proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseRequestFullyApproved
|
|
|
12233
12694
|
* @param {string} value
|
|
12234
12695
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12235
12696
|
*/
|
|
12236
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12697
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setPurchaseRequestFirstApprovalAt = function(value) {
|
|
12237
12698
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
12238
12699
|
};
|
|
12239
12700
|
|
|
12240
12701
|
|
|
12241
12702
|
/**
|
|
12242
|
-
* optional string
|
|
12703
|
+
* optional string purchase_request_last_approved_at = 8;
|
|
12243
12704
|
* @return {string}
|
|
12244
12705
|
*/
|
|
12245
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12706
|
+
proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseRequestLastApprovedAt = function() {
|
|
12246
12707
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
12247
12708
|
};
|
|
12248
12709
|
|
|
@@ -12251,7 +12712,7 @@ proto.PurchaseRequisitionProgressTrack.prototype.getPurchaseOrderCreatedAt = fun
|
|
|
12251
12712
|
* @param {string} value
|
|
12252
12713
|
* @return {!proto.PurchaseRequisitionProgressTrack} returns this
|
|
12253
12714
|
*/
|
|
12254
|
-
proto.PurchaseRequisitionProgressTrack.prototype.
|
|
12715
|
+
proto.PurchaseRequisitionProgressTrack.prototype.setPurchaseRequestLastApprovedAt = function(value) {
|
|
12255
12716
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
12256
12717
|
};
|
|
12257
12718
|
|