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