@aldiokta/protocgen 1.1.28 → 1.1.30

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aldiokta/protocgen",
3
- "version": "1.1.28",
3
+ "version": "1.1.30",
4
4
  "description": "protocgen js generated for products v2",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -10,6 +10,7 @@ var prisca_v1_core_transaction_builder_transaction_builder_pb = require('../../.
10
10
  var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../prisca/v1/core/item_transaction/item_transaction_pb.js');
11
11
  var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
12
12
  var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
13
+ var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
13
14
  var prisca_v1_request_for_quotation_request_for_quotation_pb = require('../../../prisca/v1/request_for_quotation/request_for_quotation_pb.js');
14
15
 
15
16
  function serialize_CreateBiddingRequest(arg) {
@@ -35,6 +35,8 @@ var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/emplo
35
35
  goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
36
36
  var prisca_v1_core_file_upload_file_upload_pb = require('../../../prisca/v1/core/file_upload/file_upload_pb.js');
37
37
  goog.object.extend(proto, prisca_v1_core_file_upload_file_upload_pb);
38
+ var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
39
+ goog.object.extend(proto, prisca_v1_core_company_company_pb);
38
40
  var prisca_v1_request_for_quotation_request_for_quotation_pb = require('../../../prisca/v1/request_for_quotation/request_for_quotation_pb.js');
39
41
  goog.object.extend(proto, prisca_v1_request_for_quotation_request_for_quotation_pb);
40
42
  goog.exportSymbol('proto.Bidding', null, global);
@@ -737,7 +739,8 @@ biddingDate: jspb.Message.getFieldWithDefault(msg, 40, ""),
737
739
  biddingStartDate: jspb.Message.getFieldWithDefault(msg, 41, ""),
738
740
  biddingEndDate: jspb.Message.getFieldWithDefault(msg, 42, ""),
739
741
  requestForQuotationMethod: jspb.Message.getFieldWithDefault(msg, 43, ""),
740
- maxSubmissionDate: jspb.Message.getFieldWithDefault(msg, 44, "")
742
+ maxSubmissionDate: jspb.Message.getFieldWithDefault(msg, 44, ""),
743
+ companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompany.toObject(includeInstance, f)
741
744
  };
742
745
 
743
746
  if (includeInstance) {
@@ -956,6 +959,11 @@ proto.Quotation.deserializeBinaryFromReader = function(msg, reader) {
956
959
  var value = /** @type {string} */ (reader.readString());
957
960
  msg.setMaxSubmissionDate(value);
958
961
  break;
962
+ case 45:
963
+ var value = new prisca_v1_core_company_company_pb.BaseCompany;
964
+ reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompany.deserializeBinaryFromReader);
965
+ msg.setCompanies(value);
966
+ break;
959
967
  default:
960
968
  reader.skipField();
961
969
  break;
@@ -1299,6 +1307,14 @@ proto.Quotation.serializeBinaryToWriter = function(message, writer) {
1299
1307
  f
1300
1308
  );
1301
1309
  }
1310
+ f = message.getCompanies();
1311
+ if (f != null) {
1312
+ writer.writeMessage(
1313
+ 45,
1314
+ f,
1315
+ prisca_v1_core_company_company_pb.BaseCompany.serializeBinaryToWriter
1316
+ );
1317
+ }
1302
1318
  };
1303
1319
 
1304
1320
 
@@ -2210,6 +2226,43 @@ proto.Quotation.prototype.setMaxSubmissionDate = function(value) {
2210
2226
  };
2211
2227
 
2212
2228
 
