@aldiokta/protocgen 1.1.61 → 1.1.63

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.
Files changed (34) hide show
  1. package/package.json +1 -1
  2. package/prisca/v1/budget/budget_pb.js +211 -1
  3. package/prisca/v1/budget_planning/budget_planning_grpc_pb.js +33 -0
  4. package/prisca/v1/budget_planning/budget_planning_pb.js +1199 -152
  5. package/prisca/v1/core/auth/auth_grpc_pb.js +1 -0
  6. package/prisca/v1/core/auth/auth_pb.js +115 -2
  7. package/prisca/v1/core/employee/employee_grpc_pb.js +22 -0
  8. package/prisca/v1/core/employee/employee_pb.js +214 -2
  9. package/prisca/v1/core/item_transaction/item_transaction_pb.js +519 -10
  10. package/prisca/v1/core/line_of_approval/line_of_approval_grpc_pb.js +22 -0
  11. package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +303 -1
  12. package/prisca/v1/core/material/material_grpc_pb.js +33 -0
  13. package/prisca/v1/core/material/material_pb.js +787 -1
  14. package/prisca/v1/core/report/report_pb.js +31 -1
  15. package/prisca/v1/core/users/users_pb.js +31 -1
  16. package/prisca/v1/down_payment/down_payment_grpc_pb.js +201 -0
  17. package/prisca/v1/down_payment/down_payment_pb.js +3357 -0
  18. package/prisca/v1/general_configuration/general_configuration_grpc_pb.js +212 -0
  19. package/prisca/v1/general_configuration/general_configuration_pb.js +2886 -0
  20. package/prisca/v1/general_ledger_account/general_ledger_account_grpc_pb.js +33 -0
  21. package/prisca/v1/general_ledger_account/general_ledger_account_pb.js +574 -0
  22. package/prisca/v1/invoice/invoice_grpc_pb.js +77 -0
  23. package/prisca/v1/invoice/invoice_pb.js +2657 -434
  24. package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +34 -0
  25. package/prisca/v1/purchase_order/purchase_order_pb.js +2542 -57
  26. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +22 -0
  27. package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +743 -53
  28. package/prisca/v1/vendor_domain/vendor_domain_pb.js +72 -12
  29. package/prisca/v1/webhook_builder/webhook_builder_grpc_pb.js +245 -0
  30. package/prisca/v1/webhook_builder/webhook_builder_pb.js +5084 -0
  31. package/prisca/v1/webhook_incoming_integration/webhook_incoming_integration_grpc_pb.js +245 -0
  32. package/prisca/v1/webhook_incoming_integration/webhook_incoming_integration_pb.js +3499 -0
  33. package/prisca/v1/webhook_integration/webhook_integration_grpc_pb.js +212 -0
  34. package/prisca/v1/webhook_integration/webhook_integration_pb.js +2976 -0
@@ -43,6 +43,7 @@ goog.exportSymbol('proto.DeletePurchaseOrderResponse', null, global);
43
43
  goog.exportSymbol('proto.DeliveryOrder', null, global);
44
44
  goog.exportSymbol('proto.GetListPurchaseOrderRequest', null, global);
45
45
  goog.exportSymbol('proto.GetListPurchaseOrderResponse', null, global);
46
+ goog.exportSymbol('proto.GetPOReportListResponse', null, global);
46
47
  goog.exportSymbol('proto.GetPurchaseOrderByIdRequest', null, global);
47
48
  goog.exportSymbol('proto.GetPurchaseOrderByIdResponse', null, global);
48
49
  goog.exportSymbol('proto.GetPurchaseOrderDetailResponse', null, global);
@@ -53,6 +54,7 @@ goog.exportSymbol('proto.GoodReceipt', null, global);
53
54
  goog.exportSymbol('proto.Invoice', null, global);
54
55
  goog.exportSymbol('proto.InvoiceCondition', null, global);
55
56
  goog.exportSymbol('proto.PurchaseOrder', null, global);
57
+ goog.exportSymbol('proto.PurchaseOrderReport', null, global);
56
58
  goog.exportSymbol('proto.SetDownPaymentRequest', null, global);
57
59
  goog.exportSymbol('proto.SetDownPaymentResponse', null, global);
58
60
  goog.exportSymbol('proto.SetServiceRequest', null, global);
@@ -649,6 +651,48 @@ if (goog.DEBUG && !COMPILED) {
649
651
  */
650
652
  proto.DeletePurchaseOrderResponse.displayName = 'proto.DeletePurchaseOrderResponse';
651
653
  }
654
+ /**
655
+ * Generated by JsPbCodeGenerator.
656
+ * @param {Array=} opt_data Optional initial data array, typically from a
657
+ * server response, or constructed directly in Javascript. The array is used
658
+ * in place and becomes part of the constructed object. It is not cloned.
659
+ * If no data is provided, the constructed object will be empty, but still
660
+ * valid.
661
+ * @extends {jspb.Message}
662
+ * @constructor
663
+ */
664
+ proto.PurchaseOrderReport = function(opt_data) {
665
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
666
+ };
667
+ goog.inherits(proto.PurchaseOrderReport, jspb.Message);
668
+ if (goog.DEBUG && !COMPILED) {
669
+ /**
670
+ * @public
671
+ * @override
672
+ */
673
+ proto.PurchaseOrderReport.displayName = 'proto.PurchaseOrderReport';
674
+ }
675
+ /**
676
+ * Generated by JsPbCodeGenerator.
677
+ * @param {Array=} opt_data Optional initial data array, typically from a
678
+ * server response, or constructed directly in Javascript. The array is used
679
+ * in place and becomes part of the constructed object. It is not cloned.
680
+ * If no data is provided, the constructed object will be empty, but still
681
+ * valid.
682
+ * @extends {jspb.Message}
683
+ * @constructor
684
+ */
685
+ proto.GetPOReportListResponse = function(opt_data) {
686
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.GetPOReportListResponse.repeatedFields_, null);
687
+ };
688
+ goog.inherits(proto.GetPOReportListResponse, jspb.Message);
689
+ if (goog.DEBUG && !COMPILED) {
690
+ /**
691
+ * @public
692
+ * @override
693
+ */
694
+ proto.GetPOReportListResponse.displayName = 'proto.GetPOReportListResponse';
695
+ }
652
696
 
653
697
 
654
698
 
@@ -4349,7 +4393,14 @@ invoiceConditionsList: jspb.Message.toObjectList(msg.getInvoiceConditionsList(),
4349
4393
  proto.InvoiceCondition.toObject, includeInstance),
4350
4394
  requestedBy: jspb.Message.getFieldWithDefault(msg, 40, ""),
4351
4395
  requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
4352
- isFromGr: jspb.Message.getBooleanFieldWithDefault(msg, 42, false)
4396
+ isFromGr: jspb.Message.getBooleanFieldWithDefault(msg, 42, false),
4397
+ retentionPercentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 43, 0.0),
4398
+ retentionAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 44, 0.0),
4399
+ dpPercentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 45, 0.0),
4400
+ dpAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 46, 0.0),
4401
+ dpInvoiceRef: jspb.Message.getFieldWithDefault(msg, 47, ""),
4402
+ isDownPayment: jspb.Message.getBooleanFieldWithDefault(msg, 48, false),
4403
+ department: jspb.Message.getFieldWithDefault(msg, 49, "")
4353
4404
  };
4354
4405
 
4355
4406
  if (includeInstance) {
@@ -4565,6 +4616,34 @@ proto.Invoice.deserializeBinaryFromReader = function(msg, reader) {
4565
4616
  var value = /** @type {boolean} */ (reader.readBool());
4566
4617
  msg.setIsFromGr(value);
4567
4618
  break;
4619
+ case 43:
4620
+ var value = /** @type {number} */ (reader.readDouble());
4621
+ msg.setRetentionPercentage(value);
4622
+ break;
4623
+ case 44:
4624
+ var value = /** @type {number} */ (reader.readDouble());
4625
+ msg.setRetentionAmount(value);
4626
+ break;
4627
+ case 45:
4628
+ var value = /** @type {number} */ (reader.readDouble());
4629
+ msg.setDpPercentage(value);
4630
+ break;
4631
+ case 46:
4632
+ var value = /** @type {number} */ (reader.readDouble());
4633
+ msg.setDpAmount(value);
4634
+ break;
4635
+ case 47:
4636
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4637
+ msg.setDpInvoiceRef(value);
4638
+ break;
4639
+ case 48:
4640
+ var value = /** @type {boolean} */ (reader.readBool());
4641
+ msg.setIsDownPayment(value);
4642
+ break;
4643
+ case 49:
4644
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
4645
+ msg.setDepartment(value);
4646
+ break;
4568
4647
  default:
4569
4648
  reader.skipField();
4570
4649
  break;
@@ -4899,6 +4978,55 @@ proto.Invoice.serializeBinaryToWriter = function(message, writer) {
4899
4978
  f
4900
4979
  );
4901
4980
  }
4981
+ f = message.getRetentionPercentage();
4982
+ if (f !== 0.0) {
4983
+ writer.writeDouble(
4984
+ 43,
4985
+ f
4986
+ );
4987
+ }
4988
+ f = message.getRetentionAmount();
4989
+ if (f !== 0.0) {
4990
+ writer.writeDouble(
4991
+ 44,
4992
+ f
4993
+ );
4994
+ }
4995
+ f = message.getDpPercentage();
4996
+ if (f !== 0.0) {
4997
+ writer.writeDouble(
4998
+ 45,
4999
+ f
5000
+ );
5001
+ }
5002
+ f = message.getDpAmount();
5003
+ if (f !== 0.0) {
5004
+ writer.writeDouble(
5005
+ 46,
5006
+ f
5007
+ );
5008
+ }
5009
+ f = message.getDpInvoiceRef();
5010
+ if (f.length > 0) {
5011
+ writer.writeString(
5012
+ 47,
5013
+ f
5014
+ );
5015
+ }
5016
+ f = message.getIsDownPayment();
5017
+ if (f) {
5018
+ writer.writeBool(
5019
+ 48,
5020
+ f
5021
+ );
5022
+ }
5023
+ f = message.getDepartment();
5024
+ if (f.length > 0) {
5025
+ writer.writeString(
5026
+ 49,
5027
+ f
5028
+ );
5029
+ }
4902
5030
  };
4903
5031
 
4904
5032
 
@@ -5872,6 +6000,132 @@ proto.Invoice.prototype.setIsFromGr = function(value) {
5872
6000
  };
5873
6001
 
5874
6002
 
6003
+ /**
6004
+ * optional double retention_percentage = 43;
6005
+ * @return {number}
6006
+ */
6007
+ proto.Invoice.prototype.getRetentionPercentage = function() {
6008
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 43, 0.0));
6009
+ };
6010
+
6011
+
6012
+ /**
6013
+ * @param {number} value
6014
+ * @return {!proto.Invoice} returns this
6015
+ */
6016
+ proto.Invoice.prototype.setRetentionPercentage = function(value) {
6017
+ return jspb.Message.setProto3FloatField(this, 43, value);
6018
+ };
6019
+
6020
+
6021
+ /**
6022
+ * optional double retention_amount = 44;
6023
+ * @return {number}
6024
+ */
6025
+ proto.Invoice.prototype.getRetentionAmount = function() {
6026
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 44, 0.0));
6027
+ };
6028
+
6029
+
6030
+ /**
6031
+ * @param {number} value
6032
+ * @return {!proto.Invoice} returns this
6033
+ */
6034
+ proto.Invoice.prototype.setRetentionAmount = function(value) {
6035
+ return jspb.Message.setProto3FloatField(this, 44, value);
6036
+ };
6037
+
6038
+
6039
+ /**
6040
+ * optional double dp_percentage = 45;
6041
+ * @return {number}
6042
+ */
6043
+ proto.Invoice.prototype.getDpPercentage = function() {
6044
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 45, 0.0));
6045
+ };
6046
+
6047
+
6048
+ /**
6049
+ * @param {number} value
6050
+ * @return {!proto.Invoice} returns this
6051
+ */
6052
+ proto.Invoice.prototype.setDpPercentage = function(value) {
6053
+ return jspb.Message.setProto3FloatField(this, 45, value);
6054
+ };
6055
+
6056
+
6057
+ /**
6058
+ * optional double dp_amount = 46;
6059
+ * @return {number}
6060
+ */
6061
+ proto.Invoice.prototype.getDpAmount = function() {
6062
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 46, 0.0));
6063
+ };
6064
+
6065
+
6066
+ /**
6067
+ * @param {number} value
6068
+ * @return {!proto.Invoice} returns this
6069
+ */
6070
+ proto.Invoice.prototype.setDpAmount = function(value) {
6071
+ return jspb.Message.setProto3FloatField(this, 46, value);
6072
+ };
6073
+
6074
+
6075
+ /**
6076
+ * optional string dp_invoice_ref = 47;
6077
+ * @return {string}
6078
+ */
6079
+ proto.Invoice.prototype.getDpInvoiceRef = function() {
6080
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 47, ""));
6081
+ };
6082
+
6083
+
6084
+ /**
6085
+ * @param {string} value
6086
+ * @return {!proto.Invoice} returns this
6087
+ */
6088
+ proto.Invoice.prototype.setDpInvoiceRef = function(value) {
6089
+ return jspb.Message.setProto3StringField(this, 47, value);
6090
+ };
6091
+
6092
+
6093
+ /**
6094
+ * optional bool is_down_payment = 48;
6095
+ * @return {boolean}
6096
+ */
6097
+ proto.Invoice.prototype.getIsDownPayment = function() {
6098
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 48, false));
6099
+ };
6100
+
6101
+
6102
+ /**
6103
+ * @param {boolean} value
6104
+ * @return {!proto.Invoice} returns this
6105
+ */
6106
+ proto.Invoice.prototype.setIsDownPayment = function(value) {
6107
+ return jspb.Message.setProto3BooleanField(this, 48, value);
6108
+ };
6109
+
6110
+
6111
+ /**
6112
+ * optional string department = 49;
6113
+ * @return {string}
6114
+ */
6115
+ proto.Invoice.prototype.getDepartment = function() {
6116
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 49, ""));
6117
+ };
6118
+
6119
+
6120
+ /**
6121
+ * @param {string} value
6122
+ * @return {!proto.Invoice} returns this
6123
+ */
6124
+ proto.Invoice.prototype.setDepartment = function(value) {
6125
+ return jspb.Message.setProto3StringField(this, 49, value);
6126
+ };
6127
+
6128
+
5875
6129
 
