@aldiokta/protocgen 1.1.25 → 1.1.27
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 +22 -0
- package/prisca/v1/bidding/bidding_pb.js +421 -3
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +33 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +385 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +102 -3
- package/prisca/v1/core/auth/auth_pb.js +2602 -1054
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +2036 -816
- package/prisca/v1/core/messaging/notification_grpc_pb.js +188 -0
- package/prisca/v1/core/messaging/notification_pb.js +2780 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +62 -2
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +31 -1
- package/prisca/v1/delivery_order/delivery_order_pb.js +109 -49
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +227 -1
- package/prisca/v1/good_receipt/good_receipt_pb.js +4525 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +121 -1
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +31 -1
- package/prisca/v1/quotation/quotation_pb.js +130 -10
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +55 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +609 -0
|
@@ -26,9 +26,11 @@ goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
|
|
|
26
26
|
goog.exportSymbol('proto.BaseItemTransaction', null, global);
|
|
27
27
|
goog.exportSymbol('proto.BaseItemTransactionDetail', null, global);
|
|
28
28
|
goog.exportSymbol('proto.BaseItemTransactionPriceCondition', null, global);
|
|
29
|
+
goog.exportSymbol('proto.BaseItemTransactionService', null, global);
|
|
29
30
|
goog.exportSymbol('proto.ItemTransaction', null, global);
|
|
30
31
|
goog.exportSymbol('proto.ItemTransactionDetail', null, global);
|
|
31
32
|
goog.exportSymbol('proto.ItemTransactionPriceCondition', null, global);
|
|
33
|
+
goog.exportSymbol('proto.ItemTransactionService', null, global);
|
|
32
34
|
/**
|
|
33
35
|
* Generated by JsPbCodeGenerator.
|
|
34
36
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -71,6 +73,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
71
73
|
*/
|
|
72
74
|
proto.ItemTransactionDetail.displayName = 'proto.ItemTransactionDetail';
|
|
73
75
|
}
|
|
76
|
+
/**
|
|
77
|
+
* Generated by JsPbCodeGenerator.
|
|
78
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
79
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
80
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
81
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
82
|
+
* valid.
|
|
83
|
+
* @extends {jspb.Message}
|
|
84
|
+
* @constructor
|
|
85
|
+
*/
|
|
86
|
+
proto.ItemTransactionService = function(opt_data) {
|
|
87
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ItemTransactionService.repeatedFields_, null);
|
|
88
|
+
};
|
|
89
|
+
goog.inherits(proto.ItemTransactionService, jspb.Message);
|
|
90
|
+
if (goog.DEBUG && !COMPILED) {
|
|
91
|
+
/**
|
|
92
|
+
* @public
|
|
93
|
+
* @override
|
|
94
|
+
*/
|
|
95
|
+
proto.ItemTransactionService.displayName = 'proto.ItemTransactionService';
|
|
96
|
+
}
|
|
74
97
|
/**
|
|
75
98
|
* Generated by JsPbCodeGenerator.
|
|
76
99
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -134,6 +157,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
134
157
|
*/
|
|
135
158
|
proto.BaseItemTransactionDetail.displayName = 'proto.BaseItemTransactionDetail';
|
|
136
159
|
}
|
|
160
|
+
/**
|
|
161
|
+
* Generated by JsPbCodeGenerator.
|
|
162
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
163
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
164
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
165
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
166
|
+
* valid.
|
|
167
|
+
* @extends {jspb.Message}
|
|
168
|
+
* @constructor
|
|
169
|
+
*/
|
|
170
|
+
proto.BaseItemTransactionService = function(opt_data) {
|
|
171
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.BaseItemTransactionService.repeatedFields_, null);
|
|
172
|
+
};
|
|
173
|
+
goog.inherits(proto.BaseItemTransactionService, jspb.Message);
|
|
174
|
+
if (goog.DEBUG && !COMPILED) {
|
|
175
|
+
/**
|
|
176
|
+
* @public
|
|
177
|
+
* @override
|
|
178
|
+
*/
|
|
179
|
+
proto.BaseItemTransactionService.displayName = 'proto.BaseItemTransactionService';
|
|
180
|
+
}
|
|
137
181
|
/**
|
|
138
182
|
* Generated by JsPbCodeGenerator.
|
|
139
183
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -161,7 +205,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
161
205
|
* @private {!Array<number>}
|
|
162
206
|
* @const
|
|
163
207
|
*/
|
|
164
|
-
proto.ItemTransaction.repeatedFields_ = [13,14,21];
|
|
208
|
+
proto.ItemTransaction.repeatedFields_ = [13,14,21,31];
|
|
165
209
|
|
|
166
210
|
|
|
167
211
|
|
|
@@ -226,7 +270,9 @@ usedQuantity: jspb.Message.getFieldWithDefault(msg, 26, 0),
|
|
|
226
270
|
remainingQuantity: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
227
271
|
purchaseRequisitionQuantity: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
228
272
|
purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
229
|
-
replacement: jspb.Message.getFieldWithDefault(msg, 30, "")
|
|
273
|
+
replacement: jspb.Message.getFieldWithDefault(msg, 30, ""),
|
|
274
|
+
itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServiceList(),
|
|
275
|
+
proto.ItemTransactionService.toObject, includeInstance)
|
|
230
276
|
};
|
|
231
277
|
|
|
232
278
|
if (includeInstance) {
|
|
@@ -386,6 +432,11 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
386
432
|
var value = /** @type {string} */ (reader.readString());
|
|
387
433
|
msg.setReplacement(value);
|
|
388
434
|
break;
|
|
435
|
+
case 31:
|
|
436
|
+
var value = new proto.ItemTransactionService;
|
|
437
|
+
reader.readMessage(value,proto.ItemTransactionService.deserializeBinaryFromReader);
|
|
438
|
+
msg.addItemTransactionService(value);
|
|
439
|
+
break;
|
|
389
440
|
default:
|
|
390
441
|
reader.skipField();
|
|
391
442
|
break;
|
|
@@ -628,6 +679,14 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
628
679
|
f
|
|
629
680
|
);
|
|
630
681
|
}
|
|
682
|
+
f = message.getItemTransactionServiceList();
|
|
683
|
+
if (f.length > 0) {
|
|
684
|
+
writer.writeRepeatedMessage(
|
|
685
|
+
31,
|
|
686
|
+
f,
|
|
687
|
+
proto.ItemTransactionService.serializeBinaryToWriter
|
|
688
|
+
);
|
|
689
|
+
}
|
|
631
690
|
};
|
|
632
691
|
|
|
633
692
|
|
|
@@ -1231,6 +1290,44 @@ proto.ItemTransaction.prototype.setReplacement = function(value) {
|
|
|
1231
1290
|
};
|
|
1232
1291
|
|
|
1233
1292
|
|
|
1293
|
+
/**
|
|
1294
|
+
* repeated ItemTransactionService item_transaction_service = 31;
|
|
1295
|
+
* @return {!Array<!proto.ItemTransactionService>}
|
|
1296
|
+
*/
|
|
1297
|
+
proto.ItemTransaction.prototype.getItemTransactionServiceList = function() {
|
|
1298
|
+
return /** @type{!Array<!proto.ItemTransactionService>} */ (
|
|
1299
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ItemTransactionService, 31));
|
|
1300
|
+
};
|
|
1301
|
+
|
|
1302
|
+
|
|
1303
|
+
/**
|
|
1304
|
+
* @param {!Array<!proto.ItemTransactionService>} value
|
|
1305
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1306
|
+
*/
|
|
1307
|
+
proto.ItemTransaction.prototype.setItemTransactionServiceList = function(value) {
|
|
1308
|
+
return jspb.Message.setRepeatedWrapperField(this, 31, value);
|
|
1309
|
+
};
|
|
1310
|
+
|
|
1311
|
+
|
|
1312
|
+
/**
|
|
1313
|
+
* @param {!proto.ItemTransactionService=} opt_value
|
|
1314
|
+
* @param {number=} opt_index
|
|
1315
|
+
* @return {!proto.ItemTransactionService}
|
|
1316
|
+
*/
|
|
1317
|
+
proto.ItemTransaction.prototype.addItemTransactionService = function(opt_value, opt_index) {
|
|
1318
|
+
return jspb.Message.addToRepeatedWrapperField(this, 31, opt_value, proto.ItemTransactionService, opt_index);
|
|
1319
|
+
};
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* Clears the list making it empty but non-null.
|
|
1324
|
+
* @return {!proto.ItemTransaction} returns this
|
|
1325
|
+
*/
|
|
1326
|
+
proto.ItemTransaction.prototype.clearItemTransactionServiceList = function() {
|
|
1327
|
+
return this.setItemTransactionServiceList([]);
|
|
1328
|
+
};
|
|
1329
|
+
|
|
1330
|
+
|
|
1234
1331
|
|
|
1235
1332
|
/**
|
|
1236
1333
|
* List of repeated fields within this message type.
|
|
@@ -1275,14 +1372,14 @@ itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
|
1275
1372
|
glAccount: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1276
1373
|
glAccountDescription: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1277
1374
|
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1278
|
-
valuationPrice: jspb.Message.
|
|
1375
|
+
valuationPrice: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1279
1376
|
requisitioner: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1280
1377
|
customTransaction: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1281
1378
|
orderNumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1282
1379
|
orderDescription: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1283
1380
|
materialCode: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
1284
|
-
quantity: jspb.Message.
|
|
1285
|
-
distribution: jspb.Message.
|
|
1381
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
1382
|
+
distribution: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
1286
1383
|
assetNo: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
1287
1384
|
referencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
1288
1385
|
createdAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
@@ -1290,7 +1387,7 @@ updatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
|
1290
1387
|
costCenter: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
1291
1388
|
serviceNo: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
1292
1389
|
serviceDescription: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
1293
|
-
amountPrice: jspb.Message.
|
|
1390
|
+
amountPrice: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
1294
1391
|
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
1295
1392
|
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
1296
1393
|
};
|
|
@@ -1350,7 +1447,7 @@ proto.ItemTransactionDetail.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1350
1447
|
msg.setUnitOfMeasure(value);
|
|
1351
1448
|
break;
|
|
1352
1449
|
case 6:
|
|
1353
|
-
var value = /** @type {
|
|
1450
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1354
1451
|
msg.setValuationPrice(value);
|
|
1355
1452
|
break;
|
|
1356
1453
|
case 7:
|
|
@@ -1374,11 +1471,11 @@ proto.ItemTransactionDetail.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1374
1471
|
msg.setMaterialCode(value);
|
|
1375
1472
|
break;
|
|
1376
1473
|
case 12:
|
|
1377
|
-
var value = /** @type {
|
|
1474
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1378
1475
|
msg.setQuantity(value);
|
|
1379
1476
|
break;
|
|
1380
1477
|
case 13:
|
|
1381
|
-
var value = /** @type {
|
|
1478
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1382
1479
|
msg.setDistribution(value);
|
|
1383
1480
|
break;
|
|
1384
1481
|
case 14:
|
|
@@ -1410,7 +1507,7 @@ proto.ItemTransactionDetail.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1410
1507
|
msg.setServiceDescription(value);
|
|
1411
1508
|
break;
|
|
1412
1509
|
case 21:
|
|
1413
|
-
var value = /** @type {
|
|
1510
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1414
1511
|
msg.setAmountPrice(value);
|
|
1415
1512
|
break;
|
|
1416
1513
|
case 22:
|
|
@@ -1483,8 +1580,8 @@ proto.ItemTransactionDetail.serializeBinaryToWriter = function(message, writer)
|
|
|
1483
1580
|
);
|
|
1484
1581
|
}
|
|
1485
1582
|
f = message.getValuationPrice();
|
|
1486
|
-
if (f
|
|
1487
|
-
writer.
|
|
1583
|
+
if (f.length > 0) {
|
|
1584
|
+
writer.writeString(
|
|
1488
1585
|
6,
|
|
1489
1586
|
f
|
|
1490
1587
|
);
|
|
@@ -1525,15 +1622,15 @@ proto.ItemTransactionDetail.serializeBinaryToWriter = function(message, writer)
|
|
|
1525
1622
|
);
|
|
1526
1623
|
}
|
|
1527
1624
|
f = message.getQuantity();
|
|
1528
|
-
if (f
|
|
1529
|
-
writer.
|
|
1625
|
+
if (f.length > 0) {
|
|
1626
|
+
writer.writeString(
|
|
1530
1627
|
12,
|
|
1531
1628
|
f
|
|
1532
1629
|
);
|
|
1533
1630
|
}
|
|
1534
1631
|
f = message.getDistribution();
|
|
1535
|
-
if (f
|
|
1536
|
-
writer.
|
|
1632
|
+
if (f.length > 0) {
|
|
1633
|
+
writer.writeString(
|
|
1537
1634
|
13,
|
|
1538
1635
|
f
|
|
1539
1636
|
);
|
|
@@ -1588,8 +1685,8 @@ proto.ItemTransactionDetail.serializeBinaryToWriter = function(message, writer)
|
|
|
1588
1685
|
);
|
|
1589
1686
|
}
|
|
1590
1687
|
f = message.getAmountPrice();
|
|
1591
|
-
if (f
|
|
1592
|
-
writer.
|
|
1688
|
+
if (f.length > 0) {
|
|
1689
|
+
writer.writeString(
|
|
1593
1690
|
21,
|
|
1594
1691
|
f
|
|
1595
1692
|
);
|
|
@@ -1696,20 +1793,20 @@ proto.ItemTransactionDetail.prototype.setUnitOfMeasure = function(value) {
|
|
|
1696
1793
|
|
|
1697
1794
|
|
|
1698
1795
|
/**
|
|
1699
|
-
* optional
|
|
1700
|
-
* @return {
|
|
1796
|
+
* optional string valuation_price = 6;
|
|
1797
|
+
* @return {string}
|
|
1701
1798
|
*/
|
|
1702
1799
|
proto.ItemTransactionDetail.prototype.getValuationPrice = function() {
|
|
1703
|
-
return /** @type {
|
|
1800
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1704
1801
|
};
|
|
1705
1802
|
|
|
1706
1803
|
|
|
1707
1804
|
/**
|
|
1708
|
-
* @param {
|
|
1805
|
+
* @param {string} value
|
|
1709
1806
|
* @return {!proto.ItemTransactionDetail} returns this
|
|
1710
1807
|
*/
|
|
1711
1808
|
proto.ItemTransactionDetail.prototype.setValuationPrice = function(value) {
|
|
1712
|
-
return jspb.Message.
|
|
1809
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1713
1810
|
};
|
|
1714
1811
|
|
|
1715
1812
|
|
|
@@ -1804,38 +1901,38 @@ proto.ItemTransactionDetail.prototype.setMaterialCode = function(value) {
|
|
|
1804
1901
|
|
|
1805
1902
|
|
|
1806
1903
|
/**
|
|
1807
|
-
* optional
|
|
1808
|
-
* @return {
|
|
1904
|
+
* optional string quantity = 12;
|
|
1905
|
+
* @return {string}
|
|
1809
1906
|
*/
|
|
1810
1907
|
proto.ItemTransactionDetail.prototype.getQuantity = function() {
|
|
1811
|
-
return /** @type {
|
|
1908
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
1812
1909
|
};
|
|
1813
1910
|
|
|
1814
1911
|
|
|
1815
1912
|
/**
|
|
1816
|
-
* @param {
|
|
1913
|
+
* @param {string} value
|
|
1817
1914
|
* @return {!proto.ItemTransactionDetail} returns this
|
|
1818
1915
|
*/
|
|
1819
1916
|
proto.ItemTransactionDetail.prototype.setQuantity = function(value) {
|
|
1820
|
-
return jspb.Message.
|
|
1917
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
1821
1918
|
};
|
|
1822
1919
|
|
|
1823
1920
|
|
|
1824
1921
|
/**
|
|
1825
|
-
* optional
|
|
1826
|
-
* @return {
|
|
1922
|
+
* optional string distribution = 13;
|
|
1923
|
+
* @return {string}
|
|
1827
1924
|
*/
|
|
1828
1925
|
proto.ItemTransactionDetail.prototype.getDistribution = function() {
|
|
1829
|
-
return /** @type {
|
|
1926
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
1830
1927
|
};
|
|
1831
1928
|
|
|
1832
1929
|
|
|
1833
1930
|
/**
|
|
1834
|
-
* @param {
|
|
1931
|
+
* @param {string} value
|
|
1835
1932
|
* @return {!proto.ItemTransactionDetail} returns this
|
|
1836
1933
|
*/
|
|
1837
1934
|
proto.ItemTransactionDetail.prototype.setDistribution = function(value) {
|
|
1838
|
-
return jspb.Message.
|
|
1935
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
1839
1936
|
};
|
|
1840
1937
|
|
|
1841
1938
|
|
|
@@ -1966,20 +2063,20 @@ proto.ItemTransactionDetail.prototype.setServiceDescription = function(value) {
|
|
|
1966
2063
|
|
|
1967
2064
|
|
|
1968
2065
|
/**
|
|
1969
|
-
* optional
|
|
1970
|
-
* @return {
|
|
2066
|
+
* optional string amount_price = 21;
|
|
2067
|
+
* @return {string}
|
|
1971
2068
|
*/
|
|
1972
2069
|
proto.ItemTransactionDetail.prototype.getAmountPrice = function() {
|
|
1973
|
-
return /** @type {
|
|
2070
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
1974
2071
|
};
|
|
1975
2072
|
|
|
1976
2073
|
|
|
1977
2074
|
/**
|
|
1978
|
-
* @param {
|
|
2075
|
+
* @param {string} value
|
|
1979
2076
|
* @return {!proto.ItemTransactionDetail} returns this
|
|
1980
2077
|
*/
|
|
1981
2078
|
proto.ItemTransactionDetail.prototype.setAmountPrice = function(value) {
|
|
1982
|
-
return jspb.Message.
|
|
2079
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
1983
2080
|
};
|
|
1984
2081
|
|
|
1985
2082
|
|
|
@@ -2022,6 +2119,13 @@ proto.ItemTransactionDetail.prototype.clearFilesList = function() {
|
|
|
2022
2119
|
|
|
2023
2120
|
|
|
2024
2121
|
|
|
2122
|
+
/**
|
|
2123
|
+
* List of repeated fields within this message type.
|
|
2124
|
+
* @private {!Array<number>}
|
|
2125
|
+
* @const
|
|
2126
|
+
*/
|
|
2127
|
+
proto.ItemTransactionService.repeatedFields_ = [11];
|
|
2128
|
+
|
|
2025
2129
|
|
|
2026
2130
|
|
|
2027
2131
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2037,8 +2141,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2037
2141
|
* http://goto/soy-param-migration
|
|
2038
2142
|
* @return {!Object}
|
|
2039
2143
|
*/
|
|
2040
|
-
proto.
|
|
2041
|
-
return proto.
|
|
2144
|
+
proto.ItemTransactionService.prototype.toObject = function(opt_includeInstance) {
|
|
2145
|
+
return proto.ItemTransactionService.toObject(opt_includeInstance, this);
|
|
2042
2146
|
};
|
|
2043
2147
|
|
|
2044
2148
|
|
|
@@ -2047,25 +2151,24 @@ proto.ItemTransactionPriceCondition.prototype.toObject = function(opt_includeIns
|
|
|
2047
2151
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2048
2152
|
* the JSPB instance for transitional soy proto support:
|
|
2049
2153
|
* http://goto/soy-param-migration
|
|
2050
|
-
* @param {!proto.
|
|
2154
|
+
* @param {!proto.ItemTransactionService} msg The msg instance to transform.
|
|
2051
2155
|
* @return {!Object}
|
|
2052
2156
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2053
2157
|
*/
|
|
2054
|
-
proto.
|
|
2158
|
+
proto.ItemTransactionService.toObject = function(includeInstance, msg) {
|
|
2055
2159
|
var f, obj = {
|
|
2056
2160
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2057
|
-
|
|
2058
|
-
|
|
2059
|
-
|
|
2060
|
-
|
|
2061
|
-
|
|
2062
|
-
|
|
2063
|
-
|
|
2064
|
-
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
|
-
|
|
2068
|
-
properties: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
2161
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2162
|
+
glAccount: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2163
|
+
glAccountDescription: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2164
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2165
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2166
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2167
|
+
serviceNo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2168
|
+
serviceDescription: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2169
|
+
amountPrice: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2170
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
2171
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
2069
2172
|
};
|
|
2070
2173
|
|
|
2071
2174
|
if (includeInstance) {
|
|
@@ -2079,23 +2182,23 @@ properties: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
|
2079
2182
|
/**
|
|
2080
2183
|
* Deserializes binary data (in protobuf wire format).
|
|
2081
2184
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2082
|
-
* @return {!proto.
|
|
2185
|
+
* @return {!proto.ItemTransactionService}
|
|
2083
2186
|
*/
|
|
2084
|
-
proto.
|
|
2187
|
+
proto.ItemTransactionService.deserializeBinary = function(bytes) {
|
|
2085
2188
|
var reader = new jspb.BinaryReader(bytes);
|
|
2086
|
-
var msg = new proto.
|
|
2087
|
-
return proto.
|
|
2189
|
+
var msg = new proto.ItemTransactionService;
|
|
2190
|
+
return proto.ItemTransactionService.deserializeBinaryFromReader(msg, reader);
|
|
2088
2191
|
};
|
|
2089
2192
|
|
|
2090
2193
|
|
|
2091
2194
|
/**
|
|
2092
2195
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2093
2196
|
* given reader into the given message object.
|
|
2094
|
-
* @param {!proto.
|
|
2197
|
+
* @param {!proto.ItemTransactionService} msg The message object to deserialize into.
|
|
2095
2198
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2096
|
-
* @return {!proto.
|
|
2199
|
+
* @return {!proto.ItemTransactionService}
|
|
2097
2200
|
*/
|
|
2098
|
-
proto.
|
|
2201
|
+
proto.ItemTransactionService.deserializeBinaryFromReader = function(msg, reader) {
|
|
2099
2202
|
while (reader.nextField()) {
|
|
2100
2203
|
if (reader.isEndGroup()) {
|
|
2101
2204
|
break;
|
|
@@ -2108,51 +2211,44 @@ proto.ItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg,
|
|
|
2108
2211
|
break;
|
|
2109
2212
|
case 2:
|
|
2110
2213
|
var value = /** @type {string} */ (reader.readString());
|
|
2111
|
-
msg.
|
|
2214
|
+
msg.setItemTransactionRef(value);
|
|
2112
2215
|
break;
|
|
2113
2216
|
case 3:
|
|
2114
2217
|
var value = /** @type {string} */ (reader.readString());
|
|
2115
|
-
msg.
|
|
2218
|
+
msg.setGlAccount(value);
|
|
2116
2219
|
break;
|
|
2117
2220
|
case 4:
|
|
2118
|
-
var value = /** @type {
|
|
2119
|
-
msg.
|
|
2221
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2222
|
+
msg.setGlAccountDescription(value);
|
|
2120
2223
|
break;
|
|
2121
2224
|
case 5:
|
|
2122
2225
|
var value = /** @type {string} */ (reader.readString());
|
|
2123
|
-
msg.
|
|
2226
|
+
msg.setCustomTransaction(value);
|
|
2124
2227
|
break;
|
|
2125
2228
|
case 6:
|
|
2126
2229
|
var value = /** @type {string} */ (reader.readString());
|
|
2127
|
-
msg.
|
|
2230
|
+
msg.setQuantity(value);
|
|
2128
2231
|
break;
|
|
2129
2232
|
case 7:
|
|
2130
2233
|
var value = /** @type {string} */ (reader.readString());
|
|
2131
|
-
msg.
|
|
2234
|
+
msg.setReferencesId(value);
|
|
2132
2235
|
break;
|
|
2133
2236
|
case 8:
|
|
2134
2237
|
var value = /** @type {string} */ (reader.readString());
|
|
2135
|
-
msg.
|
|
2238
|
+
msg.setServiceNo(value);
|
|
2136
2239
|
break;
|
|
2137
2240
|
case 9:
|
|
2138
2241
|
var value = /** @type {string} */ (reader.readString());
|
|
2139
|
-
msg.
|
|
2242
|
+
msg.setServiceDescription(value);
|
|
2140
2243
|
break;
|
|
2141
2244
|
case 10:
|
|
2142
2245
|
var value = /** @type {string} */ (reader.readString());
|
|
2143
|
-
msg.
|
|
2246
|
+
msg.setAmountPrice(value);
|
|
2144
2247
|
break;
|
|
2145
2248
|
case 11:
|
|
2146
|
-
var value =
|
|
2147
|
-
|
|
2148
|
-
|
|
2149
|
-
case 12:
|
|
2150
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
2151
|
-
msg.setIsGeneral(value);
|
|
2152
|
-
break;
|
|
2153
|
-
case 13:
|
|
2154
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2155
|
-
msg.setProperties(value);
|
|
2249
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
2250
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
2251
|
+
msg.addFiles(value);
|
|
2156
2252
|
break;
|
|
2157
2253
|
default:
|
|
2158
2254
|
reader.skipField();
|
|
@@ -2167,9 +2263,9 @@ proto.ItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg,
|
|
|
2167
2263
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2168
2264
|
* @return {!Uint8Array}
|
|
2169
2265
|
*/
|
|
2170
|
-
proto.
|
|
2266
|
+
proto.ItemTransactionService.prototype.serializeBinary = function() {
|
|
2171
2267
|
var writer = new jspb.BinaryWriter();
|
|
2172
|
-
proto.
|
|
2268
|
+
proto.ItemTransactionService.serializeBinaryToWriter(this, writer);
|
|
2173
2269
|
return writer.getResultBuffer();
|
|
2174
2270
|
};
|
|
2175
2271
|
|
|
@@ -2177,11 +2273,11 @@ proto.ItemTransactionPriceCondition.prototype.serializeBinary = function() {
|
|
|
2177
2273
|
/**
|
|
2178
2274
|
* Serializes the given message to binary data (in protobuf wire
|
|
2179
2275
|
* format), writing to the given BinaryWriter.
|
|
2180
|
-
* @param {!proto.
|
|
2276
|
+
* @param {!proto.ItemTransactionService} message
|
|
2181
2277
|
* @param {!jspb.BinaryWriter} writer
|
|
2182
2278
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2183
2279
|
*/
|
|
2184
|
-
proto.
|
|
2280
|
+
proto.ItemTransactionService.serializeBinaryToWriter = function(message, writer) {
|
|
2185
2281
|
var f = undefined;
|
|
2186
2282
|
f = message.getId();
|
|
2187
2283
|
if (f !== 0) {
|
|
@@ -2190,88 +2286,75 @@ proto.ItemTransactionPriceCondition.serializeBinaryToWriter = function(message,
|
|
|
2190
2286
|
f
|
|
2191
2287
|
);
|
|
2192
2288
|
}
|
|
2193
|
-
f = message.
|
|
2289
|
+
f = message.getItemTransactionRef();
|
|
2194
2290
|
if (f.length > 0) {
|
|
2195
2291
|
writer.writeString(
|
|
2196
2292
|
2,
|
|
2197
2293
|
f
|
|
2198
2294
|
);
|
|
2199
2295
|
}
|
|
2200
|
-
f = message.
|
|
2296
|
+
f = message.getGlAccount();
|
|
2201
2297
|
if (f.length > 0) {
|
|
2202
2298
|
writer.writeString(
|
|
2203
2299
|
3,
|
|
2204
2300
|
f
|
|
2205
2301
|
);
|
|
2206
2302
|
}
|
|
2207
|
-
f = message.
|
|
2208
|
-
if (f
|
|
2209
|
-
writer.
|
|
2303
|
+
f = message.getGlAccountDescription();
|
|
2304
|
+
if (f.length > 0) {
|
|
2305
|
+
writer.writeString(
|
|
2210
2306
|
4,
|
|
2211
2307
|
f
|
|
2212
2308
|
);
|
|
2213
2309
|
}
|
|
2214
|
-
f = message.
|
|
2310
|
+
f = message.getCustomTransaction();
|
|
2215
2311
|
if (f.length > 0) {
|
|
2216
2312
|
writer.writeString(
|
|
2217
2313
|
5,
|
|
2218
2314
|
f
|
|
2219
2315
|
);
|
|
2220
2316
|
}
|
|
2221
|
-
f = message.
|
|
2317
|
+
f = message.getQuantity();
|
|
2222
2318
|
if (f.length > 0) {
|
|
2223
2319
|
writer.writeString(
|
|
2224
2320
|
6,
|
|
2225
2321
|
f
|
|
2226
2322
|
);
|
|
2227
2323
|
}
|
|
2228
|
-
f = message.
|
|
2324
|
+
f = message.getReferencesId();
|
|
2229
2325
|
if (f.length > 0) {
|
|
2230
2326
|
writer.writeString(
|
|
2231
2327
|
7,
|
|
2232
2328
|
f
|
|
2233
2329
|
);
|
|
2234
2330
|
}
|
|
2235
|
-
f = message.
|
|
2331
|
+
f = message.getServiceNo();
|
|
2236
2332
|
if (f.length > 0) {
|
|
2237
2333
|
writer.writeString(
|
|
2238
2334
|
8,
|
|
2239
2335
|
f
|
|
2240
2336
|
);
|
|
2241
2337
|
}
|
|
2242
|
-
f = message.
|
|
2338
|
+
f = message.getServiceDescription();
|
|
2243
2339
|
if (f.length > 0) {
|
|
2244
2340
|
writer.writeString(
|
|
2245
2341
|
9,
|
|
2246
2342
|
f
|
|
2247
2343
|
);
|
|
2248
2344
|
}
|
|
2249
|
-
f = message.
|
|
2345
|
+
f = message.getAmountPrice();
|
|
2250
2346
|
if (f.length > 0) {
|
|
2251
2347
|
writer.writeString(
|
|
2252
2348
|
10,
|
|
2253
2349
|
f
|
|
2254
2350
|
);
|
|
2255
2351
|
}
|
|
2256
|
-
f = message.
|
|
2352
|
+
f = message.getFilesList();
|
|
2257
2353
|
if (f.length > 0) {
|
|
2258
|
-
writer.
|
|
2354
|
+
writer.writeRepeatedMessage(
|
|
2259
2355
|
11,
|
|
2260
|
-
f
|
|
2261
|
-
|
|
2262
|
-
}
|
|
2263
|
-
f = message.getIsGeneral();
|
|
2264
|
-
if (f) {
|
|
2265
|
-
writer.writeBool(
|
|
2266
|
-
12,
|
|
2267
|
-
f
|
|
2268
|
-
);
|
|
2269
|
-
}
|
|
2270
|
-
f = message.getProperties();
|
|
2271
|
-
if (f.length > 0) {
|
|
2272
|
-
writer.writeString(
|
|
2273
|
-
13,
|
|
2274
|
-
f
|
|
2356
|
+
f,
|
|
2357
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
2275
2358
|
);
|
|
2276
2359
|
}
|
|
2277
2360
|
};
|
|
@@ -2281,244 +2364,221 @@ proto.ItemTransactionPriceCondition.serializeBinaryToWriter = function(message,
|
|
|
2281
2364
|
* optional int64 id = 1;
|
|
2282
2365
|
* @return {number}
|
|
2283
2366
|
*/
|
|
2284
|
-
proto.
|
|
2367
|
+
proto.ItemTransactionService.prototype.getId = function() {
|
|
2285
2368
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2286
2369
|
};
|
|
2287
2370
|
|
|
2288
2371
|
|
|
2289
2372
|
/**
|
|
2290
2373
|
* @param {number} value
|
|
2291
|
-
* @return {!proto.
|
|
2374
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
2292
2375
|
*/
|
|
2293
|
-
proto.
|
|
2376
|
+
proto.ItemTransactionService.prototype.setId = function(value) {
|
|
2294
2377
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2295
2378
|
};
|
|
2296
2379
|
|
|
2297
2380
|
|
|
2298
2381
|
/**
|
|
2299
|
-
* optional string
|
|
2382
|
+
* optional string item_transaction_ref = 2;
|
|
2300
2383
|
* @return {string}
|
|
2301
2384
|
*/
|
|
2302
|
-
proto.
|
|
2385
|
+
proto.ItemTransactionService.prototype.getItemTransactionRef = function() {
|
|
2303
2386
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2304
2387
|
};
|
|
2305
2388
|
|
|
2306
2389
|
|
|
2307
2390
|
/**
|
|
2308
2391
|
* @param {string} value
|
|
2309
|
-
* @return {!proto.
|
|
2392
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
2310
2393
|
*/
|
|
2311
|
-
proto.
|
|
2394
|
+
proto.ItemTransactionService.prototype.setItemTransactionRef = function(value) {
|
|
2312
2395
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2313
2396
|
};
|
|
2314
2397
|
|
|
2315
2398
|
|
|
2316
2399
|
/**
|
|
2317
|
-
* optional string
|
|
2400
|
+
* optional string gl_account = 3;
|
|
2318
2401
|
* @return {string}
|
|
2319
2402
|
*/
|
|
2320
|
-
proto.
|
|
2403
|
+
proto.ItemTransactionService.prototype.getGlAccount = function() {
|
|
2321
2404
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2322
2405
|
};
|
|
2323
2406
|
|
|
2324
2407
|
|
|
2325
2408
|
/**
|
|
2326
2409
|
* @param {string} value
|
|
2327
|
-
* @return {!proto.
|
|
2410
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
2328
2411
|
*/
|
|
2329
|
-
proto.
|
|
2412
|
+
proto.ItemTransactionService.prototype.setGlAccount = function(value) {
|
|
2330
2413
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2331
2414
|
};
|
|
2332
2415
|
|
|
2333
2416
|
|
|
2334
2417
|
/**
|
|
2335
|
-
* optional
|
|
2336
|
-
* @return {
|
|
2418
|
+
* optional string gl_account_description = 4;
|
|
2419
|
+
* @return {string}
|
|
2337
2420
|
*/
|
|
2338
|
-
proto.
|
|
2339
|
-
return /** @type {
|
|
2421
|
+
proto.ItemTransactionService.prototype.getGlAccountDescription = function() {
|
|
2422
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2340
2423
|
};
|
|
2341
2424
|
|
|
2342
2425
|
|
|
2343
2426
|
/**
|
|
2344
|
-
* @param {
|
|
2345
|
-
* @return {!proto.
|
|
2427
|
+
* @param {string} value
|
|
2428
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
2346
2429
|
*/
|
|
2347
|
-
proto.
|
|
2348
|
-
return jspb.Message.
|
|
2430
|
+
proto.ItemTransactionService.prototype.setGlAccountDescription = function(value) {
|
|
2431
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
2349
2432
|
};
|
|
2350
2433
|
|
|
2351
2434
|
|
|
2352
2435
|
/**
|
|
2353
|
-
* optional string
|
|
2436
|
+
* optional string custom_transaction = 5;
|
|
2354
2437
|
* @return {string}
|
|
2355
2438
|
*/
|
|
2356
|
-
proto.
|
|
2439
|
+
proto.ItemTransactionService.prototype.getCustomTransaction = function() {
|
|
2357
2440
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2358
2441
|
};
|
|
2359
2442
|
|
|
2360
2443
|
|
|
2361
2444
|
/**
|
|
2362
2445
|
* @param {string} value
|
|
2363
|
-
* @return {!proto.
|
|
2446
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
2364
2447
|
*/
|
|
2365
|
-
proto.
|
|
2448
|
+
proto.ItemTransactionService.prototype.setCustomTransaction = function(value) {
|
|
2366
2449
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
2367
2450
|
};
|
|
2368
2451
|
|
|
2369
2452
|
|
|
2370
2453
|
/**
|
|
2371
|
-
* optional string
|
|
2454
|
+
* optional string quantity = 6;
|
|
2372
2455
|
* @return {string}
|
|
2373
2456
|
*/
|
|
2374
|
-
proto.
|
|
2457
|
+
proto.ItemTransactionService.prototype.getQuantity = function() {
|
|
2375
2458
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
2376
2459
|
};
|
|
2377
2460
|
|
|
2378
2461
|
|
|
2379
2462
|
/**
|
|
2380
2463
|
* @param {string} value
|
|
2381
|
-
* @return {!proto.
|
|
2464
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
2382
2465
|
*/
|
|
2383
|
-
proto.
|
|
2466
|
+
proto.ItemTransactionService.prototype.setQuantity = function(value) {
|
|
2384
2467
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
2385
2468
|
};
|
|
2386
2469
|
|
|
2387
2470
|
|
|
2388
2471
|
/**
|
|
2389
|
-
* optional string
|
|
2472
|
+
* optional string references_id = 7;
|
|
2390
2473
|
* @return {string}
|
|
2391
2474
|
*/
|
|
2392
|
-
proto.
|
|
2475
|
+
proto.ItemTransactionService.prototype.getReferencesId = function() {
|
|
2393
2476
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
2394
2477
|
};
|
|
2395
2478
|
|
|
2396
2479
|
|
|
2397
2480
|
/**
|
|
2398
2481
|
* @param {string} value
|
|
2399
|
-
* @return {!proto.
|
|
2482
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
2400
2483
|
*/
|
|
2401
|
-
proto.
|
|
2484
|
+
proto.ItemTransactionService.prototype.setReferencesId = function(value) {
|
|
2402
2485
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
2403
2486
|
};
|
|
2404
2487
|
|
|
2405
2488
|
|
|
2406
2489
|
/**
|
|
2407
|
-
* optional string
|
|
2490
|
+
* optional string service_no = 8;
|
|
2408
2491
|
* @return {string}
|
|
2409
2492
|
*/
|
|
2410
|
-
proto.
|
|
2493
|
+
proto.ItemTransactionService.prototype.getServiceNo = function() {
|
|
2411
2494
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
2412
2495
|
};
|
|
2413
2496
|
|
|
2414
2497
|
|
|
2415
2498
|
/**
|
|
2416
2499
|
* @param {string} value
|
|
2417
|
-
* @return {!proto.
|
|
2500
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
2418
2501
|
*/
|
|
2419
|
-
proto.
|
|
2502
|
+
proto.ItemTransactionService.prototype.setServiceNo = function(value) {
|
|
2420
2503
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
2421
2504
|
};
|
|
2422
2505
|
|
|
2423
2506
|
|
|
2424
2507
|
/**
|
|
2425
|
-
* optional string
|
|
2508
|
+
* optional string service_description = 9;
|
|
2426
2509
|
* @return {string}
|
|
2427
2510
|
*/
|
|
2428
|
-
proto.
|
|
2511
|
+
proto.ItemTransactionService.prototype.getServiceDescription = function() {
|
|
2429
2512
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
2430
2513
|
};
|
|
2431
2514
|
|
|
2432
2515
|
|
|
2433
2516
|
/**
|
|
2434
2517
|
* @param {string} value
|
|
2435
|
-
* @return {!proto.
|
|
2518
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
2436
2519
|
*/
|
|
2437
|
-
proto.
|
|
2520
|
+
proto.ItemTransactionService.prototype.setServiceDescription = function(value) {
|
|
2438
2521
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
2439
2522
|
};
|
|
2440
2523
|
|
|
2441
2524
|
|
|
2442
2525
|
/**
|
|
2443
|
-
* optional string
|
|
2526
|
+
* optional string amount_price = 10;
|
|
2444
2527
|
* @return {string}
|
|
2445
2528
|
*/
|
|
2446
|
-
proto.
|
|
2529
|
+
proto.ItemTransactionService.prototype.getAmountPrice = function() {
|
|
2447
2530
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
2448
2531
|
};
|
|
2449
2532
|
|
|
2450
2533
|
|
|
2451
2534
|
/**
|
|
2452
2535
|
* @param {string} value
|
|
2453
|
-
* @return {!proto.
|
|
2536
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
2454
2537
|
*/
|
|
2455
|
-
proto.
|
|
2538
|
+
proto.ItemTransactionService.prototype.setAmountPrice = function(value) {
|
|
2456
2539
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
2457
2540
|
};
|
|
2458
2541
|
|
|
2459
2542
|
|
|
2460
2543
|
/**
|
|
2461
|
-
*
|
|
2462
|
-
* @return {
|
|
2463
|
-
*/
|
|
2464
|
-
proto.ItemTransactionPriceCondition.prototype.getCode = function() {
|
|
2465
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
2466
|
-
};
|
|
2467
|
-
|
|
2468
|
-
|
|
2469
|
-
/**
|
|
2470
|
-
* @param {string} value
|
|
2471
|
-
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2472
|
-
*/
|
|
2473
|
-
proto.ItemTransactionPriceCondition.prototype.setCode = function(value) {
|
|
2474
|
-
return jspb.Message.setProto3StringField(this, 11, value);
|
|
2475
|
-
};
|
|
2476
|
-
|
|
2477
|
-
|
|
2478
|
-
/**
|
|
2479
|
-
* optional bool is_general = 12;
|
|
2480
|
-
* @return {boolean}
|
|
2544
|
+
* repeated FileUploadReferencesReq files = 11;
|
|
2545
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
2481
2546
|
*/
|
|
2482
|
-
proto.
|
|
2483
|
-
return /** @type
|
|
2547
|
+
proto.ItemTransactionService.prototype.getFilesList = function() {
|
|
2548
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
2549
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 11));
|
|
2484
2550
|
};
|
|
2485
2551
|
|
|
2486
2552
|
|
|
2487
2553
|
/**
|
|
2488
|
-
* @param {
|
|
2489
|
-
* @return {!proto.
|
|
2490
|
-
|
|
2491
|
-
proto.
|
|
2492
|
-
return jspb.Message.
|
|
2554
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
2555
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
2556
|
+
*/
|
|
2557
|
+
proto.ItemTransactionService.prototype.setFilesList = function(value) {
|
|
2558
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
2493
2559
|
};
|
|
2494
2560
|
|
|
2495
2561
|
|
|
2496
2562
|
/**
|
|
2497
|
-
*
|
|
2498
|
-
* @
|
|
2563
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
2564
|
+
* @param {number=} opt_index
|
|
2565
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
2499
2566
|
*/
|
|
2500
|
-
proto.
|
|
2501
|
-
return
|
|
2567
|
+
proto.ItemTransactionService.prototype.addFiles = function(opt_value, opt_index) {
|
|
2568
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
2502
2569
|
};
|
|
2503
2570
|
|
|
2504
2571
|
|
|
2505
2572
|
/**
|
|
2506
|
-
*
|
|
2507
|
-
* @return {!proto.
|
|
2573
|
+
* Clears the list making it empty but non-null.
|
|
2574
|
+
* @return {!proto.ItemTransactionService} returns this
|
|
2508
2575
|
*/
|
|
2509
|
-
proto.
|
|
2510
|
-
return
|
|
2576
|
+
proto.ItemTransactionService.prototype.clearFilesList = function() {
|
|
2577
|
+
return this.setFilesList([]);
|
|
2511
2578
|
};
|
|
2512
2579
|
|
|
2513
2580
|
|
|
2514
2581
|
|
|
2515
|
-
/**
|
|
2516
|
-
* List of repeated fields within this message type.
|
|
2517
|
-
* @private {!Array<number>}
|
|
2518
|
-
* @const
|
|
2519
|
-
*/
|
|
2520
|
-
proto.BaseItemTransaction.repeatedFields_ = [13,14,17];
|
|
2521
|
-
|
|
2522
2582
|
|
|
2523
2583
|
|
|
2524
2584
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2534,8 +2594,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2534
2594
|
* http://goto/soy-param-migration
|
|
2535
2595
|
* @return {!Object}
|
|
2536
2596
|
*/
|
|
2537
|
-
proto.
|
|
2538
|
-
return proto.
|
|
2597
|
+
proto.ItemTransactionPriceCondition.prototype.toObject = function(opt_includeInstance) {
|
|
2598
|
+
return proto.ItemTransactionPriceCondition.toObject(opt_includeInstance, this);
|
|
2539
2599
|
};
|
|
2540
2600
|
|
|
2541
2601
|
|
|
@@ -2544,35 +2604,27 @@ proto.BaseItemTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
|
2544
2604
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2545
2605
|
* the JSPB instance for transitional soy proto support:
|
|
2546
2606
|
* http://goto/soy-param-migration
|
|
2547
|
-
* @param {!proto.
|
|
2607
|
+
* @param {!proto.ItemTransactionPriceCondition} msg The msg instance to transform.
|
|
2548
2608
|
* @return {!Object}
|
|
2549
2609
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2550
2610
|
*/
|
|
2551
|
-
proto.
|
|
2611
|
+
proto.ItemTransactionPriceCondition.toObject = function(includeInstance, msg) {
|
|
2552
2612
|
var f, obj = {
|
|
2553
|
-
|
|
2554
|
-
|
|
2555
|
-
|
|
2556
|
-
|
|
2557
|
-
|
|
2558
|
-
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2564
|
-
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
proto.BaseItemTransactionPriceCondition.toObject, includeInstance),
|
|
2569
|
-
previousReferences: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
2570
|
-
previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
2571
|
-
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
2572
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
2573
|
-
currency: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
2574
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
2575
|
-
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
2613
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2614
|
+
amount: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2615
|
+
operator: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2616
|
+
divide: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2617
|
+
type: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2618
|
+
name: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2619
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2620
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2621
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2622
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2623
|
+
code: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2624
|
+
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
2625
|
+
properties: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
2626
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
2627
|
+
currency: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
2576
2628
|
};
|
|
2577
2629
|
|
|
2578
2630
|
if (includeInstance) {
|
|
@@ -2586,23 +2638,23 @@ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 20,
|
|
|
2586
2638
|
/**
|
|
2587
2639
|
* Deserializes binary data (in protobuf wire format).
|
|
2588
2640
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2589
|
-
* @return {!proto.
|
|
2641
|
+
* @return {!proto.ItemTransactionPriceCondition}
|
|
2590
2642
|
*/
|
|
2591
|
-
proto.
|
|
2643
|
+
proto.ItemTransactionPriceCondition.deserializeBinary = function(bytes) {
|
|
2592
2644
|
var reader = new jspb.BinaryReader(bytes);
|
|
2593
|
-
var msg = new proto.
|
|
2594
|
-
return proto.
|
|
2645
|
+
var msg = new proto.ItemTransactionPriceCondition;
|
|
2646
|
+
return proto.ItemTransactionPriceCondition.deserializeBinaryFromReader(msg, reader);
|
|
2595
2647
|
};
|
|
2596
2648
|
|
|
2597
2649
|
|
|
2598
2650
|
/**
|
|
2599
2651
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2600
2652
|
* given reader into the given message object.
|
|
2601
|
-
* @param {!proto.
|
|
2653
|
+
* @param {!proto.ItemTransactionPriceCondition} msg The message object to deserialize into.
|
|
2602
2654
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2603
|
-
* @return {!proto.
|
|
2655
|
+
* @return {!proto.ItemTransactionPriceCondition}
|
|
2604
2656
|
*/
|
|
2605
|
-
proto.
|
|
2657
|
+
proto.ItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg, reader) {
|
|
2606
2658
|
while (reader.nextField()) {
|
|
2607
2659
|
if (reader.isEndGroup()) {
|
|
2608
2660
|
break;
|
|
@@ -2610,88 +2662,65 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2610
2662
|
var field = reader.getFieldNumber();
|
|
2611
2663
|
switch (field) {
|
|
2612
2664
|
case 1:
|
|
2613
|
-
var value = /** @type {
|
|
2614
|
-
msg.
|
|
2665
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
2666
|
+
msg.setId(value);
|
|
2615
2667
|
break;
|
|
2616
2668
|
case 2:
|
|
2617
2669
|
var value = /** @type {string} */ (reader.readString());
|
|
2618
|
-
msg.
|
|
2670
|
+
msg.setAmount(value);
|
|
2619
2671
|
break;
|
|
2620
2672
|
case 3:
|
|
2621
2673
|
var value = /** @type {string} */ (reader.readString());
|
|
2622
|
-
msg.
|
|
2674
|
+
msg.setOperator(value);
|
|
2623
2675
|
break;
|
|
2624
2676
|
case 4:
|
|
2625
2677
|
var value = /** @type {string} */ (reader.readString());
|
|
2626
|
-
msg.
|
|
2678
|
+
msg.setDivide(value);
|
|
2627
2679
|
break;
|
|
2628
2680
|
case 5:
|
|
2629
2681
|
var value = /** @type {string} */ (reader.readString());
|
|
2630
|
-
msg.
|
|
2682
|
+
msg.setType(value);
|
|
2631
2683
|
break;
|
|
2632
2684
|
case 6:
|
|
2633
2685
|
var value = /** @type {string} */ (reader.readString());
|
|
2634
|
-
msg.
|
|
2686
|
+
msg.setName(value);
|
|
2635
2687
|
break;
|
|
2636
2688
|
case 7:
|
|
2637
2689
|
var value = /** @type {string} */ (reader.readString());
|
|
2638
|
-
msg.
|
|
2690
|
+
msg.setItemTransactionRef(value);
|
|
2639
2691
|
break;
|
|
2640
2692
|
case 8:
|
|
2641
2693
|
var value = /** @type {string} */ (reader.readString());
|
|
2642
|
-
msg.
|
|
2694
|
+
msg.setReferencesId(value);
|
|
2643
2695
|
break;
|
|
2644
2696
|
case 9:
|
|
2645
2697
|
var value = /** @type {string} */ (reader.readString());
|
|
2646
|
-
msg.
|
|
2698
|
+
msg.setCreatedAt(value);
|
|
2647
2699
|
break;
|
|
2648
2700
|
case 10:
|
|
2649
2701
|
var value = /** @type {string} */ (reader.readString());
|
|
2650
|
-
msg.
|
|
2702
|
+
msg.setUpdatedAt(value);
|
|
2651
2703
|
break;
|
|
2652
2704
|
case 11:
|
|
2653
2705
|
var value = /** @type {string} */ (reader.readString());
|
|
2654
|
-
msg.
|
|
2706
|
+
msg.setCode(value);
|
|
2655
2707
|
break;
|
|
2656
2708
|
case 12:
|
|
2657
|
-
var value = /** @type {
|
|
2658
|
-
msg.
|
|
2709
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
2710
|
+
msg.setIsGeneral(value);
|
|
2659
2711
|
break;
|
|
2660
2712
|
case 13:
|
|
2661
|
-
var value = new proto.BaseItemTransactionDetail;
|
|
2662
|
-
reader.readMessage(value,proto.BaseItemTransactionDetail.deserializeBinaryFromReader);
|
|
2663
|
-
msg.addItemTransactionDetail(value);
|
|
2664
|
-
break;
|
|
2665
|
-
case 14:
|
|
2666
|
-
var value = new proto.BaseItemTransactionPriceCondition;
|
|
2667
|
-
reader.readMessage(value,proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader);
|
|
2668
|
-
msg.addItemTransactionPriceCondition(value);
|
|
2669
|
-
break;
|
|
2670
|
-
case 15:
|
|
2671
2713
|
var value = /** @type {string} */ (reader.readString());
|
|
2672
|
-
msg.
|
|
2714
|
+
msg.setProperties(value);
|
|
2673
2715
|
break;
|
|
2674
|
-
case
|
|
2716
|
+
case 14:
|
|
2675
2717
|
var value = /** @type {string} */ (reader.readString());
|
|
2676
|
-
msg.
|
|
2677
|
-
break;
|
|
2678
|
-
case 17:
|
|
2679
|
-
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
2680
|
-
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
2681
|
-
msg.addFiles(value);
|
|
2718
|
+
msg.setUnitOfMeasure(value);
|
|
2682
2719
|
break;
|
|
2683
|
-
case
|
|
2720
|
+
case 15:
|
|
2684
2721
|
var value = /** @type {string} */ (reader.readString());
|
|
2685
2722
|
msg.setCurrency(value);
|
|
2686
2723
|
break;
|
|
2687
|
-
case 19:
|
|
2688
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2689
|
-
msg.setReferencesId(value);
|
|
2690
|
-
break;
|
|
2691
|
-
case 20:
|
|
2692
|
-
var value = /** @type {string} */ (reader.readString());
|
|
2693
|
-
msg.setPurchaseRequisitionTransactionNumber(value);
|
|
2694
|
-
break;
|
|
2695
2724
|
default:
|
|
2696
2725
|
reader.skipField();
|
|
2697
2726
|
break;
|
|
@@ -2705,9 +2734,9 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2705
2734
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2706
2735
|
* @return {!Uint8Array}
|
|
2707
2736
|
*/
|
|
2708
|
-
proto.
|
|
2737
|
+
proto.ItemTransactionPriceCondition.prototype.serializeBinary = function() {
|
|
2709
2738
|
var writer = new jspb.BinaryWriter();
|
|
2710
|
-
proto.
|
|
2739
|
+
proto.ItemTransactionPriceCondition.serializeBinaryToWriter(this, writer);
|
|
2711
2740
|
return writer.getResultBuffer();
|
|
2712
2741
|
};
|
|
2713
2742
|
|
|
@@ -2715,152 +2744,114 @@ proto.BaseItemTransaction.prototype.serializeBinary = function() {
|
|
|
2715
2744
|
/**
|
|
2716
2745
|
* Serializes the given message to binary data (in protobuf wire
|
|
2717
2746
|
* format), writing to the given BinaryWriter.
|
|
2718
|
-
* @param {!proto.
|
|
2747
|
+
* @param {!proto.ItemTransactionPriceCondition} message
|
|
2719
2748
|
* @param {!jspb.BinaryWriter} writer
|
|
2720
2749
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2721
2750
|
*/
|
|
2722
|
-
proto.
|
|
2751
|
+
proto.ItemTransactionPriceCondition.serializeBinaryToWriter = function(message, writer) {
|
|
2723
2752
|
var f = undefined;
|
|
2724
|
-
f = message.
|
|
2725
|
-
if (f
|
|
2726
|
-
writer.
|
|
2753
|
+
f = message.getId();
|
|
2754
|
+
if (f !== 0) {
|
|
2755
|
+
writer.writeInt64(
|
|
2727
2756
|
1,
|
|
2728
2757
|
f
|
|
2729
2758
|
);
|
|
2730
2759
|
}
|
|
2731
|
-
f = message.
|
|
2760
|
+
f = message.getAmount();
|
|
2732
2761
|
if (f.length > 0) {
|
|
2733
2762
|
writer.writeString(
|
|
2734
2763
|
2,
|
|
2735
2764
|
f
|
|
2736
2765
|
);
|
|
2737
2766
|
}
|
|
2738
|
-
f = message.
|
|
2767
|
+
f = message.getOperator();
|
|
2739
2768
|
if (f.length > 0) {
|
|
2740
2769
|
writer.writeString(
|
|
2741
2770
|
3,
|
|
2742
2771
|
f
|
|
2743
2772
|
);
|
|
2744
2773
|
}
|
|
2745
|
-
f = message.
|
|
2774
|
+
f = message.getDivide();
|
|
2746
2775
|
if (f.length > 0) {
|
|
2747
2776
|
writer.writeString(
|
|
2748
2777
|
4,
|
|
2749
2778
|
f
|
|
2750
2779
|
);
|
|
2751
2780
|
}
|
|
2752
|
-
f = message.
|
|
2781
|
+
f = message.getType();
|
|
2753
2782
|
if (f.length > 0) {
|
|
2754
2783
|
writer.writeString(
|
|
2755
2784
|
5,
|
|
2756
2785
|
f
|
|
2757
2786
|
);
|
|
2758
2787
|
}
|
|
2759
|
-
f = message.
|
|
2788
|
+
f = message.getName();
|
|
2760
2789
|
if (f.length > 0) {
|
|
2761
2790
|
writer.writeString(
|
|
2762
2791
|
6,
|
|
2763
2792
|
f
|
|
2764
2793
|
);
|
|
2765
2794
|
}
|
|
2766
|
-
f = message.
|
|
2795
|
+
f = message.getItemTransactionRef();
|
|
2767
2796
|
if (f.length > 0) {
|
|
2768
2797
|
writer.writeString(
|
|
2769
2798
|
7,
|
|
2770
2799
|
f
|
|
2771
2800
|
);
|
|
2772
2801
|
}
|
|
2773
|
-
f = message.
|
|
2802
|
+
f = message.getReferencesId();
|
|
2774
2803
|
if (f.length > 0) {
|
|
2775
2804
|
writer.writeString(
|
|
2776
2805
|
8,
|
|
2777
2806
|
f
|
|
2778
2807
|
);
|
|
2779
2808
|
}
|
|
2780
|
-
f = message.
|
|
2809
|
+
f = message.getCreatedAt();
|
|
2781
2810
|
if (f.length > 0) {
|
|
2782
2811
|
writer.writeString(
|
|
2783
2812
|
9,
|
|
2784
2813
|
f
|
|
2785
2814
|
);
|
|
2786
2815
|
}
|
|
2787
|
-
f = message.
|
|
2816
|
+
f = message.getUpdatedAt();
|
|
2788
2817
|
if (f.length > 0) {
|
|
2789
2818
|
writer.writeString(
|
|
2790
2819
|
10,
|
|
2791
2820
|
f
|
|
2792
2821
|
);
|
|
2793
2822
|
}
|
|
2794
|
-
f = message.
|
|
2823
|
+
f = message.getCode();
|
|
2795
2824
|
if (f.length > 0) {
|
|
2796
2825
|
writer.writeString(
|
|
2797
2826
|
11,
|
|
2798
2827
|
f
|
|
2799
2828
|
);
|
|
2800
2829
|
}
|
|
2801
|
-
f = message.
|
|
2802
|
-
if (f
|
|
2803
|
-
writer.
|
|
2830
|
+
f = message.getIsGeneral();
|
|
2831
|
+
if (f) {
|
|
2832
|
+
writer.writeBool(
|
|
2804
2833
|
12,
|
|
2805
2834
|
f
|
|
2806
2835
|
);
|
|
2807
2836
|
}
|
|
2808
|
-
f = message.
|
|
2809
|
-
if (f.length > 0) {
|
|
2810
|
-
writer.writeRepeatedMessage(
|
|
2811
|
-
13,
|
|
2812
|
-
f,
|
|
2813
|
-
proto.BaseItemTransactionDetail.serializeBinaryToWriter
|
|
2814
|
-
);
|
|
2815
|
-
}
|
|
2816
|
-
f = message.getItemTransactionPriceConditionList();
|
|
2817
|
-
if (f.length > 0) {
|
|
2818
|
-
writer.writeRepeatedMessage(
|
|
2819
|
-
14,
|
|
2820
|
-
f,
|
|
2821
|
-
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter
|
|
2822
|
-
);
|
|
2823
|
-
}
|
|
2824
|
-
f = message.getPreviousReferences();
|
|
2837
|
+
f = message.getProperties();
|
|
2825
2838
|
if (f.length > 0) {
|
|
2826
2839
|
writer.writeString(
|
|
2827
|
-
|
|
2840
|
+
13,
|
|
2828
2841
|
f
|
|
2829
2842
|
);
|
|
2830
2843
|
}
|
|
2831
|
-
f = message.
|
|
2844
|
+
f = message.getUnitOfMeasure();
|
|
2832
2845
|
if (f.length > 0) {
|
|
2833
2846
|
writer.writeString(
|
|
2834
|
-
|
|
2847
|
+
14,
|
|
2835
2848
|
f
|
|
2836
2849
|
);
|
|
2837
2850
|
}
|
|
2838
|
-
f = message.getFilesList();
|
|
2839
|
-
if (f.length > 0) {
|
|
2840
|
-
writer.writeRepeatedMessage(
|
|
2841
|
-
17,
|
|
2842
|
-
f,
|
|
2843
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
2844
|
-
);
|
|
2845
|
-
}
|
|
2846
2851
|
f = message.getCurrency();
|
|
2847
2852
|
if (f.length > 0) {
|
|
2848
2853
|
writer.writeString(
|
|
2849
|
-
|
|
2850
|
-
f
|
|
2851
|
-
);
|
|
2852
|
-
}
|
|
2853
|
-
f = message.getReferencesId();
|
|
2854
|
-
if (f.length > 0) {
|
|
2855
|
-
writer.writeString(
|
|
2856
|
-
19,
|
|
2857
|
-
f
|
|
2858
|
-
);
|
|
2859
|
-
}
|
|
2860
|
-
f = message.getPurchaseRequisitionTransactionNumber();
|
|
2861
|
-
if (f.length > 0) {
|
|
2862
|
-
writer.writeString(
|
|
2863
|
-
20,
|
|
2854
|
+
15,
|
|
2864
2855
|
f
|
|
2865
2856
|
);
|
|
2866
2857
|
}
|
|
@@ -2868,513 +2859,371 @@ proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
2868
2859
|
|
|
2869
2860
|
|
|
2870
2861
|
/**
|
|
2871
|
-
* optional
|
|
2872
|
-
* @return {
|
|
2862
|
+
* optional int64 id = 1;
|
|
2863
|
+
* @return {number}
|
|
2873
2864
|
*/
|
|
2874
|
-
proto.
|
|
2875
|
-
return /** @type {
|
|
2865
|
+
proto.ItemTransactionPriceCondition.prototype.getId = function() {
|
|
2866
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2876
2867
|
};
|
|
2877
2868
|
|
|
2878
2869
|
|
|
2879
2870
|
/**
|
|
2880
|
-
* @param {
|
|
2881
|
-
* @return {!proto.
|
|
2871
|
+
* @param {number} value
|
|
2872
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2882
2873
|
*/
|
|
2883
|
-
proto.
|
|
2884
|
-
return jspb.Message.
|
|
2874
|
+
proto.ItemTransactionPriceCondition.prototype.setId = function(value) {
|
|
2875
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
2885
2876
|
};
|
|
2886
2877
|
|
|
2887
2878
|
|
|
2888
2879
|
/**
|
|
2889
|
-
* optional string
|
|
2880
|
+
* optional string amount = 2;
|
|
2890
2881
|
* @return {string}
|
|
2891
2882
|
*/
|
|
2892
|
-
proto.
|
|
2883
|
+
proto.ItemTransactionPriceCondition.prototype.getAmount = function() {
|
|
2893
2884
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2894
2885
|
};
|
|
2895
2886
|
|
|
2896
2887
|
|
|
2897
2888
|
/**
|
|
2898
2889
|
* @param {string} value
|
|
2899
|
-
* @return {!proto.
|
|
2890
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2900
2891
|
*/
|
|
2901
|
-
proto.
|
|
2892
|
+
proto.ItemTransactionPriceCondition.prototype.setAmount = function(value) {
|
|
2902
2893
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2903
2894
|
};
|
|
2904
2895
|
|
|
2905
2896
|
|
|
2906
2897
|
/**
|
|
2907
|
-
* optional string
|
|
2898
|
+
* optional string operator = 3;
|
|
2908
2899
|
* @return {string}
|
|
2909
2900
|
*/
|
|
2910
|
-
proto.
|
|
2901
|
+
proto.ItemTransactionPriceCondition.prototype.getOperator = function() {
|
|
2911
2902
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2912
2903
|
};
|
|
2913
2904
|
|
|
2914
2905
|
|
|
2915
2906
|
/**
|
|
2916
2907
|
* @param {string} value
|
|
2917
|
-
* @return {!proto.
|
|
2908
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2918
2909
|
*/
|
|
2919
|
-
proto.
|
|
2910
|
+
proto.ItemTransactionPriceCondition.prototype.setOperator = function(value) {
|
|
2920
2911
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2921
2912
|
};
|
|
2922
2913
|
|
|
2923
2914
|
|
|
2924
2915
|
/**
|
|
2925
|
-
* optional string
|
|
2916
|
+
* optional string divide = 4;
|
|
2926
2917
|
* @return {string}
|
|
2927
2918
|
*/
|
|
2928
|
-
proto.
|
|
2919
|
+
proto.ItemTransactionPriceCondition.prototype.getDivide = function() {
|
|
2929
2920
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2930
2921
|
};
|
|
2931
2922
|
|
|
2932
2923
|
|
|
2933
2924
|
/**
|
|
2934
2925
|
* @param {string} value
|
|
2935
|
-
* @return {!proto.
|
|
2926
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2936
2927
|
*/
|
|
2937
|
-
proto.
|
|
2928
|
+
proto.ItemTransactionPriceCondition.prototype.setDivide = function(value) {
|
|
2938
2929
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
2939
2930
|
};
|
|
2940
2931
|
|
|
2941
2932
|
|
|
2942
2933
|
/**
|
|
2943
|
-
* optional string
|
|
2934
|
+
* optional string type = 5;
|
|
2944
2935
|
* @return {string}
|
|
2945
2936
|
*/
|
|
2946
|
-
proto.
|
|
2937
|
+
proto.ItemTransactionPriceCondition.prototype.getType = function() {
|
|
2947
2938
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2948
2939
|
};
|
|
2949
2940
|
|
|
2950
2941
|
|
|
2951
2942
|
/**
|
|
2952
2943
|
* @param {string} value
|
|
2953
|
-
* @return {!proto.
|
|
2944
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2954
2945
|
*/
|
|
2955
|
-
proto.
|
|
2946
|
+
proto.ItemTransactionPriceCondition.prototype.setType = function(value) {
|
|
2956
2947
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
2957
2948
|
};
|
|
2958
2949
|
|
|
2959
2950
|
|
|
2960
2951
|
/**
|
|
2961
|
-
* optional string
|
|
2952
|
+
* optional string name = 6;
|
|
2962
2953
|
* @return {string}
|
|
2963
2954
|
*/
|
|
2964
|
-
proto.
|
|
2955
|
+
proto.ItemTransactionPriceCondition.prototype.getName = function() {
|
|
2965
2956
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
2966
2957
|
};
|
|
2967
2958
|
|
|
2968
2959
|
|
|
2969
2960
|
/**
|
|
2970
2961
|
* @param {string} value
|
|
2971
|
-
* @return {!proto.
|
|
2962
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2972
2963
|
*/
|
|
2973
|
-
proto.
|
|
2964
|
+
proto.ItemTransactionPriceCondition.prototype.setName = function(value) {
|
|
2974
2965
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
2975
2966
|
};
|
|
2976
2967
|
|
|
2977
2968
|
|
|
2978
2969
|
/**
|
|
2979
|
-
* optional string
|
|
2970
|
+
* optional string item_transaction_ref = 7;
|
|
2980
2971
|
* @return {string}
|
|
2981
2972
|
*/
|
|
2982
|
-
proto.
|
|
2973
|
+
proto.ItemTransactionPriceCondition.prototype.getItemTransactionRef = function() {
|
|
2983
2974
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
2984
2975
|
};
|
|
2985
2976
|
|
|
2986
2977
|
|
|
2987
2978
|
/**
|
|
2988
2979
|
* @param {string} value
|
|
2989
|
-
* @return {!proto.
|
|
2980
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
2990
2981
|
*/
|
|
2991
|
-
proto.
|
|
2982
|
+
proto.ItemTransactionPriceCondition.prototype.setItemTransactionRef = function(value) {
|
|
2992
2983
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
2993
2984
|
};
|
|
2994
2985
|
|
|
2995
2986
|
|
|
2996
2987
|
/**
|
|
2997
|
-
* optional string
|
|
2988
|
+
* optional string references_id = 8;
|
|
2998
2989
|
* @return {string}
|
|
2999
2990
|
*/
|
|
3000
|
-
proto.
|
|
2991
|
+
proto.ItemTransactionPriceCondition.prototype.getReferencesId = function() {
|
|
3001
2992
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
3002
2993
|
};
|
|
3003
2994
|
|
|
3004
2995
|
|
|
3005
2996
|
/**
|
|
3006
2997
|
* @param {string} value
|
|
3007
|
-
* @return {!proto.
|
|
2998
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
3008
2999
|
*/
|
|
3009
|
-
proto.
|
|
3000
|
+
proto.ItemTransactionPriceCondition.prototype.setReferencesId = function(value) {
|
|
3010
3001
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
3011
3002
|
};
|
|
3012
3003
|
|
|
3013
3004
|
|
|
3014
3005
|
/**
|
|
3015
|
-
* optional string
|
|
3006
|
+
* optional string created_at = 9;
|
|
3016
3007
|
* @return {string}
|
|
3017
3008
|
*/
|
|
3018
|
-
proto.
|
|
3009
|
+
proto.ItemTransactionPriceCondition.prototype.getCreatedAt = function() {
|
|
3019
3010
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
3020
3011
|
};
|
|
3021
3012
|
|
|
3022
3013
|
|
|
3023
3014
|
/**
|
|
3024
3015
|
* @param {string} value
|
|
3025
|
-
* @return {!proto.
|
|
3016
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
3026
3017
|
*/
|
|
3027
|
-
proto.
|
|
3018
|
+
proto.ItemTransactionPriceCondition.prototype.setCreatedAt = function(value) {
|
|
3028
3019
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
3029
3020
|
};
|
|
3030
3021
|
|
|
3031
3022
|
|
|
3032
3023
|
/**
|
|
3033
|
-
* optional string
|
|
3024
|
+
* optional string updated_at = 10;
|
|
3034
3025
|
* @return {string}
|
|
3035
3026
|
*/
|
|
3036
|
-
proto.
|
|
3027
|
+
proto.ItemTransactionPriceCondition.prototype.getUpdatedAt = function() {
|
|
3037
3028
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
3038
3029
|
};
|
|
3039
3030
|
|
|
3040
3031
|
|
|
3041
3032
|
/**
|
|
3042
3033
|
* @param {string} value
|
|
3043
|
-
* @return {!proto.
|
|
3034
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
3044
3035
|
*/
|
|
3045
|
-
proto.
|
|
3036
|
+
proto.ItemTransactionPriceCondition.prototype.setUpdatedAt = function(value) {
|
|
3046
3037
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
3047
3038
|
};
|
|
3048
3039
|
|
|
3049
3040
|
|
|
3050
3041
|
/**
|
|
3051
|
-
* optional string
|
|
3042
|
+
* optional string code = 11;
|
|
3052
3043
|
* @return {string}
|
|
3053
3044
|
*/
|
|
3054
|
-
proto.
|
|
3045
|
+
proto.ItemTransactionPriceCondition.prototype.getCode = function() {
|
|
3055
3046
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
3056
3047
|
};
|
|
3057
3048
|
|
|
3058
3049
|
|
|
3059
3050
|
/**
|
|
3060
3051
|
* @param {string} value
|
|
3061
|
-
* @return {!proto.
|
|
3052
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
3062
3053
|
*/
|
|
3063
|
-
proto.
|
|
3054
|
+
proto.ItemTransactionPriceCondition.prototype.setCode = function(value) {
|
|
3064
3055
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
3065
3056
|
};
|
|
3066
3057
|
|
|
3067
3058
|
|
|
3068
3059
|
/**
|
|
3069
|
-
* optional
|
|
3070
|
-
* @return {
|
|
3060
|
+
* optional bool is_general = 12;
|
|
3061
|
+
* @return {boolean}
|
|
3071
3062
|
*/
|
|
3072
|
-
proto.
|
|
3073
|
-
return /** @type {
|
|
3063
|
+
proto.ItemTransactionPriceCondition.prototype.getIsGeneral = function() {
|
|
3064
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
3074
3065
|
};
|
|
3075
3066
|
|
|
3076
3067
|
|
|
3077
3068
|
/**
|
|
3078
|
-
* @param {
|
|
3079
|
-
* @return {!proto.
|
|
3069
|
+
* @param {boolean} value
|
|
3070
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
3080
3071
|
*/
|
|
3081
|
-
proto.
|
|
3082
|
-
return jspb.Message.
|
|
3072
|
+
proto.ItemTransactionPriceCondition.prototype.setIsGeneral = function(value) {
|
|
3073
|
+
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
3083
3074
|
};
|
|
3084
3075
|
|
|
3085
3076
|
|
|
3086
3077
|
/**
|
|
3087
|
-
*
|
|
3088
|
-
* @return {
|
|
3078
|
+
* optional string properties = 13;
|
|
3079
|
+
* @return {string}
|
|
3089
3080
|
*/
|
|
3090
|
-
proto.
|
|
3091
|
-
return /** @type{
|
|
3092
|
-
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionDetail, 13));
|
|
3093
|
-
};
|
|
3094
|
-
|
|
3095
|
-
|
|
3096
|
-
/**
|
|
3097
|
-
* @param {!Array<!proto.BaseItemTransactionDetail>} value
|
|
3098
|
-
* @return {!proto.BaseItemTransaction} returns this
|
|
3099
|
-
*/
|
|
3100
|
-
proto.BaseItemTransaction.prototype.setItemTransactionDetailList = function(value) {
|
|
3101
|
-
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
3081
|
+
proto.ItemTransactionPriceCondition.prototype.getProperties = function() {
|
|
3082
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
3102
3083
|
};
|
|
3103
3084
|
|
|
3104
3085
|
|
|
3105
3086
|
/**
|
|
3106
|
-
* @param {
|
|
3107
|
-
* @
|
|
3108
|
-
* @return {!proto.BaseItemTransactionDetail}
|
|
3087
|
+
* @param {string} value
|
|
3088
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
3109
3089
|
*/
|
|
3110
|
-
proto.
|
|
3111
|
-
return jspb.Message.
|
|
3090
|
+
proto.ItemTransactionPriceCondition.prototype.setProperties = function(value) {
|
|
3091
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
3112
3092
|
};
|
|
3113
3093
|
|
|
3114
3094
|
|
|
3115
3095
|
/**
|
|
3116
|
-
*
|
|
3117
|
-
* @return {
|
|
3096
|
+
* optional string unit_of_measure = 14;
|
|
3097
|
+
* @return {string}
|
|
3118
3098
|
*/
|
|
3119
|
-
proto.
|
|
3120
|
-
return
|
|
3099
|
+
proto.ItemTransactionPriceCondition.prototype.getUnitOfMeasure = function() {
|
|
3100
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
3121
3101
|
};
|
|
3122
3102
|
|
|
3123
3103
|
|
|
3124
3104
|
/**
|
|
3125
|
-
*
|
|
3126
|
-
* @return {!
|
|
3105
|
+
* @param {string} value
|
|
3106
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
3127
3107
|
*/
|
|
3128
|
-
proto.
|
|
3129
|
-
return
|
|
3130
|
-
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionPriceCondition, 14));
|
|
3131
|
-
};
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
/**
|
|
3135
|
-
* @param {!Array<!proto.BaseItemTransactionPriceCondition>} value
|
|
3136
|
-
* @return {!proto.BaseItemTransaction} returns this
|
|
3137
|
-
*/
|
|
3138
|
-
proto.BaseItemTransaction.prototype.setItemTransactionPriceConditionList = function(value) {
|
|
3139
|
-
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
|
3108
|
+
proto.ItemTransactionPriceCondition.prototype.setUnitOfMeasure = function(value) {
|
|
3109
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
3140
3110
|
};
|
|
3141
3111
|
|
|
3142
3112
|
|
|
3143
3113
|
/**
|
|
3144
|
-
*
|
|
3145
|
-
* @
|
|
3146
|
-
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
3114
|
+
* optional string currency = 15;
|
|
3115
|
+
* @return {string}
|
|
3147
3116
|
*/
|
|
3148
|
-
proto.
|
|
3149
|
-
return jspb.Message.
|
|
3117
|
+
proto.ItemTransactionPriceCondition.prototype.getCurrency = function() {
|
|
3118
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
3150
3119
|
};
|
|
3151
3120
|
|
|
3152
3121
|
|
|
3153
3122
|
/**
|
|
3154
|
-
*
|
|
3155
|
-
* @return {!proto.
|
|
3123
|
+
* @param {string} value
|
|
3124
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
3156
3125
|
*/
|
|
3157
|
-
proto.
|
|
3158
|
-
return
|
|
3126
|
+
proto.ItemTransactionPriceCondition.prototype.setCurrency = function(value) {
|
|
3127
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
3159
3128
|
};
|
|
3160
3129
|
|
|
3161
3130
|
|
|
3131
|
+
|
|
3162
3132
|
/**
|
|
3163
|
-
*
|
|
3164
|
-
* @
|
|
3133
|
+
* List of repeated fields within this message type.
|
|
3134
|
+
* @private {!Array<number>}
|
|
3135
|
+
* @const
|
|
3165
3136
|
*/
|
|
3166
|
-
proto.BaseItemTransaction.
|
|
3167
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
3168
|
-
};
|
|
3137
|
+
proto.BaseItemTransaction.repeatedFields_ = [13,14,17,21];
|
|
3169
3138
|
|
|
3170
3139
|
|
|
3140
|
+
|
|
3141
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3171
3142
|
/**
|
|
3172
|
-
*
|
|
3173
|
-
*
|
|
3143
|
+
* Creates an object representation of this proto.
|
|
3144
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3145
|
+
* Optional fields that are not set will be set to undefined.
|
|
3146
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3147
|
+
* For the list of reserved names please see:
|
|
3148
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3149
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3150
|
+
* JSPB instance for transitional soy proto support:
|
|
3151
|
+
* http://goto/soy-param-migration
|
|
3152
|
+
* @return {!Object}
|
|
3174
3153
|
*/
|
|
3175
|
-
proto.BaseItemTransaction.prototype.
|
|
3176
|
-
return
|
|
3154
|
+
proto.BaseItemTransaction.prototype.toObject = function(opt_includeInstance) {
|
|
3155
|
+
return proto.BaseItemTransaction.toObject(opt_includeInstance, this);
|
|
3177
3156
|
};
|
|
3178
3157
|
|
|
3179
3158
|
|
|
3180
3159
|
/**
|
|
3181
|
-
*
|
|
3182
|
-
* @
|
|
3160
|
+
* Static version of the {@see toObject} method.
|
|
3161
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3162
|
+
* the JSPB instance for transitional soy proto support:
|
|
3163
|
+
* http://goto/soy-param-migration
|
|
3164
|
+
* @param {!proto.BaseItemTransaction} msg The msg instance to transform.
|
|
3165
|
+
* @return {!Object}
|
|
3166
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3183
3167
|
*/
|
|
3184
|
-
proto.BaseItemTransaction.
|
|
3185
|
-
|
|
3168
|
+
proto.BaseItemTransaction.toObject = function(includeInstance, msg) {
|
|
3169
|
+
var f, obj = {
|
|
3170
|
+
transactionReferences: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3171
|
+
accAssigment: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3172
|
+
materialGroup: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3173
|
+
materialCode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3174
|
+
detailDescription: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3175
|
+
description: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3176
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3177
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3178
|
+
estimatedUnitPrice: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
3179
|
+
deliveryDate: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
3180
|
+
plannedDeliveryTime: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
3181
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
3182
|
+
itemTransactionDetailList: jspb.Message.toObjectList(msg.getItemTransactionDetailList(),
|
|
3183
|
+
proto.BaseItemTransactionDetail.toObject, includeInstance),
|
|
3184
|
+
itemTransactionPriceConditionList: jspb.Message.toObjectList(msg.getItemTransactionPriceConditionList(),
|
|
3185
|
+
proto.BaseItemTransactionPriceCondition.toObject, includeInstance),
|
|
3186
|
+
previousReferences: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
3187
|
+
previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
3188
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
3189
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
|
|
3190
|
+
currency: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
3191
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
3192
|
+
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
3193
|
+
itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServiceList(),
|
|
3194
|
+
proto.BaseItemTransactionService.toObject, includeInstance),
|
|
3195
|
+
purchaseRequisitionQuantity: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
3196
|
+
purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
3197
|
+
};
|
|
3198
|
+
|
|
3199
|
+
if (includeInstance) {
|
|
3200
|
+
obj.$jspbMessageInstance = msg;
|
|
3201
|
+
}
|
|
3202
|
+
return obj;
|
|
3186
3203
|
};
|
|
3204
|
+
}
|
|
3187
3205
|
|
|
3188
3206
|
|
|
3189
3207
|
/**
|
|
3190
|
-
*
|
|
3191
|
-
* @
|
|
3208
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3209
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3210
|
+
* @return {!proto.BaseItemTransaction}
|
|
3192
3211
|
*/
|
|
3193
|
-
proto.BaseItemTransaction.
|
|
3194
|
-
|
|
3212
|
+
proto.BaseItemTransaction.deserializeBinary = function(bytes) {
|
|
3213
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3214
|
+
var msg = new proto.BaseItemTransaction;
|
|
3215
|
+
return proto.BaseItemTransaction.deserializeBinaryFromReader(msg, reader);
|
|
3195
3216
|
};
|
|
3196
3217
|
|
|
3197
3218
|
|
|
3198
3219
|
/**
|
|
3199
|
-
*
|
|
3200
|
-
*
|
|
3220
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3221
|
+
* given reader into the given message object.
|
|
3222
|
+
* @param {!proto.BaseItemTransaction} msg The message object to deserialize into.
|
|
3223
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3224
|
+
* @return {!proto.BaseItemTransaction}
|
|
3201
3225
|
*/
|
|
3202
|
-
proto.BaseItemTransaction.
|
|
3203
|
-
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
3204
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 17));
|
|
3205
|
-
};
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
/**
|
|
3209
|
-
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
3210
|
-
* @return {!proto.BaseItemTransaction} returns this
|
|
3211
|
-
*/
|
|
3212
|
-
proto.BaseItemTransaction.prototype.setFilesList = function(value) {
|
|
3213
|
-
return jspb.Message.setRepeatedWrapperField(this, 17, value);
|
|
3214
|
-
};
|
|
3215
|
-
|
|
3216
|
-
|
|
3217
|
-
/**
|
|
3218
|
-
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
3219
|
-
* @param {number=} opt_index
|
|
3220
|
-
* @return {!proto.FileUploadReferencesReq}
|
|
3221
|
-
*/
|
|
3222
|
-
proto.BaseItemTransaction.prototype.addFiles = function(opt_value, opt_index) {
|
|
3223
|
-
return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
3224
|
-
};
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
/**
|
|
3228
|
-
* Clears the list making it empty but non-null.
|
|
3229
|
-
* @return {!proto.BaseItemTransaction} returns this
|
|
3230
|
-
*/
|
|
3231
|
-
proto.BaseItemTransaction.prototype.clearFilesList = function() {
|
|
3232
|
-
return this.setFilesList([]);
|
|
3233
|
-
};
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
/**
|
|
3237
|
-
* optional string currency = 18;
|
|
3238
|
-
* @return {string}
|
|
3239
|
-
*/
|
|
3240
|
-
proto.BaseItemTransaction.prototype.getCurrency = function() {
|
|
3241
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
3242
|
-
};
|
|
3243
|
-
|
|
3244
|
-
|
|
3245
|
-
/**
|
|
3246
|
-
* @param {string} value
|
|
3247
|
-
* @return {!proto.BaseItemTransaction} returns this
|
|
3248
|
-
*/
|
|
3249
|
-
proto.BaseItemTransaction.prototype.setCurrency = function(value) {
|
|
3250
|
-
return jspb.Message.setProto3StringField(this, 18, value);
|
|
3251
|
-
};
|
|
3252
|
-
|
|
3253
|
-
|
|
3254
|
-
/**
|
|
3255
|
-
* optional string references_id = 19;
|
|
3256
|
-
* @return {string}
|
|
3257
|
-
*/
|
|
3258
|
-
proto.BaseItemTransaction.prototype.getReferencesId = function() {
|
|
3259
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
3260
|
-
};
|
|
3261
|
-
|
|
3262
|
-
|
|
3263
|
-
/**
|
|
3264
|
-
* @param {string} value
|
|
3265
|
-
* @return {!proto.BaseItemTransaction} returns this
|
|
3266
|
-
*/
|
|
3267
|
-
proto.BaseItemTransaction.prototype.setReferencesId = function(value) {
|
|
3268
|
-
return jspb.Message.setProto3StringField(this, 19, value);
|
|
3269
|
-
};
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
/**
|
|
3273
|
-
* optional string purchase_requisition_transaction_number = 20;
|
|
3274
|
-
* @return {string}
|
|
3275
|
-
*/
|
|
3276
|
-
proto.BaseItemTransaction.prototype.getPurchaseRequisitionTransactionNumber = function() {
|
|
3277
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
3278
|
-
};
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
/**
|
|
3282
|
-
* @param {string} value
|
|
3283
|
-
* @return {!proto.BaseItemTransaction} returns this
|
|
3284
|
-
*/
|
|
3285
|
-
proto.BaseItemTransaction.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
|
|
3286
|
-
return jspb.Message.setProto3StringField(this, 20, value);
|
|
3287
|
-
};
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
/**
|
|
3292
|
-
* List of repeated fields within this message type.
|
|
3293
|
-
* @private {!Array<number>}
|
|
3294
|
-
* @const
|
|
3295
|
-
*/
|
|
3296
|
-
proto.BaseItemTransactionDetail.repeatedFields_ = [18];
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3301
|
-
/**
|
|
3302
|
-
* Creates an object representation of this proto.
|
|
3303
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3304
|
-
* Optional fields that are not set will be set to undefined.
|
|
3305
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3306
|
-
* For the list of reserved names please see:
|
|
3307
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3308
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3309
|
-
* JSPB instance for transitional soy proto support:
|
|
3310
|
-
* http://goto/soy-param-migration
|
|
3311
|
-
* @return {!Object}
|
|
3312
|
-
*/
|
|
3313
|
-
proto.BaseItemTransactionDetail.prototype.toObject = function(opt_includeInstance) {
|
|
3314
|
-
return proto.BaseItemTransactionDetail.toObject(opt_includeInstance, this);
|
|
3315
|
-
};
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
/**
|
|
3319
|
-
* Static version of the {@see toObject} method.
|
|
3320
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3321
|
-
* the JSPB instance for transitional soy proto support:
|
|
3322
|
-
* http://goto/soy-param-migration
|
|
3323
|
-
* @param {!proto.BaseItemTransactionDetail} msg The msg instance to transform.
|
|
3324
|
-
* @return {!Object}
|
|
3325
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3326
|
-
*/
|
|
3327
|
-
proto.BaseItemTransactionDetail.toObject = function(includeInstance, msg) {
|
|
3328
|
-
var f, obj = {
|
|
3329
|
-
glAccount: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3330
|
-
glAccountDescription: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3331
|
-
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3332
|
-
valuationPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
3333
|
-
requisitioner: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3334
|
-
customTransaction: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3335
|
-
distribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
3336
|
-
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
3337
|
-
assetNo: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
3338
|
-
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
3339
|
-
costCenter: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
3340
|
-
orderNumber: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
3341
|
-
orderDescription: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
3342
|
-
serviceNo: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
3343
|
-
serviceDescription: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
3344
|
-
amountPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 16, 0.0),
|
|
3345
|
-
materialCode: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
3346
|
-
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
3347
|
-
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
3348
|
-
};
|
|
3349
|
-
|
|
3350
|
-
if (includeInstance) {
|
|
3351
|
-
obj.$jspbMessageInstance = msg;
|
|
3352
|
-
}
|
|
3353
|
-
return obj;
|
|
3354
|
-
};
|
|
3355
|
-
}
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
/**
|
|
3359
|
-
* Deserializes binary data (in protobuf wire format).
|
|
3360
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3361
|
-
* @return {!proto.BaseItemTransactionDetail}
|
|
3362
|
-
*/
|
|
3363
|
-
proto.BaseItemTransactionDetail.deserializeBinary = function(bytes) {
|
|
3364
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
3365
|
-
var msg = new proto.BaseItemTransactionDetail;
|
|
3366
|
-
return proto.BaseItemTransactionDetail.deserializeBinaryFromReader(msg, reader);
|
|
3367
|
-
};
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
/**
|
|
3371
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
3372
|
-
* given reader into the given message object.
|
|
3373
|
-
* @param {!proto.BaseItemTransactionDetail} msg The message object to deserialize into.
|
|
3374
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3375
|
-
* @return {!proto.BaseItemTransactionDetail}
|
|
3376
|
-
*/
|
|
3377
|
-
proto.BaseItemTransactionDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
3226
|
+
proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
3378
3227
|
while (reader.nextField()) {
|
|
3379
3228
|
if (reader.isEndGroup()) {
|
|
3380
3229
|
break;
|
|
@@ -3383,77 +3232,100 @@ proto.BaseItemTransactionDetail.deserializeBinaryFromReader = function(msg, read
|
|
|
3383
3232
|
switch (field) {
|
|
3384
3233
|
case 1:
|
|
3385
3234
|
var value = /** @type {string} */ (reader.readString());
|
|
3386
|
-
msg.
|
|
3235
|
+
msg.setTransactionReferences(value);
|
|
3387
3236
|
break;
|
|
3388
3237
|
case 2:
|
|
3389
3238
|
var value = /** @type {string} */ (reader.readString());
|
|
3390
|
-
msg.
|
|
3239
|
+
msg.setAccAssigment(value);
|
|
3391
3240
|
break;
|
|
3392
3241
|
case 3:
|
|
3393
3242
|
var value = /** @type {string} */ (reader.readString());
|
|
3394
|
-
msg.
|
|
3243
|
+
msg.setMaterialGroup(value);
|
|
3395
3244
|
break;
|
|
3396
3245
|
case 4:
|
|
3397
|
-
var value = /** @type {
|
|
3398
|
-
msg.
|
|
3246
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3247
|
+
msg.setMaterialCode(value);
|
|
3399
3248
|
break;
|
|
3400
3249
|
case 5:
|
|
3401
3250
|
var value = /** @type {string} */ (reader.readString());
|
|
3402
|
-
msg.
|
|
3251
|
+
msg.setDetailDescription(value);
|
|
3403
3252
|
break;
|
|
3404
3253
|
case 6:
|
|
3405
3254
|
var value = /** @type {string} */ (reader.readString());
|
|
3406
|
-
msg.
|
|
3255
|
+
msg.setDescription(value);
|
|
3407
3256
|
break;
|
|
3408
3257
|
case 7:
|
|
3409
|
-
var value = /** @type {
|
|
3410
|
-
msg.
|
|
3258
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3259
|
+
msg.setQuantity(value);
|
|
3411
3260
|
break;
|
|
3412
3261
|
case 8:
|
|
3413
|
-
var value = /** @type {
|
|
3414
|
-
msg.
|
|
3262
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3263
|
+
msg.setUnitOfMeasure(value);
|
|
3415
3264
|
break;
|
|
3416
3265
|
case 9:
|
|
3417
3266
|
var value = /** @type {string} */ (reader.readString());
|
|
3418
|
-
msg.
|
|
3267
|
+
msg.setEstimatedUnitPrice(value);
|
|
3419
3268
|
break;
|
|
3420
3269
|
case 10:
|
|
3421
3270
|
var value = /** @type {string} */ (reader.readString());
|
|
3422
|
-
msg.
|
|
3271
|
+
msg.setDeliveryDate(value);
|
|
3423
3272
|
break;
|
|
3424
3273
|
case 11:
|
|
3425
3274
|
var value = /** @type {string} */ (reader.readString());
|
|
3426
|
-
msg.
|
|
3275
|
+
msg.setPlannedDeliveryTime(value);
|
|
3427
3276
|
break;
|
|
3428
3277
|
case 12:
|
|
3429
3278
|
var value = /** @type {string} */ (reader.readString());
|
|
3430
|
-
msg.
|
|
3279
|
+
msg.setCustomTransaction(value);
|
|
3431
3280
|
break;
|
|
3432
3281
|
case 13:
|
|
3433
|
-
var value =
|
|
3434
|
-
|
|
3282
|
+
var value = new proto.BaseItemTransactionDetail;
|
|
3283
|
+
reader.readMessage(value,proto.BaseItemTransactionDetail.deserializeBinaryFromReader);
|
|
3284
|
+
msg.addItemTransactionDetail(value);
|
|
3435
3285
|
break;
|
|
3436
3286
|
case 14:
|
|
3437
|
-
var value =
|
|
3438
|
-
|
|
3287
|
+
var value = new proto.BaseItemTransactionPriceCondition;
|
|
3288
|
+
reader.readMessage(value,proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader);
|
|
3289
|
+
msg.addItemTransactionPriceCondition(value);
|
|
3439
3290
|
break;
|
|
3440
3291
|
case 15:
|
|
3441
3292
|
var value = /** @type {string} */ (reader.readString());
|
|
3442
|
-
msg.
|
|
3293
|
+
msg.setPreviousReferences(value);
|
|
3443
3294
|
break;
|
|
3444
3295
|
case 16:
|
|
3445
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
3446
|
-
msg.setAmountPrice(value);
|
|
3447
|
-
break;
|
|
3448
|
-
case 17:
|
|
3449
3296
|
var value = /** @type {string} */ (reader.readString());
|
|
3450
|
-
msg.
|
|
3297
|
+
msg.setPreviousTransactionReferences(value);
|
|
3451
3298
|
break;
|
|
3452
|
-
case
|
|
3299
|
+
case 17:
|
|
3453
3300
|
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
3454
3301
|
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
3455
3302
|
msg.addFiles(value);
|
|
3456
3303
|
break;
|
|
3304
|
+
case 18:
|
|
3305
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3306
|
+
msg.setCurrency(value);
|
|
3307
|
+
break;
|
|
3308
|
+
case 19:
|
|
3309
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3310
|
+
msg.setReferencesId(value);
|
|
3311
|
+
break;
|
|
3312
|
+
case 20:
|
|
3313
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3314
|
+
msg.setPurchaseRequisitionTransactionNumber(value);
|
|
3315
|
+
break;
|
|
3316
|
+
case 21:
|
|
3317
|
+
var value = new proto.BaseItemTransactionService;
|
|
3318
|
+
reader.readMessage(value,proto.BaseItemTransactionService.deserializeBinaryFromReader);
|
|
3319
|
+
msg.addItemTransactionService(value);
|
|
3320
|
+
break;
|
|
3321
|
+
case 22:
|
|
3322
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3323
|
+
msg.setPurchaseRequisitionQuantity(value);
|
|
3324
|
+
break;
|
|
3325
|
+
case 23:
|
|
3326
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3327
|
+
msg.setPurchaseRequisitionPrice(value);
|
|
3328
|
+
break;
|
|
3457
3329
|
default:
|
|
3458
3330
|
reader.skipField();
|
|
3459
3331
|
break;
|
|
@@ -3467,9 +3339,9 @@ proto.BaseItemTransactionDetail.deserializeBinaryFromReader = function(msg, read
|
|
|
3467
3339
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3468
3340
|
* @return {!Uint8Array}
|
|
3469
3341
|
*/
|
|
3470
|
-
proto.
|
|
3342
|
+
proto.BaseItemTransaction.prototype.serializeBinary = function() {
|
|
3471
3343
|
var writer = new jspb.BinaryWriter();
|
|
3472
|
-
proto.
|
|
3344
|
+
proto.BaseItemTransaction.serializeBinaryToWriter(this, writer);
|
|
3473
3345
|
return writer.getResultBuffer();
|
|
3474
3346
|
};
|
|
3475
3347
|
|
|
@@ -3477,464 +3349,1752 @@ proto.BaseItemTransactionDetail.prototype.serializeBinary = function() {
|
|
|
3477
3349
|
/**
|
|
3478
3350
|
* Serializes the given message to binary data (in protobuf wire
|
|
3479
3351
|
* format), writing to the given BinaryWriter.
|
|
3480
|
-
* @param {!proto.
|
|
3352
|
+
* @param {!proto.BaseItemTransaction} message
|
|
3481
3353
|
* @param {!jspb.BinaryWriter} writer
|
|
3482
3354
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3483
3355
|
*/
|
|
3484
|
-
proto.
|
|
3356
|
+
proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
3485
3357
|
var f = undefined;
|
|
3486
|
-
f = message.
|
|
3358
|
+
f = message.getTransactionReferences();
|
|
3487
3359
|
if (f.length > 0) {
|
|
3488
3360
|
writer.writeString(
|
|
3489
3361
|
1,
|
|
3490
3362
|
f
|
|
3491
3363
|
);
|
|
3492
3364
|
}
|
|
3493
|
-
f = message.
|
|
3365
|
+
f = message.getAccAssigment();
|
|
3494
3366
|
if (f.length > 0) {
|
|
3495
3367
|
writer.writeString(
|
|
3496
3368
|
2,
|
|
3497
3369
|
f
|
|
3498
3370
|
);
|
|
3499
3371
|
}
|
|
3500
|
-
f = message.
|
|
3372
|
+
f = message.getMaterialGroup();
|
|
3501
3373
|
if (f.length > 0) {
|
|
3502
3374
|
writer.writeString(
|
|
3503
3375
|
3,
|
|
3504
3376
|
f
|
|
3505
3377
|
);
|
|
3506
3378
|
}
|
|
3507
|
-
f = message.
|
|
3508
|
-
if (f
|
|
3509
|
-
writer.
|
|
3379
|
+
f = message.getMaterialCode();
|
|
3380
|
+
if (f.length > 0) {
|
|
3381
|
+
writer.writeString(
|
|
3510
3382
|
4,
|
|
3511
3383
|
f
|
|
3512
3384
|
);
|
|
3513
3385
|
}
|
|
3514
|
-
f = message.
|
|
3386
|
+
f = message.getDetailDescription();
|
|
3515
3387
|
if (f.length > 0) {
|
|
3516
3388
|
writer.writeString(
|
|
3517
3389
|
5,
|
|
3518
3390
|
f
|
|
3519
3391
|
);
|
|
3520
3392
|
}
|
|
3521
|
-
f = message.
|
|
3393
|
+
f = message.getDescription();
|
|
3522
3394
|
if (f.length > 0) {
|
|
3523
3395
|
writer.writeString(
|
|
3524
3396
|
6,
|
|
3525
3397
|
f
|
|
3526
3398
|
);
|
|
3527
3399
|
}
|
|
3528
|
-
f = message.
|
|
3529
|
-
if (f
|
|
3530
|
-
writer.
|
|
3400
|
+
f = message.getQuantity();
|
|
3401
|
+
if (f.length > 0) {
|
|
3402
|
+
writer.writeString(
|
|
3531
3403
|
7,
|
|
3532
3404
|
f
|
|
3533
3405
|
);
|
|
3534
3406
|
}
|
|
3535
|
-
f = message.
|
|
3536
|
-
if (f
|
|
3537
|
-
writer.
|
|
3407
|
+
f = message.getUnitOfMeasure();
|
|
3408
|
+
if (f.length > 0) {
|
|
3409
|
+
writer.writeString(
|
|
3538
3410
|
8,
|
|
3539
3411
|
f
|
|
3540
3412
|
);
|
|
3541
3413
|
}
|
|
3542
|
-
f = message.
|
|
3414
|
+
f = message.getEstimatedUnitPrice();
|
|
3543
3415
|
if (f.length > 0) {
|
|
3544
3416
|
writer.writeString(
|
|
3545
3417
|
9,
|
|
3546
3418
|
f
|
|
3547
3419
|
);
|
|
3548
3420
|
}
|
|
3549
|
-
f = message.
|
|
3421
|
+
f = message.getDeliveryDate();
|
|
3550
3422
|
if (f.length > 0) {
|
|
3551
3423
|
writer.writeString(
|
|
3552
3424
|
10,
|
|
3553
3425
|
f
|
|
3554
3426
|
);
|
|
3555
3427
|
}
|
|
3556
|
-
f = message.
|
|
3428
|
+
f = message.getPlannedDeliveryTime();
|
|
3557
3429
|
if (f.length > 0) {
|
|
3558
3430
|
writer.writeString(
|
|
3559
3431
|
11,
|
|
3560
3432
|
f
|
|
3561
3433
|
);
|
|
3562
3434
|
}
|
|
3563
|
-
f = message.
|
|
3435
|
+
f = message.getCustomTransaction();
|
|
3564
3436
|
if (f.length > 0) {
|
|
3565
3437
|
writer.writeString(
|
|
3566
3438
|
12,
|
|
3567
3439
|
f
|
|
3568
3440
|
);
|
|
3569
3441
|
}
|
|
3570
|
-
f = message.
|
|
3442
|
+
f = message.getItemTransactionDetailList();
|
|
3571
3443
|
if (f.length > 0) {
|
|
3572
|
-
writer.
|
|
3444
|
+
writer.writeRepeatedMessage(
|
|
3573
3445
|
13,
|
|
3574
|
-
f
|
|
3446
|
+
f,
|
|
3447
|
+
proto.BaseItemTransactionDetail.serializeBinaryToWriter
|
|
3575
3448
|
);
|
|
3576
3449
|
}
|
|
3577
|
-
f = message.
|
|
3450
|
+
f = message.getItemTransactionPriceConditionList();
|
|
3578
3451
|
if (f.length > 0) {
|
|
3579
|
-
writer.
|
|
3452
|
+
writer.writeRepeatedMessage(
|
|
3580
3453
|
14,
|
|
3581
|
-
f
|
|
3454
|
+
f,
|
|
3455
|
+
proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter
|
|
3582
3456
|
);
|
|
3583
3457
|
}
|
|
3584
|
-
f = message.
|
|
3458
|
+
f = message.getPreviousReferences();
|
|
3585
3459
|
if (f.length > 0) {
|
|
3586
3460
|
writer.writeString(
|
|
3587
3461
|
15,
|
|
3588
3462
|
f
|
|
3589
3463
|
);
|
|
3590
3464
|
}
|
|
3591
|
-
f = message.
|
|
3592
|
-
if (f
|
|
3593
|
-
writer.
|
|
3465
|
+
f = message.getPreviousTransactionReferences();
|
|
3466
|
+
if (f.length > 0) {
|
|
3467
|
+
writer.writeString(
|
|
3594
3468
|
16,
|
|
3595
3469
|
f
|
|
3596
3470
|
);
|
|
3597
3471
|
}
|
|
3598
|
-
f = message.
|
|
3472
|
+
f = message.getFilesList();
|
|
3599
3473
|
if (f.length > 0) {
|
|
3600
|
-
writer.
|
|
3474
|
+
writer.writeRepeatedMessage(
|
|
3601
3475
|
17,
|
|
3476
|
+
f,
|
|
3477
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
3478
|
+
);
|
|
3479
|
+
}
|
|
3480
|
+
f = message.getCurrency();
|
|
3481
|
+
if (f.length > 0) {
|
|
3482
|
+
writer.writeString(
|
|
3483
|
+
18,
|
|
3602
3484
|
f
|
|
3603
3485
|
);
|
|
3604
3486
|
}
|
|
3605
|
-
f = message.
|
|
3487
|
+
f = message.getReferencesId();
|
|
3488
|
+
if (f.length > 0) {
|
|
3489
|
+
writer.writeString(
|
|
3490
|
+
19,
|
|
3491
|
+
f
|
|
3492
|
+
);
|
|
3493
|
+
}
|
|
3494
|
+
f = message.getPurchaseRequisitionTransactionNumber();
|
|
3495
|
+
if (f.length > 0) {
|
|
3496
|
+
writer.writeString(
|
|
3497
|
+
20,
|
|
3498
|
+
f
|
|
3499
|
+
);
|
|
3500
|
+
}
|
|
3501
|
+
f = message.getItemTransactionServiceList();
|
|
3606
3502
|
if (f.length > 0) {
|
|
3607
3503
|
writer.writeRepeatedMessage(
|
|
3608
|
-
|
|
3504
|
+
21,
|
|
3609
3505
|
f,
|
|
3610
|
-
|
|
3506
|
+
proto.BaseItemTransactionService.serializeBinaryToWriter
|
|
3507
|
+
);
|
|
3508
|
+
}
|
|
3509
|
+
f = message.getPurchaseRequisitionQuantity();
|
|
3510
|
+
if (f.length > 0) {
|
|
3511
|
+
writer.writeString(
|
|
3512
|
+
22,
|
|
3513
|
+
f
|
|
3514
|
+
);
|
|
3515
|
+
}
|
|
3516
|
+
f = message.getPurchaseRequisitionPrice();
|
|
3517
|
+
if (f.length > 0) {
|
|
3518
|
+
writer.writeString(
|
|
3519
|
+
23,
|
|
3520
|
+
f
|
|
3611
3521
|
);
|
|
3612
3522
|
}
|
|
3613
3523
|
};
|
|
3614
3524
|
|
|
3615
3525
|
|
|
3616
3526
|
/**
|
|
3617
|
-
* optional string
|
|
3527
|
+
* optional string transaction_references = 1;
|
|
3618
3528
|
* @return {string}
|
|
3619
3529
|
*/
|
|
3620
|
-
proto.
|
|
3530
|
+
proto.BaseItemTransaction.prototype.getTransactionReferences = function() {
|
|
3621
3531
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3622
3532
|
};
|
|
3623
3533
|
|
|
3624
3534
|
|
|
3625
3535
|
/**
|
|
3626
3536
|
* @param {string} value
|
|
3627
|
-
* @return {!proto.
|
|
3537
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3628
3538
|
*/
|
|
3629
|
-
proto.
|
|
3539
|
+
proto.BaseItemTransaction.prototype.setTransactionReferences = function(value) {
|
|
3630
3540
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3631
3541
|
};
|
|
3632
3542
|
|
|
3633
3543
|
|
|
3634
3544
|
/**
|
|
3635
|
-
* optional string
|
|
3545
|
+
* optional string acc_assigment = 2;
|
|
3636
3546
|
* @return {string}
|
|
3637
3547
|
*/
|
|
3638
|
-
proto.
|
|
3548
|
+
proto.BaseItemTransaction.prototype.getAccAssigment = function() {
|
|
3639
3549
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3640
3550
|
};
|
|
3641
3551
|
|
|
3642
3552
|
|
|
3643
3553
|
/**
|
|
3644
3554
|
* @param {string} value
|
|
3645
|
-
* @return {!proto.
|
|
3555
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3646
3556
|
*/
|
|
3647
|
-
proto.
|
|
3557
|
+
proto.BaseItemTransaction.prototype.setAccAssigment = function(value) {
|
|
3648
3558
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3649
3559
|
};
|
|
3650
3560
|
|
|
3651
3561
|
|
|
3652
3562
|
/**
|
|
3653
|
-
* optional string
|
|
3563
|
+
* optional string material_group = 3;
|
|
3654
3564
|
* @return {string}
|
|
3655
3565
|
*/
|
|
3656
|
-
proto.
|
|
3566
|
+
proto.BaseItemTransaction.prototype.getMaterialGroup = function() {
|
|
3657
3567
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3658
3568
|
};
|
|
3659
3569
|
|
|
3660
3570
|
|
|
3661
3571
|
/**
|
|
3662
3572
|
* @param {string} value
|
|
3663
|
-
* @return {!proto.
|
|
3573
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3664
3574
|
*/
|
|
3665
|
-
proto.
|
|
3575
|
+
proto.BaseItemTransaction.prototype.setMaterialGroup = function(value) {
|
|
3666
3576
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3667
3577
|
};
|
|
3668
3578
|
|
|
3669
3579
|
|
|
3670
3580
|
/**
|
|
3671
|
-
* optional
|
|
3672
|
-
* @return {
|
|
3581
|
+
* optional string material_code = 4;
|
|
3582
|
+
* @return {string}
|
|
3673
3583
|
*/
|
|
3674
|
-
proto.
|
|
3675
|
-
return /** @type {
|
|
3584
|
+
proto.BaseItemTransaction.prototype.getMaterialCode = function() {
|
|
3585
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3676
3586
|
};
|
|
3677
3587
|
|
|
3678
3588
|
|
|
3679
3589
|
/**
|
|
3680
|
-
* @param {
|
|
3681
|
-
* @return {!proto.
|
|
3590
|
+
* @param {string} value
|
|
3591
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3682
3592
|
*/
|
|
3683
|
-
proto.
|
|
3684
|
-
return jspb.Message.
|
|
3593
|
+
proto.BaseItemTransaction.prototype.setMaterialCode = function(value) {
|
|
3594
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3685
3595
|
};
|
|
3686
3596
|
|
|
3687
3597
|
|
|
3688
3598
|
/**
|
|
3689
|
-
* optional string
|
|
3599
|
+
* optional string detail_description = 5;
|
|
3690
3600
|
* @return {string}
|
|
3691
3601
|
*/
|
|
3692
|
-
proto.
|
|
3602
|
+
proto.BaseItemTransaction.prototype.getDetailDescription = function() {
|
|
3693
3603
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3694
3604
|
};
|
|
3695
3605
|
|
|
3696
3606
|
|
|
3697
3607
|
/**
|
|
3698
3608
|
* @param {string} value
|
|
3699
|
-
* @return {!proto.
|
|
3609
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3700
3610
|
*/
|
|
3701
|
-
proto.
|
|
3611
|
+
proto.BaseItemTransaction.prototype.setDetailDescription = function(value) {
|
|
3702
3612
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3703
3613
|
};
|
|
3704
3614
|
|
|
3705
3615
|
|
|
3706
3616
|
/**
|
|
3707
|
-
* optional string
|
|
3617
|
+
* optional string description = 6;
|
|
3708
3618
|
* @return {string}
|
|
3709
3619
|
*/
|
|
3710
|
-
proto.
|
|
3620
|
+
proto.BaseItemTransaction.prototype.getDescription = function() {
|
|
3711
3621
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3712
3622
|
};
|
|
3713
3623
|
|
|
3714
3624
|
|
|
3715
3625
|
/**
|
|
3716
3626
|
* @param {string} value
|
|
3717
|
-
* @return {!proto.
|
|
3627
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3718
3628
|
*/
|
|
3719
|
-
proto.
|
|
3629
|
+
proto.BaseItemTransaction.prototype.setDescription = function(value) {
|
|
3720
3630
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3721
3631
|
};
|
|
3722
3632
|
|
|
3723
3633
|
|
|
3724
3634
|
/**
|
|
3725
|
-
* optional
|
|
3726
|
-
* @return {
|
|
3635
|
+
* optional string quantity = 7;
|
|
3636
|
+
* @return {string}
|
|
3727
3637
|
*/
|
|
3728
|
-
proto.
|
|
3729
|
-
return /** @type {
|
|
3638
|
+
proto.BaseItemTransaction.prototype.getQuantity = function() {
|
|
3639
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
3730
3640
|
};
|
|
3731
3641
|
|
|
3732
3642
|
|
|
3733
3643
|
/**
|
|
3734
|
-
* @param {
|
|
3735
|
-
* @return {!proto.
|
|
3644
|
+
* @param {string} value
|
|
3645
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3736
3646
|
*/
|
|
3737
|
-
proto.
|
|
3738
|
-
return jspb.Message.
|
|
3647
|
+
proto.BaseItemTransaction.prototype.setQuantity = function(value) {
|
|
3648
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
3649
|
+
};
|
|
3650
|
+
|
|
3651
|
+
|
|
3652
|
+
/**
|
|
3653
|
+
* optional string unit_of_measure = 8;
|
|
3654
|
+
* @return {string}
|
|
3655
|
+
*/
|
|
3656
|
+
proto.BaseItemTransaction.prototype.getUnitOfMeasure = function() {
|
|
3657
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
3658
|
+
};
|
|
3659
|
+
|
|
3660
|
+
|
|
3661
|
+
/**
|
|
3662
|
+
* @param {string} value
|
|
3663
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3664
|
+
*/
|
|
3665
|
+
proto.BaseItemTransaction.prototype.setUnitOfMeasure = function(value) {
|
|
3666
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
3667
|
+
};
|
|
3668
|
+
|
|
3669
|
+
|
|
3670
|
+
/**
|
|
3671
|
+
* optional string estimated_unit_price = 9;
|
|
3672
|
+
* @return {string}
|
|
3673
|
+
*/
|
|
3674
|
+
proto.BaseItemTransaction.prototype.getEstimatedUnitPrice = function() {
|
|
3675
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
3676
|
+
};
|
|
3677
|
+
|
|
3678
|
+
|
|
3679
|
+
/**
|
|
3680
|
+
* @param {string} value
|
|
3681
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3682
|
+
*/
|
|
3683
|
+
proto.BaseItemTransaction.prototype.setEstimatedUnitPrice = function(value) {
|
|
3684
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
3685
|
+
};
|
|
3686
|
+
|
|
3687
|
+
|
|
3688
|
+
/**
|
|
3689
|
+
* optional string delivery_date = 10;
|
|
3690
|
+
* @return {string}
|
|
3691
|
+
*/
|
|
3692
|
+
proto.BaseItemTransaction.prototype.getDeliveryDate = function() {
|
|
3693
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
3694
|
+
};
|
|
3695
|
+
|
|
3696
|
+
|
|
3697
|
+
/**
|
|
3698
|
+
* @param {string} value
|
|
3699
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3700
|
+
*/
|
|
3701
|
+
proto.BaseItemTransaction.prototype.setDeliveryDate = function(value) {
|
|
3702
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
3703
|
+
};
|
|
3704
|
+
|
|
3705
|
+
|
|
3706
|
+
/**
|
|
3707
|
+
* optional string planned_delivery_time = 11;
|
|
3708
|
+
* @return {string}
|
|
3709
|
+
*/
|
|
3710
|
+
proto.BaseItemTransaction.prototype.getPlannedDeliveryTime = function() {
|
|
3711
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
3712
|
+
};
|
|
3713
|
+
|
|
3714
|
+
|
|
3715
|
+
/**
|
|
3716
|
+
* @param {string} value
|
|
3717
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3718
|
+
*/
|
|
3719
|
+
proto.BaseItemTransaction.prototype.setPlannedDeliveryTime = function(value) {
|
|
3720
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
3721
|
+
};
|
|
3722
|
+
|
|
3723
|
+
|
|
3724
|
+
/**
|
|
3725
|
+
* optional string custom_transaction = 12;
|
|
3726
|
+
* @return {string}
|
|
3727
|
+
*/
|
|
3728
|
+
proto.BaseItemTransaction.prototype.getCustomTransaction = function() {
|
|
3729
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
3730
|
+
};
|
|
3731
|
+
|
|
3732
|
+
|
|
3733
|
+
/**
|
|
3734
|
+
* @param {string} value
|
|
3735
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3736
|
+
*/
|
|
3737
|
+
proto.BaseItemTransaction.prototype.setCustomTransaction = function(value) {
|
|
3738
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
3739
|
+
};
|
|
3740
|
+
|
|
3741
|
+
|
|
3742
|
+
/**
|
|
3743
|
+
* repeated BaseItemTransactionDetail item_transaction_detail = 13;
|
|
3744
|
+
* @return {!Array<!proto.BaseItemTransactionDetail>}
|
|
3745
|
+
*/
|
|
3746
|
+
proto.BaseItemTransaction.prototype.getItemTransactionDetailList = function() {
|
|
3747
|
+
return /** @type{!Array<!proto.BaseItemTransactionDetail>} */ (
|
|
3748
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionDetail, 13));
|
|
3749
|
+
};
|
|
3750
|
+
|
|
3751
|
+
|
|
3752
|
+
/**
|
|
3753
|
+
* @param {!Array<!proto.BaseItemTransactionDetail>} value
|
|
3754
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3755
|
+
*/
|
|
3756
|
+
proto.BaseItemTransaction.prototype.setItemTransactionDetailList = function(value) {
|
|
3757
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
3758
|
+
};
|
|
3759
|
+
|
|
3760
|
+
|
|
3761
|
+
/**
|
|
3762
|
+
* @param {!proto.BaseItemTransactionDetail=} opt_value
|
|
3763
|
+
* @param {number=} opt_index
|
|
3764
|
+
* @return {!proto.BaseItemTransactionDetail}
|
|
3765
|
+
*/
|
|
3766
|
+
proto.BaseItemTransaction.prototype.addItemTransactionDetail = function(opt_value, opt_index) {
|
|
3767
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.BaseItemTransactionDetail, opt_index);
|
|
3768
|
+
};
|
|
3769
|
+
|
|
3770
|
+
|
|
3771
|
+
/**
|
|
3772
|
+
* Clears the list making it empty but non-null.
|
|
3773
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3774
|
+
*/
|
|
3775
|
+
proto.BaseItemTransaction.prototype.clearItemTransactionDetailList = function() {
|
|
3776
|
+
return this.setItemTransactionDetailList([]);
|
|
3777
|
+
};
|
|
3778
|
+
|
|
3779
|
+
|
|
3780
|
+
/**
|
|
3781
|
+
* repeated BaseItemTransactionPriceCondition item_transaction_price_condition = 14;
|
|
3782
|
+
* @return {!Array<!proto.BaseItemTransactionPriceCondition>}
|
|
3783
|
+
*/
|
|
3784
|
+
proto.BaseItemTransaction.prototype.getItemTransactionPriceConditionList = function() {
|
|
3785
|
+
return /** @type{!Array<!proto.BaseItemTransactionPriceCondition>} */ (
|
|
3786
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionPriceCondition, 14));
|
|
3787
|
+
};
|
|
3788
|
+
|
|
3789
|
+
|
|
3790
|
+
/**
|
|
3791
|
+
* @param {!Array<!proto.BaseItemTransactionPriceCondition>} value
|
|
3792
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3793
|
+
*/
|
|
3794
|
+
proto.BaseItemTransaction.prototype.setItemTransactionPriceConditionList = function(value) {
|
|
3795
|
+
return jspb.Message.setRepeatedWrapperField(this, 14, value);
|
|
3796
|
+
};
|
|
3797
|
+
|
|
3798
|
+
|
|
3799
|
+
/**
|
|
3800
|
+
* @param {!proto.BaseItemTransactionPriceCondition=} opt_value
|
|
3801
|
+
* @param {number=} opt_index
|
|
3802
|
+
* @return {!proto.BaseItemTransactionPriceCondition}
|
|
3803
|
+
*/
|
|
3804
|
+
proto.BaseItemTransaction.prototype.addItemTransactionPriceCondition = function(opt_value, opt_index) {
|
|
3805
|
+
return jspb.Message.addToRepeatedWrapperField(this, 14, opt_value, proto.BaseItemTransactionPriceCondition, opt_index);
|
|
3806
|
+
};
|
|
3807
|
+
|
|
3808
|
+
|
|
3809
|
+
/**
|
|
3810
|
+
* Clears the list making it empty but non-null.
|
|
3811
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3812
|
+
*/
|
|
3813
|
+
proto.BaseItemTransaction.prototype.clearItemTransactionPriceConditionList = function() {
|
|
3814
|
+
return this.setItemTransactionPriceConditionList([]);
|
|
3815
|
+
};
|
|
3816
|
+
|
|
3817
|
+
|
|
3818
|
+
/**
|
|
3819
|
+
* optional string previous_references = 15;
|
|
3820
|
+
* @return {string}
|
|
3821
|
+
*/
|
|
3822
|
+
proto.BaseItemTransaction.prototype.getPreviousReferences = function() {
|
|
3823
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
3824
|
+
};
|
|
3825
|
+
|
|
3826
|
+
|
|
3827
|
+
/**
|
|
3828
|
+
* @param {string} value
|
|
3829
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3830
|
+
*/
|
|
3831
|
+
proto.BaseItemTransaction.prototype.setPreviousReferences = function(value) {
|
|
3832
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
3833
|
+
};
|
|
3834
|
+
|
|
3835
|
+
|
|
3836
|
+
/**
|
|
3837
|
+
* optional string previous_transaction_references = 16;
|
|
3838
|
+
* @return {string}
|
|
3839
|
+
*/
|
|
3840
|
+
proto.BaseItemTransaction.prototype.getPreviousTransactionReferences = function() {
|
|
3841
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
3842
|
+
};
|
|
3843
|
+
|
|
3844
|
+
|
|
3845
|
+
/**
|
|
3846
|
+
* @param {string} value
|
|
3847
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3848
|
+
*/
|
|
3849
|
+
proto.BaseItemTransaction.prototype.setPreviousTransactionReferences = function(value) {
|
|
3850
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
3851
|
+
};
|
|
3852
|
+
|
|
3853
|
+
|
|
3854
|
+
/**
|
|
3855
|
+
* repeated FileUploadReferencesReq files = 17;
|
|
3856
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
3857
|
+
*/
|
|
3858
|
+
proto.BaseItemTransaction.prototype.getFilesList = function() {
|
|
3859
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
3860
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 17));
|
|
3861
|
+
};
|
|
3862
|
+
|
|
3863
|
+
|
|
3864
|
+
/**
|
|
3865
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
3866
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3867
|
+
*/
|
|
3868
|
+
proto.BaseItemTransaction.prototype.setFilesList = function(value) {
|
|
3869
|
+
return jspb.Message.setRepeatedWrapperField(this, 17, value);
|
|
3870
|
+
};
|
|
3871
|
+
|
|
3872
|
+
|
|
3873
|
+
/**
|
|
3874
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
3875
|
+
* @param {number=} opt_index
|
|
3876
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
3877
|
+
*/
|
|
3878
|
+
proto.BaseItemTransaction.prototype.addFiles = function(opt_value, opt_index) {
|
|
3879
|
+
return jspb.Message.addToRepeatedWrapperField(this, 17, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
3880
|
+
};
|
|
3881
|
+
|
|
3882
|
+
|
|
3883
|
+
/**
|
|
3884
|
+
* Clears the list making it empty but non-null.
|
|
3885
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3886
|
+
*/
|
|
3887
|
+
proto.BaseItemTransaction.prototype.clearFilesList = function() {
|
|
3888
|
+
return this.setFilesList([]);
|
|
3889
|
+
};
|
|
3890
|
+
|
|
3891
|
+
|
|
3892
|
+
/**
|
|
3893
|
+
* optional string currency = 18;
|
|
3894
|
+
* @return {string}
|
|
3895
|
+
*/
|
|
3896
|
+
proto.BaseItemTransaction.prototype.getCurrency = function() {
|
|
3897
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
3898
|
+
};
|
|
3899
|
+
|
|
3900
|
+
|
|
3901
|
+
/**
|
|
3902
|
+
* @param {string} value
|
|
3903
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3904
|
+
*/
|
|
3905
|
+
proto.BaseItemTransaction.prototype.setCurrency = function(value) {
|
|
3906
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
3907
|
+
};
|
|
3908
|
+
|
|
3909
|
+
|
|
3910
|
+
/**
|
|
3911
|
+
* optional string references_id = 19;
|
|
3912
|
+
* @return {string}
|
|
3913
|
+
*/
|
|
3914
|
+
proto.BaseItemTransaction.prototype.getReferencesId = function() {
|
|
3915
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
3916
|
+
};
|
|
3917
|
+
|
|
3918
|
+
|
|
3919
|
+
/**
|
|
3920
|
+
* @param {string} value
|
|
3921
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3922
|
+
*/
|
|
3923
|
+
proto.BaseItemTransaction.prototype.setReferencesId = function(value) {
|
|
3924
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
3925
|
+
};
|
|
3926
|
+
|
|
3927
|
+
|
|
3928
|
+
/**
|
|
3929
|
+
* optional string purchase_requisition_transaction_number = 20;
|
|
3930
|
+
* @return {string}
|
|
3931
|
+
*/
|
|
3932
|
+
proto.BaseItemTransaction.prototype.getPurchaseRequisitionTransactionNumber = function() {
|
|
3933
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
3934
|
+
};
|
|
3935
|
+
|
|
3936
|
+
|
|
3937
|
+
/**
|
|
3938
|
+
* @param {string} value
|
|
3939
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3940
|
+
*/
|
|
3941
|
+
proto.BaseItemTransaction.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
|
|
3942
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
3943
|
+
};
|
|
3944
|
+
|
|
3945
|
+
|
|
3946
|
+
/**
|
|
3947
|
+
* repeated BaseItemTransactionService item_transaction_service = 21;
|
|
3948
|
+
* @return {!Array<!proto.BaseItemTransactionService>}
|
|
3949
|
+
*/
|
|
3950
|
+
proto.BaseItemTransaction.prototype.getItemTransactionServiceList = function() {
|
|
3951
|
+
return /** @type{!Array<!proto.BaseItemTransactionService>} */ (
|
|
3952
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BaseItemTransactionService, 21));
|
|
3953
|
+
};
|
|
3954
|
+
|
|
3955
|
+
|
|
3956
|
+
/**
|
|
3957
|
+
* @param {!Array<!proto.BaseItemTransactionService>} value
|
|
3958
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3959
|
+
*/
|
|
3960
|
+
proto.BaseItemTransaction.prototype.setItemTransactionServiceList = function(value) {
|
|
3961
|
+
return jspb.Message.setRepeatedWrapperField(this, 21, value);
|
|
3962
|
+
};
|
|
3963
|
+
|
|
3964
|
+
|
|
3965
|
+
/**
|
|
3966
|
+
* @param {!proto.BaseItemTransactionService=} opt_value
|
|
3967
|
+
* @param {number=} opt_index
|
|
3968
|
+
* @return {!proto.BaseItemTransactionService}
|
|
3969
|
+
*/
|
|
3970
|
+
proto.BaseItemTransaction.prototype.addItemTransactionService = function(opt_value, opt_index) {
|
|
3971
|
+
return jspb.Message.addToRepeatedWrapperField(this, 21, opt_value, proto.BaseItemTransactionService, opt_index);
|
|
3972
|
+
};
|
|
3973
|
+
|
|
3974
|
+
|
|
3975
|
+
/**
|
|
3976
|
+
* Clears the list making it empty but non-null.
|
|
3977
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3978
|
+
*/
|
|
3979
|
+
proto.BaseItemTransaction.prototype.clearItemTransactionServiceList = function() {
|
|
3980
|
+
return this.setItemTransactionServiceList([]);
|
|
3981
|
+
};
|
|
3982
|
+
|
|
3983
|
+
|
|
3984
|
+
/**
|
|
3985
|
+
* optional string purchase_requisition_quantity = 22;
|
|
3986
|
+
* @return {string}
|
|
3987
|
+
*/
|
|
3988
|
+
proto.BaseItemTransaction.prototype.getPurchaseRequisitionQuantity = function() {
|
|
3989
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
3990
|
+
};
|
|
3991
|
+
|
|
3992
|
+
|
|
3993
|
+
/**
|
|
3994
|
+
* @param {string} value
|
|
3995
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3996
|
+
*/
|
|
3997
|
+
proto.BaseItemTransaction.prototype.setPurchaseRequisitionQuantity = function(value) {
|
|
3998
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
3999
|
+
};
|
|
4000
|
+
|
|
4001
|
+
|
|
4002
|
+
/**
|
|
4003
|
+
* optional string purchase_requisition_price = 23;
|
|
4004
|
+
* @return {string}
|
|
4005
|
+
*/
|
|
4006
|
+
proto.BaseItemTransaction.prototype.getPurchaseRequisitionPrice = function() {
|
|
4007
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
4008
|
+
};
|
|
4009
|
+
|
|
4010
|
+
|
|
4011
|
+
/**
|
|
4012
|
+
* @param {string} value
|
|
4013
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
4014
|
+
*/
|
|
4015
|
+
proto.BaseItemTransaction.prototype.setPurchaseRequisitionPrice = function(value) {
|
|
4016
|
+
return jspb.Message.setProto3StringField(this, 23, value);
|
|
4017
|
+
};
|
|
4018
|
+
|
|
4019
|
+
|
|
4020
|
+
|
|
4021
|
+
/**
|
|
4022
|
+
* List of repeated fields within this message type.
|
|
4023
|
+
* @private {!Array<number>}
|
|
4024
|
+
* @const
|
|
4025
|
+
*/
|
|
4026
|
+
proto.BaseItemTransactionDetail.repeatedFields_ = [18];
|
|
4027
|
+
|
|
4028
|
+
|
|
4029
|
+
|
|
4030
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4031
|
+
/**
|
|
4032
|
+
* Creates an object representation of this proto.
|
|
4033
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4034
|
+
* Optional fields that are not set will be set to undefined.
|
|
4035
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4036
|
+
* For the list of reserved names please see:
|
|
4037
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4038
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4039
|
+
* JSPB instance for transitional soy proto support:
|
|
4040
|
+
* http://goto/soy-param-migration
|
|
4041
|
+
* @return {!Object}
|
|
4042
|
+
*/
|
|
4043
|
+
proto.BaseItemTransactionDetail.prototype.toObject = function(opt_includeInstance) {
|
|
4044
|
+
return proto.BaseItemTransactionDetail.toObject(opt_includeInstance, this);
|
|
4045
|
+
};
|
|
4046
|
+
|
|
4047
|
+
|
|
4048
|
+
/**
|
|
4049
|
+
* Static version of the {@see toObject} method.
|
|
4050
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4051
|
+
* the JSPB instance for transitional soy proto support:
|
|
4052
|
+
* http://goto/soy-param-migration
|
|
4053
|
+
* @param {!proto.BaseItemTransactionDetail} msg The msg instance to transform.
|
|
4054
|
+
* @return {!Object}
|
|
4055
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4056
|
+
*/
|
|
4057
|
+
proto.BaseItemTransactionDetail.toObject = function(includeInstance, msg) {
|
|
4058
|
+
var f, obj = {
|
|
4059
|
+
glAccount: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4060
|
+
glAccountDescription: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4061
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4062
|
+
valuationPrice: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4063
|
+
requisitioner: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4064
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4065
|
+
distribution: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4066
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4067
|
+
assetNo: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4068
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4069
|
+
costCenter: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
4070
|
+
orderNumber: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
4071
|
+
orderDescription: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
4072
|
+
serviceNo: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
4073
|
+
serviceDescription: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
4074
|
+
amountPrice: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
4075
|
+
materialCode: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
4076
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
4077
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
4078
|
+
};
|
|
4079
|
+
|
|
4080
|
+
if (includeInstance) {
|
|
4081
|
+
obj.$jspbMessageInstance = msg;
|
|
4082
|
+
}
|
|
4083
|
+
return obj;
|
|
4084
|
+
};
|
|
4085
|
+
}
|
|
4086
|
+
|
|
4087
|
+
|
|
4088
|
+
/**
|
|
4089
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4090
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4091
|
+
* @return {!proto.BaseItemTransactionDetail}
|
|
4092
|
+
*/
|
|
4093
|
+
proto.BaseItemTransactionDetail.deserializeBinary = function(bytes) {
|
|
4094
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4095
|
+
var msg = new proto.BaseItemTransactionDetail;
|
|
4096
|
+
return proto.BaseItemTransactionDetail.deserializeBinaryFromReader(msg, reader);
|
|
4097
|
+
};
|
|
4098
|
+
|
|
4099
|
+
|
|
4100
|
+
/**
|
|
4101
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4102
|
+
* given reader into the given message object.
|
|
4103
|
+
* @param {!proto.BaseItemTransactionDetail} msg The message object to deserialize into.
|
|
4104
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4105
|
+
* @return {!proto.BaseItemTransactionDetail}
|
|
4106
|
+
*/
|
|
4107
|
+
proto.BaseItemTransactionDetail.deserializeBinaryFromReader = function(msg, reader) {
|
|
4108
|
+
while (reader.nextField()) {
|
|
4109
|
+
if (reader.isEndGroup()) {
|
|
4110
|
+
break;
|
|
4111
|
+
}
|
|
4112
|
+
var field = reader.getFieldNumber();
|
|
4113
|
+
switch (field) {
|
|
4114
|
+
case 1:
|
|
4115
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4116
|
+
msg.setGlAccount(value);
|
|
4117
|
+
break;
|
|
4118
|
+
case 2:
|
|
4119
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4120
|
+
msg.setGlAccountDescription(value);
|
|
4121
|
+
break;
|
|
4122
|
+
case 3:
|
|
4123
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4124
|
+
msg.setUnitOfMeasure(value);
|
|
4125
|
+
break;
|
|
4126
|
+
case 4:
|
|
4127
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4128
|
+
msg.setValuationPrice(value);
|
|
4129
|
+
break;
|
|
4130
|
+
case 5:
|
|
4131
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4132
|
+
msg.setRequisitioner(value);
|
|
4133
|
+
break;
|
|
4134
|
+
case 6:
|
|
4135
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4136
|
+
msg.setCustomTransaction(value);
|
|
4137
|
+
break;
|
|
4138
|
+
case 7:
|
|
4139
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4140
|
+
msg.setDistribution(value);
|
|
4141
|
+
break;
|
|
4142
|
+
case 8:
|
|
4143
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4144
|
+
msg.setQuantity(value);
|
|
4145
|
+
break;
|
|
4146
|
+
case 9:
|
|
4147
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4148
|
+
msg.setAssetNo(value);
|
|
4149
|
+
break;
|
|
4150
|
+
case 10:
|
|
4151
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4152
|
+
msg.setItemTransactionRef(value);
|
|
4153
|
+
break;
|
|
4154
|
+
case 11:
|
|
4155
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4156
|
+
msg.setCostCenter(value);
|
|
4157
|
+
break;
|
|
4158
|
+
case 12:
|
|
4159
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4160
|
+
msg.setOrderNumber(value);
|
|
4161
|
+
break;
|
|
4162
|
+
case 13:
|
|
4163
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4164
|
+
msg.setOrderDescription(value);
|
|
4165
|
+
break;
|
|
4166
|
+
case 14:
|
|
4167
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4168
|
+
msg.setServiceNo(value);
|
|
4169
|
+
break;
|
|
4170
|
+
case 15:
|
|
4171
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4172
|
+
msg.setServiceDescription(value);
|
|
4173
|
+
break;
|
|
4174
|
+
case 16:
|
|
4175
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4176
|
+
msg.setAmountPrice(value);
|
|
4177
|
+
break;
|
|
4178
|
+
case 17:
|
|
4179
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4180
|
+
msg.setMaterialCode(value);
|
|
4181
|
+
break;
|
|
4182
|
+
case 18:
|
|
4183
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
4184
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
4185
|
+
msg.addFiles(value);
|
|
4186
|
+
break;
|
|
4187
|
+
default:
|
|
4188
|
+
reader.skipField();
|
|
4189
|
+
break;
|
|
4190
|
+
}
|
|
4191
|
+
}
|
|
4192
|
+
return msg;
|
|
4193
|
+
};
|
|
4194
|
+
|
|
4195
|
+
|
|
4196
|
+
/**
|
|
4197
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4198
|
+
* @return {!Uint8Array}
|
|
4199
|
+
*/
|
|
4200
|
+
proto.BaseItemTransactionDetail.prototype.serializeBinary = function() {
|
|
4201
|
+
var writer = new jspb.BinaryWriter();
|
|
4202
|
+
proto.BaseItemTransactionDetail.serializeBinaryToWriter(this, writer);
|
|
4203
|
+
return writer.getResultBuffer();
|
|
4204
|
+
};
|
|
4205
|
+
|
|
4206
|
+
|
|
4207
|
+
/**
|
|
4208
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4209
|
+
* format), writing to the given BinaryWriter.
|
|
4210
|
+
* @param {!proto.BaseItemTransactionDetail} message
|
|
4211
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4212
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4213
|
+
*/
|
|
4214
|
+
proto.BaseItemTransactionDetail.serializeBinaryToWriter = function(message, writer) {
|
|
4215
|
+
var f = undefined;
|
|
4216
|
+
f = message.getGlAccount();
|
|
4217
|
+
if (f.length > 0) {
|
|
4218
|
+
writer.writeString(
|
|
4219
|
+
1,
|
|
4220
|
+
f
|
|
4221
|
+
);
|
|
4222
|
+
}
|
|
4223
|
+
f = message.getGlAccountDescription();
|
|
4224
|
+
if (f.length > 0) {
|
|
4225
|
+
writer.writeString(
|
|
4226
|
+
2,
|
|
4227
|
+
f
|
|
4228
|
+
);
|
|
4229
|
+
}
|
|
4230
|
+
f = message.getUnitOfMeasure();
|
|
4231
|
+
if (f.length > 0) {
|
|
4232
|
+
writer.writeString(
|
|
4233
|
+
3,
|
|
4234
|
+
f
|
|
4235
|
+
);
|
|
4236
|
+
}
|
|
4237
|
+
f = message.getValuationPrice();
|
|
4238
|
+
if (f.length > 0) {
|
|
4239
|
+
writer.writeString(
|
|
4240
|
+
4,
|
|
4241
|
+
f
|
|
4242
|
+
);
|
|
4243
|
+
}
|
|
4244
|
+
f = message.getRequisitioner();
|
|
4245
|
+
if (f.length > 0) {
|
|
4246
|
+
writer.writeString(
|
|
4247
|
+
5,
|
|
4248
|
+
f
|
|
4249
|
+
);
|
|
4250
|
+
}
|
|
4251
|
+
f = message.getCustomTransaction();
|
|
4252
|
+
if (f.length > 0) {
|
|
4253
|
+
writer.writeString(
|
|
4254
|
+
6,
|
|
4255
|
+
f
|
|
4256
|
+
);
|
|
4257
|
+
}
|
|
4258
|
+
f = message.getDistribution();
|
|
4259
|
+
if (f.length > 0) {
|
|
4260
|
+
writer.writeString(
|
|
4261
|
+
7,
|
|
4262
|
+
f
|
|
4263
|
+
);
|
|
4264
|
+
}
|
|
4265
|
+
f = message.getQuantity();
|
|
4266
|
+
if (f.length > 0) {
|
|
4267
|
+
writer.writeString(
|
|
4268
|
+
8,
|
|
4269
|
+
f
|
|
4270
|
+
);
|
|
4271
|
+
}
|
|
4272
|
+
f = message.getAssetNo();
|
|
4273
|
+
if (f.length > 0) {
|
|
4274
|
+
writer.writeString(
|
|
4275
|
+
9,
|
|
4276
|
+
f
|
|
4277
|
+
);
|
|
4278
|
+
}
|
|
4279
|
+
f = message.getItemTransactionRef();
|
|
4280
|
+
if (f.length > 0) {
|
|
4281
|
+
writer.writeString(
|
|
4282
|
+
10,
|
|
4283
|
+
f
|
|
4284
|
+
);
|
|
4285
|
+
}
|
|
4286
|
+
f = message.getCostCenter();
|
|
4287
|
+
if (f.length > 0) {
|
|
4288
|
+
writer.writeString(
|
|
4289
|
+
11,
|
|
4290
|
+
f
|
|
4291
|
+
);
|
|
4292
|
+
}
|
|
4293
|
+
f = message.getOrderNumber();
|
|
4294
|
+
if (f.length > 0) {
|
|
4295
|
+
writer.writeString(
|
|
4296
|
+
12,
|
|
4297
|
+
f
|
|
4298
|
+
);
|
|
4299
|
+
}
|
|
4300
|
+
f = message.getOrderDescription();
|
|
4301
|
+
if (f.length > 0) {
|
|
4302
|
+
writer.writeString(
|
|
4303
|
+
13,
|
|
4304
|
+
f
|
|
4305
|
+
);
|
|
4306
|
+
}
|
|
4307
|
+
f = message.getServiceNo();
|
|
4308
|
+
if (f.length > 0) {
|
|
4309
|
+
writer.writeString(
|
|
4310
|
+
14,
|
|
4311
|
+
f
|
|
4312
|
+
);
|
|
4313
|
+
}
|
|
4314
|
+
f = message.getServiceDescription();
|
|
4315
|
+
if (f.length > 0) {
|
|
4316
|
+
writer.writeString(
|
|
4317
|
+
15,
|
|
4318
|
+
f
|
|
4319
|
+
);
|
|
4320
|
+
}
|
|
4321
|
+
f = message.getAmountPrice();
|
|
4322
|
+
if (f.length > 0) {
|
|
4323
|
+
writer.writeString(
|
|
4324
|
+
16,
|
|
4325
|
+
f
|
|
4326
|
+
);
|
|
4327
|
+
}
|
|
4328
|
+
f = message.getMaterialCode();
|
|
4329
|
+
if (f.length > 0) {
|
|
4330
|
+
writer.writeString(
|
|
4331
|
+
17,
|
|
4332
|
+
f
|
|
4333
|
+
);
|
|
4334
|
+
}
|
|
4335
|
+
f = message.getFilesList();
|
|
4336
|
+
if (f.length > 0) {
|
|
4337
|
+
writer.writeRepeatedMessage(
|
|
4338
|
+
18,
|
|
4339
|
+
f,
|
|
4340
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
4341
|
+
);
|
|
4342
|
+
}
|
|
4343
|
+
};
|
|
4344
|
+
|
|
4345
|
+
|
|
4346
|
+
/**
|
|
4347
|
+
* optional string gl_account = 1;
|
|
4348
|
+
* @return {string}
|
|
4349
|
+
*/
|
|
4350
|
+
proto.BaseItemTransactionDetail.prototype.getGlAccount = function() {
|
|
4351
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4352
|
+
};
|
|
4353
|
+
|
|
4354
|
+
|
|
4355
|
+
/**
|
|
4356
|
+
* @param {string} value
|
|
4357
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4358
|
+
*/
|
|
4359
|
+
proto.BaseItemTransactionDetail.prototype.setGlAccount = function(value) {
|
|
4360
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4361
|
+
};
|
|
4362
|
+
|
|
4363
|
+
|
|
4364
|
+
/**
|
|
4365
|
+
* optional string gl_account_description = 2;
|
|
4366
|
+
* @return {string}
|
|
4367
|
+
*/
|
|
4368
|
+
proto.BaseItemTransactionDetail.prototype.getGlAccountDescription = function() {
|
|
4369
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4370
|
+
};
|
|
4371
|
+
|
|
4372
|
+
|
|
4373
|
+
/**
|
|
4374
|
+
* @param {string} value
|
|
4375
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4376
|
+
*/
|
|
4377
|
+
proto.BaseItemTransactionDetail.prototype.setGlAccountDescription = function(value) {
|
|
4378
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4379
|
+
};
|
|
4380
|
+
|
|
4381
|
+
|
|
4382
|
+
/**
|
|
4383
|
+
* optional string unit_of_measure = 3;
|
|
4384
|
+
* @return {string}
|
|
4385
|
+
*/
|
|
4386
|
+
proto.BaseItemTransactionDetail.prototype.getUnitOfMeasure = function() {
|
|
4387
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4388
|
+
};
|
|
4389
|
+
|
|
4390
|
+
|
|
4391
|
+
/**
|
|
4392
|
+
* @param {string} value
|
|
4393
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4394
|
+
*/
|
|
4395
|
+
proto.BaseItemTransactionDetail.prototype.setUnitOfMeasure = function(value) {
|
|
4396
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4397
|
+
};
|
|
4398
|
+
|
|
4399
|
+
|
|
4400
|
+
/**
|
|
4401
|
+
* optional string valuation_price = 4;
|
|
4402
|
+
* @return {string}
|
|
4403
|
+
*/
|
|
4404
|
+
proto.BaseItemTransactionDetail.prototype.getValuationPrice = function() {
|
|
4405
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4406
|
+
};
|
|
4407
|
+
|
|
4408
|
+
|
|
4409
|
+
/**
|
|
4410
|
+
* @param {string} value
|
|
4411
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4412
|
+
*/
|
|
4413
|
+
proto.BaseItemTransactionDetail.prototype.setValuationPrice = function(value) {
|
|
4414
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4415
|
+
};
|
|
4416
|
+
|
|
4417
|
+
|
|
4418
|
+
/**
|
|
4419
|
+
* optional string requisitioner = 5;
|
|
4420
|
+
* @return {string}
|
|
4421
|
+
*/
|
|
4422
|
+
proto.BaseItemTransactionDetail.prototype.getRequisitioner = function() {
|
|
4423
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
4424
|
+
};
|
|
4425
|
+
|
|
4426
|
+
|
|
4427
|
+
/**
|
|
4428
|
+
* @param {string} value
|
|
4429
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4430
|
+
*/
|
|
4431
|
+
proto.BaseItemTransactionDetail.prototype.setRequisitioner = function(value) {
|
|
4432
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
4433
|
+
};
|
|
4434
|
+
|
|
4435
|
+
|
|
4436
|
+
/**
|
|
4437
|
+
* optional string custom_transaction = 6;
|
|
4438
|
+
* @return {string}
|
|
4439
|
+
*/
|
|
4440
|
+
proto.BaseItemTransactionDetail.prototype.getCustomTransaction = function() {
|
|
4441
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
4442
|
+
};
|
|
4443
|
+
|
|
4444
|
+
|
|
4445
|
+
/**
|
|
4446
|
+
* @param {string} value
|
|
4447
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4448
|
+
*/
|
|
4449
|
+
proto.BaseItemTransactionDetail.prototype.setCustomTransaction = function(value) {
|
|
4450
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
4451
|
+
};
|
|
4452
|
+
|
|
4453
|
+
|
|
4454
|
+
/**
|
|
4455
|
+
* optional string distribution = 7;
|
|
4456
|
+
* @return {string}
|
|
4457
|
+
*/
|
|
4458
|
+
proto.BaseItemTransactionDetail.prototype.getDistribution = function() {
|
|
4459
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
4460
|
+
};
|
|
4461
|
+
|
|
4462
|
+
|
|
4463
|
+
/**
|
|
4464
|
+
* @param {string} value
|
|
4465
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4466
|
+
*/
|
|
4467
|
+
proto.BaseItemTransactionDetail.prototype.setDistribution = function(value) {
|
|
4468
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
4469
|
+
};
|
|
4470
|
+
|
|
4471
|
+
|
|
4472
|
+
/**
|
|
4473
|
+
* optional string quantity = 8;
|
|
4474
|
+
* @return {string}
|
|
4475
|
+
*/
|
|
4476
|
+
proto.BaseItemTransactionDetail.prototype.getQuantity = function() {
|
|
4477
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
4478
|
+
};
|
|
4479
|
+
|
|
4480
|
+
|
|
4481
|
+
/**
|
|
4482
|
+
* @param {string} value
|
|
4483
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4484
|
+
*/
|
|
4485
|
+
proto.BaseItemTransactionDetail.prototype.setQuantity = function(value) {
|
|
4486
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
4487
|
+
};
|
|
4488
|
+
|
|
4489
|
+
|
|
4490
|
+
/**
|
|
4491
|
+
* optional string asset_no = 9;
|
|
4492
|
+
* @return {string}
|
|
4493
|
+
*/
|
|
4494
|
+
proto.BaseItemTransactionDetail.prototype.getAssetNo = function() {
|
|
4495
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
4496
|
+
};
|
|
4497
|
+
|
|
4498
|
+
|
|
4499
|
+
/**
|
|
4500
|
+
* @param {string} value
|
|
4501
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4502
|
+
*/
|
|
4503
|
+
proto.BaseItemTransactionDetail.prototype.setAssetNo = function(value) {
|
|
4504
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
4505
|
+
};
|
|
4506
|
+
|
|
4507
|
+
|
|
4508
|
+
/**
|
|
4509
|
+
* optional string item_transaction_ref = 10;
|
|
4510
|
+
* @return {string}
|
|
4511
|
+
*/
|
|
4512
|
+
proto.BaseItemTransactionDetail.prototype.getItemTransactionRef = function() {
|
|
4513
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
4514
|
+
};
|
|
4515
|
+
|
|
4516
|
+
|
|
4517
|
+
/**
|
|
4518
|
+
* @param {string} value
|
|
4519
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4520
|
+
*/
|
|
4521
|
+
proto.BaseItemTransactionDetail.prototype.setItemTransactionRef = function(value) {
|
|
4522
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
4523
|
+
};
|
|
4524
|
+
|
|
4525
|
+
|
|
4526
|
+
/**
|
|
4527
|
+
* optional string cost_center = 11;
|
|
4528
|
+
* @return {string}
|
|
4529
|
+
*/
|
|
4530
|
+
proto.BaseItemTransactionDetail.prototype.getCostCenter = function() {
|
|
4531
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
4532
|
+
};
|
|
4533
|
+
|
|
4534
|
+
|
|
4535
|
+
/**
|
|
4536
|
+
* @param {string} value
|
|
4537
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4538
|
+
*/
|
|
4539
|
+
proto.BaseItemTransactionDetail.prototype.setCostCenter = function(value) {
|
|
4540
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
4541
|
+
};
|
|
4542
|
+
|
|
4543
|
+
|
|
4544
|
+
/**
|
|
4545
|
+
* optional string order_number = 12;
|
|
4546
|
+
* @return {string}
|
|
4547
|
+
*/
|
|
4548
|
+
proto.BaseItemTransactionDetail.prototype.getOrderNumber = function() {
|
|
4549
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
4550
|
+
};
|
|
4551
|
+
|
|
4552
|
+
|
|
4553
|
+
/**
|
|
4554
|
+
* @param {string} value
|
|
4555
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4556
|
+
*/
|
|
4557
|
+
proto.BaseItemTransactionDetail.prototype.setOrderNumber = function(value) {
|
|
4558
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
4559
|
+
};
|
|
4560
|
+
|
|
4561
|
+
|
|
4562
|
+
/**
|
|
4563
|
+
* optional string order_description = 13;
|
|
4564
|
+
* @return {string}
|
|
4565
|
+
*/
|
|
4566
|
+
proto.BaseItemTransactionDetail.prototype.getOrderDescription = function() {
|
|
4567
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
4568
|
+
};
|
|
4569
|
+
|
|
4570
|
+
|
|
4571
|
+
/**
|
|
4572
|
+
* @param {string} value
|
|
4573
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4574
|
+
*/
|
|
4575
|
+
proto.BaseItemTransactionDetail.prototype.setOrderDescription = function(value) {
|
|
4576
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
4577
|
+
};
|
|
4578
|
+
|
|
4579
|
+
|
|
4580
|
+
/**
|
|
4581
|
+
* optional string service_no = 14;
|
|
4582
|
+
* @return {string}
|
|
4583
|
+
*/
|
|
4584
|
+
proto.BaseItemTransactionDetail.prototype.getServiceNo = function() {
|
|
4585
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
4586
|
+
};
|
|
4587
|
+
|
|
4588
|
+
|
|
4589
|
+
/**
|
|
4590
|
+
* @param {string} value
|
|
4591
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4592
|
+
*/
|
|
4593
|
+
proto.BaseItemTransactionDetail.prototype.setServiceNo = function(value) {
|
|
4594
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
4595
|
+
};
|
|
4596
|
+
|
|
4597
|
+
|
|
4598
|
+
/**
|
|
4599
|
+
* optional string service_description = 15;
|
|
4600
|
+
* @return {string}
|
|
4601
|
+
*/
|
|
4602
|
+
proto.BaseItemTransactionDetail.prototype.getServiceDescription = function() {
|
|
4603
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
4604
|
+
};
|
|
4605
|
+
|
|
4606
|
+
|
|
4607
|
+
/**
|
|
4608
|
+
* @param {string} value
|
|
4609
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4610
|
+
*/
|
|
4611
|
+
proto.BaseItemTransactionDetail.prototype.setServiceDescription = function(value) {
|
|
4612
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
4613
|
+
};
|
|
4614
|
+
|
|
4615
|
+
|
|
4616
|
+
/**
|
|
4617
|
+
* optional string amount_price = 16;
|
|
4618
|
+
* @return {string}
|
|
4619
|
+
*/
|
|
4620
|
+
proto.BaseItemTransactionDetail.prototype.getAmountPrice = function() {
|
|
4621
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
4622
|
+
};
|
|
4623
|
+
|
|
4624
|
+
|
|
4625
|
+
/**
|
|
4626
|
+
* @param {string} value
|
|
4627
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4628
|
+
*/
|
|
4629
|
+
proto.BaseItemTransactionDetail.prototype.setAmountPrice = function(value) {
|
|
4630
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
4631
|
+
};
|
|
4632
|
+
|
|
4633
|
+
|
|
4634
|
+
/**
|
|
4635
|
+
* optional string material_code = 17;
|
|
4636
|
+
* @return {string}
|
|
4637
|
+
*/
|
|
4638
|
+
proto.BaseItemTransactionDetail.prototype.getMaterialCode = function() {
|
|
4639
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
4640
|
+
};
|
|
4641
|
+
|
|
4642
|
+
|
|
4643
|
+
/**
|
|
4644
|
+
* @param {string} value
|
|
4645
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4646
|
+
*/
|
|
4647
|
+
proto.BaseItemTransactionDetail.prototype.setMaterialCode = function(value) {
|
|
4648
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
4649
|
+
};
|
|
4650
|
+
|
|
4651
|
+
|
|
4652
|
+
/**
|
|
4653
|
+
* repeated FileUploadReferencesReq files = 18;
|
|
4654
|
+
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
4655
|
+
*/
|
|
4656
|
+
proto.BaseItemTransactionDetail.prototype.getFilesList = function() {
|
|
4657
|
+
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
4658
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 18));
|
|
4659
|
+
};
|
|
4660
|
+
|
|
4661
|
+
|
|
4662
|
+
/**
|
|
4663
|
+
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
4664
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4665
|
+
*/
|
|
4666
|
+
proto.BaseItemTransactionDetail.prototype.setFilesList = function(value) {
|
|
4667
|
+
return jspb.Message.setRepeatedWrapperField(this, 18, value);
|
|
4668
|
+
};
|
|
4669
|
+
|
|
4670
|
+
|
|
4671
|
+
/**
|
|
4672
|
+
* @param {!proto.FileUploadReferencesReq=} opt_value
|
|
4673
|
+
* @param {number=} opt_index
|
|
4674
|
+
* @return {!proto.FileUploadReferencesReq}
|
|
4675
|
+
*/
|
|
4676
|
+
proto.BaseItemTransactionDetail.prototype.addFiles = function(opt_value, opt_index) {
|
|
4677
|
+
return jspb.Message.addToRepeatedWrapperField(this, 18, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
4678
|
+
};
|
|
4679
|
+
|
|
4680
|
+
|
|
4681
|
+
/**
|
|
4682
|
+
* Clears the list making it empty but non-null.
|
|
4683
|
+
* @return {!proto.BaseItemTransactionDetail} returns this
|
|
4684
|
+
*/
|
|
4685
|
+
proto.BaseItemTransactionDetail.prototype.clearFilesList = function() {
|
|
4686
|
+
return this.setFilesList([]);
|
|
4687
|
+
};
|
|
4688
|
+
|
|
4689
|
+
|
|
4690
|
+
|
|
4691
|
+
/**
|
|
4692
|
+
* List of repeated fields within this message type.
|
|
4693
|
+
* @private {!Array<number>}
|
|
4694
|
+
* @const
|
|
4695
|
+
*/
|
|
4696
|
+
proto.BaseItemTransactionService.repeatedFields_ = [11];
|
|
4697
|
+
|
|
4698
|
+
|
|
4699
|
+
|
|
4700
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
4701
|
+
/**
|
|
4702
|
+
* Creates an object representation of this proto.
|
|
4703
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
4704
|
+
* Optional fields that are not set will be set to undefined.
|
|
4705
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
4706
|
+
* For the list of reserved names please see:
|
|
4707
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
4708
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
4709
|
+
* JSPB instance for transitional soy proto support:
|
|
4710
|
+
* http://goto/soy-param-migration
|
|
4711
|
+
* @return {!Object}
|
|
4712
|
+
*/
|
|
4713
|
+
proto.BaseItemTransactionService.prototype.toObject = function(opt_includeInstance) {
|
|
4714
|
+
return proto.BaseItemTransactionService.toObject(opt_includeInstance, this);
|
|
4715
|
+
};
|
|
4716
|
+
|
|
4717
|
+
|
|
4718
|
+
/**
|
|
4719
|
+
* Static version of the {@see toObject} method.
|
|
4720
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
4721
|
+
* the JSPB instance for transitional soy proto support:
|
|
4722
|
+
* http://goto/soy-param-migration
|
|
4723
|
+
* @param {!proto.BaseItemTransactionService} msg The msg instance to transform.
|
|
4724
|
+
* @return {!Object}
|
|
4725
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4726
|
+
*/
|
|
4727
|
+
proto.BaseItemTransactionService.toObject = function(includeInstance, msg) {
|
|
4728
|
+
var f, obj = {
|
|
4729
|
+
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4730
|
+
glAccount: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4731
|
+
glAccountDescription: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
4732
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
4733
|
+
quantity: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
4734
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
4735
|
+
serviceNo: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
4736
|
+
serviceDescription: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
4737
|
+
amountPrice: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
4738
|
+
filesList: jspb.Message.toObjectList(msg.getFilesList(),
|
|
4739
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance)
|
|
4740
|
+
};
|
|
4741
|
+
|
|
4742
|
+
if (includeInstance) {
|
|
4743
|
+
obj.$jspbMessageInstance = msg;
|
|
4744
|
+
}
|
|
4745
|
+
return obj;
|
|
4746
|
+
};
|
|
4747
|
+
}
|
|
4748
|
+
|
|
4749
|
+
|
|
4750
|
+
/**
|
|
4751
|
+
* Deserializes binary data (in protobuf wire format).
|
|
4752
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
4753
|
+
* @return {!proto.BaseItemTransactionService}
|
|
4754
|
+
*/
|
|
4755
|
+
proto.BaseItemTransactionService.deserializeBinary = function(bytes) {
|
|
4756
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
4757
|
+
var msg = new proto.BaseItemTransactionService;
|
|
4758
|
+
return proto.BaseItemTransactionService.deserializeBinaryFromReader(msg, reader);
|
|
4759
|
+
};
|
|
4760
|
+
|
|
4761
|
+
|
|
4762
|
+
/**
|
|
4763
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
4764
|
+
* given reader into the given message object.
|
|
4765
|
+
* @param {!proto.BaseItemTransactionService} msg The message object to deserialize into.
|
|
4766
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
4767
|
+
* @return {!proto.BaseItemTransactionService}
|
|
4768
|
+
*/
|
|
4769
|
+
proto.BaseItemTransactionService.deserializeBinaryFromReader = function(msg, reader) {
|
|
4770
|
+
while (reader.nextField()) {
|
|
4771
|
+
if (reader.isEndGroup()) {
|
|
4772
|
+
break;
|
|
4773
|
+
}
|
|
4774
|
+
var field = reader.getFieldNumber();
|
|
4775
|
+
switch (field) {
|
|
4776
|
+
case 2:
|
|
4777
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4778
|
+
msg.setItemTransactionRef(value);
|
|
4779
|
+
break;
|
|
4780
|
+
case 3:
|
|
4781
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4782
|
+
msg.setGlAccount(value);
|
|
4783
|
+
break;
|
|
4784
|
+
case 4:
|
|
4785
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4786
|
+
msg.setGlAccountDescription(value);
|
|
4787
|
+
break;
|
|
4788
|
+
case 5:
|
|
4789
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4790
|
+
msg.setCustomTransaction(value);
|
|
4791
|
+
break;
|
|
4792
|
+
case 6:
|
|
4793
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4794
|
+
msg.setQuantity(value);
|
|
4795
|
+
break;
|
|
4796
|
+
case 7:
|
|
4797
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4798
|
+
msg.setReferencesId(value);
|
|
4799
|
+
break;
|
|
4800
|
+
case 8:
|
|
4801
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4802
|
+
msg.setServiceNo(value);
|
|
4803
|
+
break;
|
|
4804
|
+
case 9:
|
|
4805
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4806
|
+
msg.setServiceDescription(value);
|
|
4807
|
+
break;
|
|
4808
|
+
case 10:
|
|
4809
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4810
|
+
msg.setAmountPrice(value);
|
|
4811
|
+
break;
|
|
4812
|
+
case 11:
|
|
4813
|
+
var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
|
|
4814
|
+
reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
|
|
4815
|
+
msg.addFiles(value);
|
|
4816
|
+
break;
|
|
4817
|
+
default:
|
|
4818
|
+
reader.skipField();
|
|
4819
|
+
break;
|
|
4820
|
+
}
|
|
4821
|
+
}
|
|
4822
|
+
return msg;
|
|
3739
4823
|
};
|
|
3740
4824
|
|
|
3741
4825
|
|
|
3742
4826
|
/**
|
|
3743
|
-
*
|
|
3744
|
-
* @return {
|
|
4827
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
4828
|
+
* @return {!Uint8Array}
|
|
3745
4829
|
*/
|
|
3746
|
-
proto.
|
|
3747
|
-
|
|
4830
|
+
proto.BaseItemTransactionService.prototype.serializeBinary = function() {
|
|
4831
|
+
var writer = new jspb.BinaryWriter();
|
|
4832
|
+
proto.BaseItemTransactionService.serializeBinaryToWriter(this, writer);
|
|
4833
|
+
return writer.getResultBuffer();
|
|
3748
4834
|
};
|
|
3749
4835
|
|
|
3750
4836
|
|
|
3751
4837
|
/**
|
|
3752
|
-
*
|
|
3753
|
-
*
|
|
4838
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4839
|
+
* format), writing to the given BinaryWriter.
|
|
4840
|
+
* @param {!proto.BaseItemTransactionService} message
|
|
4841
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4842
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3754
4843
|
*/
|
|
3755
|
-
proto.
|
|
3756
|
-
|
|
4844
|
+
proto.BaseItemTransactionService.serializeBinaryToWriter = function(message, writer) {
|
|
4845
|
+
var f = undefined;
|
|
4846
|
+
f = message.getItemTransactionRef();
|
|
4847
|
+
if (f.length > 0) {
|
|
4848
|
+
writer.writeString(
|
|
4849
|
+
2,
|
|
4850
|
+
f
|
|
4851
|
+
);
|
|
4852
|
+
}
|
|
4853
|
+
f = message.getGlAccount();
|
|
4854
|
+
if (f.length > 0) {
|
|
4855
|
+
writer.writeString(
|
|
4856
|
+
3,
|
|
4857
|
+
f
|
|
4858
|
+
);
|
|
4859
|
+
}
|
|
4860
|
+
f = message.getGlAccountDescription();
|
|
4861
|
+
if (f.length > 0) {
|
|
4862
|
+
writer.writeString(
|
|
4863
|
+
4,
|
|
4864
|
+
f
|
|
4865
|
+
);
|
|
4866
|
+
}
|
|
4867
|
+
f = message.getCustomTransaction();
|
|
4868
|
+
if (f.length > 0) {
|
|
4869
|
+
writer.writeString(
|
|
4870
|
+
5,
|
|
4871
|
+
f
|
|
4872
|
+
);
|
|
4873
|
+
}
|
|
4874
|
+
f = message.getQuantity();
|
|
4875
|
+
if (f.length > 0) {
|
|
4876
|
+
writer.writeString(
|
|
4877
|
+
6,
|
|
4878
|
+
f
|
|
4879
|
+
);
|
|
4880
|
+
}
|
|
4881
|
+
f = message.getReferencesId();
|
|
4882
|
+
if (f.length > 0) {
|
|
4883
|
+
writer.writeString(
|
|
4884
|
+
7,
|
|
4885
|
+
f
|
|
4886
|
+
);
|
|
4887
|
+
}
|
|
4888
|
+
f = message.getServiceNo();
|
|
4889
|
+
if (f.length > 0) {
|
|
4890
|
+
writer.writeString(
|
|
4891
|
+
8,
|
|
4892
|
+
f
|
|
4893
|
+
);
|
|
4894
|
+
}
|
|
4895
|
+
f = message.getServiceDescription();
|
|
4896
|
+
if (f.length > 0) {
|
|
4897
|
+
writer.writeString(
|
|
4898
|
+
9,
|
|
4899
|
+
f
|
|
4900
|
+
);
|
|
4901
|
+
}
|
|
4902
|
+
f = message.getAmountPrice();
|
|
4903
|
+
if (f.length > 0) {
|
|
4904
|
+
writer.writeString(
|
|
4905
|
+
10,
|
|
4906
|
+
f
|
|
4907
|
+
);
|
|
4908
|
+
}
|
|
4909
|
+
f = message.getFilesList();
|
|
4910
|
+
if (f.length > 0) {
|
|
4911
|
+
writer.writeRepeatedMessage(
|
|
4912
|
+
11,
|
|
4913
|
+
f,
|
|
4914
|
+
prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
|
|
4915
|
+
);
|
|
4916
|
+
}
|
|
3757
4917
|
};
|
|
3758
4918
|
|
|
3759
4919
|
|
|
3760
4920
|
/**
|
|
3761
|
-
* optional string
|
|
4921
|
+
* optional string item_transaction_ref = 2;
|
|
3762
4922
|
* @return {string}
|
|
3763
4923
|
*/
|
|
3764
|
-
proto.
|
|
3765
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
4924
|
+
proto.BaseItemTransactionService.prototype.getItemTransactionRef = function() {
|
|
4925
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3766
4926
|
};
|
|
3767
4927
|
|
|
3768
4928
|
|
|
3769
4929
|
/**
|
|
3770
4930
|
* @param {string} value
|
|
3771
|
-
* @return {!proto.
|
|
4931
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
3772
4932
|
*/
|
|
3773
|
-
proto.
|
|
3774
|
-
return jspb.Message.setProto3StringField(this,
|
|
4933
|
+
proto.BaseItemTransactionService.prototype.setItemTransactionRef = function(value) {
|
|
4934
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3775
4935
|
};
|
|
3776
4936
|
|
|
3777
4937
|
|
|
3778
4938
|
/**
|
|
3779
|
-
* optional string
|
|
4939
|
+
* optional string gl_account = 3;
|
|
3780
4940
|
* @return {string}
|
|
3781
4941
|
*/
|
|
3782
|
-
proto.
|
|
3783
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
4942
|
+
proto.BaseItemTransactionService.prototype.getGlAccount = function() {
|
|
4943
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3784
4944
|
};
|
|
3785
4945
|
|
|
3786
4946
|
|
|
3787
4947
|
/**
|
|
3788
4948
|
* @param {string} value
|
|
3789
|
-
* @return {!proto.
|
|
4949
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
3790
4950
|
*/
|
|
3791
|
-
proto.
|
|
3792
|
-
return jspb.Message.setProto3StringField(this,
|
|
4951
|
+
proto.BaseItemTransactionService.prototype.setGlAccount = function(value) {
|
|
4952
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3793
4953
|
};
|
|
3794
4954
|
|
|
3795
4955
|
|
|
3796
4956
|
/**
|
|
3797
|
-
* optional string
|
|
4957
|
+
* optional string gl_account_description = 4;
|
|
3798
4958
|
* @return {string}
|
|
3799
4959
|
*/
|
|
3800
|
-
proto.
|
|
3801
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
4960
|
+
proto.BaseItemTransactionService.prototype.getGlAccountDescription = function() {
|
|
4961
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3802
4962
|
};
|
|
3803
4963
|
|
|
3804
4964
|
|
|
3805
4965
|
/**
|
|
3806
4966
|
* @param {string} value
|
|
3807
|
-
* @return {!proto.
|
|
4967
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
3808
4968
|
*/
|
|
3809
|
-
proto.
|
|
3810
|
-
return jspb.Message.setProto3StringField(this,
|
|
4969
|
+
proto.BaseItemTransactionService.prototype.setGlAccountDescription = function(value) {
|
|
4970
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3811
4971
|
};
|
|
3812
4972
|
|
|
3813
4973
|
|
|
3814
4974
|
/**
|
|
3815
|
-
* optional string
|
|
4975
|
+
* optional string custom_transaction = 5;
|
|
3816
4976
|
* @return {string}
|
|
3817
4977
|
*/
|
|
3818
|
-
proto.
|
|
3819
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
4978
|
+
proto.BaseItemTransactionService.prototype.getCustomTransaction = function() {
|
|
4979
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3820
4980
|
};
|
|
3821
4981
|
|
|
3822
4982
|
|
|
3823
4983
|
/**
|
|
3824
4984
|
* @param {string} value
|
|
3825
|
-
* @return {!proto.
|
|
4985
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
3826
4986
|
*/
|
|
3827
|
-
proto.
|
|
3828
|
-
return jspb.Message.setProto3StringField(this,
|
|
4987
|
+
proto.BaseItemTransactionService.prototype.setCustomTransaction = function(value) {
|
|
4988
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3829
4989
|
};
|
|
3830
4990
|
|
|
3831
4991
|
|
|
3832
4992
|
/**
|
|
3833
|
-
* optional string
|
|
4993
|
+
* optional string quantity = 6;
|
|
3834
4994
|
* @return {string}
|
|
3835
4995
|
*/
|
|
3836
|
-
proto.
|
|
3837
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
4996
|
+
proto.BaseItemTransactionService.prototype.getQuantity = function() {
|
|
4997
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3838
4998
|
};
|
|
3839
4999
|
|
|
3840
5000
|
|
|
3841
5001
|
/**
|
|
3842
5002
|
* @param {string} value
|
|
3843
|
-
* @return {!proto.
|
|
5003
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
3844
5004
|
*/
|
|
3845
|
-
proto.
|
|
3846
|
-
return jspb.Message.setProto3StringField(this,
|
|
5005
|
+
proto.BaseItemTransactionService.prototype.setQuantity = function(value) {
|
|
5006
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3847
5007
|
};
|
|
3848
5008
|
|
|
3849
5009
|
|
|
3850
5010
|
/**
|
|
3851
|
-
* optional string
|
|
5011
|
+
* optional string references_id = 7;
|
|
3852
5012
|
* @return {string}
|
|
3853
5013
|
*/
|
|
3854
|
-
proto.
|
|
3855
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5014
|
+
proto.BaseItemTransactionService.prototype.getReferencesId = function() {
|
|
5015
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
3856
5016
|
};
|
|
3857
5017
|
|
|
3858
5018
|
|
|
3859
5019
|
/**
|
|
3860
5020
|
* @param {string} value
|
|
3861
|
-
* @return {!proto.
|
|
5021
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
3862
5022
|
*/
|
|
3863
|
-
proto.
|
|
3864
|
-
return jspb.Message.setProto3StringField(this,
|
|
5023
|
+
proto.BaseItemTransactionService.prototype.setReferencesId = function(value) {
|
|
5024
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
3865
5025
|
};
|
|
3866
5026
|
|
|
3867
5027
|
|
|
3868
5028
|
/**
|
|
3869
|
-
* optional string
|
|
5029
|
+
* optional string service_no = 8;
|
|
3870
5030
|
* @return {string}
|
|
3871
5031
|
*/
|
|
3872
|
-
proto.
|
|
3873
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5032
|
+
proto.BaseItemTransactionService.prototype.getServiceNo = function() {
|
|
5033
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
3874
5034
|
};
|
|
3875
5035
|
|
|
3876
5036
|
|
|
3877
5037
|
/**
|
|
3878
5038
|
* @param {string} value
|
|
3879
|
-
* @return {!proto.
|
|
5039
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
3880
5040
|
*/
|
|
3881
|
-
proto.
|
|
3882
|
-
return jspb.Message.setProto3StringField(this,
|
|
5041
|
+
proto.BaseItemTransactionService.prototype.setServiceNo = function(value) {
|
|
5042
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
3883
5043
|
};
|
|
3884
5044
|
|
|
3885
5045
|
|
|
3886
5046
|
/**
|
|
3887
|
-
* optional
|
|
3888
|
-
* @return {
|
|
5047
|
+
* optional string service_description = 9;
|
|
5048
|
+
* @return {string}
|
|
3889
5049
|
*/
|
|
3890
|
-
proto.
|
|
3891
|
-
return /** @type {
|
|
5050
|
+
proto.BaseItemTransactionService.prototype.getServiceDescription = function() {
|
|
5051
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
3892
5052
|
};
|
|
3893
5053
|
|
|
3894
5054
|
|
|
3895
5055
|
/**
|
|
3896
|
-
* @param {
|
|
3897
|
-
* @return {!proto.
|
|
5056
|
+
* @param {string} value
|
|
5057
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
3898
5058
|
*/
|
|
3899
|
-
proto.
|
|
3900
|
-
return jspb.Message.
|
|
5059
|
+
proto.BaseItemTransactionService.prototype.setServiceDescription = function(value) {
|
|
5060
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
3901
5061
|
};
|
|
3902
5062
|
|
|
3903
5063
|
|
|
3904
5064
|
/**
|
|
3905
|
-
* optional string
|
|
5065
|
+
* optional string amount_price = 10;
|
|
3906
5066
|
* @return {string}
|
|
3907
5067
|
*/
|
|
3908
|
-
proto.
|
|
3909
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
5068
|
+
proto.BaseItemTransactionService.prototype.getAmountPrice = function() {
|
|
5069
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
3910
5070
|
};
|
|
3911
5071
|
|
|
3912
5072
|
|
|
3913
5073
|
/**
|
|
3914
5074
|
* @param {string} value
|
|
3915
|
-
* @return {!proto.
|
|
5075
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
3916
5076
|
*/
|
|
3917
|
-
proto.
|
|
3918
|
-
return jspb.Message.setProto3StringField(this,
|
|
5077
|
+
proto.BaseItemTransactionService.prototype.setAmountPrice = function(value) {
|
|
5078
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
3919
5079
|
};
|
|
3920
5080
|
|
|
3921
5081
|
|
|
3922
5082
|
/**
|
|
3923
|
-
* repeated FileUploadReferencesReq files =
|
|
5083
|
+
* repeated FileUploadReferencesReq files = 11;
|
|
3924
5084
|
* @return {!Array<!proto.FileUploadReferencesReq>}
|
|
3925
5085
|
*/
|
|
3926
|
-
proto.
|
|
5086
|
+
proto.BaseItemTransactionService.prototype.getFilesList = function() {
|
|
3927
5087
|
return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
|
|
3928
|
-
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq,
|
|
5088
|
+
jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 11));
|
|
3929
5089
|
};
|
|
3930
5090
|
|
|
3931
5091
|
|
|
3932
5092
|
/**
|
|
3933
5093
|
* @param {!Array<!proto.FileUploadReferencesReq>} value
|
|
3934
|
-
* @return {!proto.
|
|
5094
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
3935
5095
|
*/
|
|
3936
|
-
proto.
|
|
3937
|
-
return jspb.Message.setRepeatedWrapperField(this,
|
|
5096
|
+
proto.BaseItemTransactionService.prototype.setFilesList = function(value) {
|
|
5097
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
3938
5098
|
};
|
|
3939
5099
|
|
|
3940
5100
|
|
|
@@ -3943,16 +5103,16 @@ proto.BaseItemTransactionDetail.prototype.setFilesList = function(value) {
|
|
|
3943
5103
|
* @param {number=} opt_index
|
|
3944
5104
|
* @return {!proto.FileUploadReferencesReq}
|
|
3945
5105
|
*/
|
|
3946
|
-
proto.
|
|
3947
|
-
return jspb.Message.addToRepeatedWrapperField(this,
|
|
5106
|
+
proto.BaseItemTransactionService.prototype.addFiles = function(opt_value, opt_index) {
|
|
5107
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.FileUploadReferencesReq, opt_index);
|
|
3948
5108
|
};
|
|
3949
5109
|
|
|
3950
5110
|
|
|
3951
5111
|
/**
|
|
3952
5112
|
* Clears the list making it empty but non-null.
|
|
3953
|
-
* @return {!proto.
|
|
5113
|
+
* @return {!proto.BaseItemTransactionService} returns this
|
|
3954
5114
|
*/
|
|
3955
|
-
proto.
|
|
5115
|
+
proto.BaseItemTransactionService.prototype.clearFilesList = function() {
|
|
3956
5116
|
return this.setFilesList([]);
|
|
3957
5117
|
};
|
|
3958
5118
|
|
|
@@ -3991,13 +5151,15 @@ proto.BaseItemTransactionPriceCondition.toObject = function(includeInstance, msg
|
|
|
3991
5151
|
var f, obj = {
|
|
3992
5152
|
amount: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3993
5153
|
operator: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3994
|
-
divide: jspb.Message.
|
|
5154
|
+
divide: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3995
5155
|
type: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3996
5156
|
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3997
5157
|
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3998
5158
|
code: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3999
5159
|
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
4000
|
-
properties: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
5160
|
+
properties: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5161
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5162
|
+
currency: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
4001
5163
|
};
|
|
4002
5164
|
|
|
4003
5165
|
if (includeInstance) {
|
|
@@ -4043,7 +5205,7 @@ proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(m
|
|
|
4043
5205
|
msg.setOperator(value);
|
|
4044
5206
|
break;
|
|
4045
5207
|
case 3:
|
|
4046
|
-
var value = /** @type {
|
|
5208
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4047
5209
|
msg.setDivide(value);
|
|
4048
5210
|
break;
|
|
4049
5211
|
case 4:
|
|
@@ -4070,6 +5232,14 @@ proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(m
|
|
|
4070
5232
|
var value = /** @type {string} */ (reader.readString());
|
|
4071
5233
|
msg.setProperties(value);
|
|
4072
5234
|
break;
|
|
5235
|
+
case 10:
|
|
5236
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5237
|
+
msg.setUnitOfMeasure(value);
|
|
5238
|
+
break;
|
|
5239
|
+
case 11:
|
|
5240
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5241
|
+
msg.setCurrency(value);
|
|
5242
|
+
break;
|
|
4073
5243
|
default:
|
|
4074
5244
|
reader.skipField();
|
|
4075
5245
|
break;
|
|
@@ -4114,8 +5284,8 @@ proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(messa
|
|
|
4114
5284
|
);
|
|
4115
5285
|
}
|
|
4116
5286
|
f = message.getDivide();
|
|
4117
|
-
if (f
|
|
4118
|
-
writer.
|
|
5287
|
+
if (f.length > 0) {
|
|
5288
|
+
writer.writeString(
|
|
4119
5289
|
3,
|
|
4120
5290
|
f
|
|
4121
5291
|
);
|
|
@@ -4162,6 +5332,20 @@ proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(messa
|
|
|
4162
5332
|
f
|
|
4163
5333
|
);
|
|
4164
5334
|
}
|
|
5335
|
+
f = message.getUnitOfMeasure();
|
|
5336
|
+
if (f.length > 0) {
|
|
5337
|
+
writer.writeString(
|
|
5338
|
+
10,
|
|
5339
|
+
f
|
|
5340
|
+
);
|
|
5341
|
+
}
|
|
5342
|
+
f = message.getCurrency();
|
|
5343
|
+
if (f.length > 0) {
|
|
5344
|
+
writer.writeString(
|
|
5345
|
+
11,
|
|
5346
|
+
f
|
|
5347
|
+
);
|
|
5348
|
+
}
|
|
4165
5349
|
};
|
|
4166
5350
|
|
|
4167
5351
|
|
|
@@ -4202,20 +5386,20 @@ proto.BaseItemTransactionPriceCondition.prototype.setOperator = function(value)
|
|
|
4202
5386
|
|
|
4203
5387
|
|
|
4204
5388
|
/**
|
|
4205
|
-
* optional
|
|
4206
|
-
* @return {
|
|
5389
|
+
* optional string divide = 3;
|
|
5390
|
+
* @return {string}
|
|
4207
5391
|
*/
|
|
4208
5392
|
proto.BaseItemTransactionPriceCondition.prototype.getDivide = function() {
|
|
4209
|
-
return /** @type {
|
|
5393
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4210
5394
|
};
|
|
4211
5395
|
|
|
4212
5396
|
|
|
4213
5397
|
/**
|
|
4214
|
-
* @param {
|
|
5398
|
+
* @param {string} value
|
|
4215
5399
|
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
4216
5400
|
*/
|
|
4217
5401
|
proto.BaseItemTransactionPriceCondition.prototype.setDivide = function(value) {
|
|
4218
|
-
return jspb.Message.
|
|
5402
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
4219
5403
|
};
|
|
4220
5404
|
|
|
4221
5405
|
|
|
@@ -4327,4 +5511,40 @@ proto.BaseItemTransactionPriceCondition.prototype.setProperties = function(value
|
|
|
4327
5511
|
};
|
|
4328
5512
|
|
|
4329
5513
|
|
|
5514
|
+
/**
|
|
5515
|
+
* optional string unit_of_measure = 10;
|
|
5516
|
+
* @return {string}
|
|
5517
|
+
*/
|
|
5518
|
+
proto.BaseItemTransactionPriceCondition.prototype.getUnitOfMeasure = function() {
|
|
5519
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5520
|
+
};
|
|
5521
|
+
|
|
5522
|
+
|
|
5523
|
+
/**
|
|
5524
|
+
* @param {string} value
|
|
5525
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5526
|
+
*/
|
|
5527
|
+
proto.BaseItemTransactionPriceCondition.prototype.setUnitOfMeasure = function(value) {
|
|
5528
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5529
|
+
};
|
|
5530
|
+
|
|
5531
|
+
|
|
5532
|
+
/**
|
|
5533
|
+
* optional string currency = 11;
|
|
5534
|
+
* @return {string}
|
|
5535
|
+
*/
|
|
5536
|
+
proto.BaseItemTransactionPriceCondition.prototype.getCurrency = function() {
|
|
5537
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
5538
|
+
};
|
|
5539
|
+
|
|
5540
|
+
|
|
5541
|
+
/**
|
|
5542
|
+
* @param {string} value
|
|
5543
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5544
|
+
*/
|
|
5545
|
+
proto.BaseItemTransactionPriceCondition.prototype.setCurrency = function(value) {
|
|
5546
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
5547
|
+
};
|
|
5548
|
+
|
|
5549
|
+
|
|
4330
5550
|
goog.object.extend(exports, proto);
|