2229
+ /**
2230
+ * optional BaseCompany companies = 45;
2231
+ * @return {?proto.BaseCompany}
2232
+ */
2233
+ proto.Quotation.prototype.getCompanies = function() {
2234
+ return /** @type{?proto.BaseCompany} */ (
2235
+ jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompany, 45));
2236
+ };
2237
+
2238
+
2239
+ /**
2240
+ * @param {?proto.BaseCompany|undefined} value
2241
+ * @return {!proto.Quotation} returns this
2242
+ */
2243
+ proto.Quotation.prototype.setCompanies = function(value) {
2244
+ return jspb.Message.setWrapperField(this, 45, value);
2245
+ };
2246
+
2247
+
2248
+ /**
2249
+ * Clears the message field making it undefined.
2250
+ * @return {!proto.Quotation} returns this
2251
+ */
2252
+ proto.Quotation.prototype.clearCompanies = function() {
2253
+ return this.setCompanies(undefined);
2254
+ };
2255
+
2256
+
2257
+ /**
2258
+ * Returns whether this field is set.
2259
+ * @return {boolean}
2260
+ */
2261
+ proto.Quotation.prototype.hasCompanies = function() {
2262
+ return jspb.Message.getField(this, 45) != null;
2263
+ };
2264
+
2265
+
2213
2266
 
2214
2267
  /**
2215
2268
  * List of repeated fields within this message type.
@@ -2277,7 +2330,9 @@ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 24,
2277
2330
  totalQuotation: jspb.Message.getFieldWithDefault(msg, 25, 0),
2278
2331
  fullfiledQuotation: jspb.Message.getFieldWithDefault(msg, 26, 0),
2279
2332
  termOfPayment: jspb.Message.getFieldWithDefault(msg, 27, ""),
2280
- purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 28, "")
2333
+ purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 28, ""),
2334
+ purchasingGroup: jspb.Message.getFieldWithDefault(msg, 29, ""),
2335
+ purchaseRequisitionType: jspb.Message.getFieldWithDefault(msg, 30, "")
2281
2336
  };
2282
2337
 
2283
2338
  if (includeInstance) {
@@ -2429,6 +2484,14 @@ proto.Bidding.deserializeBinaryFromReader = function(msg, reader) {
2429
2484
  var value = /** @type {string} */ (reader.readString());
2430
2485
  msg.setPurchasingOrganization(value);
2431
2486
  break;
2487
+ case 29:
2488
+ var value = /** @type {string} */ (reader.readString());
2489
+ msg.setPurchasingGroup(value);
2490
+ break;
2491
+ case 30:
2492
+ var value = /** @type {string} */ (reader.readString());
2493
+ msg.setPurchaseRequisitionType(value);
2494
+ break;
2432
2495
  default:
2433
2496
  reader.skipField();
2434
2497
  break;
@@ -2657,6 +2720,20 @@ proto.Bidding.serializeBinaryToWriter = function(message, writer) {
2657
2720
  f
2658
2721
  );
2659
2722
  }
2723
+ f = message.getPurchasingGroup();
2724
+ if (f.length > 0) {
2725
+ writer.writeString(
2726
+ 29,
2727
+ f
2728
+ );
2729
+ }
2730
+ f = message.getPurchaseRequisitionType();
2731
+ if (f.length > 0) {
2732
+ writer.writeString(
2733
+ 30,
2734
+ f
2735
+ );
2736
+ }
2660
2737
  };
2661
2738
 
2662
2739
 
@@ -3222,6 +3299,42 @@ proto.Bidding.prototype.setPurchasingOrganization = function(value) {
3222
3299
  };
3223
3300
 
3224
3301
 
3302
+ /**
3303
+ * optional string purchasing_group = 29;
3304
+ * @return {string}
3305
+ */
3306
+ proto.Bidding.prototype.getPurchasingGroup = function() {
3307
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
3308
+ };
3309
+
3310
+
3311
+ /**
3312
+ * @param {string} value
3313
+ * @return {!proto.Bidding} returns this
3314
+ */
3315
+ proto.Bidding.prototype.setPurchasingGroup = function(value) {
3316
+ return jspb.Message.setProto3StringField(this, 29, value);
3317
+ };
3318
+
3319
+
3320
+ /**
3321
+ * optional string purchase_requisition_type = 30;
3322
+ * @return {string}
3323
+ */
3324
+ proto.Bidding.prototype.getPurchaseRequisitionType = function() {
3325
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
3326
+ };
3327
+
3328
+
3329
+ /**
3330
+ * @param {string} value
3331
+ * @return {!proto.Bidding} returns this
3332
+ */
3333
+ proto.Bidding.prototype.setPurchaseRequisitionType = function(value) {
3334
+ return jspb.Message.setProto3StringField(this, 30, value);
3335
+ };
3336
+
3337
+
3225
3338
 