5876
6130
 
5877
6131
 
@@ -6346,8 +6600,8 @@ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
6346
6600
  date: jspb.Message.getFieldWithDefault(msg, 3, ""),
6347
6601
  vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
6348
6602
  companyCode: jspb.Message.getFieldWithDefault(msg, 5, ""),
6349
- purchasingOrganizations: jspb.Message.getFieldWithDefault(msg, 6, ""),
6350
- purchasingGroups: jspb.Message.getFieldWithDefault(msg, 7, ""),
6603
+ purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 6, ""),
6604
+ purchasingGroup: jspb.Message.getFieldWithDefault(msg, 7, ""),
6351
6605
  termOfPayment: jspb.Message.getFieldWithDefault(msg, 8, ""),
6352
6606
  shippingAddress: jspb.Message.getFieldWithDefault(msg, 9, ""),
6353
6607
  termOfPaymentText: jspb.Message.getFieldWithDefault(msg, 10, ""),
@@ -6391,7 +6645,13 @@ documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_ty
6391
6645
  documentTypeReferences: jspb.Message.getFieldWithDefault(msg, 44, ""),
6392
6646
  customTransaction: jspb.Message.getFieldWithDefault(msg, 45, ""),
6393
6647
  requestedBy: jspb.Message.getFieldWithDefault(msg, 46, ""),
6394
- requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f)
6648
+ requestor: (f = msg.getRequestor()) && prisca_v1_global_meta_meta_pb.Creator.toObject(includeInstance, f),
6649
+ hasDownPayment: jspb.Message.getBooleanFieldWithDefault(msg, 48, false),
6650
+ retentionPercentage: jspb.Message.getFloatingPointFieldWithDefault(msg, 49, 0.0),
6651
+ retentionAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 50, 0.0),
6652
+ dpInvoiceApproved: jspb.Message.getBooleanFieldWithDefault(msg, 51, false),
6653
+ dpInvoiceRef: jspb.Message.getFieldWithDefault(msg, 52, ""),
6654
+ dpAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 53, 0.0)
6395
6655
  };
6396
6656
 
