@aldiokta/protocgen 1.1.24 → 1.1.26

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