3226
3339
 
3227
3340
 
@@ -3496,7 +3609,10 @@ itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
3496
3609
  prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
3497
3610
  status: jspb.Message.getFieldWithDefault(msg, 14, ""),
3498
3611
  purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 15, ""),
3499
- groupReferences: jspb.Message.getFieldWithDefault(msg, 16, "")
3612
+ groupReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
3613
+ purchaseRequisitionType: jspb.Message.getFieldWithDefault(msg, 17, ""),
3614
+ purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 18, ""),
3615
+ purchasingGroup: jspb.Message.getFieldWithDefault(msg, 19, "")
3500
3616
  };
3501
3617
 
3502
3618
  if (includeInstance) {
@@ -3591,6 +3707,18 @@ proto.RequestBiddingBase.deserializeBinaryFromReader = function(msg, reader) {
3591
3707
  var value = /** @type {string} */ (reader.readString());
3592
3708
  msg.setGroupReferences(value);
3593
3709
  break;
3710
+ case 17:
3711
+ var value = /** @type {string} */ (reader.readString());
3712
+ msg.setPurchaseRequisitionType(value);
3713
+ break;
3714
+ case 18:
3715
+ var value = /** @type {string} */ (reader.readString());
3716
+ msg.setPurchasingOrganization(value);
3717
+ break;
3718
+ case 19:
3719
+ var value = /** @type {string} */ (reader.readString());
3720
+ msg.setPurchasingGroup(value);
3721
+ break;
3594
3722
  default:
3595
3723
  reader.skipField();
3596
3724
  break;
@@ -3720,6 +3848,27 @@ proto.RequestBiddingBase.serializeBinaryToWriter = function(message, writer) {
3720
3848
  f
3721
3849
  );
3722
3850
  }
3851
+ f = message.getPurchaseRequisitionType();
3852
+ if (f.length > 0) {
3853
+ writer.writeString(
3854
+ 17,
3855
+ f
3856
+ );
3857
+ }
3858
+ f = message.getPurchasingOrganization();
3859
+ if (f.length > 0) {
3860
+ writer.writeString(
3861
+ 18,
3862
+ f
3863
+ );
3864
+ }
3865
+ f = message.getPurchasingGroup();
3866
+ if (f.length > 0) {
3867
+ writer.writeString(
3868
+ 19,
3869
+ f
3870
+ );
3871
+ }
3723
3872
  };
3724
3873
 
3725
3874
 
@@ -4015,6 +4164,60 @@ proto.RequestBiddingBase.prototype.setGroupReferences = function(value) {
4015
4164
  };
4016
4165
 
4017
4166
 