6397
6657
  if (includeInstance) {
@@ -6450,11 +6710,11 @@ proto.PurchaseOrder.deserializeBinaryFromReader = function(msg, reader) {
6450
6710
  break;
6451
6711
  case 6:
6452
6712
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
6453
- msg.setPurchasingOrganizations(value);
6713
+ msg.setPurchasingOrganization(value);
6454
6714
  break;
6455
6715
  case 7:
6456
6716
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
6457
- msg.setPurchasingGroups(value);
6717
+ msg.setPurchasingGroup(value);
6458
6718
  break;
6459
6719
  case 8:
6460
6720
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
@@ -6626,6 +6886,30 @@ proto.PurchaseOrder.deserializeBinaryFromReader = function(msg, reader) {
6626
6886
  reader.readMessage(value,prisca_v1_global_meta_meta_pb.Creator.deserializeBinaryFromReader);
6627
6887
  msg.setRequestor(value);
6628
6888
  break;
6889
+ case 48:
6890
+ var value = /** @type {boolean} */ (reader.readBool());
6891
+ msg.setHasDownPayment(value);
6892
+ break;
6893
+ case 49:
6894
+ var value = /** @type {number} */ (reader.readDouble());
6895
+ msg.setRetentionPercentage(value);
6896
+ break;
6897
+ case 50:
6898
+ var value = /** @type {number} */ (reader.readDouble());
6899
+ msg.setRetentionAmount(value);
6900
+ break;
6901
+ case 51:
6902
+ var value = /** @type {boolean} */ (reader.readBool());
6903
+ msg.setDpInvoiceApproved(value);
6904
+ break;
6905
+ case 52:
6906
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
6907
+ msg.setDpInvoiceRef(value);
6908
+ break;
6909
+ case 53:
6910
+ var value = /** @type {number} */ (reader.readDouble());
6911
+ msg.setDpAmount(value);
6912
+ break;
6629
6913
  default:
6630
6914
  reader.skipField();
6631
6915
  break;
@@ -6690,14 +6974,14 @@ proto.PurchaseOrder.serializeBinaryToWriter = function(message, writer) {
6690
6974
  f
6691
6975
  );
6692
6976
  }
6693
- f = message.getPurchasingOrganizations();
6977
+ f = message.getPurchasingOrganization();
6694
6978
  if (f.length > 0) {
6695
6979
  writer.writeString(
6696
6980
  6,
6697
6981
  f
6698
6982
  );
6699
6983
  }
6700
- f = message.getPurchasingGroups();
6984
+ f = message.getPurchasingGroup();
6701
6985
  if (f.length > 0) {
6702
6986
  writer.writeString(
6703
6987
  7,
@@ -6994,6 +7278,48 @@ proto.PurchaseOrder.serializeBinaryToWriter = function(message, writer) {
6994
7278
  prisca_v1_global_meta_meta_pb.Creator.serializeBinaryToWriter
6995
7279
  );
6996
7280
  }
7281
+ f = message.getHasDownPayment();
7282
+ if (f) {
7283
+ writer.writeBool(
7284
+ 48,
7285
+ f
7286
+ );
7287
+ }
7288
+ f = message.getRetentionPercentage();
7289
+ if (f !== 0.0) {
7290
+ writer.writeDouble(
7291
+ 49,
7292
+ f
7293
+ );
7294
+ }
7295
+ f = message.getRetentionAmount();
7296
+ if (f !== 0.0) {
7297
+ writer.writeDouble(
7298
+ 50,
7299
+ f
7300
+ );
7301
+ }
7302
+ f = message.getDpInvoiceApproved();
7303
+ if (f) {
7304
+ writer.writeBool(
7305
+ 51,
7306
+ f
7307
+ );
7308
+ }
7309
+ f = message.getDpInvoiceRef();
7310
+ if (f.length > 0) {
7311
+ writer.writeString(
7312
+ 52,
7313
+ f
7314
+ );
7315
+ }
7316
+ f = message.getDpAmount();
7317
+ if (f !== 0.0) {
7318
+ writer.writeDouble(
7319
+ 53,
7320
+ f
7321
+ );
7322
+ }
6997
7323
  };
6998
7324
 
6999
7325
 
@@ -7088,10 +7414,10 @@ proto.PurchaseOrder.prototype.setCompanyCode = function(value) {
7088
7414
 
7089
7415
 
7090
7416
  /**
7091
- * optional string purchasing_organizations = 6;
7417
+ * optional string purchasing_organization = 6;
7092
7418
  * @return {string}
7093
7419
  */
7094
- proto.PurchaseOrder.prototype.getPurchasingOrganizations = function() {
7420
+ proto.PurchaseOrder.prototype.getPurchasingOrganization = function() {
7095
7421
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
7096
7422
  };
7097
7423
 
@@ -7100,16 +7426,16 @@ proto.PurchaseOrder.prototype.getPurchasingOrganizations = function() {
7100
7426
  * @param {string} value
7101
7427
  * @return {!proto.PurchaseOrder} returns this
7102
7428
  */
7103
- proto.PurchaseOrder.prototype.setPurchasingOrganizations = function(value) {
7429
+ proto.PurchaseOrder.prototype.setPurchasingOrganization = function(value) {
7104
7430
  return jspb.Message.setProto3StringField(this, 6, value);
7105
7431
  };
7106
7432
 
7107
7433
 
7108
7434
  /**
7109
- * optional string purchasing_groups = 7;
7435
+ * optional string purchasing_group = 7;
7110
7436
  * @return {string}
7111
7437
  */
7112
- proto.PurchaseOrder.prototype.getPurchasingGroups = function() {
7438
+ proto.PurchaseOrder.prototype.getPurchasingGroup = function() {
7113
7439
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
7114
7440
  };
7115
7441
 
@@ -7118,7 +7444,7 @@ proto.PurchaseOrder.prototype.getPurchasingGroups = function() {
7118
7444
  * @param {string} value
7119
7445
  * @return {!proto.PurchaseOrder} returns this
7120
7446
  */
7121
- proto.PurchaseOrder.prototype.setPurchasingGroups = function(value) {
7447
+ proto.PurchaseOrder.prototype.setPurchasingGroup = function(value) {
7122
7448
  return jspb.Message.setProto3StringField(this, 7, value);
7123
7449
  };
7124
7450
 
@@ -8037,51 +8363,159 @@ proto.PurchaseOrder.prototype.hasRequestor = function() {
8037
8363
  };
8038
8364
 
8039
8365
 
8366
+ /**
8367
+ * optional bool has_down_payment = 48;
8368
+ * @return {boolean}
8369
+ */
8370
+ proto.PurchaseOrder.prototype.getHasDownPayment = function() {
8371
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 48, false));
8372
+ };
8373
+
8040
8374
 
8041
8375
  /**
8042
- * List of repeated fields within this message type.
8043
- * @private {!Array<number>}
8044
- * @const
8376
+ * @param {boolean} value
8377
+ * @return {!proto.PurchaseOrder} returns this
8045
8378
  */
8046
- proto.BasePurchaseOrderRequest.repeatedFields_ = [18,19];
8379
+ proto.PurchaseOrder.prototype.setHasDownPayment = function(value) {
8380
+ return jspb.Message.setProto3BooleanField(this, 48, value);
8381
+ };
8047
8382
 
8048
8383
 
8384
+ /**
8385
+ * optional double retention_percentage = 49;
8386
+ * @return {number}
8387
+ */
8388
+ proto.PurchaseOrder.prototype.getRetentionPercentage = function() {
8389
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 49, 0.0));
8390
+ };
8391
+
8049
8392
 
8050
- if (jspb.Message.GENERATE_TO_OBJECT) {
8051
8393
  /**
8052
- * Creates an object representation of this proto.
8053
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
8054
- * Optional fields that are not set will be set to undefined.
8055
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8056
- * For the list of reserved names please see:
8057
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8058
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8059
- * JSPB instance for transitional soy proto support:
8060
- * http://goto/soy-param-migration
8061
- * @return {!Object}
8394
+ * @param {number} value
8395
+ * @return {!proto.PurchaseOrder} returns this
8062
8396
  */
8063
- proto.BasePurchaseOrderRequest.prototype.toObject = function(opt_includeInstance) {
8064
- return proto.BasePurchaseOrderRequest.toObject(opt_includeInstance, this);
8397
+ proto.PurchaseOrder.prototype.setRetentionPercentage = function(value) {
8398
+ return jspb.Message.setProto3FloatField(this, 49, value);
8065
8399
  };
8066
8400
 
8067
8401
 
8068
8402
  /**
8069
- * Static version of the {@see toObject} method.
8070
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8071
- * the JSPB instance for transitional soy proto support:
8072
- * http://goto/soy-param-migration
8073
- * @param {!proto.BasePurchaseOrderRequest} msg The msg instance to transform.
8074
- * @return {!Object}
8075
- * @suppress {unusedLocalVariables} f is only used for nested messages
8403
+ * optional double retention_amount = 50;
8404
+ * @return {number}
8076
8405
  */
8077
- proto.BasePurchaseOrderRequest.toObject = function(includeInstance, msg) {
8078
- var f, obj = {
8079
- title: jspb.Message.getFieldWithDefault(msg, 1, ""),
8080
- companyCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
8081
- purchasingOrganizations: jspb.Message.getFieldWithDefault(msg, 3, ""),
8082
- purchasingGroups: jspb.Message.getFieldWithDefault(msg, 4, ""),
8083
- termOfPayment: jspb.Message.getFieldWithDefault(msg, 5, ""),
8084
- shippingAddress: jspb.Message.getFieldWithDefault(msg, 6, ""),
8406
+ proto.PurchaseOrder.prototype.getRetentionAmount = function() {
8407
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 50, 0.0));
8408
+ };
8409
+
8410
+
8411
+ /**
8412
+ * @param {number} value
8413
+ * @return {!proto.PurchaseOrder} returns this
8414
+ */
8415
+ proto.PurchaseOrder.prototype.setRetentionAmount = function(value) {
8416
+ return jspb.Message.setProto3FloatField(this, 50, value);
8417
+ };
8418
+
8419
+
8420
+ /**
8421
+ * optional bool dp_invoice_approved = 51;
8422
+ * @return {boolean}
8423
+ */
8424
+ proto.PurchaseOrder.prototype.getDpInvoiceApproved = function() {
8425
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 51, false));
8426
+ };
8427
+
8428
+
8429
+ /**
8430
+ * @param {boolean} value
8431
+ * @return {!proto.PurchaseOrder} returns this
8432
+ */
8433
+ proto.PurchaseOrder.prototype.setDpInvoiceApproved = function(value) {
8434
+ return jspb.Message.setProto3BooleanField(this, 51, value);
8435
+ };
8436
+
8437
+
8438
+ /**
8439
+ * optional string dp_invoice_ref = 52;
8440
+ * @return {string}
8441
+ */
8442
+ proto.PurchaseOrder.prototype.getDpInvoiceRef = function() {
8443
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 52, ""));
8444
+ };
8445
+
8446
+
8447
+ /**
8448
+ * @param {string} value
8449
+ * @return {!proto.PurchaseOrder} returns this
8450
+ */
8451
+ proto.PurchaseOrder.prototype.setDpInvoiceRef = function(value) {
8452
+ return jspb.Message.setProto3StringField(this, 52, value);
8453
+ };
8454
+
8455
+
8456
+ /**
8457
+ * optional double dp_amount = 53;
8458
+ * @return {number}
8459
+ */
8460
+ proto.PurchaseOrder.prototype.getDpAmount = function() {
8461
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 53, 0.0));
8462
+ };
8463
+
8464
+
8465
+ /**
8466
+ * @param {number} value
8467
+ * @return {!proto.PurchaseOrder} returns this
8468
+ */
8469
+ proto.PurchaseOrder.prototype.setDpAmount = function(value) {
8470
+ return jspb.Message.setProto3FloatField(this, 53, value);
8471
+ };
8472
+
8473
+
8474
+
8475
+ /**
8476
+ * List of repeated fields within this message type.
8477
+ * @private {!Array<number>}
8478
+ * @const
8479
+ */
8480
+ proto.BasePurchaseOrderRequest.repeatedFields_ = [18,19];
8481
+
8482
+
8483
+
8484
+ if (jspb.Message.GENERATE_TO_OBJECT) {
8485
+ /**
8486
+ * Creates an object representation of this proto.
8487
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
8488
+ * Optional fields that are not set will be set to undefined.
8489
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
8490
+ * For the list of reserved names please see:
8491
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
8492
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
8493
+ * JSPB instance for transitional soy proto support:
8494
+ * http://goto/soy-param-migration
8495
+ * @return {!Object}
8496
+ */
8497
+ proto.BasePurchaseOrderRequest.prototype.toObject = function(opt_includeInstance) {
8498
+ return proto.BasePurchaseOrderRequest.toObject(opt_includeInstance, this);
8499
+ };
8500
+
8501
+
8502
+ /**
8503
+ * Static version of the {@see toObject} method.
8504
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
8505
+ * the JSPB instance for transitional soy proto support:
8506
+ * http://goto/soy-param-migration
8507
+ * @param {!proto.BasePurchaseOrderRequest} msg The msg instance to transform.
8508
+ * @return {!Object}
8509
+ * @suppress {unusedLocalVariables} f is only used for nested messages
8510
+ */
8511
+ proto.BasePurchaseOrderRequest.toObject = function(includeInstance, msg) {
8512
+ var f, obj = {
8513
+ title: jspb.Message.getFieldWithDefault(msg, 1, ""),
8514
+ companyCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
8515
+ purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 3, ""),
8516
+ purchasingGroup: jspb.Message.getFieldWithDefault(msg, 4, ""),
8517
+ termOfPayment: jspb.Message.getFieldWithDefault(msg, 5, ""),
8518
+ shippingAddress: jspb.Message.getFieldWithDefault(msg, 6, ""),
8085
8519
  termOfPaymentText: jspb.Message.getFieldWithDefault(msg, 7, ""),
8086
8520
  guaranteePeriod: jspb.Message.getFieldWithDefault(msg, 8, ""),
8087
8521
  retention: jspb.Message.getFieldWithDefault(msg, 9, ""),
@@ -8108,7 +8542,13 @@ biddingNumber: jspb.Message.getFieldWithDefault(msg, 27, ""),
8108
8542
  purchaseRequisitionReferences: jspb.Message.getFieldWithDefault(msg, 28, ""),
8109
8543
  purchaseRequisitionNumber: jspb.Message.getFieldWithDefault(msg, 29, ""),
8110
8544
  customTransaction: jspb.Message.getFieldWithDefault(msg, 31, ""),
8111
- requestedBy: jspb.Message.getFieldWithDefault(msg, 32, "")
8545
+ requestedBy: jspb.Message.getFieldWithDefault(msg, 32, ""),
8546
+ hasDownPayment: jspb.Message.getBooleanFieldWithDefault(msg, 33, false),
8547
+ retentionPercentage: jspb.Message.getFieldWithDefault(msg, 34, ""),
8548
+ retentionAmount: jspb.Message.getFieldWithDefault(msg, 35, ""),
8549
+ dpInvoiceApproved: jspb.Message.getBooleanFieldWithDefault(msg, 36, false),
8550
+ dpInvoiceRef: jspb.Message.getFieldWithDefault(msg, 37, ""),
8551
+ dpAmount: jspb.Message.getFieldWithDefault(msg, 38, "")
8112
8552
  };
8113
8553
 
8114
8554
  if (includeInstance) {
@@ -8155,11 +8595,11 @@ proto.BasePurchaseOrderRequest.deserializeBinaryFromReader = function(msg, reade
8155
8595
  break;
8156
8596
  case 3:
8157
8597
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
8158
- msg.setPurchasingOrganizations(value);
8598
+ msg.setPurchasingOrganization(value);
8159
8599
  break;
8160
8600
  case 4:
8161
8601
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
8162
- msg.setPurchasingGroups(value);
8602
+ msg.setPurchasingGroup(value);
8163
8603
  break;
8164
8604
  case 5:
8165
8605
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
@@ -8272,6 +8712,30 @@ proto.BasePurchaseOrderRequest.deserializeBinaryFromReader = function(msg, reade
8272
8712
  var value = /** @type {string} */ (reader.readStringRequireUtf8());
8273
8713
  msg.setRequestedBy(value);
8274
8714
  break;
8715
+ case 33:
8716
+ var value = /** @type {boolean} */ (reader.readBool());
8717
+ msg.setHasDownPayment(value);
8718
+ break;
8719
+ case 34:
8720
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
8721
+ msg.setRetentionPercentage(value);
8722
+ break;
8723
+ case 35:
8724
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
8725
+ msg.setRetentionAmount(value);
8726
+ break;
8727
+ case 36:
8728
+ var value = /** @type {boolean} */ (reader.readBool());
8729
+ msg.setDpInvoiceApproved(value);
8730
+ break;
8731
+ case 37:
8732
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
8733
+ msg.setDpInvoiceRef(value);
8734
+ break;
8735
+ case 38:
8736
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
8737
+ msg.setDpAmount(value);
8738
+ break;
8275
8739
  default:
8276
8740
  reader.skipField();
8277
8741
  break;
@@ -8315,14 +8779,14 @@ proto.BasePurchaseOrderRequest.serializeBinaryToWriter = function(message, write
8315
8779
  f
8316
8780
  );
8317
8781
  }
8318
- f = message.getPurchasingOrganizations();
8782
+ f = message.getPurchasingOrganization();
8319
8783
  if (f.length > 0) {
8320
8784
  writer.writeString(
8321
8785
  3,
8322
8786
  f
8323
8787
  );
8324
8788
  }
8325
- f = message.getPurchasingGroups();
8789
+ f = message.getPurchasingGroup();
8326
8790
  if (f.length > 0) {
8327
8791
  writer.writeString(
8328
8792
  4,
@@ -8521,6 +8985,48 @@ proto.BasePurchaseOrderRequest.serializeBinaryToWriter = function(message, write
8521
8985
  f
8522
8986
  );
8523
8987
  }
8988
+ f = message.getHasDownPayment();
8989
+ if (f) {
8990
+ writer.writeBool(
8991
+ 33,
8992
+ f
8993
+ );
8994
+ }
8995
+ f = message.getRetentionPercentage();
8996
+ if (f.length > 0) {
8997
+ writer.writeString(
8998
+ 34,
8999
+ f
9000
+ );
9001
+ }
9002
+ f = message.getRetentionAmount();
9003
+ if (f.length > 0) {
9004
+ writer.writeString(
9005
+ 35,
9006
+ f
9007
+ );
9008
+ }
9009
+ f = message.getDpInvoiceApproved();
9010
+ if (f) {
9011
+ writer.writeBool(
9012
+ 36,
9013
+ f
9014
+ );
9015
+ }
9016
+ f = message.getDpInvoiceRef();
9017
+ if (f.length > 0) {
9018
+ writer.writeString(
9019
+ 37,
9020
+ f
9021
+ );
9022
+ }
9023
+ f = message.getDpAmount();
9024
+ if (f.length > 0) {
9025
+ writer.writeString(
9026
+ 38,
9027
+ f
9028
+ );
9029
+ }
8524
9030
  };
8525
9031
 
8526
9032
 
@@ -8561,10 +9067,10 @@ proto.BasePurchaseOrderRequest.prototype.setCompanyCode = function(value) {
8561
9067
 
8562
9068
 
8563
9069
  /**
8564
- * optional string purchasing_organizations = 3;
9070
+ * optional string purchasing_organization = 3;
8565
9071
  * @return {string}
8566
9072
  */
8567
- proto.BasePurchaseOrderRequest.prototype.getPurchasingOrganizations = function() {
9073
+ proto.BasePurchaseOrderRequest.prototype.getPurchasingOrganization = function() {
8568
9074
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
8569
9075
  };
8570
9076
 
@@ -8573,16 +9079,16 @@ proto.BasePurchaseOrderRequest.prototype.getPurchasingOrganizations = function()
8573
9079
  * @param {string} value
8574
9080
  * @return {!proto.BasePurchaseOrderRequest} returns this
8575
9081
  */
8576
- proto.BasePurchaseOrderRequest.prototype.setPurchasingOrganizations = function(value) {
9082
+ proto.BasePurchaseOrderRequest.prototype.setPurchasingOrganization = function(value) {
8577
9083
  return jspb.Message.setProto3StringField(this, 3, value);
8578
9084
  };
8579
9085
 
8580
9086
 
8581
9087
  /**
8582
- * optional string purchasing_groups = 4;
9088
+ * optional string purchasing_group = 4;
8583
9089
  * @return {string}
8584
9090
  */
8585
- proto.BasePurchaseOrderRequest.prototype.getPurchasingGroups = function() {
9091
+ proto.BasePurchaseOrderRequest.prototype.getPurchasingGroup = function() {
8586
9092
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
8587
9093
  };
8588
9094
 
@@ -8591,7 +9097,7 @@ proto.BasePurchaseOrderRequest.prototype.getPurchasingGroups = function() {
8591
9097
  * @param {string} value
8592
9098
  * @return {!proto.BasePurchaseOrderRequest} returns this
8593
9099
  */
8594
- proto.BasePurchaseOrderRequest.prototype.setPurchasingGroups = function(value) {
9100
+ proto.BasePurchaseOrderRequest.prototype.setPurchasingGroup = function(value) {
8595
9101
  return jspb.Message.setProto3StringField(this, 4, value);
8596
9102
  };
8597
9103
 
@@ -9141,6 +9647,114 @@ proto.BasePurchaseOrderRequest.prototype.setRequestedBy = function(value) {
9141
9647
  };
9142
9648
 
9143
9649
 
9650
+ /**
9651
+ * optional bool has_down_payment = 33;
9652
+ * @return {boolean}
9653
+ */
9654
+ proto.BasePurchaseOrderRequest.prototype.getHasDownPayment = function() {
9655
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 33, false));
9656
+ };
9657
+
9658
+
9659
+ /**
9660
+ * @param {boolean} value
9661
+ * @return {!proto.BasePurchaseOrderRequest} returns this
9662
+ */
9663
+ proto.BasePurchaseOrderRequest.prototype.setHasDownPayment = function(value) {
9664
+ return jspb.Message.setProto3BooleanField(this, 33, value);
9665
+ };
9666
+
9667
+
9668
+ /**
9669
+ * optional string retention_percentage = 34;
9670
+ * @return {string}
9671
+ */
9672
+ proto.BasePurchaseOrderRequest.prototype.getRetentionPercentage = function() {
9673
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 34, ""));
9674
+ };
9675
+
9676
+
9677
+ /**
9678
+ * @param {string} value
9679
+ * @return {!proto.BasePurchaseOrderRequest} returns this
9680
+ */
9681
+ proto.BasePurchaseOrderRequest.prototype.setRetentionPercentage = function(value) {
9682
+ return jspb.Message.setProto3StringField(this, 34, value);
9683
+ };
9684
+
9685
+
9686
+ /**
9687
+ * optional string retention_amount = 35;
9688
+ * @return {string}
9689
+ */
9690
+ proto.BasePurchaseOrderRequest.prototype.getRetentionAmount = function() {
9691
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
9692
+ };
9693
+
9694
+
9695
+ /**
9696
+ * @param {string} value
9697
+ * @return {!proto.BasePurchaseOrderRequest} returns this
9698
+ */
9699
+ proto.BasePurchaseOrderRequest.prototype.setRetentionAmount = function(value) {
9700
+ return jspb.Message.setProto3StringField(this, 35, value);
9701
+ };
9702
+
9703
+
9704
+ /**
9705
+ * optional bool dp_invoice_approved = 36;
9706
+ * @return {boolean}
9707
+ */
9708
+ proto.BasePurchaseOrderRequest.prototype.getDpInvoiceApproved = function() {
9709
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 36, false));
9710
+ };
9711
+
9712
+
9713
+ /**
9714
+ * @param {boolean} value
9715
+ * @return {!proto.BasePurchaseOrderRequest} returns this
9716
+ */
9717
+ proto.BasePurchaseOrderRequest.prototype.setDpInvoiceApproved = function(value) {
9718
+ return jspb.Message.setProto3BooleanField(this, 36, value);
9719
+ };
9720
+
9721
+
9722
+ /**
9723
+ * optional string dp_invoice_ref = 37;
9724
+ * @return {string}
9725
+ */
9726
+ proto.BasePurchaseOrderRequest.prototype.getDpInvoiceRef = function() {
9727
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 37, ""));
9728
+ };
9729
+
9730
+
9731
+ /**
9732
+ * @param {string} value
9733
+ * @return {!proto.BasePurchaseOrderRequest} returns this
9734
+ */
9735
+ proto.BasePurchaseOrderRequest.prototype.setDpInvoiceRef = function(value) {
9736
+ return jspb.Message.setProto3StringField(this, 37, value);
9737
+ };
9738
+
9739
+
9740
+ /**
9741
+ * optional string dp_amount = 38;
9742
+ * @return {string}
9743
+ */
9744
+ proto.BasePurchaseOrderRequest.prototype.getDpAmount = function() {
9745
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 38, ""));
9746
+ };
9747
+
9748
+
9749
+ /**
9750
+ * @param {string} value
9751
+ * @return {!proto.BasePurchaseOrderRequest} returns this
9752
+ */
9753
+ proto.BasePurchaseOrderRequest.prototype.setDpAmount = function(value) {
9754
+ return jspb.Message.setProto3StringField(this, 38, value);
9755
+ };
9756
+
9757
+
9144
9758
 