4167
+ /**
4168
+ * optional string purchase_requisition_type = 17;
4169
+ * @return {string}
4170
+ */
4171
+ proto.RequestBiddingBase.prototype.getPurchaseRequisitionType = function() {
4172
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
4173
+ };
4174
+
4175
+
4176
+ /**
4177
+ * @param {string} value
4178
+ * @return {!proto.RequestBiddingBase} returns this
4179
+ */
4180
+ proto.RequestBiddingBase.prototype.setPurchaseRequisitionType = function(value) {
4181
+ return jspb.Message.setProto3StringField(this, 17, value);
4182
+ };
4183
+
4184
+
4185
+ /**
4186
+ * optional string purchasing_organization = 18;
4187
+ * @return {string}
4188
+ */
4189
+ proto.RequestBiddingBase.prototype.getPurchasingOrganization = function() {
4190
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
4191
+ };
4192
+
4193
+
4194
+ /**
4195
+ * @param {string} value
4196
+ * @return {!proto.RequestBiddingBase} returns this
4197
+ */
4198
+ proto.RequestBiddingBase.prototype.setPurchasingOrganization = function(value) {
4199
+ return jspb.Message.setProto3StringField(this, 18, value);
4200
+ };
4201
+
4202
+
4203
+ /**
4204
+ * optional string purchasing_group = 19;
4205
+ * @return {string}
4206
+ */
4207
+ proto.RequestBiddingBase.prototype.getPurchasingGroup = function() {
4208
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
4209
+ };
4210
+
4211
+
4212
+ /**
4213
+ * @param {string} value
4214
+ * @return {!proto.RequestBiddingBase} returns this
4215
+ */
4216
+ proto.RequestBiddingBase.prototype.setPurchasingGroup = function(value) {
4217
+ return jspb.Message.setProto3StringField(this, 19, value);
4218
+ };
4219
+
4220
+
4018
4221
 
4019
4222
  /**
4020
4223
  * List of repeated fields within this message type.
@@ -265,13 +265,19 @@ filesList: jspb.Message.toObjectList(msg.getFilesList(),
265
265
  previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 22, ""),
266
266
  currency: jspb.Message.getFieldWithDefault(msg, 23, ""),
267
267
  purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 24, ""),
268
- originalQuantity: jspb.Message.getFieldWithDefault(msg, 25, 0),
269
- remainingQuantity: jspb.Message.getFieldWithDefault(msg, 27, 0),
268
+ originalQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 25, 0.0),
269
+ remainingQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 27, 0.0),
270
270
  purchaseRequisitionQuantity: jspb.Message.getFieldWithDefault(msg, 28, ""),
271
271
  purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 29, ""),
272
272
  replacement: jspb.Message.getFieldWithDefault(msg, 30, ""),
273
273
  itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServiceList(),
274
- proto.ItemTransactionService.toObject, includeInstance)
274
+ proto.ItemTransactionService.toObject, includeInstance),
275
+ deliveryOrderQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 32, 0.0),
276
+ goodReceiptQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 33, 0.0),
277
+ purchaseOrderQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 34, 0.0),
278
+ invoiceQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 35, 0.0),
279
+ includeVat: jspb.Message.getBooleanFieldWithDefault(msg, 36, false),
280
+ incomeTax: jspb.Message.getFloatingPointFieldWithDefault(msg, 37, 0.0)
275
281
  };
276
282
 
277
283
  if (includeInstance) {
@@ -408,11 +414,11 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
408
414
  msg.setPurchaseRequisitionTransactionNumber(value);
409
415
  break;
410
416
  case 25:
411
- var value = /** @type {number} */ (reader.readInt64());
417
+ var value = /** @type {number} */ (reader.readDouble());
412
418
  msg.setOriginalQuantity(value);
413
419
  break;
414
420
  case 27:
415
- var value = /** @type {number} */ (reader.readInt64());
421
+ var value = /** @type {number} */ (reader.readDouble());
416
422
  msg.setRemainingQuantity(value);
417
423
  break;
418
424
  case 28:
@@ -432,6 +438,30 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
432
438
  reader.readMessage(value,proto.ItemTransactionService.deserializeBinaryFromReader);
433
439
  msg.addItemTransactionService(value);
434
440
  break;
441
+ case 32:
442
+ var value = /** @type {number} */ (reader.readDouble());
443
+ msg.setDeliveryOrderQuantity(value);
444
+ break;
445
+ case 33:
446
+ var value = /** @type {number} */ (reader.readDouble());
447
+ msg.setGoodReceiptQuantity(value);
448
+ break;
449
+ case 34:
450
+ var value = /** @type {number} */ (reader.readDouble());
451
+ msg.setPurchaseOrderQuantity(value);
452
+ break;
453
+ case 35:
454
+ var value = /** @type {number} */ (reader.readDouble());
455
+ msg.setInvoiceQuantity(value);
456
+ break;
457
+ case 36:
458
+ var value = /** @type {boolean} */ (reader.readBool());
459
+ msg.setIncludeVat(value);
460
+ break;
461
+ case 37:
462
+ var value = /** @type {number} */ (reader.readFloat());
463
+ msg.setIncomeTax(value);
464
+ break;
435
465
  default:
436
466
  reader.skipField();
437
467
  break;
@@ -633,15 +663,15 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
633
663
  );
634
664
  }
635
665
  f = message.getOriginalQuantity();
636
- if (f !== 0) {
637
- writer.writeInt64(
666
+ if (f !== 0.0) {
667
+ writer.writeDouble(
638
668
  25,
639
669
  f
640
670
  );
641
671
  }
642
672
  f = message.getRemainingQuantity();
643
- if (f !== 0) {
644
- writer.writeInt64(
673
+ if (f !== 0.0) {
674
+ writer.writeDouble(
645
675
  27,
646
676
  f
647
677
  );
@@ -675,6 +705,48 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
675
705
  proto.ItemTransactionService.serializeBinaryToWriter
676
706
  );
677
707
  }
708
+ f = message.getDeliveryOrderQuantity();
709
+ if (f !== 0.0) {
710
+ writer.writeDouble(
711
+ 32,
712
+ f
713
+ );
714
+ }
715
+ f = message.getGoodReceiptQuantity();
716
+ if (f !== 0.0) {
717
+ writer.writeDouble(
718
+ 33,
719
+ f
720
+ );
721
+ }
722
+ f = message.getPurchaseOrderQuantity();
723
+ if (f !== 0.0) {
724
+ writer.writeDouble(
725
+ 34,
726
+ f
727
+ );
728
+ }
729
+ f = message.getInvoiceQuantity();
730
+ if (f !== 0.0) {
731
+ writer.writeDouble(
732
+ 35,
733
+ f
734
+ );
735
+ }
736
+ f = message.getIncludeVat();
737
+ if (f) {
738
+ writer.writeBool(
739
+ 36,
740
+ f
741
+ );
742
+ }
743
+ f = message.getIncomeTax();
744
+ if (f !== 0.0) {
745
+ writer.writeFloat(
746
+ 37,
747
+ f
748
+ );
749
+ }
678
750
  };
679
751
 
680
752
 
@@ -1171,11 +1243,11 @@ proto.ItemTransaction.prototype.setPurchaseRequisitionTransactionNumber = functi
1171
1243
 
1172
1244
 
1173
1245
  /**
1174
- * optional int64 original_quantity = 25;
1246
+ * optional double original_quantity = 25;
1175
1247
  * @return {number}
1176
1248
  */
1177
1249
  proto.ItemTransaction.prototype.getOriginalQuantity = function() {
1178
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 25, 0));
1250
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 25, 0.0));
1179
1251
  };
1180
1252
 
1181
1253
 
@@ -1184,16 +1256,16 @@ proto.ItemTransaction.prototype.getOriginalQuantity = function() {
1184
1256
  * @return {!proto.ItemTransaction} returns this
1185
1257
  */
1186
1258
  proto.ItemTransaction.prototype.setOriginalQuantity = function(value) {
1187
- return jspb.Message.setProto3IntField(this, 25, value);
1259
+ return jspb.Message.setProto3FloatField(this, 25, value);
1188
1260
  };
1189
1261
 
1190
1262
 
1191
1263
  /**
1192
- * optional int64 remaining_quantity = 27;
1264
+ * optional double remaining_quantity = 27;
1193
1265
  * @return {number}
1194
1266
  */
1195
1267
  proto.ItemTransaction.prototype.getRemainingQuantity = function() {
1196
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 27, 0));
1268
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 27, 0.0));
1197
1269
  };
1198
1270
 
1199
1271
 