9145
9759
 
9146
9760
 
@@ -12187,4 +12801,1875 @@ proto.DeletePurchaseOrderResponse.prototype.hasMeta = function() {
12187
12801
  };
12188
12802
 
12189
12803
 
12804
+
12805
+
12806
+
12807
+ if (jspb.Message.GENERATE_TO_OBJECT) {
12808
+ /**
12809
+ * Creates an object representation of this proto.
12810
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
12811
+ * Optional fields that are not set will be set to undefined.
12812
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
12813
+ * For the list of reserved names please see:
12814
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
12815
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
12816
+ * JSPB instance for transitional soy proto support:
12817
+ * http://goto/soy-param-migration
12818
+ * @return {!Object}
12819
+ */
12820
+ proto.PurchaseOrderReport.prototype.toObject = function(opt_includeInstance) {
12821
+ return proto.PurchaseOrderReport.toObject(opt_includeInstance, this);
12822
+ };
12823
+
12824
+
12825
+ /**
12826
+ * Static version of the {@see toObject} method.
12827
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
12828
+ * the JSPB instance for transitional soy proto support:
12829
+ * http://goto/soy-param-migration
12830
+ * @param {!proto.PurchaseOrderReport} msg The msg instance to transform.
12831
+ * @return {!Object}
12832
+ * @suppress {unusedLocalVariables} f is only used for nested messages
12833
+ */
12834
+ proto.PurchaseOrderReport.toObject = function(includeInstance, msg) {
12835
+ var f, obj = {
12836
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
12837
+ isExpired: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
12838
+ status: jspb.Message.getFieldWithDefault(msg, 3, ""),
12839
+ purchaseRequestNumber: jspb.Message.getFieldWithDefault(msg, 4, ""),
12840
+ prPlantName: jspb.Message.getFieldWithDefault(msg, 5, ""),
12841
+ prPlant: jspb.Message.getFieldWithDefault(msg, 6, ""),
12842
+ purchaseRequestCreatedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
12843
+ prDepartment: jspb.Message.getFieldWithDefault(msg, 8, ""),
12844
+ prDepartmentName: jspb.Message.getFieldWithDefault(msg, 9, ""),
12845
+ purchaseRequestApproverDate: jspb.Message.getFieldWithDefault(msg, 10, ""),
12846
+ prRevisedDate: jspb.Message.getFieldWithDefault(msg, 11, ""),
12847
+ purchaseRequestFullyApprovedAt: jspb.Message.getFieldWithDefault(msg, 12, ""),
12848
+ prAging: jspb.Message.getFieldWithDefault(msg, 13, 0),
12849
+ prPurchasingOrg: jspb.Message.getFieldWithDefault(msg, 14, ""),
12850
+ prPurchasingGroup: jspb.Message.getFieldWithDefault(msg, 15, ""),
12851
+ materialCode: jspb.Message.getFieldWithDefault(msg, 16, ""),
12852
+ materialDescription: jspb.Message.getFieldWithDefault(msg, 17, ""),
12853
+ materialDetailDescription: jspb.Message.getFieldWithDefault(msg, 18, ""),
12854
+ purchaseRequestQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 19, 0.0),
12855
+ prUnitOfMeasure: jspb.Message.getFieldWithDefault(msg, 20, ""),
12856
+ prEstimatedUnitPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 21, 0.0),
12857
+ prItemTotalPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 22, 0.0),
12858
+ prItemDeliveryDate: jspb.Message.getFieldWithDefault(msg, 23, ""),
12859
+ biddingNumber: jspb.Message.getFieldWithDefault(msg, 24, ""),
12860
+ biddingCreatedDate: jspb.Message.getFieldWithDefault(msg, 25, ""),
12861
+ biddingFullyApprovedDate: jspb.Message.getFieldWithDefault(msg, 26, ""),
12862
+ biddingAging: jspb.Message.getFieldWithDefault(msg, 27, 0),
12863
+ poCreatedDate: jspb.Message.getFieldWithDefault(msg, 28, ""),
12864
+ purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 29, ""),
12865
+ purchaseOrderTitle: jspb.Message.getFieldWithDefault(msg, 30, ""),
12866
+ purchaseOrderQuantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 31, 0.0),
12867
+ poUnitOfMeasure: jspb.Message.getFieldWithDefault(msg, 32, ""),
12868
+ purchaseOrderPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 33, 0.0),
12869
+ purchaseOrderTotalPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 34, 0.0),
12870
+ taxPercent: jspb.Message.getFloatingPointFieldWithDefault(msg, 35, 0.0),
12871
+ discountPercent: jspb.Message.getFloatingPointFieldWithDefault(msg, 36, 0.0),
12872
+ discountAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 37, 0.0),
12873
+ savingOverPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 38, 0.0),
12874
+ poDeliveryDatePlan: jspb.Message.getFieldWithDefault(msg, 39, ""),
12875
+ poApprovalDate: jspb.Message.getFieldWithDefault(msg, 40, ""),
12876
+ poAging: jspb.Message.getFieldWithDefault(msg, 41, 0),
12877
+ poCreatedByEmployeeName: jspb.Message.getFieldWithDefault(msg, 42, ""),
12878
+ poFullyApprovedDate: jspb.Message.getFieldWithDefault(msg, 43, ""),
12879
+ vendorName: jspb.Message.getFieldWithDefault(msg, 44, ""),
12880
+ salesOrderNumber: jspb.Message.getFieldWithDefault(msg, 45, ""),
12881
+ salesOrderDate: jspb.Message.getFieldWithDefault(msg, 46, ""),
12882
+ goodsReceiptNumber: jspb.Message.getFieldWithDefault(msg, 47, ""),
12883
+ goodsReceiptDate: jspb.Message.getFieldWithDefault(msg, 48, ""),
12884
+ goodsReceiptCreatedByName: jspb.Message.getFieldWithDefault(msg, 49, ""),
12885
+ assetNumber: jspb.Message.getFieldWithDefault(msg, 50, ""),
12886
+ invoiceReceived: jspb.Message.getFieldWithDefault(msg, 51, ""),
12887
+ prCreatedByEmployeeName: jspb.Message.getFieldWithDefault(msg, 52, "")
12888
+ };
12889
+
12890
+ if (includeInstance) {
12891
+ obj.$jspbMessageInstance = msg;
12892
+ }
12893
+ return obj;
12894
+ };
12895
+ }
12896
+
12897
+
12898
+ /**
12899
+ * Deserializes binary data (in protobuf wire format).
12900
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
12901
+ * @return {!proto.PurchaseOrderReport}
12902
+ */
12903
+ proto.PurchaseOrderReport.deserializeBinary = function(bytes) {
12904
+ var reader = new jspb.BinaryReader(bytes);
12905
+ var msg = new proto.PurchaseOrderReport;
12906
+ return proto.PurchaseOrderReport.deserializeBinaryFromReader(msg, reader);
12907
+ };
12908
+
12909
+
12910
+ /**
12911
+ * Deserializes binary data (in protobuf wire format) from the
12912
+ * given reader into the given message object.
12913
+ * @param {!proto.PurchaseOrderReport} msg The message object to deserialize into.
12914
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
12915
+ * @return {!proto.PurchaseOrderReport}
12916
+ */
12917
+ proto.PurchaseOrderReport.deserializeBinaryFromReader = function(msg, reader) {
12918
+ while (reader.nextField()) {
12919
+ if (reader.isEndGroup()) {
12920
+ break;
12921
+ }
12922
+ var field = reader.getFieldNumber();
12923
+ switch (field) {
12924
+ case 1:
12925
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12926
+ msg.setCompaniesReferencesId(value);
12927
+ break;
12928
+ case 2:
12929
+ var value = /** @type {boolean} */ (reader.readBool());
12930
+ msg.setIsExpired(value);
12931
+ break;
12932
+ case 3:
12933
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12934
+ msg.setStatus(value);
12935
+ break;
12936
+ case 4:
12937
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12938
+ msg.setPurchaseRequestNumber(value);
12939
+ break;
12940
+ case 5:
12941
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12942
+ msg.setPrPlantName(value);
12943
+ break;
12944
+ case 6:
12945
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12946
+ msg.setPrPlant(value);
12947
+ break;
12948
+ case 7:
12949
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12950
+ msg.setPurchaseRequestCreatedAt(value);
12951
+ break;
12952
+ case 8:
12953
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12954
+ msg.setPrDepartment(value);
12955
+ break;
12956
+ case 9:
12957
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12958
+ msg.setPrDepartmentName(value);
12959
+ break;
12960
+ case 10:
12961
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12962
+ msg.setPurchaseRequestApproverDate(value);
12963
+ break;
12964
+ case 11:
12965
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12966
+ msg.setPrRevisedDate(value);
12967
+ break;
12968
+ case 12:
12969
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12970
+ msg.setPurchaseRequestFullyApprovedAt(value);
12971
+ break;
12972
+ case 13:
12973
+ var value = /** @type {number} */ (reader.readInt64());
12974
+ msg.setPrAging(value);
12975
+ break;
12976
+ case 14:
12977
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12978
+ msg.setPrPurchasingOrg(value);
12979
+ break;
12980
+ case 15:
12981
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12982
+ msg.setPrPurchasingGroup(value);
12983
+ break;
12984
+ case 16:
12985
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12986
+ msg.setMaterialCode(value);
12987
+ break;
12988
+ case 17:
12989
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12990
+ msg.setMaterialDescription(value);
12991
+ break;
12992
+ case 18:
12993
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
12994
+ msg.setMaterialDetailDescription(value);
12995
+ break;
12996
+ case 19:
12997
+ var value = /** @type {number} */ (reader.readDouble());
12998
+ msg.setPurchaseRequestQuantity(value);
12999
+ break;
13000
+ case 20:
13001
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13002
+ msg.setPrUnitOfMeasure(value);
13003
+ break;
13004
+ case 21:
13005
+ var value = /** @type {number} */ (reader.readDouble());
13006
+ msg.setPrEstimatedUnitPrice(value);
13007
+ break;
13008
+ case 22:
13009
+ var value = /** @type {number} */ (reader.readDouble());
13010
+ msg.setPrItemTotalPrice(value);
13011
+ break;
13012
+ case 23:
13013
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13014
+ msg.setPrItemDeliveryDate(value);
13015
+ break;
13016
+ case 24:
13017
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13018
+ msg.setBiddingNumber(value);
13019
+ break;
13020
+ case 25:
13021
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13022
+ msg.setBiddingCreatedDate(value);
13023
+ break;
13024
+ case 26:
13025
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13026
+ msg.setBiddingFullyApprovedDate(value);
13027
+ break;
13028
+ case 27:
13029
+ var value = /** @type {number} */ (reader.readInt64());
13030
+ msg.setBiddingAging(value);
13031
+ break;
13032
+ case 28:
13033
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13034
+ msg.setPoCreatedDate(value);
13035
+ break;
13036
+ case 29:
13037
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13038
+ msg.setPurchaseOrderNumber(value);
13039
+ break;
13040
+ case 30:
13041
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13042
+ msg.setPurchaseOrderTitle(value);
13043
+ break;
13044
+ case 31:
13045
+ var value = /** @type {number} */ (reader.readDouble());
13046
+ msg.setPurchaseOrderQuantity(value);
13047
+ break;
13048
+ case 32:
13049
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13050
+ msg.setPoUnitOfMeasure(value);
13051
+ break;
13052
+ case 33:
13053
+ var value = /** @type {number} */ (reader.readDouble());
13054
+ msg.setPurchaseOrderPrice(value);
13055
+ break;
13056
+ case 34:
13057
+ var value = /** @type {number} */ (reader.readDouble());
13058
+ msg.setPurchaseOrderTotalPrice(value);
13059
+ break;
13060
+ case 35:
13061
+ var value = /** @type {number} */ (reader.readDouble());
13062
+ msg.setTaxPercent(value);
13063
+ break;
13064
+ case 36:
13065
+ var value = /** @type {number} */ (reader.readDouble());
13066
+ msg.setDiscountPercent(value);
13067
+ break;
13068
+ case 37:
13069
+ var value = /** @type {number} */ (reader.readDouble());
13070
+ msg.setDiscountAmount(value);
13071
+ break;
13072
+ case 38:
13073
+ var value = /** @type {number} */ (reader.readDouble());
13074
+ msg.setSavingOverPrice(value);
13075
+ break;
13076
+ case 39:
13077
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13078
+ msg.setPoDeliveryDatePlan(value);
13079
+ break;
13080
+ case 40:
13081
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13082
+ msg.setPoApprovalDate(value);
13083
+ break;
13084
+ case 41:
13085
+ var value = /** @type {number} */ (reader.readInt64());
13086
+ msg.setPoAging(value);
13087
+ break;
13088
+ case 42:
13089
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13090
+ msg.setPoCreatedByEmployeeName(value);
13091
+ break;
13092
+ case 43:
13093
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13094
+ msg.setPoFullyApprovedDate(value);
13095
+ break;
13096
+ case 44:
13097
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13098
+ msg.setVendorName(value);
13099
+ break;
13100
+ case 45:
13101
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13102
+ msg.setSalesOrderNumber(value);
13103
+ break;
13104
+ case 46:
13105
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13106
+ msg.setSalesOrderDate(value);
13107
+ break;
13108
+ case 47:
13109
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13110
+ msg.setGoodsReceiptNumber(value);
13111
+ break;
13112
+ case 48:
13113
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13114
+ msg.setGoodsReceiptDate(value);
13115
+ break;
13116
+ case 49:
13117
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13118
+ msg.setGoodsReceiptCreatedByName(value);
13119
+ break;
13120
+ case 50:
13121
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13122
+ msg.setAssetNumber(value);
13123
+ break;
13124
+ case 51:
13125
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13126
+ msg.setInvoiceReceived(value);
13127
+ break;
13128
+ case 52:
13129
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
13130
+ msg.setPrCreatedByEmployeeName(value);
13131
+ break;
13132
+ default:
13133
+ reader.skipField();
13134
+ break;
13135
+ }
13136
+ }
13137
+ return msg;
13138
+ };
13139
+
13140
+
13141
+ /**
13142
+ * Serializes the message to binary data (in protobuf wire format).
13143
+ * @return {!Uint8Array}
13144
+ */
13145
+ proto.PurchaseOrderReport.prototype.serializeBinary = function() {
13146
+ var writer = new jspb.BinaryWriter();
13147
+ proto.PurchaseOrderReport.serializeBinaryToWriter(this, writer);
13148
+ return writer.getResultBuffer();
13149
+ };
13150
+
13151
+
13152
+ /**
13153
+ * Serializes the given message to binary data (in protobuf wire
13154
+ * format), writing to the given BinaryWriter.
13155
+ * @param {!proto.PurchaseOrderReport} message
13156
+ * @param {!jspb.BinaryWriter} writer
13157
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13158
+ */
13159
+ proto.PurchaseOrderReport.serializeBinaryToWriter = function(message, writer) {
13160
+ var f = undefined;
13161
+ f = message.getCompaniesReferencesId();
13162
+ if (f.length > 0) {
13163
+ writer.writeString(
13164
+ 1,
13165
+ f
13166
+ );
13167
+ }
13168
+ f = message.getIsExpired();
13169
+ if (f) {
13170
+ writer.writeBool(
13171
+ 2,
13172
+ f
13173
+ );
13174
+ }
13175
+ f = message.getStatus();
13176
+ if (f.length > 0) {
13177
+ writer.writeString(
13178
+ 3,
13179
+ f
13180
+ );
13181
+ }
13182
+ f = message.getPurchaseRequestNumber();
13183
+ if (f.length > 0) {
13184
+ writer.writeString(
13185
+ 4,
13186
+ f
13187
+ );
13188
+ }
13189
+ f = message.getPrPlantName();
13190
+ if (f.length > 0) {
13191
+ writer.writeString(
13192
+ 5,
13193
+ f
13194
+ );
13195
+ }
13196
+ f = message.getPrPlant();
13197
+ if (f.length > 0) {
13198
+ writer.writeString(
13199
+ 6,
13200
+ f
13201
+ );
13202
+ }
13203
+ f = message.getPurchaseRequestCreatedAt();
13204
+ if (f.length > 0) {
13205
+ writer.writeString(
13206
+ 7,
13207
+ f
13208
+ );
13209
+ }
13210
+ f = message.getPrDepartment();
13211
+ if (f.length > 0) {
13212
+ writer.writeString(
13213
+ 8,
13214
+ f
13215
+ );
13216
+ }
13217
+ f = message.getPrDepartmentName();
13218
+ if (f.length > 0) {
13219
+ writer.writeString(
13220
+ 9,
13221
+ f
13222
+ );
13223
+ }
13224
+ f = message.getPurchaseRequestApproverDate();
13225
+ if (f.length > 0) {
13226
+ writer.writeString(
13227
+ 10,
13228
+ f
13229
+ );
13230
+ }
13231
+ f = message.getPrRevisedDate();
13232
+ if (f.length > 0) {
13233
+ writer.writeString(
13234
+ 11,
13235
+ f
13236
+ );
13237
+ }
13238
+ f = message.getPurchaseRequestFullyApprovedAt();
13239
+ if (f.length > 0) {
13240
+ writer.writeString(
13241
+ 12,
13242
+ f
13243
+ );
13244
+ }
13245
+ f = message.getPrAging();
13246
+ if (f !== 0) {
13247
+ writer.writeInt64(
13248
+ 13,
13249
+ f
13250
+ );
13251
+ }
13252
+ f = message.getPrPurchasingOrg();
13253
+ if (f.length > 0) {
13254
+ writer.writeString(
13255
+ 14,
13256
+ f
13257
+ );
13258
+ }
13259
+ f = message.getPrPurchasingGroup();
13260
+ if (f.length > 0) {
13261
+ writer.writeString(
13262
+ 15,
13263
+ f
13264
+ );
13265
+ }
13266
+ f = message.getMaterialCode();
13267
+ if (f.length > 0) {
13268
+ writer.writeString(
13269
+ 16,
13270
+ f
13271
+ );
13272
+ }
13273
+ f = message.getMaterialDescription();
13274
+ if (f.length > 0) {
13275
+ writer.writeString(
13276
+ 17,
13277
+ f
13278
+ );
13279
+ }
13280
+ f = message.getMaterialDetailDescription();
13281
+ if (f.length > 0) {
13282
+ writer.writeString(
13283
+ 18,
13284
+ f
13285
+ );
13286
+ }
13287
+ f = message.getPurchaseRequestQuantity();
13288
+ if (f !== 0.0) {
13289
+ writer.writeDouble(
13290
+ 19,
13291
+ f
13292
+ );
13293
+ }
13294
+ f = message.getPrUnitOfMeasure();
13295
+ if (f.length > 0) {
13296
+ writer.writeString(
13297
+ 20,
13298
+ f
13299
+ );
13300
+ }
13301
+ f = message.getPrEstimatedUnitPrice();
13302
+ if (f !== 0.0) {
13303
+ writer.writeDouble(
13304
+ 21,
13305
+ f
13306
+ );
13307
+ }
13308
+ f = message.getPrItemTotalPrice();
13309
+ if (f !== 0.0) {
13310
+ writer.writeDouble(
13311
+ 22,
13312
+ f
13313
+ );
13314
+ }
13315
+ f = message.getPrItemDeliveryDate();
13316
+ if (f.length > 0) {
13317
+ writer.writeString(
13318
+ 23,
13319
+ f
13320
+ );
13321
+ }
13322
+ f = message.getBiddingNumber();
13323
+ if (f.length > 0) {
13324
+ writer.writeString(
13325
+ 24,
13326
+ f
13327
+ );
13328
+ }
13329
+ f = message.getBiddingCreatedDate();
13330
+ if (f.length > 0) {
13331
+ writer.writeString(
13332
+ 25,
13333
+ f
13334
+ );
13335
+ }
13336
+ f = message.getBiddingFullyApprovedDate();
13337
+ if (f.length > 0) {
13338
+ writer.writeString(
13339
+ 26,
13340
+ f
13341
+ );
13342
+ }
13343
+ f = message.getBiddingAging();
13344
+ if (f !== 0) {
13345
+ writer.writeInt64(
13346
+ 27,
13347
+ f
13348
+ );
13349
+ }
13350
+ f = message.getPoCreatedDate();
13351
+ if (f.length > 0) {
13352
+ writer.writeString(
13353
+ 28,
13354
+ f
13355
+ );
13356
+ }
13357
+ f = message.getPurchaseOrderNumber();
13358
+ if (f.length > 0) {
13359
+ writer.writeString(
13360
+ 29,
13361
+ f
13362
+ );
13363
+ }
13364
+ f = message.getPurchaseOrderTitle();
13365
+ if (f.length > 0) {
13366
+ writer.writeString(
13367
+ 30,
13368
+ f
13369
+ );
13370
+ }
13371
+ f = message.getPurchaseOrderQuantity();
13372
+ if (f !== 0.0) {
13373
+ writer.writeDouble(
13374
+ 31,
13375
+ f
13376
+ );
13377
+ }
13378
+ f = message.getPoUnitOfMeasure();
13379
+ if (f.length > 0) {
13380
+ writer.writeString(
13381
+ 32,
13382
+ f
13383
+ );
13384
+ }
13385
+ f = message.getPurchaseOrderPrice();
13386
+ if (f !== 0.0) {
13387
+ writer.writeDouble(
13388
+ 33,
13389
+ f
13390
+ );
13391
+ }
13392
+ f = message.getPurchaseOrderTotalPrice();
13393
+ if (f !== 0.0) {
13394
+ writer.writeDouble(
13395
+ 34,
13396
+ f
13397
+ );
13398
+ }
13399
+ f = message.getTaxPercent();
13400
+ if (f !== 0.0) {
13401
+ writer.writeDouble(
13402
+ 35,
13403
+ f
13404
+ );
13405
+ }
13406
+ f = message.getDiscountPercent();
13407
+ if (f !== 0.0) {
13408
+ writer.writeDouble(
13409
+ 36,
13410
+ f
13411
+ );
13412
+ }
13413
+ f = message.getDiscountAmount();
13414
+ if (f !== 0.0) {
13415
+ writer.writeDouble(
13416
+ 37,
13417
+ f
13418
+ );
13419
+ }
13420
+ f = message.getSavingOverPrice();
13421
+ if (f !== 0.0) {
13422
+ writer.writeDouble(
13423
+ 38,
13424
+ f
13425
+ );
13426
+ }
13427
+ f = message.getPoDeliveryDatePlan();
13428
+ if (f.length > 0) {
13429
+ writer.writeString(
13430
+ 39,
13431
+ f
13432
+ );
13433
+ }
13434
+ f = message.getPoApprovalDate();
13435
+ if (f.length > 0) {
13436
+ writer.writeString(
13437
+ 40,
13438
+ f
13439
+ );
13440
+ }
13441
+ f = message.getPoAging();
13442
+ if (f !== 0) {
13443
+ writer.writeInt64(
13444
+ 41,
13445
+ f
13446
+ );
13447
+ }
13448
+ f = message.getPoCreatedByEmployeeName();
13449
+ if (f.length > 0) {
13450
+ writer.writeString(
13451
+ 42,
13452
+ f
13453
+ );
13454
+ }
13455
+ f = message.getPoFullyApprovedDate();
13456
+ if (f.length > 0) {
13457
+ writer.writeString(
13458
+ 43,
13459
+ f
13460
+ );
13461
+ }
13462
+ f = message.getVendorName();
13463
+ if (f.length > 0) {
13464
+ writer.writeString(
13465
+ 44,
13466
+ f
13467
+ );
13468
+ }
13469
+ f = message.getSalesOrderNumber();
13470
+ if (f.length > 0) {
13471
+ writer.writeString(
13472
+ 45,
13473
+ f
13474
+ );
13475
+ }
13476
+ f = message.getSalesOrderDate();
13477
+ if (f.length > 0) {
13478
+ writer.writeString(
13479
+ 46,
13480
+ f
13481
+ );
13482
+ }
13483
+ f = message.getGoodsReceiptNumber();
13484
+ if (f.length > 0) {
13485
+ writer.writeString(
13486
+ 47,
13487
+ f
13488
+ );
13489
+ }
13490
+ f = message.getGoodsReceiptDate();
13491
+ if (f.length > 0) {
13492
+ writer.writeString(
13493
+ 48,
13494
+ f
13495
+ );
13496
+ }
13497
+ f = message.getGoodsReceiptCreatedByName();
13498
+ if (f.length > 0) {
13499
+ writer.writeString(
13500
+ 49,
13501
+ f
13502
+ );
13503
+ }
13504
+ f = message.getAssetNumber();
13505
+ if (f.length > 0) {
13506
+ writer.writeString(
13507
+ 50,
13508
+ f
13509
+ );
13510
+ }
13511
+ f = message.getInvoiceReceived();
13512
+ if (f.length > 0) {
13513
+ writer.writeString(
13514
+ 51,
13515
+ f
13516
+ );
13517
+ }
13518
+ f = message.getPrCreatedByEmployeeName();
13519
+ if (f.length > 0) {
13520
+ writer.writeString(
13521
+ 52,
13522
+ f
13523
+ );
13524
+ }
13525
+ };
13526
+
13527
+
13528
+ /**
13529
+ * optional string companies_references_id = 1;
13530
+ * @return {string}
13531
+ */
13532
+ proto.PurchaseOrderReport.prototype.getCompaniesReferencesId = function() {
13533
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
13534
+ };
13535
+
13536
+
13537
+ /**
13538
+ * @param {string} value
13539
+ * @return {!proto.PurchaseOrderReport} returns this
13540
+ */
13541
+ proto.PurchaseOrderReport.prototype.setCompaniesReferencesId = function(value) {
13542
+ return jspb.Message.setProto3StringField(this, 1, value);
13543
+ };
13544
+
13545
+
13546
+ /**
13547
+ * optional bool is_expired = 2;
13548
+ * @return {boolean}
13549
+ */
13550
+ proto.PurchaseOrderReport.prototype.getIsExpired = function() {
13551
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
13552
+ };
13553
+
13554
+
13555
+ /**
13556
+ * @param {boolean} value
13557
+ * @return {!proto.PurchaseOrderReport} returns this
13558
+ */
13559
+ proto.PurchaseOrderReport.prototype.setIsExpired = function(value) {
13560
+ return jspb.Message.setProto3BooleanField(this, 2, value);
13561
+ };
13562
+
13563
+
13564
+ /**
13565
+ * optional string status = 3;
13566
+ * @return {string}
13567
+ */
13568
+ proto.PurchaseOrderReport.prototype.getStatus = function() {
13569
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
13570
+ };
13571
+
13572
+
13573
+ /**
13574
+ * @param {string} value
13575
+ * @return {!proto.PurchaseOrderReport} returns this
13576
+ */
13577
+ proto.PurchaseOrderReport.prototype.setStatus = function(value) {
13578
+ return jspb.Message.setProto3StringField(this, 3, value);
13579
+ };
13580
+
13581
+
13582
+ /**
13583
+ * optional string purchase_request_number = 4;
13584
+ * @return {string}
13585
+ */
13586
+ proto.PurchaseOrderReport.prototype.getPurchaseRequestNumber = function() {
13587
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
13588
+ };
13589
+
13590
+
13591
+ /**
13592
+ * @param {string} value
13593
+ * @return {!proto.PurchaseOrderReport} returns this
13594
+ */
13595
+ proto.PurchaseOrderReport.prototype.setPurchaseRequestNumber = function(value) {
13596
+ return jspb.Message.setProto3StringField(this, 4, value);
13597
+ };
13598
+
13599
+
13600
+ /**
13601
+ * optional string pr_plant_name = 5;
13602
+ * @return {string}
13603
+ */
13604
+ proto.PurchaseOrderReport.prototype.getPrPlantName = function() {
13605
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
13606
+ };
13607
+
13608
+
13609
+ /**
13610
+ * @param {string} value
13611
+ * @return {!proto.PurchaseOrderReport} returns this
13612
+ */
13613
+ proto.PurchaseOrderReport.prototype.setPrPlantName = function(value) {
13614
+ return jspb.Message.setProto3StringField(this, 5, value);
13615
+ };
13616
+
13617
+
13618
+ /**
13619
+ * optional string pr_plant = 6;
13620
+ * @return {string}
13621
+ */
13622
+ proto.PurchaseOrderReport.prototype.getPrPlant = function() {
13623
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
13624
+ };
13625
+
13626
+
13627
+ /**
13628
+ * @param {string} value
13629
+ * @return {!proto.PurchaseOrderReport} returns this
13630
+ */
13631
+ proto.PurchaseOrderReport.prototype.setPrPlant = function(value) {
13632
+ return jspb.Message.setProto3StringField(this, 6, value);
13633
+ };
13634
+
13635
+
13636
+ /**
13637
+ * optional string purchase_request_created_at = 7;
13638
+ * @return {string}
13639
+ */
13640
+ proto.PurchaseOrderReport.prototype.getPurchaseRequestCreatedAt = function() {
13641
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
13642
+ };
13643
+
13644
+
13645
+ /**
13646
+ * @param {string} value
13647
+ * @return {!proto.PurchaseOrderReport} returns this
13648
+ */
13649
+ proto.PurchaseOrderReport.prototype.setPurchaseRequestCreatedAt = function(value) {
13650
+ return jspb.Message.setProto3StringField(this, 7, value);
13651
+ };
13652
+
13653
+
13654
+ /**
13655
+ * optional string pr_department = 8;
13656
+ * @return {string}
13657
+ */
13658
+ proto.PurchaseOrderReport.prototype.getPrDepartment = function() {
13659
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
13660
+ };
13661
+
13662
+
13663
+ /**
13664
+ * @param {string} value
13665
+ * @return {!proto.PurchaseOrderReport} returns this
13666
+ */
13667
+ proto.PurchaseOrderReport.prototype.setPrDepartment = function(value) {
13668
+ return jspb.Message.setProto3StringField(this, 8, value);
13669
+ };
13670
+
13671
+
13672
+ /**
13673
+ * optional string pr_department_name = 9;
13674
+ * @return {string}
13675
+ */
13676
+ proto.PurchaseOrderReport.prototype.getPrDepartmentName = function() {
13677
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
13678
+ };
13679
+
13680
+
13681
+ /**
13682
+ * @param {string} value
13683
+ * @return {!proto.PurchaseOrderReport} returns this
13684
+ */
13685
+ proto.PurchaseOrderReport.prototype.setPrDepartmentName = function(value) {
13686
+ return jspb.Message.setProto3StringField(this, 9, value);
13687
+ };
13688
+
13689
+
13690
+ /**
13691
+ * optional string purchase_request_approver_date = 10;
13692
+ * @return {string}
13693
+ */
13694
+ proto.PurchaseOrderReport.prototype.getPurchaseRequestApproverDate = function() {
13695
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
13696
+ };
13697
+
13698
+
13699
+ /**
13700
+ * @param {string} value
13701
+ * @return {!proto.PurchaseOrderReport} returns this
13702
+ */
13703
+ proto.PurchaseOrderReport.prototype.setPurchaseRequestApproverDate = function(value) {
13704
+ return jspb.Message.setProto3StringField(this, 10, value);
13705
+ };
13706
+
13707
+
13708
+ /**
13709
+ * optional string pr_revised_date = 11;
13710
+ * @return {string}
13711
+ */
13712
+ proto.PurchaseOrderReport.prototype.getPrRevisedDate = function() {
13713
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
13714
+ };
13715
+
13716
+
13717
+ /**
13718
+ * @param {string} value
13719
+ * @return {!proto.PurchaseOrderReport} returns this
13720
+ */
13721
+ proto.PurchaseOrderReport.prototype.setPrRevisedDate = function(value) {
13722
+ return jspb.Message.setProto3StringField(this, 11, value);
13723
+ };
13724
+
13725
+
13726
+ /**
13727
+ * optional string purchase_request_fully_approved_at = 12;
13728
+ * @return {string}
13729
+ */
13730
+ proto.PurchaseOrderReport.prototype.getPurchaseRequestFullyApprovedAt = function() {
13731
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
13732
+ };
13733
+
13734
+
13735
+ /**
13736
+ * @param {string} value
13737
+ * @return {!proto.PurchaseOrderReport} returns this
13738
+ */
13739
+ proto.PurchaseOrderReport.prototype.setPurchaseRequestFullyApprovedAt = function(value) {
13740
+ return jspb.Message.setProto3StringField(this, 12, value);
13741
+ };
13742
+
13743
+
13744
+ /**
13745
+ * optional int64 pr_aging = 13;
13746
+ * @return {number}
13747
+ */
13748
+ proto.PurchaseOrderReport.prototype.getPrAging = function() {
13749
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 13, 0));
13750
+ };
13751
+
13752
+
13753
+ /**
13754
+ * @param {number} value
13755
+ * @return {!proto.PurchaseOrderReport} returns this
13756
+ */
13757
+ proto.PurchaseOrderReport.prototype.setPrAging = function(value) {
13758
+ return jspb.Message.setProto3IntField(this, 13, value);
13759
+ };
13760
+
13761
+
13762
+ /**
13763
+ * optional string pr_purchasing_org = 14;
13764
+ * @return {string}
13765
+ */
13766
+ proto.PurchaseOrderReport.prototype.getPrPurchasingOrg = function() {
13767
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
13768
+ };
13769
+
13770
+
13771
+ /**
13772
+ * @param {string} value
13773
+ * @return {!proto.PurchaseOrderReport} returns this
13774
+ */
13775
+ proto.PurchaseOrderReport.prototype.setPrPurchasingOrg = function(value) {
13776
+ return jspb.Message.setProto3StringField(this, 14, value);
13777
+ };
13778
+
13779
+
13780
+ /**
13781
+ * optional string pr_purchasing_group = 15;
13782
+ * @return {string}
13783
+ */
13784
+ proto.PurchaseOrderReport.prototype.getPrPurchasingGroup = function() {
13785
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
13786
+ };
13787
+
13788
+
13789
+ /**
13790
+ * @param {string} value
13791
+ * @return {!proto.PurchaseOrderReport} returns this
13792
+ */
13793
+ proto.PurchaseOrderReport.prototype.setPrPurchasingGroup = function(value) {
13794
+ return jspb.Message.setProto3StringField(this, 15, value);
13795
+ };
13796
+
13797
+
13798
+ /**
13799
+ * optional string material_code = 16;
13800
+ * @return {string}
13801
+ */
13802
+ proto.PurchaseOrderReport.prototype.getMaterialCode = function() {
13803
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
13804
+ };
13805
+
13806
+
13807
+ /**
13808
+ * @param {string} value
13809
+ * @return {!proto.PurchaseOrderReport} returns this
13810
+ */
13811
+ proto.PurchaseOrderReport.prototype.setMaterialCode = function(value) {
13812
+ return jspb.Message.setProto3StringField(this, 16, value);
13813
+ };
13814
+
13815
+
13816
+ /**
13817
+ * optional string material_description = 17;
13818
+ * @return {string}
13819
+ */
13820
+ proto.PurchaseOrderReport.prototype.getMaterialDescription = function() {
13821
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
13822
+ };
13823
+
13824
+
13825
+ /**
13826
+ * @param {string} value
13827
+ * @return {!proto.PurchaseOrderReport} returns this
13828
+ */
13829
+ proto.PurchaseOrderReport.prototype.setMaterialDescription = function(value) {
13830
+ return jspb.Message.setProto3StringField(this, 17, value);
13831
+ };
13832
+
13833
+
13834
+ /**
13835
+ * optional string material_detail_description = 18;
13836
+ * @return {string}
13837
+ */
13838
+ proto.PurchaseOrderReport.prototype.getMaterialDetailDescription = function() {
13839
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
13840
+ };
13841
+
13842
+
13843
+ /**
13844
+ * @param {string} value
13845
+ * @return {!proto.PurchaseOrderReport} returns this
13846
+ */
13847
+ proto.PurchaseOrderReport.prototype.setMaterialDetailDescription = function(value) {
13848
+ return jspb.Message.setProto3StringField(this, 18, value);
13849
+ };
13850
+
13851
+
13852
+ /**
13853
+ * optional double purchase_request_quantity = 19;
13854
+ * @return {number}
13855
+ */
13856
+ proto.PurchaseOrderReport.prototype.getPurchaseRequestQuantity = function() {
13857
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 19, 0.0));
13858
+ };
13859
+
13860
+
13861
+ /**
13862
+ * @param {number} value
13863
+ * @return {!proto.PurchaseOrderReport} returns this
13864
+ */
13865
+ proto.PurchaseOrderReport.prototype.setPurchaseRequestQuantity = function(value) {
13866
+ return jspb.Message.setProto3FloatField(this, 19, value);
13867
+ };
13868
+
13869
+
13870
+ /**
13871
+ * optional string pr_unit_of_measure = 20;
13872
+ * @return {string}
13873
+ */
13874
+ proto.PurchaseOrderReport.prototype.getPrUnitOfMeasure = function() {
13875
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
13876
+ };
13877
+
13878
+
13879
+ /**
13880
+ * @param {string} value
13881
+ * @return {!proto.PurchaseOrderReport} returns this
13882
+ */
13883
+ proto.PurchaseOrderReport.prototype.setPrUnitOfMeasure = function(value) {
13884
+ return jspb.Message.setProto3StringField(this, 20, value);
13885
+ };
13886
+
13887
+
13888
+ /**
13889
+ * optional double pr_estimated_unit_price = 21;
13890
+ * @return {number}
13891
+ */
13892
+ proto.PurchaseOrderReport.prototype.getPrEstimatedUnitPrice = function() {
13893
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 21, 0.0));
13894
+ };
13895
+
13896
+
13897
+ /**
13898
+ * @param {number} value
13899
+ * @return {!proto.PurchaseOrderReport} returns this
13900
+ */
13901
+ proto.PurchaseOrderReport.prototype.setPrEstimatedUnitPrice = function(value) {
13902
+ return jspb.Message.setProto3FloatField(this, 21, value);
13903
+ };
13904
+
13905
+
13906
+ /**
13907
+ * optional double pr_item_total_price = 22;
13908
+ * @return {number}
13909
+ */
13910
+ proto.PurchaseOrderReport.prototype.getPrItemTotalPrice = function() {
13911
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 22, 0.0));
13912
+ };
13913
+
13914
+
13915
+ /**
13916
+ * @param {number} value
13917
+ * @return {!proto.PurchaseOrderReport} returns this
13918
+ */
13919
+ proto.PurchaseOrderReport.prototype.setPrItemTotalPrice = function(value) {
13920
+ return jspb.Message.setProto3FloatField(this, 22, value);
13921
+ };
13922
+
13923
+
13924
+ /**
13925
+ * optional string pr_item_delivery_date = 23;
13926
+ * @return {string}
13927
+ */
13928
+ proto.PurchaseOrderReport.prototype.getPrItemDeliveryDate = function() {
13929
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
13930
+ };
13931
+
13932
+
13933
+ /**
13934
+ * @param {string} value
13935
+ * @return {!proto.PurchaseOrderReport} returns this
13936
+ */
13937
+ proto.PurchaseOrderReport.prototype.setPrItemDeliveryDate = function(value) {
13938
+ return jspb.Message.setProto3StringField(this, 23, value);
13939
+ };
13940
+
13941
+
13942
+ /**
13943
+ * optional string bidding_number = 24;
13944
+ * @return {string}
13945
+ */
13946
+ proto.PurchaseOrderReport.prototype.getBiddingNumber = function() {
13947
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
13948
+ };
13949
+
13950
+
13951
+ /**
13952
+ * @param {string} value
13953
+ * @return {!proto.PurchaseOrderReport} returns this
13954
+ */
13955
+ proto.PurchaseOrderReport.prototype.setBiddingNumber = function(value) {
13956
+ return jspb.Message.setProto3StringField(this, 24, value);
13957
+ };
13958
+
13959
+
13960
+ /**
13961
+ * optional string bidding_created_date = 25;
13962
+ * @return {string}
13963
+ */
13964
+ proto.PurchaseOrderReport.prototype.getBiddingCreatedDate = function() {
13965
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
13966
+ };
13967
+
13968
+
13969
+ /**
13970
+ * @param {string} value
13971
+ * @return {!proto.PurchaseOrderReport} returns this
13972
+ */
13973
+ proto.PurchaseOrderReport.prototype.setBiddingCreatedDate = function(value) {
13974
+ return jspb.Message.setProto3StringField(this, 25, value);
13975
+ };
13976
+
13977
+
13978
+ /**
13979
+ * optional string bidding_fully_approved_date = 26;
13980
+ * @return {string}
13981
+ */
13982
+ proto.PurchaseOrderReport.prototype.getBiddingFullyApprovedDate = function() {
13983
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
13984
+ };
13985
+
13986
+
13987
+ /**
13988
+ * @param {string} value
13989
+ * @return {!proto.PurchaseOrderReport} returns this
13990
+ */
13991
+ proto.PurchaseOrderReport.prototype.setBiddingFullyApprovedDate = function(value) {
13992
+ return jspb.Message.setProto3StringField(this, 26, value);
13993
+ };
13994
+
13995
+
13996
+ /**
13997
+ * optional int64 bidding_aging = 27;
13998
+ * @return {number}
13999
+ */
14000
+ proto.PurchaseOrderReport.prototype.getBiddingAging = function() {
14001
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 27, 0));
14002
+ };
14003
+
14004
+
14005
+ /**
14006
+ * @param {number} value
14007
+ * @return {!proto.PurchaseOrderReport} returns this
14008
+ */
14009
+ proto.PurchaseOrderReport.prototype.setBiddingAging = function(value) {
14010
+ return jspb.Message.setProto3IntField(this, 27, value);
14011
+ };
14012
+
14013
+
14014
+ /**
14015
+ * optional string po_created_date = 28;
14016
+ * @return {string}
14017
+ */
14018
+ proto.PurchaseOrderReport.prototype.getPoCreatedDate = function() {
14019
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
14020
+ };
14021
+
14022
+
14023
+ /**
14024
+ * @param {string} value
14025
+ * @return {!proto.PurchaseOrderReport} returns this
14026
+ */
14027
+ proto.PurchaseOrderReport.prototype.setPoCreatedDate = function(value) {
14028
+ return jspb.Message.setProto3StringField(this, 28, value);
14029
+ };
14030
+
14031
+
14032
+ /**
14033
+ * optional string purchase_order_number = 29;
14034
+ * @return {string}
14035
+ */
14036
+ proto.PurchaseOrderReport.prototype.getPurchaseOrderNumber = function() {
14037
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 29, ""));
14038
+ };
14039
+
14040
+
14041
+ /**
14042
+ * @param {string} value
14043
+ * @return {!proto.PurchaseOrderReport} returns this
14044
+ */
14045
+ proto.PurchaseOrderReport.prototype.setPurchaseOrderNumber = function(value) {
14046
+ return jspb.Message.setProto3StringField(this, 29, value);
14047
+ };
14048
+
14049
+
14050
+ /**
14051
+ * optional string purchase_order_title = 30;
14052
+ * @return {string}
14053
+ */
14054
+ proto.PurchaseOrderReport.prototype.getPurchaseOrderTitle = function() {
14055
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 30, ""));
14056
+ };
14057
+
14058
+
14059
+ /**
14060
+ * @param {string} value
14061
+ * @return {!proto.PurchaseOrderReport} returns this
14062
+ */
14063
+ proto.PurchaseOrderReport.prototype.setPurchaseOrderTitle = function(value) {
14064
+ return jspb.Message.setProto3StringField(this, 30, value);
14065
+ };
14066
+
14067
+
14068
+ /**
14069
+ * optional double purchase_order_quantity = 31;
14070
+ * @return {number}
14071
+ */
14072
+ proto.PurchaseOrderReport.prototype.getPurchaseOrderQuantity = function() {
14073
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 31, 0.0));
14074
+ };
14075
+
14076
+
14077
+ /**
14078
+ * @param {number} value
14079
+ * @return {!proto.PurchaseOrderReport} returns this
14080
+ */
14081
+ proto.PurchaseOrderReport.prototype.setPurchaseOrderQuantity = function(value) {
14082
+ return jspb.Message.setProto3FloatField(this, 31, value);
14083
+ };
14084
+
14085
+
14086
+ /**
14087
+ * optional string po_unit_of_measure = 32;
14088
+ * @return {string}
14089
+ */
14090
+ proto.PurchaseOrderReport.prototype.getPoUnitOfMeasure = function() {
14091
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 32, ""));
14092
+ };
14093
+
14094
+
14095
+ /**
14096
+ * @param {string} value
14097
+ * @return {!proto.PurchaseOrderReport} returns this
14098
+ */
14099
+ proto.PurchaseOrderReport.prototype.setPoUnitOfMeasure = function(value) {
14100
+ return jspb.Message.setProto3StringField(this, 32, value);
14101
+ };
14102
+
14103
+
14104
+ /**
14105
+ * optional double purchase_order_price = 33;
14106
+ * @return {number}
14107
+ */
14108
+ proto.PurchaseOrderReport.prototype.getPurchaseOrderPrice = function() {
14109
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 33, 0.0));
14110
+ };
14111
+
14112
+
14113
+ /**
14114
+ * @param {number} value
14115
+ * @return {!proto.PurchaseOrderReport} returns this
14116
+ */
14117
+ proto.PurchaseOrderReport.prototype.setPurchaseOrderPrice = function(value) {
14118
+ return jspb.Message.setProto3FloatField(this, 33, value);
14119
+ };
14120
+
14121
+
14122
+ /**
14123
+ * optional double purchase_order_total_price = 34;
14124
+ * @return {number}
14125
+ */
14126
+ proto.PurchaseOrderReport.prototype.getPurchaseOrderTotalPrice = function() {
14127
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 34, 0.0));
14128
+ };
14129
+
14130
+
14131
+ /**
14132
+ * @param {number} value
14133
+ * @return {!proto.PurchaseOrderReport} returns this
14134
+ */
14135
+ proto.PurchaseOrderReport.prototype.setPurchaseOrderTotalPrice = function(value) {
14136
+ return jspb.Message.setProto3FloatField(this, 34, value);
14137
+ };
14138
+
14139
+
14140
+ /**
14141
+ * optional double tax_percent = 35;
14142
+ * @return {number}
14143
+ */
14144
+ proto.PurchaseOrderReport.prototype.getTaxPercent = function() {
14145
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 35, 0.0));
14146
+ };
14147
+
14148
+
14149
+ /**
14150
+ * @param {number} value
14151
+ * @return {!proto.PurchaseOrderReport} returns this
14152
+ */
14153
+ proto.PurchaseOrderReport.prototype.setTaxPercent = function(value) {
14154
+ return jspb.Message.setProto3FloatField(this, 35, value);
14155
+ };
14156
+
14157
+
14158
+ /**
14159
+ * optional double discount_percent = 36;
14160
+ * @return {number}
14161
+ */
14162
+ proto.PurchaseOrderReport.prototype.getDiscountPercent = function() {
14163
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 36, 0.0));
14164
+ };
14165
+
14166
+
14167
+ /**
14168
+ * @param {number} value
14169
+ * @return {!proto.PurchaseOrderReport} returns this
14170
+ */
14171
+ proto.PurchaseOrderReport.prototype.setDiscountPercent = function(value) {
14172
+ return jspb.Message.setProto3FloatField(this, 36, value);
14173
+ };
14174
+
14175
+
14176
+ /**
14177
+ * optional double discount_amount = 37;
14178
+ * @return {number}
14179
+ */
14180
+ proto.PurchaseOrderReport.prototype.getDiscountAmount = function() {
14181
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 37, 0.0));
14182
+ };
14183
+
14184
+
14185
+ /**
14186
+ * @param {number} value
14187
+ * @return {!proto.PurchaseOrderReport} returns this
14188
+ */
14189
+ proto.PurchaseOrderReport.prototype.setDiscountAmount = function(value) {
14190
+ return jspb.Message.setProto3FloatField(this, 37, value);
14191
+ };
14192
+
14193
+
14194
+ /**
14195
+ * optional double saving_over_price = 38;
14196
+ * @return {number}
14197
+ */
14198
+ proto.PurchaseOrderReport.prototype.getSavingOverPrice = function() {
14199
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 38, 0.0));
14200
+ };
14201
+
14202
+
14203
+ /**
14204
+ * @param {number} value
14205
+ * @return {!proto.PurchaseOrderReport} returns this
14206
+ */
14207
+ proto.PurchaseOrderReport.prototype.setSavingOverPrice = function(value) {
14208
+ return jspb.Message.setProto3FloatField(this, 38, value);
14209
+ };
14210
+
14211
+
14212
+ /**
14213
+ * optional string po_delivery_date_plan = 39;
14214
+ * @return {string}
14215
+ */
14216
+ proto.PurchaseOrderReport.prototype.getPoDeliveryDatePlan = function() {
14217
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 39, ""));
14218
+ };
14219
+
14220
+
14221
+ /**
14222
+ * @param {string} value
14223
+ * @return {!proto.PurchaseOrderReport} returns this
14224
+ */
14225
+ proto.PurchaseOrderReport.prototype.setPoDeliveryDatePlan = function(value) {
14226
+ return jspb.Message.setProto3StringField(this, 39, value);
14227
+ };
14228
+
14229
+
14230
+ /**
14231
+ * optional string po_approval_date = 40;
14232
+ * @return {string}
14233
+ */
14234
+ proto.PurchaseOrderReport.prototype.getPoApprovalDate = function() {
14235
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 40, ""));
14236
+ };
14237
+
14238
+
14239
+ /**
14240
+ * @param {string} value
14241
+ * @return {!proto.PurchaseOrderReport} returns this
14242
+ */
14243
+ proto.PurchaseOrderReport.prototype.setPoApprovalDate = function(value) {
14244
+ return jspb.Message.setProto3StringField(this, 40, value);
14245
+ };
14246
+
14247
+
14248
+ /**
14249
+ * optional int64 po_aging = 41;
14250
+ * @return {number}
14251
+ */
14252
+ proto.PurchaseOrderReport.prototype.getPoAging = function() {
14253
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 41, 0));
14254
+ };
14255
+
14256
+
14257
+ /**
14258
+ * @param {number} value
14259
+ * @return {!proto.PurchaseOrderReport} returns this
14260
+ */
14261
+ proto.PurchaseOrderReport.prototype.setPoAging = function(value) {
14262
+ return jspb.Message.setProto3IntField(this, 41, value);
14263
+ };
14264
+
14265
+
14266
+ /**
14267
+ * optional string po_created_by_employee_name = 42;
14268
+ * @return {string}
14269
+ */
14270
+ proto.PurchaseOrderReport.prototype.getPoCreatedByEmployeeName = function() {
14271
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 42, ""));
14272
+ };
14273
+
14274
+
14275
+ /**
14276
+ * @param {string} value
14277
+ * @return {!proto.PurchaseOrderReport} returns this
14278
+ */
14279
+ proto.PurchaseOrderReport.prototype.setPoCreatedByEmployeeName = function(value) {
14280
+ return jspb.Message.setProto3StringField(this, 42, value);
14281
+ };
14282
+
14283
+
14284
+ /**
14285
+ * optional string po_fully_approved_date = 43;
14286
+ * @return {string}
14287
+ */
14288
+ proto.PurchaseOrderReport.prototype.getPoFullyApprovedDate = function() {
14289
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 43, ""));
14290
+ };
14291
+
14292
+
14293
+ /**
14294
+ * @param {string} value
14295
+ * @return {!proto.PurchaseOrderReport} returns this
14296
+ */
14297
+ proto.PurchaseOrderReport.prototype.setPoFullyApprovedDate = function(value) {
14298
+ return jspb.Message.setProto3StringField(this, 43, value);
14299
+ };
14300
+
14301
+
14302
+ /**
14303
+ * optional string vendor_name = 44;
14304
+ * @return {string}
14305
+ */
14306
+ proto.PurchaseOrderReport.prototype.getVendorName = function() {
14307
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 44, ""));
14308
+ };
14309
+
14310
+
14311
+ /**
14312
+ * @param {string} value
14313
+ * @return {!proto.PurchaseOrderReport} returns this
14314
+ */
14315
+ proto.PurchaseOrderReport.prototype.setVendorName = function(value) {
14316
+ return jspb.Message.setProto3StringField(this, 44, value);
14317
+ };
14318
+
14319
+
14320
+ /**
14321
+ * optional string sales_order_number = 45;
14322
+ * @return {string}
14323
+ */
14324
+ proto.PurchaseOrderReport.prototype.getSalesOrderNumber = function() {
14325
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 45, ""));
14326
+ };
14327
+
14328
+
14329
+ /**
14330
+ * @param {string} value
14331
+ * @return {!proto.PurchaseOrderReport} returns this
14332
+ */
14333
+ proto.PurchaseOrderReport.prototype.setSalesOrderNumber = function(value) {
14334
+ return jspb.Message.setProto3StringField(this, 45, value);
14335
+ };
14336
+
14337
+
14338
+ /**
14339
+ * optional string sales_order_date = 46;
14340
+ * @return {string}
14341
+ */
14342
+ proto.PurchaseOrderReport.prototype.getSalesOrderDate = function() {
14343
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 46, ""));
14344
+ };
14345
+
14346
+
14347
+ /**
14348
+ * @param {string} value
14349
+ * @return {!proto.PurchaseOrderReport} returns this
14350
+ */
14351
+ proto.PurchaseOrderReport.prototype.setSalesOrderDate = function(value) {
14352
+ return jspb.Message.setProto3StringField(this, 46, value);
14353
+ };
14354
+
14355
+
14356
+ /**
14357
+ * optional string goods_receipt_number = 47;
14358
+ * @return {string}
14359
+ */
14360
+ proto.PurchaseOrderReport.prototype.getGoodsReceiptNumber = function() {
14361
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 47, ""));
14362
+ };
14363
+
14364
+
14365
+ /**
14366
+ * @param {string} value
14367
+ * @return {!proto.PurchaseOrderReport} returns this
14368
+ */
14369
+ proto.PurchaseOrderReport.prototype.setGoodsReceiptNumber = function(value) {
14370
+ return jspb.Message.setProto3StringField(this, 47, value);
14371
+ };
14372
+
14373
+
14374
+ /**
14375
+ * optional string goods_receipt_date = 48;
14376
+ * @return {string}
14377
+ */
14378
+ proto.PurchaseOrderReport.prototype.getGoodsReceiptDate = function() {
14379
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 48, ""));
14380
+ };
14381
+
14382
+
14383
+ /**
14384
+ * @param {string} value
14385
+ * @return {!proto.PurchaseOrderReport} returns this
14386
+ */
14387
+ proto.PurchaseOrderReport.prototype.setGoodsReceiptDate = function(value) {
14388
+ return jspb.Message.setProto3StringField(this, 48, value);
14389
+ };
14390
+
14391
+
14392
+ /**
14393
+ * optional string goods_receipt_created_by_name = 49;
14394
+ * @return {string}
14395
+ */
14396
+ proto.PurchaseOrderReport.prototype.getGoodsReceiptCreatedByName = function() {
14397
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 49, ""));
14398
+ };
14399
+
14400
+
14401
+ /**
14402
+ * @param {string} value
14403
+ * @return {!proto.PurchaseOrderReport} returns this
14404
+ */
14405
+ proto.PurchaseOrderReport.prototype.setGoodsReceiptCreatedByName = function(value) {
14406
+ return jspb.Message.setProto3StringField(this, 49, value);
14407
+ };
14408
+
14409
+
14410
+ /**
14411
+ * optional string asset_number = 50;
14412
+ * @return {string}
14413
+ */
14414
+ proto.PurchaseOrderReport.prototype.getAssetNumber = function() {
14415
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 50, ""));
14416
+ };
14417
+
14418
+
14419
+ /**
14420
+ * @param {string} value
14421
+ * @return {!proto.PurchaseOrderReport} returns this
14422
+ */
14423
+ proto.PurchaseOrderReport.prototype.setAssetNumber = function(value) {
14424
+ return jspb.Message.setProto3StringField(this, 50, value);
14425
+ };
14426
+
14427
+
14428
+ /**
14429
+ * optional string invoice_received = 51;
14430
+ * @return {string}
14431
+ */
14432
+ proto.PurchaseOrderReport.prototype.getInvoiceReceived = function() {
14433
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 51, ""));
14434
+ };
14435
+
14436
+
14437
+ /**
14438
+ * @param {string} value
14439
+ * @return {!proto.PurchaseOrderReport} returns this
14440
+ */
14441
+ proto.PurchaseOrderReport.prototype.setInvoiceReceived = function(value) {
14442
+ return jspb.Message.setProto3StringField(this, 51, value);
14443
+ };
14444
+
14445
+
14446
+ /**
14447
+ * optional string pr_created_by_employee_name = 52;
14448
+ * @return {string}
14449
+ */
14450
+ proto.PurchaseOrderReport.prototype.getPrCreatedByEmployeeName = function() {
14451
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 52, ""));
14452
+ };
14453
+
14454
+
14455
+ /**
14456
+ * @param {string} value
14457
+ * @return {!proto.PurchaseOrderReport} returns this
14458
+ */
14459
+ proto.PurchaseOrderReport.prototype.setPrCreatedByEmployeeName = function(value) {
14460
+ return jspb.Message.setProto3StringField(this, 52, value);
14461
+ };
14462
+
14463
+
14464
+
14465
+ /**
14466
+ * List of repeated fields within this message type.
14467
+ * @private {!Array<number>}
14468
+ * @const
14469
+ */
14470
+ proto.GetPOReportListResponse.repeatedFields_ = [1];
14471
+
14472
+
14473
+
14474
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14475
+ /**
14476
+ * Creates an object representation of this proto.
14477
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14478
+ * Optional fields that are not set will be set to undefined.
14479
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14480
+ * For the list of reserved names please see:
14481
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
14482
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
14483
+ * JSPB instance for transitional soy proto support:
14484
+ * http://goto/soy-param-migration
14485
+ * @return {!Object}
14486
+ */
14487
+ proto.GetPOReportListResponse.prototype.toObject = function(opt_includeInstance) {
14488
+ return proto.GetPOReportListResponse.toObject(opt_includeInstance, this);
14489
+ };
14490
+
14491
+
14492
+ /**
14493
+ * Static version of the {@see toObject} method.
14494
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
14495
+ * the JSPB instance for transitional soy proto support:
14496
+ * http://goto/soy-param-migration
14497
+ * @param {!proto.GetPOReportListResponse} msg The msg instance to transform.
14498
+ * @return {!Object}
14499
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14500
+ */
14501
+ proto.GetPOReportListResponse.toObject = function(includeInstance, msg) {
14502
+ var f, obj = {
14503
+ purchaseOrderReportsList: jspb.Message.toObjectList(msg.getPurchaseOrderReportsList(),
14504
+ proto.PurchaseOrderReport.toObject, includeInstance),
14505
+ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
14506
+ };
14507
+
14508
+ if (includeInstance) {
14509
+ obj.$jspbMessageInstance = msg;
14510
+ }
14511
+ return obj;
14512
+ };
14513
+ }
14514
+
14515
+
14516
+ /**
14517
+ * Deserializes binary data (in protobuf wire format).
14518
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14519
+ * @return {!proto.GetPOReportListResponse}
14520
+ */
14521
+ proto.GetPOReportListResponse.deserializeBinary = function(bytes) {
14522
+ var reader = new jspb.BinaryReader(bytes);
14523
+ var msg = new proto.GetPOReportListResponse;
14524
+ return proto.GetPOReportListResponse.deserializeBinaryFromReader(msg, reader);
14525
+ };
14526
+
14527
+
14528
+ /**
14529
+ * Deserializes binary data (in protobuf wire format) from the
14530
+ * given reader into the given message object.
14531
+ * @param {!proto.GetPOReportListResponse} msg The message object to deserialize into.
14532
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14533
+ * @return {!proto.GetPOReportListResponse}
14534
+ */
14535
+ proto.GetPOReportListResponse.deserializeBinaryFromReader = function(msg, reader) {
14536
+ while (reader.nextField()) {
14537
+ if (reader.isEndGroup()) {
14538
+ break;
14539
+ }
14540
+ var field = reader.getFieldNumber();
14541
+ switch (field) {
14542
+ case 1:
14543
+ var value = new proto.PurchaseOrderReport;
14544
+ reader.readMessage(value,proto.PurchaseOrderReport.deserializeBinaryFromReader);
14545
+ msg.addPurchaseOrderReports(value);
14546
+ break;
14547
+ case 2:
14548
+ var value = new prisca_v1_global_meta_meta_pb.Meta;
14549
+ reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
14550
+ msg.setMeta(value);
14551
+ break;
14552
+ default:
14553
+ reader.skipField();
14554
+ break;
14555
+ }
14556
+ }
14557
+ return msg;
14558
+ };
14559
+
14560
+
14561
+ /**
14562
+ * Serializes the message to binary data (in protobuf wire format).
14563
+ * @return {!Uint8Array}
14564
+ */
14565
+ proto.GetPOReportListResponse.prototype.serializeBinary = function() {
14566
+ var writer = new jspb.BinaryWriter();
14567
+ proto.GetPOReportListResponse.serializeBinaryToWriter(this, writer);
14568
+ return writer.getResultBuffer();
14569
+ };
14570
+
14571
+
14572
+ /**
14573
+ * Serializes the given message to binary data (in protobuf wire
14574
+ * format), writing to the given BinaryWriter.
14575
+ * @param {!proto.GetPOReportListResponse} message
14576
+ * @param {!jspb.BinaryWriter} writer
14577
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14578
+ */
14579
+ proto.GetPOReportListResponse.serializeBinaryToWriter = function(message, writer) {
14580
+ var f = undefined;
14581
+ f = message.getPurchaseOrderReportsList();
14582
+ if (f.length > 0) {
14583
+ writer.writeRepeatedMessage(
14584
+ 1,
14585
+ f,
14586
+ proto.PurchaseOrderReport.serializeBinaryToWriter
14587
+ );
14588
+ }
14589
+ f = message.getMeta();
14590
+ if (f != null) {
14591
+ writer.writeMessage(
14592
+ 2,
14593
+ f,
14594
+ prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
14595
+ );
14596
+ }
14597
+ };
14598
+
14599
+
14600
+ /**
14601
+ * repeated PurchaseOrderReport purchase_order_reports = 1;
14602
+ * @return {!Array<!proto.PurchaseOrderReport>}
14603
+ */
14604
+ proto.GetPOReportListResponse.prototype.getPurchaseOrderReportsList = function() {
14605
+ return /** @type{!Array<!proto.PurchaseOrderReport>} */ (
14606
+ jspb.Message.getRepeatedWrapperField(this, proto.PurchaseOrderReport, 1));
14607
+ };
14608
+
14609
+
14610
+ /**
14611
+ * @param {!Array<!proto.PurchaseOrderReport>} value
14612
+ * @return {!proto.GetPOReportListResponse} returns this
14613
+ */
14614
+ proto.GetPOReportListResponse.prototype.setPurchaseOrderReportsList = function(value) {
14615
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
14616
+ };
14617
+
14618
+
14619
+ /**
14620
+ * @param {!proto.PurchaseOrderReport=} opt_value
14621
+ * @param {number=} opt_index
14622
+ * @return {!proto.PurchaseOrderReport}
14623
+ */
14624
+ proto.GetPOReportListResponse.prototype.addPurchaseOrderReports = function(opt_value, opt_index) {
14625
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.PurchaseOrderReport, opt_index);
14626
+ };
14627
+
14628
+
14629
+ /**
14630
+ * Clears the list making it empty but non-null.
14631
+ * @return {!proto.GetPOReportListResponse} returns this
14632
+ */
14633
+ proto.GetPOReportListResponse.prototype.clearPurchaseOrderReportsList = function() {
14634
+ return this.setPurchaseOrderReportsList([]);
14635
+ };
14636
+
14637
+
14638
+ /**
14639
+ * optional prisca.v1.global.meta.Meta meta = 2;
14640
+ * @return {?proto.prisca.v1.global.meta.Meta}
14641
+ */
14642
+ proto.GetPOReportListResponse.prototype.getMeta = function() {
14643
+ return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
14644
+ jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
14645
+ };
14646
+
14647
+
14648
+ /**
14649
+ * @param {?proto.prisca.v1.global.meta.Meta|undefined} value
14650
+ * @return {!proto.GetPOReportListResponse} returns this
14651
+ */
14652
+ proto.GetPOReportListResponse.prototype.setMeta = function(value) {
14653
+ return jspb.Message.setWrapperField(this, 2, value);
14654
+ };
14655
+
14656
+
14657
+ /**
14658
+ * Clears the message field making it undefined.
14659
+ * @return {!proto.GetPOReportListResponse} returns this
14660
+ */
14661
+ proto.GetPOReportListResponse.prototype.clearMeta = function() {
14662
+ return this.setMeta(undefined);
14663
+ };
14664
+
14665
+
14666
+ /**
14667
+ * Returns whether this field is set.
14668
+ * @return {boolean}
14669
+ */
14670
+ proto.GetPOReportListResponse.prototype.hasMeta = function() {
14671
+ return jspb.Message.getField(this, 2) != null;
14672
+ };
14673
+
14674
+
12190
14675
  goog.object.extend(exports, proto);