@@ -1202,7 +1274,7 @@ proto.ItemTransaction.prototype.getRemainingQuantity = function() {
1202
1274
  * @return {!proto.ItemTransaction} returns this
1203
1275
  */
1204
1276
  proto.ItemTransaction.prototype.setRemainingQuantity = function(value) {
1205
- return jspb.Message.setProto3IntField(this, 27, value);
1277
+ return jspb.Message.setProto3FloatField(this, 27, value);
1206
1278
  };
1207
1279
 
1208
1280
 
@@ -1298,6 +1370,114 @@ proto.ItemTransaction.prototype.clearItemTransactionServiceList = function() {
1298
1370
  };
1299
1371
 
1300
1372
 
1373
+ /**
1374
+ * optional double delivery_order_quantity = 32;
1375
+ * @return {number}
1376
+ */
1377
+ proto.ItemTransaction.prototype.getDeliveryOrderQuantity = function() {
1378
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 32, 0.0));
1379
+ };
1380
+
1381
+
1382
+ /**
1383
+ * @param {number} value
1384
+ * @return {!proto.ItemTransaction} returns this
1385
+ */
1386
+ proto.ItemTransaction.prototype.setDeliveryOrderQuantity = function(value) {
1387
+ return jspb.Message.setProto3FloatField(this, 32, value);
1388
+ };
1389
+
1390
+
1391
+ /**
1392
+ * optional double good_receipt_quantity = 33;
1393
+ * @return {number}
1394
+ */
1395
+ proto.ItemTransaction.prototype.getGoodReceiptQuantity = function() {
1396
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 33, 0.0));
1397
+ };
1398
+
1399
+
1400
+ /**
1401
+ * @param {number} value
1402
+ * @return {!proto.ItemTransaction} returns this
1403
+ */
1404
+ proto.ItemTransaction.prototype.setGoodReceiptQuantity = function(value) {
1405
+ return jspb.Message.setProto3FloatField(this, 33, value);
1406
+ };
1407
+
1408
+
1409
+ /**
1410
+ * optional double purchase_order_quantity = 34;
1411
+ * @return {number}
1412
+ */
1413
+ proto.ItemTransaction.prototype.getPurchaseOrderQuantity = function() {
1414
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 34, 0.0));
1415
+ };
1416
+
1417
+
1418
+ /**
1419
+ * @param {number} value
1420
+ * @return {!proto.ItemTransaction} returns this
1421
+ */
1422
+ proto.ItemTransaction.prototype.setPurchaseOrderQuantity = function(value) {
1423
+ return jspb.Message.setProto3FloatField(this, 34, value);
1424
+ };
1425
+
1426
+
1427
+ /**
1428
+ * optional double invoice_quantity = 35;
1429
+ * @return {number}
1430
+ */
1431
+ proto.ItemTransaction.prototype.getInvoiceQuantity = function() {
1432
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 35, 0.0));
1433
+ };
1434
+
1435
+
1436
+ /**
1437
+ * @param {number} value
1438
+ * @return {!proto.ItemTransaction} returns this
1439
+ */
1440
+ proto.ItemTransaction.prototype.setInvoiceQuantity = function(value) {
1441
+ return jspb.Message.setProto3FloatField(this, 35, value);
1442
+ };
1443
+
1444
+
1445
+ /**
1446
+ * optional bool include_vat = 36;
1447
+ * @return {boolean}
1448
+ */
1449
+ proto.ItemTransaction.prototype.getIncludeVat = function() {
1450
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 36, false));
1451
+ };
1452
+
1453
+
1454
+ /**
1455
+ * @param {boolean} value
1456
+ * @return {!proto.ItemTransaction} returns this
1457
+ */
1458
+ proto.ItemTransaction.prototype.setIncludeVat = function(value) {
1459
+ return jspb.Message.setProto3BooleanField(this, 36, value);
1460
+ };
1461
+
1462
+
1463
+ /**
1464
+ * optional float income_tax = 37;
1465
+ * @return {number}
1466
+ */
1467
+ proto.ItemTransaction.prototype.getIncomeTax = function() {
1468
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 37, 0.0));
1469
+ };
1470
+
1471
+
1472
+ /**
1473
+ * @param {number} value
1474
+ * @return {!proto.ItemTransaction} returns this
1475
+ */
1476
+ proto.ItemTransaction.prototype.setIncomeTax = function(value) {
1477
+ return jspb.Message.setProto3FloatField(this, 37, value);
1478
+ };
1479
+
1480
+
1301
1481
 
1302
1482
  /**
1303
1483
  * List of repeated fields within this message type.
@@ -3163,7 +3343,9 @@ purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 20,
3163
3343
  itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServiceList(),
3164
3344
  proto.BaseItemTransactionService.toObject, includeInstance),
3165
3345
  purchaseRequisitionQuantity: jspb.Message.getFieldWithDefault(msg, 22, ""),
3166
- purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 23, "")
3346
+ purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 23, ""),
3347
+ includeVat: jspb.Message.getBooleanFieldWithDefault(msg, 34, false),
3348
+ incomeTax: jspb.Message.getFloatingPointFieldWithDefault(msg, 35, 0.0)
3167
3349
  };
3168
3350
 
3169
3351
  if (includeInstance) {
@@ -3296,6 +3478,14 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
3296
3478
  var value = /** @type {string} */ (reader.readString());
3297
3479
  msg.setPurchaseRequisitionPrice(value);
3298
3480
  break;
3481
+ case 34:
3482
+ var value = /** @type {boolean} */ (reader.readBool());
3483
+ msg.setIncludeVat(value);
3484
+ break;
3485
+ case 35:
3486
+ var value = /** @type {number} */ (reader.readFloat());
3487
+ msg.setIncomeTax(value);
3488
+ break;
3299
3489
  default:
3300
3490
  reader.skipField();
3301
3491
  break;
@@ -3490,6 +3680,20 @@ proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
3490
3680
  f
3491
3681
  );
3492
3682
  }
3683
+ f = message.getIncludeVat();
3684
+ if (f) {
3685
+ writer.writeBool(
3686
+ 34,
3687
+ f
3688
+ );
3689
+ }
3690
+ f = message.getIncomeTax();
3691
+ if (f !== 0.0) {
3692
+ writer.writeFloat(
3693
+ 35,
3694
+ f
3695
+ );
3696
+ }
3493
3697
  };
3494
3698
 
3495
3699
 
@@ -3987,6 +4191,42 @@ proto.BaseItemTransaction.prototype.setPurchaseRequisitionPrice = function(value
3987
4191
  };
3988
4192
 
3989
4193
 
4194
+ /**
4195
+ * optional bool include_vat = 34;
4196
+ * @return {boolean}
4197
+ */
4198
+ proto.BaseItemTransaction.prototype.getIncludeVat = function() {
4199
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 34, false));
4200
+ };
4201
+
4202
+
4203
+ /**
4204
+ * @param {boolean} value
4205
+ * @return {!proto.BaseItemTransaction} returns this
4206
+ */
4207
+ proto.BaseItemTransaction.prototype.setIncludeVat = function(value) {
4208
+ return jspb.Message.setProto3BooleanField(this, 34, value);
4209
+ };
4210
+
4211
+
4212
+ /**
4213
+ * optional float income_tax = 35;
4214
+ * @return {number}
4215
+ */
4216
+ proto.BaseItemTransaction.prototype.getIncomeTax = function() {
4217
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 35, 0.0));
4218
+ };
4219
+
4220
+
4221
+ /**
4222
+ * @param {number} value
4223
+ * @return {!proto.BaseItemTransaction} returns this
4224
+ */
4225
+ proto.BaseItemTransaction.prototype.setIncomeTax = function(value) {
4226
+ return jspb.Message.setProto3FloatField(this, 35, value);
4227
+ };
4228
+
4229
+
3990
4230
 
3991
4231
  /**
3992
4232
  * List of repeated fields within this message type.