@aldiokta/protocgen 1.1.20 → 1.1.21

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.
@@ -31,10 +31,10 @@ var prisca_v1_core_item_transaction_item_transaction_pb = require('../../../pris
31
31
  goog.object.extend(proto, prisca_v1_core_item_transaction_item_transaction_pb);
32
32
  var prisca_v1_vendor_domain_vendor_domain_pb = require('../../../prisca/v1/vendor_domain/vendor_domain_pb.js');
33
33
  goog.object.extend(proto, prisca_v1_vendor_domain_vendor_domain_pb);
34
- var prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb = require('../../../prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js');
35
- goog.object.extend(proto, prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb);
36
34
  var prisca_v1_core_employee_employee_pb = require('../../../prisca/v1/core/employee/employee_pb.js');
37
35
  goog.object.extend(proto, prisca_v1_core_employee_employee_pb);
36
+ var prisca_v1_core_company_company_pb = require('../../../prisca/v1/core/company/company_pb.js');
37
+ goog.object.extend(proto, prisca_v1_core_company_company_pb);
38
38
  goog.exportSymbol('proto.BasePurchaseOrderRequest', null, global);
39
39
  goog.exportSymbol('proto.CreatePurchaseOrderRequest', null, global);
40
40
  goog.exportSymbol('proto.CreatePurchaseOrderResponse', null, global);
@@ -393,7 +393,7 @@ if (goog.DEBUG && !COMPILED) {
393
393
  * @private {!Array<number>}
394
394
  * @const
395
395
  */
396
- proto.PurchaseOrder.repeatedFields_ = [29,30];
396
+ proto.PurchaseOrder.repeatedFields_ = [28,29];
397
397
 
398
398
 
399
399
 
@@ -427,41 +427,41 @@ proto.PurchaseOrder.prototype.toObject = function(opt_includeInstance) {
427
427
  proto.PurchaseOrder.toObject = function(includeInstance, msg) {
428
428
  var f, obj = {
429
429
  id: jspb.Message.getFieldWithDefault(msg, 1, 0),
430
- purchaseRequestReferencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
431
- title: jspb.Message.getFieldWithDefault(msg, 3, ""),
432
- date: jspb.Message.getFieldWithDefault(msg, 4, ""),
433
- vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 5, ""),
434
- companyCode: jspb.Message.getFieldWithDefault(msg, 6, ""),
435
- purchasingOrganizations: jspb.Message.getFieldWithDefault(msg, 7, ""),
436
- purchasingGroups: jspb.Message.getFieldWithDefault(msg, 8, ""),
437
- termOfPayment: jspb.Message.getFieldWithDefault(msg, 9, ""),
438
- shippingAddress: jspb.Message.getFieldWithDefault(msg, 10, ""),
439
- termOfPaymentText: jspb.Message.getFieldWithDefault(msg, 11, ""),
440
- guaranteePeriod: jspb.Message.getFieldWithDefault(msg, 12, ""),
441
- retention: jspb.Message.getFieldWithDefault(msg, 13, ""),
442
- penalty: jspb.Message.getFieldWithDefault(msg, 14, ""),
443
- insurance: jspb.Message.getFieldWithDefault(msg, 15, ""),
444
- headerText: jspb.Message.getFieldWithDefault(msg, 16, ""),
445
- headerNote: jspb.Message.getFieldWithDefault(msg, 17, ""),
446
- emailCc: jspb.Message.getFieldWithDefault(msg, 18, ""),
447
- referencesId: jspb.Message.getFieldWithDefault(msg, 19, ""),
448
- status: jspb.Message.getFieldWithDefault(msg, 20, ""),
449
- createdAt: jspb.Message.getFieldWithDefault(msg, 21, ""),
450
- updatedAt: jspb.Message.getFieldWithDefault(msg, 22, ""),
451
- createdBy: jspb.Message.getFieldWithDefault(msg, 23, ""),
452
- updatedBy: jspb.Message.getFieldWithDefault(msg, 24, ""),
453
- fileIds: jspb.Message.getFieldWithDefault(msg, 25, ""),
454
- groupReferences: jspb.Message.getFieldWithDefault(msg, 26, ""),
455
- isExpired: jspb.Message.getBooleanFieldWithDefault(msg, 27, false),
456
- purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 28, ""),
430
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
431
+ date: jspb.Message.getFieldWithDefault(msg, 3, ""),
432
+ vendorReferencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
433
+ companyCode: jspb.Message.getFieldWithDefault(msg, 5, ""),
434
+ purchasingOrganizations: jspb.Message.getFieldWithDefault(msg, 6, ""),
435
+ purchasingGroups: jspb.Message.getFieldWithDefault(msg, 7, ""),
436
+ termOfPayment: jspb.Message.getFieldWithDefault(msg, 8, ""),
437
+ shippingAddress: jspb.Message.getFieldWithDefault(msg, 9, ""),
438
+ termOfPaymentText: jspb.Message.getFieldWithDefault(msg, 10, ""),
439
+ guaranteePeriod: jspb.Message.getFieldWithDefault(msg, 11, ""),
440
+ retention: jspb.Message.getFieldWithDefault(msg, 12, ""),
441
+ penalty: jspb.Message.getFieldWithDefault(msg, 13, ""),
442
+ insurance: jspb.Message.getFieldWithDefault(msg, 14, ""),
443
+ headerText: jspb.Message.getFieldWithDefault(msg, 15, ""),
444
+ headerNote: jspb.Message.getFieldWithDefault(msg, 16, ""),
445
+ emailCc: jspb.Message.getFieldWithDefault(msg, 17, ""),
446
+ referencesId: jspb.Message.getFieldWithDefault(msg, 18, ""),
447
+ status: jspb.Message.getFieldWithDefault(msg, 19, ""),
448
+ createdAt: jspb.Message.getFieldWithDefault(msg, 20, ""),
449
+ updatedAt: jspb.Message.getFieldWithDefault(msg, 21, ""),
450
+ createdBy: jspb.Message.getFieldWithDefault(msg, 22, ""),
451
+ updatedBy: jspb.Message.getFieldWithDefault(msg, 23, ""),
452
+ fileIds: jspb.Message.getFieldWithDefault(msg, 24, ""),
453
+ groupReferences: jspb.Message.getFieldWithDefault(msg, 25, ""),
454
+ isExpired: jspb.Message.getBooleanFieldWithDefault(msg, 26, false),
455
+ purchaseOrderNumber: jspb.Message.getFieldWithDefault(msg, 27, ""),
457
456
  filesList: jspb.Message.toObjectList(msg.getFilesList(),
458
457
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
459
458
  itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
460
459
  prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.toObject, includeInstance),
461
460
  vendor: (f = msg.getVendor()) && prisca_v1_vendor_domain_vendor_domain_pb.Vendor.toObject(includeInstance, f),
462
- purchaseRequisitionTransaction: (f = msg.getPurchaseRequisitionTransaction()) && prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.PurchaseRequisitionTrx.toObject(includeInstance, f),
463
461
  createdByEmployee: (f = msg.getCreatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
464
- updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f)
462
+ updatedByEmployee: (f = msg.getUpdatedByEmployee()) && prisca_v1_core_employee_employee_pb.Employee.toObject(includeInstance, f),
463
+ companiesReferencesId: jspb.Message.getFieldWithDefault(msg, 35, ""),
464
+ companies: (f = msg.getCompanies()) && prisca_v1_core_company_company_pb.BaseCompany.toObject(includeInstance, f)
465
465
  };
466
466
 
467
467
  if (includeInstance) {
@@ -503,143 +503,143 @@ proto.PurchaseOrder.deserializeBinaryFromReader = function(msg, reader) {
503
503
  msg.setId(value);
504
504
  break;
505
505
  case 2:
506
- var value = /** @type {string} */ (reader.readString());
507
- msg.setPurchaseRequestReferencesId(value);
508
- break;
509
- case 3:
510
506
  var value = /** @type {string} */ (reader.readString());
511
507
  msg.setTitle(value);
512
508
  break;
513
- case 4:
509
+ case 3:
514
510
  var value = /** @type {string} */ (reader.readString());
515
511
  msg.setDate(value);
516
512
  break;
517
- case 5:
513
+ case 4:
518
514
  var value = /** @type {string} */ (reader.readString());
519
515
  msg.setVendorReferencesId(value);
520
516
  break;
521
- case 6:
517
+ case 5:
522
518
  var value = /** @type {string} */ (reader.readString());
523
519
  msg.setCompanyCode(value);
524
520
  break;
525
- case 7:
521
+ case 6:
526
522
  var value = /** @type {string} */ (reader.readString());
527
523
  msg.setPurchasingOrganizations(value);
528
524
  break;
529
- case 8:
525
+ case 7:
530
526
  var value = /** @type {string} */ (reader.readString());
531
527
  msg.setPurchasingGroups(value);
532
528
  break;
533
- case 9:
529
+ case 8:
534
530
  var value = /** @type {string} */ (reader.readString());
535
531
  msg.setTermOfPayment(value);
536
532
  break;
537
- case 10:
533
+ case 9:
538
534
  var value = /** @type {string} */ (reader.readString());
539
535
  msg.setShippingAddress(value);
540
536
  break;
541
- case 11:
537
+ case 10:
542
538
  var value = /** @type {string} */ (reader.readString());
543
539
  msg.setTermOfPaymentText(value);
544
540
  break;
545
- case 12:
541
+ case 11:
546
542
  var value = /** @type {string} */ (reader.readString());
547
543
  msg.setGuaranteePeriod(value);
548
544
  break;
549
- case 13:
545
+ case 12:
550
546
  var value = /** @type {string} */ (reader.readString());
551
547
  msg.setRetention(value);
552
548
  break;
553
- case 14:
549
+ case 13:
554
550
  var value = /** @type {string} */ (reader.readString());
555
551
  msg.setPenalty(value);
556
552
  break;
557
- case 15:
553
+ case 14:
558
554
  var value = /** @type {string} */ (reader.readString());
559
555
  msg.setInsurance(value);
560
556
  break;
561
- case 16:
557
+ case 15:
562
558
  var value = /** @type {string} */ (reader.readString());
563
559
  msg.setHeaderText(value);
564
560
  break;
565
- case 17:
561
+ case 16:
566
562
  var value = /** @type {string} */ (reader.readString());
567
563
  msg.setHeaderNote(value);
568
564
  break;
569
- case 18:
565
+ case 17:
570
566
  var value = /** @type {string} */ (reader.readString());
571
567
  msg.setEmailCc(value);
572
568
  break;
573
- case 19:
569
+ case 18:
574
570
  var value = /** @type {string} */ (reader.readString());
575
571
  msg.setReferencesId(value);
576
572
  break;
577
- case 20:
573
+ case 19:
578
574
  var value = /** @type {string} */ (reader.readString());
579
575
  msg.setStatus(value);
580
576
  break;
581
- case 21:
577
+ case 20:
582
578
  var value = /** @type {string} */ (reader.readString());
583
579
  msg.setCreatedAt(value);
584
580
  break;
585
- case 22:
581
+ case 21:
586
582
  var value = /** @type {string} */ (reader.readString());
587
583
  msg.setUpdatedAt(value);
588
584
  break;
589
- case 23:
585
+ case 22:
590
586
  var value = /** @type {string} */ (reader.readString());
591
587
  msg.setCreatedBy(value);
592
588
  break;
593
- case 24:
589
+ case 23:
594
590
  var value = /** @type {string} */ (reader.readString());
595
591
  msg.setUpdatedBy(value);
596
592
  break;
597
- case 25:
593
+ case 24:
598
594
  var value = /** @type {string} */ (reader.readString());
599
595
  msg.setFileIds(value);
600
596
  break;
601
- case 26:
597
+ case 25:
602
598
  var value = /** @type {string} */ (reader.readString());
603
599
  msg.setGroupReferences(value);
604
600
  break;
605
- case 27:
601
+ case 26:
606
602
  var value = /** @type {boolean} */ (reader.readBool());
607
603
  msg.setIsExpired(value);
608
604
  break;
609
- case 28:
605
+ case 27:
610
606
  var value = /** @type {string} */ (reader.readString());
611
607
  msg.setPurchaseOrderNumber(value);
612
608
  break;
613
- case 29:
609
+ case 28:
614
610
  var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
615
611
  reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
616
612
  msg.addFiles(value);
617
613
  break;
618
- case 30:
614
+ case 29:
619
615
  var value = new prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction;
620
616
  reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.deserializeBinaryFromReader);
621
617
  msg.addItemTransactions(value);
622
618
  break;
623
- case 31:
619
+ case 30:
624
620
  var value = new prisca_v1_vendor_domain_vendor_domain_pb.Vendor;
625
621
  reader.readMessage(value,prisca_v1_vendor_domain_vendor_domain_pb.Vendor.deserializeBinaryFromReader);
626
622
  msg.setVendor(value);
627
623
  break;
628
- case 32:
629
- var value = new prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.PurchaseRequisitionTrx;
630
- reader.readMessage(value,prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.PurchaseRequisitionTrx.deserializeBinaryFromReader);
631
- msg.setPurchaseRequisitionTransaction(value);
632
- break;
633
- case 33:
624
+ case 31:
634
625
  var value = new prisca_v1_core_employee_employee_pb.Employee;
635
626
  reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
636
627
  msg.setCreatedByEmployee(value);
637
628
  break;
638
- case 34:
629
+ case 32:
639
630
  var value = new prisca_v1_core_employee_employee_pb.Employee;
640
631
  reader.readMessage(value,prisca_v1_core_employee_employee_pb.Employee.deserializeBinaryFromReader);
641
632
  msg.setUpdatedByEmployee(value);
642
633
  break;
634
+ case 35:
635
+ var value = /** @type {string} */ (reader.readString());
636
+ msg.setCompaniesReferencesId(value);
637
+ break;
638
+ case 34:
639
+ var value = new prisca_v1_core_company_company_pb.BaseCompany;
640
+ reader.readMessage(value,prisca_v1_core_company_company_pb.BaseCompany.deserializeBinaryFromReader);
641
+ msg.setCompanies(value);
642
+ break;
643
643
  default:
644
644
  reader.skipField();
645
645
  break;
@@ -676,199 +676,192 @@ proto.PurchaseOrder.serializeBinaryToWriter = function(message, writer) {
676
676
  f
677
677
  );
678
678
  }
679
- f = message.getPurchaseRequestReferencesId();
680
- if (f.length > 0) {
681
- writer.writeString(
682
- 2,
683
- f
684
- );
685
- }
686
679
  f = message.getTitle();
687
680
  if (f.length > 0) {
688
681
  writer.writeString(
689
- 3,
682
+ 2,
690
683
  f
691
684
  );
692
685
  }
693
686
  f = message.getDate();
694
687
  if (f.length > 0) {
695
688
  writer.writeString(
696
- 4,
689
+ 3,
697
690
  f
698
691
  );
699
692
  }
700
693
  f = message.getVendorReferencesId();
701
694
  if (f.length > 0) {
702
695
  writer.writeString(
703
- 5,
696
+ 4,
704
697
  f
705
698
  );
706
699
  }
707
700
  f = message.getCompanyCode();
708
701
  if (f.length > 0) {
709
702
  writer.writeString(
710
- 6,
703
+ 5,
711
704
  f
712
705
  );
713
706
  }
714
707
  f = message.getPurchasingOrganizations();
715
708
  if (f.length > 0) {
716
709
  writer.writeString(
717
- 7,
710
+ 6,
718
711
  f
719
712
  );
720
713
  }
721
714
  f = message.getPurchasingGroups();
722
715
  if (f.length > 0) {
723
716
  writer.writeString(
724
- 8,
717
+ 7,
725
718
  f
726
719
  );
727
720
  }
728
721
  f = message.getTermOfPayment();
729
722
  if (f.length > 0) {
730
723
  writer.writeString(
731
- 9,
724
+ 8,
732
725
  f
733
726
  );
734
727
  }
735
728
  f = message.getShippingAddress();
736
729
  if (f.length > 0) {
737
730
  writer.writeString(
738
- 10,
731
+ 9,
739
732
  f
740
733
  );
741
734
  }
742
735
  f = message.getTermOfPaymentText();
743
736
  if (f.length > 0) {
744
737
  writer.writeString(
745
- 11,
738
+ 10,
746
739
  f
747
740
  );
748
741
  }
749
742
  f = message.getGuaranteePeriod();
750
743
  if (f.length > 0) {
751
744
  writer.writeString(
752
- 12,
745
+ 11,
753
746
  f
754
747
  );
755
748
  }
756
749
  f = message.getRetention();
757
750
  if (f.length > 0) {
758
751
  writer.writeString(
759
- 13,
752
+ 12,
760
753
  f
761
754
  );
762
755
  }
763
756
  f = message.getPenalty();
764
757
  if (f.length > 0) {
765
758
  writer.writeString(
766
- 14,
759
+ 13,
767
760
  f
768
761
  );
769
762
  }
770
763
  f = message.getInsurance();
771
764
  if (f.length > 0) {
772
765
  writer.writeString(
773
- 15,
766
+ 14,
774
767
  f
775
768
  );
776
769
  }
777
770
  f = message.getHeaderText();
778
771
  if (f.length > 0) {
779
772
  writer.writeString(
780
- 16,
773
+ 15,
781
774
  f
782
775
  );
783
776
  }
784
777
  f = message.getHeaderNote();
785
778
  if (f.length > 0) {
786
779
  writer.writeString(
787
- 17,
780
+ 16,
788
781
  f
789
782
  );
790
783
  }
791
784
  f = message.getEmailCc();
792
785
  if (f.length > 0) {
793
786
  writer.writeString(
794
- 18,
787
+ 17,
795
788
  f
796
789
  );
797
790
  }
798
791
  f = message.getReferencesId();
799
792
  if (f.length > 0) {
800
793
  writer.writeString(
801
- 19,
794
+ 18,
802
795
  f
803
796
  );
804
797
  }
805
798
  f = message.getStatus();
806
799
  if (f.length > 0) {
807
800
  writer.writeString(
808
- 20,
801
+ 19,
809
802
  f
810
803
  );
811
804
  }
812
805
  f = message.getCreatedAt();
813
806
  if (f.length > 0) {
814
807
  writer.writeString(
815
- 21,
808
+ 20,
816
809
  f
817
810
  );
818
811
  }
819
812
  f = message.getUpdatedAt();
820
813
  if (f.length > 0) {
821
814
  writer.writeString(
822
- 22,
815
+ 21,
823
816
  f
824
817
  );
825
818
  }
826
819
  f = message.getCreatedBy();
827
820
  if (f.length > 0) {
828
821
  writer.writeString(
829
- 23,
822
+ 22,
830
823
  f
831
824
  );
832
825
  }
833
826
  f = message.getUpdatedBy();
834
827
  if (f.length > 0) {
835
828
  writer.writeString(
836
- 24,
829
+ 23,
837
830
  f
838
831
  );
839
832
  }
840
833
  f = message.getFileIds();
841
834
  if (f.length > 0) {
842
835
  writer.writeString(
843
- 25,
836
+ 24,
844
837
  f
845
838
  );
846
839
  }
847
840
  f = message.getGroupReferences();
848
841
  if (f.length > 0) {
849
842
  writer.writeString(
850
- 26,
843
+ 25,
851
844
  f
852
845
  );
853
846
  }
854
847
  f = message.getIsExpired();
855
848
  if (f) {
856
849
  writer.writeBool(
857
- 27,
850
+ 26,
858
851
  f
859
852
  );
860
853
  }
861
854
  f = message.getPurchaseOrderNumber();
862
855
  if (f.length > 0) {
863
856
  writer.writeString(
864
- 28,
857
+ 27,
865
858
  f
866
859
  );
867
860
  }
868
861
  f = message.getFilesList();
869
862
  if (f.length > 0) {
870
863
  writer.writeRepeatedMessage(
871
- 29,
864
+ 28,
872
865
  f,
873
866
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
874
867
  );
@@ -876,7 +869,7 @@ proto.PurchaseOrder.serializeBinaryToWriter = function(message, writer) {
876
869
  f = message.getItemTransactionsList();
877
870
  if (f.length > 0) {
878
871
  writer.writeRepeatedMessage(
879
- 30,
872
+ 29,
880
873
  f,
881
874
  prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction.serializeBinaryToWriter
882
875
  );
@@ -884,33 +877,40 @@ proto.PurchaseOrder.serializeBinaryToWriter = function(message, writer) {
884
877
  f = message.getVendor();
885
878
  if (f != null) {
886
879
  writer.writeMessage(
887
- 31,
880
+ 30,
888
881
  f,
889
882
  prisca_v1_vendor_domain_vendor_domain_pb.Vendor.serializeBinaryToWriter
890
883
  );
891
884
  }
892
- f = message.getPurchaseRequisitionTransaction();
885
+ f = message.getCreatedByEmployee();
893
886
  if (f != null) {
894
887
  writer.writeMessage(
895
- 32,
888
+ 31,
896
889
  f,
897
- prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.PurchaseRequisitionTrx.serializeBinaryToWriter
890
+ prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
898
891
  );
899
892
  }
900
- f = message.getCreatedByEmployee();
893
+ f = message.getUpdatedByEmployee();
901
894
  if (f != null) {
902
895
  writer.writeMessage(
903
- 33,
896
+ 32,
904
897
  f,
905
898
  prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
906
899
  );
907
900
  }
908
- f = message.getUpdatedByEmployee();
901
+ f = message.getCompaniesReferencesId();
902
+ if (f.length > 0) {
903
+ writer.writeString(
904
+ 35,
905
+ f
906
+ );
907
+ }
908
+ f = message.getCompanies();
909
909
  if (f != null) {
910
910
  writer.writeMessage(
911
911
  34,
912
912
  f,
913
- prisca_v1_core_employee_employee_pb.Employee.serializeBinaryToWriter
913
+ prisca_v1_core_company_company_pb.BaseCompany.serializeBinaryToWriter
914
914
  );
915
915
  }
916
916
  };
@@ -935,29 +935,11 @@ proto.PurchaseOrder.prototype.setId = function(value) {
935
935
 
936
936
 
937
937
  /**
938
- * optional string purchase_request_references_id = 2;
939
- * @return {string}
940
- */
941
- proto.PurchaseOrder.prototype.getPurchaseRequestReferencesId = function() {
942
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
943
- };
944
-
945
-
946
- /**
947
- * @param {string} value
948
- * @return {!proto.PurchaseOrder} returns this
949
- */
950
- proto.PurchaseOrder.prototype.setPurchaseRequestReferencesId = function(value) {
951
- return jspb.Message.setProto3StringField(this, 2, value);
952
- };
953
-
954
-
955
- /**
956
- * optional string title = 3;
938
+ * optional string title = 2;
957
939
  * @return {string}
958
940
  */
959
941
  proto.PurchaseOrder.prototype.getTitle = function() {
960
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
942
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
961
943
  };
962
944
 
963
945
 
@@ -966,16 +948,16 @@ proto.PurchaseOrder.prototype.getTitle = function() {
966
948
  * @return {!proto.PurchaseOrder} returns this
967
949
  */
968
950
  proto.PurchaseOrder.prototype.setTitle = function(value) {
969
- return jspb.Message.setProto3StringField(this, 3, value);
951
+ return jspb.Message.setProto3StringField(this, 2, value);
970
952
  };
971
953
 
972
954
 
973
955
  /**
974
- * optional string date = 4;
956
+ * optional string date = 3;
975
957
  * @return {string}
976
958
  */
977
959
  proto.PurchaseOrder.prototype.getDate = function() {
978
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
960
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
979
961
  };
980
962
 
981
963
 
@@ -984,16 +966,16 @@ proto.PurchaseOrder.prototype.getDate = function() {
984
966
  * @return {!proto.PurchaseOrder} returns this
985
967
  */
986
968
  proto.PurchaseOrder.prototype.setDate = function(value) {
987
- return jspb.Message.setProto3StringField(this, 4, value);
969
+ return jspb.Message.setProto3StringField(this, 3, value);
988
970
  };
989
971
 
990
972
 
991
973
  /**
992
- * optional string vendor_references_id = 5;
974
+ * optional string vendor_references_id = 4;
993
975
  * @return {string}
994
976
  */
995
977
  proto.PurchaseOrder.prototype.getVendorReferencesId = function() {
996
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
978
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
997
979
  };
998
980
 
999
981
 
@@ -1002,16 +984,16 @@ proto.PurchaseOrder.prototype.getVendorReferencesId = function() {
1002
984
  * @return {!proto.PurchaseOrder} returns this
1003
985
  */
1004
986
  proto.PurchaseOrder.prototype.setVendorReferencesId = function(value) {
1005
- return jspb.Message.setProto3StringField(this, 5, value);
987
+ return jspb.Message.setProto3StringField(this, 4, value);
1006
988
  };
1007
989
 
1008
990
 
1009
991
  /**
1010
- * optional string company_code = 6;
992
+ * optional string company_code = 5;
1011
993
  * @return {string}
1012
994
  */
1013
995
  proto.PurchaseOrder.prototype.getCompanyCode = function() {
1014
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
996
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
1015
997
  };
1016
998
 
1017
999
 
@@ -1020,16 +1002,16 @@ proto.PurchaseOrder.prototype.getCompanyCode = function() {
1020
1002
  * @return {!proto.PurchaseOrder} returns this
1021
1003
  */
1022
1004
  proto.PurchaseOrder.prototype.setCompanyCode = function(value) {
1023
- return jspb.Message.setProto3StringField(this, 6, value);
1005
+ return jspb.Message.setProto3StringField(this, 5, value);
1024
1006
  };
1025
1007
 
1026
1008
 
1027
1009
  /**
1028
- * optional string purchasing_organizations = 7;
1010
+ * optional string purchasing_organizations = 6;
1029
1011
  * @return {string}
1030
1012
  */
1031
1013
  proto.PurchaseOrder.prototype.getPurchasingOrganizations = function() {
1032
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1014
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
1033
1015
  };
1034
1016
 
1035
1017
 
@@ -1038,16 +1020,16 @@ proto.PurchaseOrder.prototype.getPurchasingOrganizations = function() {
1038
1020
  * @return {!proto.PurchaseOrder} returns this
1039
1021
  */
1040
1022
  proto.PurchaseOrder.prototype.setPurchasingOrganizations = function(value) {
1041
- return jspb.Message.setProto3StringField(this, 7, value);
1023
+ return jspb.Message.setProto3StringField(this, 6, value);
1042
1024
  };
1043
1025
 
1044
1026
 
1045
1027
  /**
1046
- * optional string purchasing_groups = 8;
1028
+ * optional string purchasing_groups = 7;
1047
1029
  * @return {string}
1048
1030
  */
1049
1031
  proto.PurchaseOrder.prototype.getPurchasingGroups = function() {
1050
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1032
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
1051
1033
  };
1052
1034
 
1053
1035
 
@@ -1056,16 +1038,16 @@ proto.PurchaseOrder.prototype.getPurchasingGroups = function() {
1056
1038
  * @return {!proto.PurchaseOrder} returns this
1057
1039
  */
1058
1040
  proto.PurchaseOrder.prototype.setPurchasingGroups = function(value) {
1059
- return jspb.Message.setProto3StringField(this, 8, value);
1041
+ return jspb.Message.setProto3StringField(this, 7, value);
1060
1042
  };
1061
1043
 
1062
1044
 
1063
1045
  /**
1064
- * optional string term_of_payment = 9;
1046
+ * optional string term_of_payment = 8;
1065
1047
  * @return {string}
1066
1048
  */
1067
1049
  proto.PurchaseOrder.prototype.getTermOfPayment = function() {
1068
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1050
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
1069
1051
  };
1070
1052
 
1071
1053
 
@@ -1074,16 +1056,16 @@ proto.PurchaseOrder.prototype.getTermOfPayment = function() {
1074
1056
  * @return {!proto.PurchaseOrder} returns this
1075
1057
  */
1076
1058
  proto.PurchaseOrder.prototype.setTermOfPayment = function(value) {
1077
- return jspb.Message.setProto3StringField(this, 9, value);
1059
+ return jspb.Message.setProto3StringField(this, 8, value);
1078
1060
  };
1079
1061
 
1080
1062
 
1081
1063
  /**
1082
- * optional string shipping_address = 10;
1064
+ * optional string shipping_address = 9;
1083
1065
  * @return {string}
1084
1066
  */
1085
1067
  proto.PurchaseOrder.prototype.getShippingAddress = function() {
1086
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1068
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
1087
1069
  };
1088
1070
 
1089
1071
 
@@ -1092,16 +1074,16 @@ proto.PurchaseOrder.prototype.getShippingAddress = function() {
1092
1074
  * @return {!proto.PurchaseOrder} returns this
1093
1075
  */
1094
1076
  proto.PurchaseOrder.prototype.setShippingAddress = function(value) {
1095
- return jspb.Message.setProto3StringField(this, 10, value);
1077
+ return jspb.Message.setProto3StringField(this, 9, value);
1096
1078
  };
1097
1079
 
1098
1080
 
1099
1081
  /**
1100
- * optional string term_of_payment_text = 11;
1082
+ * optional string term_of_payment_text = 10;
1101
1083
  * @return {string}
1102
1084
  */
1103
1085
  proto.PurchaseOrder.prototype.getTermOfPaymentText = function() {
1104
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1086
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
1105
1087
  };
1106
1088
 
1107
1089
 
@@ -1110,16 +1092,16 @@ proto.PurchaseOrder.prototype.getTermOfPaymentText = function() {
1110
1092
  * @return {!proto.PurchaseOrder} returns this
1111
1093
  */
1112
1094
  proto.PurchaseOrder.prototype.setTermOfPaymentText = function(value) {
1113
- return jspb.Message.setProto3StringField(this, 11, value);
1095
+ return jspb.Message.setProto3StringField(this, 10, value);
1114
1096
  };
1115
1097
 
1116
1098
 
1117
1099
  /**
1118
- * optional string guarantee_period = 12;
1100
+ * optional string guarantee_period = 11;
1119
1101
  * @return {string}
1120
1102
  */
1121
1103
  proto.PurchaseOrder.prototype.getGuaranteePeriod = function() {
1122
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
1104
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
1123
1105
  };
1124
1106
 
1125
1107
 
@@ -1128,16 +1110,16 @@ proto.PurchaseOrder.prototype.getGuaranteePeriod = function() {
1128
1110
  * @return {!proto.PurchaseOrder} returns this
1129
1111
  */
1130
1112
  proto.PurchaseOrder.prototype.setGuaranteePeriod = function(value) {
1131
- return jspb.Message.setProto3StringField(this, 12, value);
1113
+ return jspb.Message.setProto3StringField(this, 11, value);
1132
1114
  };
1133
1115
 
1134
1116
 
1135
1117
  /**
1136
- * optional string retention = 13;
1118
+ * optional string retention = 12;
1137
1119
  * @return {string}
1138
1120
  */
1139
1121
  proto.PurchaseOrder.prototype.getRetention = function() {
1140
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
1122
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
1141
1123
  };
1142
1124
 
1143
1125
 
@@ -1146,16 +1128,16 @@ proto.PurchaseOrder.prototype.getRetention = function() {
1146
1128
  * @return {!proto.PurchaseOrder} returns this
1147
1129
  */
1148
1130
  proto.PurchaseOrder.prototype.setRetention = function(value) {
1149
- return jspb.Message.setProto3StringField(this, 13, value);
1131
+ return jspb.Message.setProto3StringField(this, 12, value);
1150
1132
  };
1151
1133
 
1152
1134
 
1153
1135
  /**
1154
- * optional string penalty = 14;
1136
+ * optional string penalty = 13;
1155
1137
  * @return {string}
1156
1138
  */
1157
1139
  proto.PurchaseOrder.prototype.getPenalty = function() {
1158
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
1140
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
1159
1141
  };
1160
1142
 
1161
1143
 
@@ -1164,16 +1146,16 @@ proto.PurchaseOrder.prototype.getPenalty = function() {
1164
1146
  * @return {!proto.PurchaseOrder} returns this
1165
1147
  */
1166
1148
  proto.PurchaseOrder.prototype.setPenalty = function(value) {
1167
- return jspb.Message.setProto3StringField(this, 14, value);
1149
+ return jspb.Message.setProto3StringField(this, 13, value);
1168
1150
  };
1169
1151
 
1170
1152
 
1171
1153
  /**
1172
- * optional string insurance = 15;
1154
+ * optional string insurance = 14;
1173
1155
  * @return {string}
1174
1156
  */
1175
1157
  proto.PurchaseOrder.prototype.getInsurance = function() {
1176
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
1158
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
1177
1159
  };
1178
1160
 
1179
1161
 
@@ -1182,16 +1164,16 @@ proto.PurchaseOrder.prototype.getInsurance = function() {
1182
1164
  * @return {!proto.PurchaseOrder} returns this
1183
1165
  */
1184
1166
  proto.PurchaseOrder.prototype.setInsurance = function(value) {
1185
- return jspb.Message.setProto3StringField(this, 15, value);
1167
+ return jspb.Message.setProto3StringField(this, 14, value);
1186
1168
  };
1187
1169
 
1188
1170
 
1189
1171
  /**
1190
- * optional string header_text = 16;
1172
+ * optional string header_text = 15;
1191
1173
  * @return {string}
1192
1174
  */
1193
1175
  proto.PurchaseOrder.prototype.getHeaderText = function() {
1194
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
1176
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
1195
1177
  };
1196
1178
 
1197
1179
 
@@ -1200,16 +1182,16 @@ proto.PurchaseOrder.prototype.getHeaderText = function() {
1200
1182
  * @return {!proto.PurchaseOrder} returns this
1201
1183
  */
1202
1184
  proto.PurchaseOrder.prototype.setHeaderText = function(value) {
1203
- return jspb.Message.setProto3StringField(this, 16, value);
1185
+ return jspb.Message.setProto3StringField(this, 15, value);
1204
1186
  };
1205
1187
 
1206
1188
 
1207
1189
  /**
1208
- * optional string header_note = 17;
1190
+ * optional string header_note = 16;
1209
1191
  * @return {string}
1210
1192
  */
1211
1193
  proto.PurchaseOrder.prototype.getHeaderNote = function() {
1212
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
1194
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
1213
1195
  };
1214
1196
 
1215
1197
 
@@ -1218,16 +1200,16 @@ proto.PurchaseOrder.prototype.getHeaderNote = function() {
1218
1200
  * @return {!proto.PurchaseOrder} returns this
1219
1201
  */
1220
1202
  proto.PurchaseOrder.prototype.setHeaderNote = function(value) {
1221
- return jspb.Message.setProto3StringField(this, 17, value);
1203
+ return jspb.Message.setProto3StringField(this, 16, value);
1222
1204
  };
1223
1205
 
1224
1206
 
1225
1207
  /**
1226
- * optional string email_cc = 18;
1208
+ * optional string email_cc = 17;
1227
1209
  * @return {string}
1228
1210
  */
1229
1211
  proto.PurchaseOrder.prototype.getEmailCc = function() {
1230
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
1212
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
1231
1213
  };
1232
1214
 
1233
1215
 
@@ -1236,16 +1218,16 @@ proto.PurchaseOrder.prototype.getEmailCc = function() {
1236
1218
  * @return {!proto.PurchaseOrder} returns this
1237
1219
  */
1238
1220
  proto.PurchaseOrder.prototype.setEmailCc = function(value) {
1239
- return jspb.Message.setProto3StringField(this, 18, value);
1221
+ return jspb.Message.setProto3StringField(this, 17, value);
1240
1222
  };
1241
1223
 
1242
1224
 
1243
1225
  /**
1244
- * optional string references_id = 19;
1226
+ * optional string references_id = 18;
1245
1227
  * @return {string}
1246
1228
  */
1247
1229
  proto.PurchaseOrder.prototype.getReferencesId = function() {
1248
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
1230
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
1249
1231
  };
1250
1232
 
1251
1233
 
@@ -1254,16 +1236,16 @@ proto.PurchaseOrder.prototype.getReferencesId = function() {
1254
1236
  * @return {!proto.PurchaseOrder} returns this
1255
1237
  */
1256
1238
  proto.PurchaseOrder.prototype.setReferencesId = function(value) {
1257
- return jspb.Message.setProto3StringField(this, 19, value);
1239
+ return jspb.Message.setProto3StringField(this, 18, value);
1258
1240
  };
1259
1241
 
1260
1242
 
1261
1243
  /**
1262
- * optional string status = 20;
1244
+ * optional string status = 19;
1263
1245
  * @return {string}
1264
1246
  */
1265
1247
  proto.PurchaseOrder.prototype.getStatus = function() {
1266
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
1248
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
1267
1249
  };
1268
1250
 
1269
1251
 
@@ -1272,16 +1254,16 @@ proto.PurchaseOrder.prototype.getStatus = function() {
1272
1254
  * @return {!proto.PurchaseOrder} returns this
1273
1255
  */
1274
1256
  proto.PurchaseOrder.prototype.setStatus = function(value) {
1275
- return jspb.Message.setProto3StringField(this, 20, value);
1257
+ return jspb.Message.setProto3StringField(this, 19, value);
1276
1258
  };
1277
1259
 
1278
1260
 
1279
1261
  /**
1280
- * optional string created_at = 21;
1262
+ * optional string created_at = 20;
1281
1263
  * @return {string}
1282
1264
  */
1283
1265
  proto.PurchaseOrder.prototype.getCreatedAt = function() {
1284
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
1266
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
1285
1267
  };
1286
1268
 
1287
1269
 
@@ -1290,16 +1272,16 @@ proto.PurchaseOrder.prototype.getCreatedAt = function() {
1290
1272
  * @return {!proto.PurchaseOrder} returns this
1291
1273
  */
1292
1274
  proto.PurchaseOrder.prototype.setCreatedAt = function(value) {
1293
- return jspb.Message.setProto3StringField(this, 21, value);
1275
+ return jspb.Message.setProto3StringField(this, 20, value);
1294
1276
  };
1295
1277
 
1296
1278
 
1297
1279
  /**
1298
- * optional string updated_at = 22;
1280
+ * optional string updated_at = 21;
1299
1281
  * @return {string}
1300
1282
  */
1301
1283
  proto.PurchaseOrder.prototype.getUpdatedAt = function() {
1302
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
1284
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
1303
1285
  };
1304
1286
 
1305
1287
 
@@ -1308,16 +1290,16 @@ proto.PurchaseOrder.prototype.getUpdatedAt = function() {
1308
1290
  * @return {!proto.PurchaseOrder} returns this
1309
1291
  */
1310
1292
  proto.PurchaseOrder.prototype.setUpdatedAt = function(value) {
1311
- return jspb.Message.setProto3StringField(this, 22, value);
1293
+ return jspb.Message.setProto3StringField(this, 21, value);
1312
1294
  };
1313
1295
 
1314
1296
 
1315
1297
  /**
1316
- * optional string created_by = 23;
1298
+ * optional string created_by = 22;
1317
1299
  * @return {string}
1318
1300
  */
1319
1301
  proto.PurchaseOrder.prototype.getCreatedBy = function() {
1320
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
1302
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
1321
1303
  };
1322
1304
 
1323
1305
 
@@ -1326,16 +1308,16 @@ proto.PurchaseOrder.prototype.getCreatedBy = function() {
1326
1308
  * @return {!proto.PurchaseOrder} returns this
1327
1309
  */
1328
1310
  proto.PurchaseOrder.prototype.setCreatedBy = function(value) {
1329
- return jspb.Message.setProto3StringField(this, 23, value);
1311
+ return jspb.Message.setProto3StringField(this, 22, value);
1330
1312
  };
1331
1313
 
1332
1314
 
1333
1315
  /**
1334
- * optional string updated_by = 24;
1316
+ * optional string updated_by = 23;
1335
1317
  * @return {string}
1336
1318
  */
1337
1319
  proto.PurchaseOrder.prototype.getUpdatedBy = function() {
1338
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
1320
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
1339
1321
  };
1340
1322
 
1341
1323
 
@@ -1344,16 +1326,16 @@ proto.PurchaseOrder.prototype.getUpdatedBy = function() {
1344
1326
  * @return {!proto.PurchaseOrder} returns this
1345
1327
  */
1346
1328
  proto.PurchaseOrder.prototype.setUpdatedBy = function(value) {
1347
- return jspb.Message.setProto3StringField(this, 24, value);
1329
+ return jspb.Message.setProto3StringField(this, 23, value);
1348
1330
  };
1349
1331
 
1350
1332
 
1351
1333
  /**
1352
- * optional string file_ids = 25;
1334
+ * optional string file_ids = 24;
1353
1335
  * @return {string}
1354
1336
  */
1355
1337
  proto.PurchaseOrder.prototype.getFileIds = function() {
1356
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
1338
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
1357
1339
  };
1358
1340
 
1359
1341
 
@@ -1362,16 +1344,16 @@ proto.PurchaseOrder.prototype.getFileIds = function() {
1362
1344
  * @return {!proto.PurchaseOrder} returns this
1363
1345
  */
1364
1346
  proto.PurchaseOrder.prototype.setFileIds = function(value) {
1365
- return jspb.Message.setProto3StringField(this, 25, value);
1347
+ return jspb.Message.setProto3StringField(this, 24, value);
1366
1348
  };
1367
1349
 
1368
1350
 
1369
1351
  /**
1370
- * optional string group_references = 26;
1352
+ * optional string group_references = 25;
1371
1353
  * @return {string}
1372
1354
  */
1373
1355
  proto.PurchaseOrder.prototype.getGroupReferences = function() {
1374
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 26, ""));
1356
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 25, ""));
1375
1357
  };
1376
1358
 
1377
1359
 
@@ -1380,16 +1362,16 @@ proto.PurchaseOrder.prototype.getGroupReferences = function() {
1380
1362
  * @return {!proto.PurchaseOrder} returns this
1381
1363
  */
1382
1364
  proto.PurchaseOrder.prototype.setGroupReferences = function(value) {
1383
- return jspb.Message.setProto3StringField(this, 26, value);
1365
+ return jspb.Message.setProto3StringField(this, 25, value);
1384
1366
  };
1385
1367
 
1386
1368
 
1387
1369
  /**
1388
- * optional bool is_expired = 27;
1370
+ * optional bool is_expired = 26;
1389
1371
  * @return {boolean}
1390
1372
  */
1391
1373
  proto.PurchaseOrder.prototype.getIsExpired = function() {
1392
- return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 27, false));
1374
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 26, false));
1393
1375
  };
1394
1376
 
1395
1377
 
@@ -1398,16 +1380,16 @@ proto.PurchaseOrder.prototype.getIsExpired = function() {
1398
1380
  * @return {!proto.PurchaseOrder} returns this
1399
1381
  */
1400
1382
  proto.PurchaseOrder.prototype.setIsExpired = function(value) {
1401
- return jspb.Message.setProto3BooleanField(this, 27, value);
1383
+ return jspb.Message.setProto3BooleanField(this, 26, value);
1402
1384
  };
1403
1385
 
1404
1386
 
1405
1387
  /**
1406
- * optional string purchase_order_number = 28;
1388
+ * optional string purchase_order_number = 27;
1407
1389
  * @return {string}
1408
1390
  */
1409
1391
  proto.PurchaseOrder.prototype.getPurchaseOrderNumber = function() {
1410
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 28, ""));
1392
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 27, ""));
1411
1393
  };
1412
1394
 
1413
1395
 
@@ -1416,17 +1398,17 @@ proto.PurchaseOrder.prototype.getPurchaseOrderNumber = function() {
1416
1398
  * @return {!proto.PurchaseOrder} returns this
1417
1399
  */
1418
1400
  proto.PurchaseOrder.prototype.setPurchaseOrderNumber = function(value) {
1419
- return jspb.Message.setProto3StringField(this, 28, value);
1401
+ return jspb.Message.setProto3StringField(this, 27, value);
1420
1402
  };
1421
1403
 
1422
1404
 
1423
1405
  /**
1424
- * repeated FileUploadReferencesReq files = 29;
1406
+ * repeated FileUploadReferencesReq files = 28;
1425
1407
  * @return {!Array<!proto.FileUploadReferencesReq>}
1426
1408
  */
1427
1409
  proto.PurchaseOrder.prototype.getFilesList = function() {
1428
1410
  return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
1429
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 29));
1411
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 28));
1430
1412
  };
1431
1413
 
1432
1414
 
@@ -1435,7 +1417,7 @@ proto.PurchaseOrder.prototype.getFilesList = function() {
1435
1417
  * @return {!proto.PurchaseOrder} returns this
1436
1418
  */
1437
1419
  proto.PurchaseOrder.prototype.setFilesList = function(value) {
1438
- return jspb.Message.setRepeatedWrapperField(this, 29, value);
1420
+ return jspb.Message.setRepeatedWrapperField(this, 28, value);
1439
1421
  };
1440
1422
 
1441
1423
 
@@ -1445,7 +1427,7 @@ proto.PurchaseOrder.prototype.setFilesList = function(value) {
1445
1427
  * @return {!proto.FileUploadReferencesReq}
1446
1428
  */
1447
1429
  proto.PurchaseOrder.prototype.addFiles = function(opt_value, opt_index) {
1448
- return jspb.Message.addToRepeatedWrapperField(this, 29, opt_value, proto.FileUploadReferencesReq, opt_index);
1430
+ return jspb.Message.addToRepeatedWrapperField(this, 28, opt_value, proto.FileUploadReferencesReq, opt_index);
1449
1431
  };
1450
1432
 
1451
1433
 
@@ -1459,12 +1441,12 @@ proto.PurchaseOrder.prototype.clearFilesList = function() {
1459
1441
 
1460
1442
 
1461
1443
  /**
1462
- * repeated ItemTransaction item_transactions = 30;
1444
+ * repeated ItemTransaction item_transactions = 29;
1463
1445
  * @return {!Array<!proto.ItemTransaction>}
1464
1446
  */
1465
1447
  proto.PurchaseOrder.prototype.getItemTransactionsList = function() {
1466
1448
  return /** @type{!Array<!proto.ItemTransaction>} */ (
1467
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction, 30));
1449
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.ItemTransaction, 29));
1468
1450
  };
1469
1451
 
1470
1452
 
@@ -1473,7 +1455,7 @@ proto.PurchaseOrder.prototype.getItemTransactionsList = function() {
1473
1455
  * @return {!proto.PurchaseOrder} returns this
1474
1456
  */
1475
1457
  proto.PurchaseOrder.prototype.setItemTransactionsList = function(value) {
1476
- return jspb.Message.setRepeatedWrapperField(this, 30, value);
1458
+ return jspb.Message.setRepeatedWrapperField(this, 29, value);
1477
1459
  };
1478
1460
 
1479
1461
 
@@ -1483,7 +1465,7 @@ proto.PurchaseOrder.prototype.setItemTransactionsList = function(value) {
1483
1465
  * @return {!proto.ItemTransaction}
1484
1466
  */
1485
1467
  proto.PurchaseOrder.prototype.addItemTransactions = function(opt_value, opt_index) {
1486
- return jspb.Message.addToRepeatedWrapperField(this, 30, opt_value, proto.ItemTransaction, opt_index);
1468
+ return jspb.Message.addToRepeatedWrapperField(this, 29, opt_value, proto.ItemTransaction, opt_index);
1487
1469
  };
1488
1470
 
1489
1471
 
@@ -1497,12 +1479,12 @@ proto.PurchaseOrder.prototype.clearItemTransactionsList = function() {
1497
1479
 
1498
1480
 
1499
1481
  /**
1500
- * optional Vendor vendor = 31;
1482
+ * optional Vendor vendor = 30;
1501
1483
  * @return {?proto.Vendor}
1502
1484
  */
1503
1485
  proto.PurchaseOrder.prototype.getVendor = function() {
1504
1486
  return /** @type{?proto.Vendor} */ (
1505
- jspb.Message.getWrapperField(this, prisca_v1_vendor_domain_vendor_domain_pb.Vendor, 31));
1487
+ jspb.Message.getWrapperField(this, prisca_v1_vendor_domain_vendor_domain_pb.Vendor, 30));
1506
1488
  };
1507
1489
 
1508
1490
 
@@ -1511,7 +1493,7 @@ proto.PurchaseOrder.prototype.getVendor = function() {
1511
1493
  * @return {!proto.PurchaseOrder} returns this
1512
1494
  */
1513
1495
  proto.PurchaseOrder.prototype.setVendor = function(value) {
1514
- return jspb.Message.setWrapperField(this, 31, value);
1496
+ return jspb.Message.setWrapperField(this, 30, value);
1515
1497
  };
1516
1498
 
1517
1499
 
@@ -1529,26 +1511,26 @@ proto.PurchaseOrder.prototype.clearVendor = function() {
1529
1511
  * @return {boolean}
1530
1512
  */
1531
1513
  proto.PurchaseOrder.prototype.hasVendor = function() {
1532
- return jspb.Message.getField(this, 31) != null;
1514
+ return jspb.Message.getField(this, 30) != null;
1533
1515
  };
1534
1516
 
1535
1517
 
1536
1518
  /**
1537
- * optional PurchaseRequisitionTrx purchase_requisition_transaction = 32;
1538
- * @return {?proto.PurchaseRequisitionTrx}
1519
+ * optional Employee created_by_employee = 31;
1520
+ * @return {?proto.Employee}
1539
1521
  */
1540
- proto.PurchaseOrder.prototype.getPurchaseRequisitionTransaction = function() {
1541
- return /** @type{?proto.PurchaseRequisitionTrx} */ (
1542
- jspb.Message.getWrapperField(this, prisca_v1_purchase_requisition_trx_purchase_requisition_trx_pb.PurchaseRequisitionTrx, 32));
1522
+ proto.PurchaseOrder.prototype.getCreatedByEmployee = function() {
1523
+ return /** @type{?proto.Employee} */ (
1524
+ jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 31));
1543
1525
  };
1544
1526
 
1545
1527
 
1546
1528
  /**
1547
- * @param {?proto.PurchaseRequisitionTrx|undefined} value
1529
+ * @param {?proto.Employee|undefined} value
1548
1530
  * @return {!proto.PurchaseOrder} returns this
1549
1531
  */
1550
- proto.PurchaseOrder.prototype.setPurchaseRequisitionTransaction = function(value) {
1551
- return jspb.Message.setWrapperField(this, 32, value);
1532
+ proto.PurchaseOrder.prototype.setCreatedByEmployee = function(value) {
1533
+ return jspb.Message.setWrapperField(this, 31, value);
1552
1534
  };
1553
1535
 
1554
1536
 
@@ -1556,8 +1538,8 @@ proto.PurchaseOrder.prototype.setPurchaseRequisitionTransaction = function(value
1556
1538
  * Clears the message field making it undefined.
1557
1539
  * @return {!proto.PurchaseOrder} returns this
1558
1540
  */
1559
- proto.PurchaseOrder.prototype.clearPurchaseRequisitionTransaction = function() {
1560
- return this.setPurchaseRequisitionTransaction(undefined);
1541
+ proto.PurchaseOrder.prototype.clearCreatedByEmployee = function() {
1542
+ return this.setCreatedByEmployee(undefined);
1561
1543
  };
1562
1544
 
1563
1545
 
@@ -1565,18 +1547,18 @@ proto.PurchaseOrder.prototype.clearPurchaseRequisitionTransaction = function() {
1565
1547
  * Returns whether this field is set.
1566
1548
  * @return {boolean}
1567
1549
  */
1568
- proto.PurchaseOrder.prototype.hasPurchaseRequisitionTransaction = function() {
1569
- return jspb.Message.getField(this, 32) != null;
1550
+ proto.PurchaseOrder.prototype.hasCreatedByEmployee = function() {
1551
+ return jspb.Message.getField(this, 31) != null;
1570
1552
  };
1571
1553
 
1572
1554
 
1573
1555
  /**
1574
- * optional Employee created_by_employee = 33;
1556
+ * optional Employee updated_by_employee = 32;
1575
1557
  * @return {?proto.Employee}
1576
1558
  */
1577
- proto.PurchaseOrder.prototype.getCreatedByEmployee = function() {
1559
+ proto.PurchaseOrder.prototype.getUpdatedByEmployee = function() {
1578
1560
  return /** @type{?proto.Employee} */ (
1579
- jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 33));
1561
+ jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 32));
1580
1562
  };
1581
1563
 
1582
1564
 
@@ -1584,8 +1566,8 @@ proto.PurchaseOrder.prototype.getCreatedByEmployee = function() {
1584
1566
  * @param {?proto.Employee|undefined} value
1585
1567
  * @return {!proto.PurchaseOrder} returns this
1586
1568
  */
1587
- proto.PurchaseOrder.prototype.setCreatedByEmployee = function(value) {
1588
- return jspb.Message.setWrapperField(this, 33, value);
1569
+ proto.PurchaseOrder.prototype.setUpdatedByEmployee = function(value) {
1570
+ return jspb.Message.setWrapperField(this, 32, value);
1589
1571
  };
1590
1572
 
1591
1573
 
@@ -1593,8 +1575,8 @@ proto.PurchaseOrder.prototype.setCreatedByEmployee = function(value) {
1593
1575
  * Clears the message field making it undefined.
1594
1576
  * @return {!proto.PurchaseOrder} returns this
1595
1577
  */
1596
- proto.PurchaseOrder.prototype.clearCreatedByEmployee = function() {
1597
- return this.setCreatedByEmployee(undefined);
1578
+ proto.PurchaseOrder.prototype.clearUpdatedByEmployee = function() {
1579
+ return this.setUpdatedByEmployee(undefined);
1598
1580
  };
1599
1581
 
1600
1582
 
@@ -1602,26 +1584,44 @@ proto.PurchaseOrder.prototype.clearCreatedByEmployee = function() {
1602
1584
  * Returns whether this field is set.
1603
1585
  * @return {boolean}
1604
1586
  */
1605
- proto.PurchaseOrder.prototype.hasCreatedByEmployee = function() {
1606
- return jspb.Message.getField(this, 33) != null;
1587
+ proto.PurchaseOrder.prototype.hasUpdatedByEmployee = function() {
1588
+ return jspb.Message.getField(this, 32) != null;
1607
1589
  };
1608
1590
 
1609
1591
 
1610
1592
  /**
1611
- * optional Employee updated_by_employee = 34;
1612
- * @return {?proto.Employee}
1593
+ * optional string companies_references_id = 35;
1594
+ * @return {string}
1613
1595
  */
1614
- proto.PurchaseOrder.prototype.getUpdatedByEmployee = function() {
1615
- return /** @type{?proto.Employee} */ (
1616
- jspb.Message.getWrapperField(this, prisca_v1_core_employee_employee_pb.Employee, 34));
1596
+ proto.PurchaseOrder.prototype.getCompaniesReferencesId = function() {
1597
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 35, ""));
1617
1598
  };
1618
1599
 
1619
1600
 
1620
1601
  /**
1621
- * @param {?proto.Employee|undefined} value
1602
+ * @param {string} value
1603
+ * @return {!proto.PurchaseOrder} returns this
1604
+ */
1605
+ proto.PurchaseOrder.prototype.setCompaniesReferencesId = function(value) {
1606
+ return jspb.Message.setProto3StringField(this, 35, value);
1607
+ };
1608
+
1609
+
1610
+ /**
1611
+ * optional BaseCompany companies = 34;
1612
+ * @return {?proto.BaseCompany}
1613
+ */
1614
+ proto.PurchaseOrder.prototype.getCompanies = function() {
1615
+ return /** @type{?proto.BaseCompany} */ (
1616
+ jspb.Message.getWrapperField(this, prisca_v1_core_company_company_pb.BaseCompany, 34));
1617
+ };
1618
+
1619
+
1620
+ /**
1621
+ * @param {?proto.BaseCompany|undefined} value
1622
1622
  * @return {!proto.PurchaseOrder} returns this
1623
1623
  */
1624
- proto.PurchaseOrder.prototype.setUpdatedByEmployee = function(value) {
1624
+ proto.PurchaseOrder.prototype.setCompanies = function(value) {
1625
1625
  return jspb.Message.setWrapperField(this, 34, value);
1626
1626
  };
1627
1627
 
@@ -1630,8 +1630,8 @@ proto.PurchaseOrder.prototype.setUpdatedByEmployee = function(value) {
1630
1630
  * Clears the message field making it undefined.
1631
1631
  * @return {!proto.PurchaseOrder} returns this
1632
1632
  */
1633
- proto.PurchaseOrder.prototype.clearUpdatedByEmployee = function() {
1634
- return this.setUpdatedByEmployee(undefined);
1633
+ proto.PurchaseOrder.prototype.clearCompanies = function() {
1634
+ return this.setCompanies(undefined);
1635
1635
  };
1636
1636
 
1637
1637
 
@@ -1639,7 +1639,7 @@ proto.PurchaseOrder.prototype.clearUpdatedByEmployee = function() {
1639
1639
  * Returns whether this field is set.
1640
1640
  * @return {boolean}
1641
1641
  */
1642
- proto.PurchaseOrder.prototype.hasUpdatedByEmployee = function() {
1642
+ proto.PurchaseOrder.prototype.hasCompanies = function() {
1643
1643
  return jspb.Message.getField(this, 34) != null;
1644
1644
  };
1645
1645
 
@@ -1650,7 +1650,7 @@ proto.PurchaseOrder.prototype.hasUpdatedByEmployee = function() {
1650
1650
  * @private {!Array<number>}
1651
1651
  * @const
1652
1652
  */
1653
- proto.BasePurchaseOrderRequest.repeatedFields_ = [19,20];
1653
+ proto.BasePurchaseOrderRequest.repeatedFields_ = [18,19];
1654
1654
 
1655
1655
 
1656
1656
 
@@ -1683,24 +1683,23 @@ proto.BasePurchaseOrderRequest.prototype.toObject = function(opt_includeInstance
1683
1683
  */
1684
1684
  proto.BasePurchaseOrderRequest.toObject = function(includeInstance, msg) {
1685
1685
  var f, obj = {
1686
- purchaseRequestReferencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
1687
- title: jspb.Message.getFieldWithDefault(msg, 2, ""),
1688
- companyCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
1689
- purchasingOrganizations: jspb.Message.getFieldWithDefault(msg, 4, ""),
1690
- purchasingGroups: jspb.Message.getFieldWithDefault(msg, 5, ""),
1691
- termOfPayment: jspb.Message.getFieldWithDefault(msg, 6, ""),
1692
- shippingAddress: jspb.Message.getFieldWithDefault(msg, 7, ""),
1693
- termOfPaymentText: jspb.Message.getFieldWithDefault(msg, 8, ""),
1694
- guaranteePeriod: jspb.Message.getFieldWithDefault(msg, 9, ""),
1695
- retention: jspb.Message.getFieldWithDefault(msg, 10, ""),
1696
- penalty: jspb.Message.getFieldWithDefault(msg, 11, ""),
1697
- insurance: jspb.Message.getFieldWithDefault(msg, 12, ""),
1698
- headerText: jspb.Message.getFieldWithDefault(msg, 13, ""),
1699
- headerNote: jspb.Message.getFieldWithDefault(msg, 14, ""),
1700
- emailCc: jspb.Message.getFieldWithDefault(msg, 15, ""),
1701
- status: jspb.Message.getFieldWithDefault(msg, 16, ""),
1702
- date: jspb.Message.getFieldWithDefault(msg, 17, ""),
1703
- groupReferences: jspb.Message.getFieldWithDefault(msg, 18, ""),
1686
+ title: jspb.Message.getFieldWithDefault(msg, 1, ""),
1687
+ companyCode: jspb.Message.getFieldWithDefault(msg, 2, ""),
1688
+ purchasingOrganizations: jspb.Message.getFieldWithDefault(msg, 3, ""),
1689
+ purchasingGroups: jspb.Message.getFieldWithDefault(msg, 4, ""),
1690
+ termOfPayment: jspb.Message.getFieldWithDefault(msg, 5, ""),
1691
+ shippingAddress: jspb.Message.getFieldWithDefault(msg, 6, ""),
1692
+ termOfPaymentText: jspb.Message.getFieldWithDefault(msg, 7, ""),
1693
+ guaranteePeriod: jspb.Message.getFieldWithDefault(msg, 8, ""),
1694
+ retention: jspb.Message.getFieldWithDefault(msg, 9, ""),
1695
+ penalty: jspb.Message.getFieldWithDefault(msg, 10, ""),
1696
+ insurance: jspb.Message.getFieldWithDefault(msg, 11, ""),
1697
+ headerText: jspb.Message.getFieldWithDefault(msg, 12, ""),
1698
+ headerNote: jspb.Message.getFieldWithDefault(msg, 13, ""),
1699
+ emailCc: jspb.Message.getFieldWithDefault(msg, 14, ""),
1700
+ status: jspb.Message.getFieldWithDefault(msg, 15, ""),
1701
+ date: jspb.Message.getFieldWithDefault(msg, 16, ""),
1702
+ groupReferences: jspb.Message.getFieldWithDefault(msg, 17, ""),
1704
1703
  filesList: jspb.Message.toObjectList(msg.getFilesList(),
1705
1704
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.toObject, includeInstance),
1706
1705
  itemTransactionsList: jspb.Message.toObjectList(msg.getItemTransactionsList(),
@@ -1743,88 +1742,84 @@ proto.BasePurchaseOrderRequest.deserializeBinaryFromReader = function(msg, reade
1743
1742
  var field = reader.getFieldNumber();
1744
1743
  switch (field) {
1745
1744
  case 1:
1746
- var value = /** @type {string} */ (reader.readString());
1747
- msg.setPurchaseRequestReferencesId(value);
1748
- break;
1749
- case 2:
1750
1745
  var value = /** @type {string} */ (reader.readString());
1751
1746
  msg.setTitle(value);
1752
1747
  break;
1753
- case 3:
1748
+ case 2:
1754
1749
  var value = /** @type {string} */ (reader.readString());
1755
1750
  msg.setCompanyCode(value);
1756
1751
  break;
1757
- case 4:
1752
+ case 3:
1758
1753
  var value = /** @type {string} */ (reader.readString());
1759
1754
  msg.setPurchasingOrganizations(value);
1760
1755
  break;
1761
- case 5:
1756
+ case 4:
1762
1757
  var value = /** @type {string} */ (reader.readString());
1763
1758
  msg.setPurchasingGroups(value);
1764
1759
  break;
1765
- case 6:
1760
+ case 5:
1766
1761
  var value = /** @type {string} */ (reader.readString());
1767
1762
  msg.setTermOfPayment(value);
1768
1763
  break;
1769
- case 7:
1764
+ case 6:
1770
1765
  var value = /** @type {string} */ (reader.readString());
1771
1766
  msg.setShippingAddress(value);
1772
1767
  break;
1773
- case 8:
1768
+ case 7:
1774
1769
  var value = /** @type {string} */ (reader.readString());
1775
1770
  msg.setTermOfPaymentText(value);
1776
1771
  break;
1777
- case 9:
1772
+ case 8:
1778
1773
  var value = /** @type {string} */ (reader.readString());
1779
1774
  msg.setGuaranteePeriod(value);
1780
1775
  break;
1781
- case 10:
1776
+ case 9:
1782
1777
  var value = /** @type {string} */ (reader.readString());
1783
1778
  msg.setRetention(value);
1784
1779
  break;
1785
- case 11:
1780
+ case 10:
1786
1781
  var value = /** @type {string} */ (reader.readString());
1787
1782
  msg.setPenalty(value);
1788
1783
  break;
1789
- case 12:
1784
+ case 11:
1790
1785
  var value = /** @type {string} */ (reader.readString());
1791
1786
  msg.setInsurance(value);
1792
1787
  break;
1793
- case 13:
1788
+ case 12:
1794
1789
  var value = /** @type {string} */ (reader.readString());
1795
1790
  msg.setHeaderText(value);
1796
1791
  break;
1797
- case 14:
1792
+ case 13:
1798
1793
  var value = /** @type {string} */ (reader.readString());
1799
1794
  msg.setHeaderNote(value);
1800
1795
  break;
1801
- case 15:
1796
+ case 14:
1802
1797
  var value = /** @type {string} */ (reader.readString());
1803
1798
  msg.setEmailCc(value);
1804
1799
  break;
1805
- case 16:
1800
+ case 15:
1806
1801
  var value = /** @type {string} */ (reader.readString());
1807
1802
  msg.setStatus(value);
1808
1803
  break;
1809
- case 17:
1804
+ case 16:
1810
1805
  var value = /** @type {string} */ (reader.readString());
1811
1806
  msg.setDate(value);
1812
1807
  break;
1813
- case 18:
1808
+ case 17:
1814
1809
  var value = /** @type {string} */ (reader.readString());
1815
1810
  msg.setGroupReferences(value);
1816
1811
  break;
1817
- case 19:
1812
+ case 18:
1818
1813
  var value = new prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq;
1819
1814
  reader.readMessage(value,prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.deserializeBinaryFromReader);
1820
1815
  msg.addFiles(value);
1821
1816
  break;
1822
- case 20:
1817
+ case 19:
1823
1818
  var value = new prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction;
1824
1819
  reader.readMessage(value,prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction.deserializeBinaryFromReader);
1825
1820
  msg.addItemTransactions(value);
1826
1821
  break;
1827
- case 21:
1822
+ case 20:
1828
1823
  var value = new prisca_v1_vendor_domain_vendor_domain_pb.Vendor;
1829
1824
  reader.readMessage(value,prisca_v1_vendor_domain_vendor_domain_pb.Vendor.deserializeBinaryFromReader);
1830
1825
  msg.setVendor(value);
@@ -1858,136 +1853,129 @@ proto.BasePurchaseOrderRequest.prototype.serializeBinary = function() {
1858
1853
  */
1859
1854
  proto.BasePurchaseOrderRequest.serializeBinaryToWriter = function(message, writer) {
1860
1855
  var f = undefined;
1861
- f = message.getPurchaseRequestReferencesId();
1862
- if (f.length > 0) {
1863
- writer.writeString(
1864
- 1,
1865
- f
1866
- );
1867
- }
1868
1856
  f = message.getTitle();
1869
1857
  if (f.length > 0) {
1870
1858
  writer.writeString(
1871
- 2,
1859
+ 1,
1872
1860
  f
1873
1861
  );
1874
1862
  }
1875
1863
  f = message.getCompanyCode();
1876
1864
  if (f.length > 0) {
1877
1865
  writer.writeString(
1878
- 3,
1866
+ 2,
1879
1867
  f
1880
1868
  );
1881
1869
  }
1882
1870
  f = message.getPurchasingOrganizations();
1883
1871
  if (f.length > 0) {
1884
1872
  writer.writeString(
1885
- 4,
1873
+ 3,
1886
1874
  f
1887
1875
  );
1888
1876
  }
1889
1877
  f = message.getPurchasingGroups();
1890
1878
  if (f.length > 0) {
1891
1879
  writer.writeString(
1892
- 5,
1880
+ 4,
1893
1881
  f
1894
1882
  );
1895
1883
  }
1896
1884
  f = message.getTermOfPayment();
1897
1885
  if (f.length > 0) {
1898
1886
  writer.writeString(
1899
- 6,
1887
+ 5,
1900
1888
  f
1901
1889
  );
1902
1890
  }
1903
1891
  f = message.getShippingAddress();
1904
1892
  if (f.length > 0) {
1905
1893
  writer.writeString(
1906
- 7,
1894
+ 6,
1907
1895
  f
1908
1896
  );
1909
1897
  }
1910
1898
  f = message.getTermOfPaymentText();
1911
1899
  if (f.length > 0) {
1912
1900
  writer.writeString(
1913
- 8,
1901
+ 7,
1914
1902
  f
1915
1903
  );
1916
1904
  }
1917
1905
  f = message.getGuaranteePeriod();
1918
1906
  if (f.length > 0) {
1919
1907
  writer.writeString(
1920
- 9,
1908
+ 8,
1921
1909
  f
1922
1910
  );
1923
1911
  }
1924
1912
  f = message.getRetention();
1925
1913
  if (f.length > 0) {
1926
1914
  writer.writeString(
1927
- 10,
1915
+ 9,
1928
1916
  f
1929
1917
  );
1930
1918
  }
1931
1919
  f = message.getPenalty();
1932
1920
  if (f.length > 0) {
1933
1921
  writer.writeString(
1934
- 11,
1922
+ 10,
1935
1923
  f
1936
1924
  );
1937
1925
  }
1938
1926
  f = message.getInsurance();
1939
1927
  if (f.length > 0) {
1940
1928
  writer.writeString(
1941
- 12,
1929
+ 11,
1942
1930
  f
1943
1931
  );
1944
1932
  }
1945
1933
  f = message.getHeaderText();
1946
1934
  if (f.length > 0) {
1947
1935
  writer.writeString(
1948
- 13,
1936
+ 12,
1949
1937
  f
1950
1938
  );
1951
1939
  }
1952
1940
  f = message.getHeaderNote();
1953
1941
  if (f.length > 0) {
1954
1942
  writer.writeString(
1955
- 14,
1943
+ 13,
1956
1944
  f
1957
1945
  );
1958
1946
  }
1959
1947
  f = message.getEmailCc();
1960
1948
  if (f.length > 0) {
1961
1949
  writer.writeString(
1962
- 15,
1950
+ 14,
1963
1951
  f
1964
1952
  );
1965
1953
  }
1966
1954
  f = message.getStatus();
1967
1955
  if (f.length > 0) {
1968
1956
  writer.writeString(
1969
- 16,
1957
+ 15,
1970
1958
  f
1971
1959
  );
1972
1960
  }
1973
1961
  f = message.getDate();
1974
1962
  if (f.length > 0) {
1975
1963
  writer.writeString(
1976
- 17,
1964
+ 16,
1977
1965
  f
1978
1966
  );
1979
1967
  }
1980
1968
  f = message.getGroupReferences();
1981
1969
  if (f.length > 0) {
1982
1970
  writer.writeString(
1983
- 18,
1971
+ 17,
1984
1972
  f
1985
1973
  );
1986
1974
  }
1987
1975
  f = message.getFilesList();
1988
1976
  if (f.length > 0) {
1989
1977
  writer.writeRepeatedMessage(
1990
- 19,
1978
+ 18,
1991
1979
  f,
1992
1980
  prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq.serializeBinaryToWriter
1993
1981
  );
@@ -1995,7 +1983,7 @@ proto.BasePurchaseOrderRequest.serializeBinaryToWriter = function(message, write
1995
1983
  f = message.getItemTransactionsList();
1996
1984
  if (f.length > 0) {
1997
1985
  writer.writeRepeatedMessage(
1998
- 20,
1986
+ 19,
1999
1987
  f,
2000
1988
  prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction.serializeBinaryToWriter
2001
1989
  );
@@ -2003,7 +1991,7 @@ proto.BasePurchaseOrderRequest.serializeBinaryToWriter = function(message, write
2003
1991
  f = message.getVendor();
2004
1992
  if (f != null) {
2005
1993
  writer.writeMessage(
2006
- 21,
1994
+ 20,
2007
1995
  f,
2008
1996
  prisca_v1_vendor_domain_vendor_domain_pb.Vendor.serializeBinaryToWriter
2009
1997
  );
@@ -2012,29 +2000,11 @@ proto.BasePurchaseOrderRequest.serializeBinaryToWriter = function(message, write
2012
2000
 
2013
2001
 
2014
2002
  /**
2015
- * optional string purchase_request_references_id = 1;
2016
- * @return {string}
2017
- */
2018
- proto.BasePurchaseOrderRequest.prototype.getPurchaseRequestReferencesId = function() {
2019
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2020
- };
2021
-
2022
-
2023
- /**
2024
- * @param {string} value
2025
- * @return {!proto.BasePurchaseOrderRequest} returns this
2026
- */
2027
- proto.BasePurchaseOrderRequest.prototype.setPurchaseRequestReferencesId = function(value) {
2028
- return jspb.Message.setProto3StringField(this, 1, value);
2029
- };
2030
-
2031
-
2032
- /**
2033
- * optional string title = 2;
2003
+ * optional string title = 1;
2034
2004
  * @return {string}
2035
2005
  */
2036
2006
  proto.BasePurchaseOrderRequest.prototype.getTitle = function() {
2037
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2007
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
2038
2008
  };
2039
2009
 
2040
2010
 
@@ -2043,16 +2013,16 @@ proto.BasePurchaseOrderRequest.prototype.getTitle = function() {
2043
2013
  * @return {!proto.BasePurchaseOrderRequest} returns this
2044
2014
  */
2045
2015
  proto.BasePurchaseOrderRequest.prototype.setTitle = function(value) {
2046
- return jspb.Message.setProto3StringField(this, 2, value);
2016
+ return jspb.Message.setProto3StringField(this, 1, value);
2047
2017
  };
2048
2018
 
2049
2019
 
2050
2020
  /**
2051
- * optional string company_code = 3;
2021
+ * optional string company_code = 2;
2052
2022
  * @return {string}
2053
2023
  */
2054
2024
  proto.BasePurchaseOrderRequest.prototype.getCompanyCode = function() {
2055
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2025
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
2056
2026
  };
2057
2027
 
2058
2028
 
@@ -2061,16 +2031,16 @@ proto.BasePurchaseOrderRequest.prototype.getCompanyCode = function() {
2061
2031
  * @return {!proto.BasePurchaseOrderRequest} returns this
2062
2032
  */
2063
2033
  proto.BasePurchaseOrderRequest.prototype.setCompanyCode = function(value) {
2064
- return jspb.Message.setProto3StringField(this, 3, value);
2034
+ return jspb.Message.setProto3StringField(this, 2, value);
2065
2035
  };
2066
2036
 
2067
2037
 
2068
2038
  /**
2069
- * optional string purchasing_organizations = 4;
2039
+ * optional string purchasing_organizations = 3;
2070
2040
  * @return {string}
2071
2041
  */
2072
2042
  proto.BasePurchaseOrderRequest.prototype.getPurchasingOrganizations = function() {
2073
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2043
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
2074
2044
  };
2075
2045
 
2076
2046
 
@@ -2079,16 +2049,16 @@ proto.BasePurchaseOrderRequest.prototype.getPurchasingOrganizations = function()
2079
2049
  * @return {!proto.BasePurchaseOrderRequest} returns this
2080
2050
  */
2081
2051
  proto.BasePurchaseOrderRequest.prototype.setPurchasingOrganizations = function(value) {
2082
- return jspb.Message.setProto3StringField(this, 4, value);
2052
+ return jspb.Message.setProto3StringField(this, 3, value);
2083
2053
  };
2084
2054
 
2085
2055
 
2086
2056
  /**
2087
- * optional string purchasing_groups = 5;
2057
+ * optional string purchasing_groups = 4;
2088
2058
  * @return {string}
2089
2059
  */
2090
2060
  proto.BasePurchaseOrderRequest.prototype.getPurchasingGroups = function() {
2091
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2061
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2092
2062
  };
2093
2063
 
2094
2064
 
@@ -2097,16 +2067,16 @@ proto.BasePurchaseOrderRequest.prototype.getPurchasingGroups = function() {
2097
2067
  * @return {!proto.BasePurchaseOrderRequest} returns this
2098
2068
  */
2099
2069
  proto.BasePurchaseOrderRequest.prototype.setPurchasingGroups = function(value) {
2100
- return jspb.Message.setProto3StringField(this, 5, value);
2070
+ return jspb.Message.setProto3StringField(this, 4, value);
2101
2071
  };
2102
2072
 
2103
2073
 
2104
2074
  /**
2105
- * optional string term_of_payment = 6;
2075
+ * optional string term_of_payment = 5;
2106
2076
  * @return {string}
2107
2077
  */
2108
2078
  proto.BasePurchaseOrderRequest.prototype.getTermOfPayment = function() {
2109
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2079
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
2110
2080
  };
2111
2081
 
2112
2082
 
@@ -2115,16 +2085,16 @@ proto.BasePurchaseOrderRequest.prototype.getTermOfPayment = function() {
2115
2085
  * @return {!proto.BasePurchaseOrderRequest} returns this
2116
2086
  */
2117
2087
  proto.BasePurchaseOrderRequest.prototype.setTermOfPayment = function(value) {
2118
- return jspb.Message.setProto3StringField(this, 6, value);
2088
+ return jspb.Message.setProto3StringField(this, 5, value);
2119
2089
  };
2120
2090
 
2121
2091
 
2122
2092
  /**
2123
- * optional string shipping_address = 7;
2093
+ * optional string shipping_address = 6;
2124
2094
  * @return {string}
2125
2095
  */
2126
2096
  proto.BasePurchaseOrderRequest.prototype.getShippingAddress = function() {
2127
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2097
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
2128
2098
  };
2129
2099
 
2130
2100
 
@@ -2133,16 +2103,16 @@ proto.BasePurchaseOrderRequest.prototype.getShippingAddress = function() {
2133
2103
  * @return {!proto.BasePurchaseOrderRequest} returns this
2134
2104
  */
2135
2105
  proto.BasePurchaseOrderRequest.prototype.setShippingAddress = function(value) {
2136
- return jspb.Message.setProto3StringField(this, 7, value);
2106
+ return jspb.Message.setProto3StringField(this, 6, value);
2137
2107
  };
2138
2108
 
2139
2109
 
2140
2110
  /**
2141
- * optional string term_of_payment_text = 8;
2111
+ * optional string term_of_payment_text = 7;
2142
2112
  * @return {string}
2143
2113
  */
2144
2114
  proto.BasePurchaseOrderRequest.prototype.getTermOfPaymentText = function() {
2145
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2115
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
2146
2116
  };
2147
2117
 
2148
2118
 
@@ -2151,16 +2121,16 @@ proto.BasePurchaseOrderRequest.prototype.getTermOfPaymentText = function() {
2151
2121
  * @return {!proto.BasePurchaseOrderRequest} returns this
2152
2122
  */
2153
2123
  proto.BasePurchaseOrderRequest.prototype.setTermOfPaymentText = function(value) {
2154
- return jspb.Message.setProto3StringField(this, 8, value);
2124
+ return jspb.Message.setProto3StringField(this, 7, value);
2155
2125
  };
2156
2126
 
2157
2127
 
2158
2128
  /**
2159
- * optional string guarantee_period = 9;
2129
+ * optional string guarantee_period = 8;
2160
2130
  * @return {string}
2161
2131
  */
2162
2132
  proto.BasePurchaseOrderRequest.prototype.getGuaranteePeriod = function() {
2163
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
2133
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
2164
2134
  };
2165
2135
 
2166
2136
 
@@ -2169,16 +2139,16 @@ proto.BasePurchaseOrderRequest.prototype.getGuaranteePeriod = function() {
2169
2139
  * @return {!proto.BasePurchaseOrderRequest} returns this
2170
2140
  */
2171
2141
  proto.BasePurchaseOrderRequest.prototype.setGuaranteePeriod = function(value) {
2172
- return jspb.Message.setProto3StringField(this, 9, value);
2142
+ return jspb.Message.setProto3StringField(this, 8, value);
2173
2143
  };
2174
2144
 
2175
2145
 
2176
2146
  /**
2177
- * optional string retention = 10;
2147
+ * optional string retention = 9;
2178
2148
  * @return {string}
2179
2149
  */
2180
2150
  proto.BasePurchaseOrderRequest.prototype.getRetention = function() {
2181
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
2151
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
2182
2152
  };
2183
2153
 
2184
2154
 
@@ -2187,16 +2157,16 @@ proto.BasePurchaseOrderRequest.prototype.getRetention = function() {
2187
2157
  * @return {!proto.BasePurchaseOrderRequest} returns this
2188
2158
  */
2189
2159
  proto.BasePurchaseOrderRequest.prototype.setRetention = function(value) {
2190
- return jspb.Message.setProto3StringField(this, 10, value);
2160
+ return jspb.Message.setProto3StringField(this, 9, value);
2191
2161
  };
2192
2162
 
2193
2163
 
2194
2164
  /**
2195
- * optional string penalty = 11;
2165
+ * optional string penalty = 10;
2196
2166
  * @return {string}
2197
2167
  */
2198
2168
  proto.BasePurchaseOrderRequest.prototype.getPenalty = function() {
2199
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
2169
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
2200
2170
  };
2201
2171
 
2202
2172
 
@@ -2205,16 +2175,16 @@ proto.BasePurchaseOrderRequest.prototype.getPenalty = function() {
2205
2175
  * @return {!proto.BasePurchaseOrderRequest} returns this
2206
2176
  */
2207
2177
  proto.BasePurchaseOrderRequest.prototype.setPenalty = function(value) {
2208
- return jspb.Message.setProto3StringField(this, 11, value);
2178
+ return jspb.Message.setProto3StringField(this, 10, value);
2209
2179
  };
2210
2180
 
2211
2181
 
2212
2182
  /**
2213
- * optional string insurance = 12;
2183
+ * optional string insurance = 11;
2214
2184
  * @return {string}
2215
2185
  */
2216
2186
  proto.BasePurchaseOrderRequest.prototype.getInsurance = function() {
2217
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
2187
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
2218
2188
  };
2219
2189
 
2220
2190
 
@@ -2223,16 +2193,16 @@ proto.BasePurchaseOrderRequest.prototype.getInsurance = function() {
2223
2193
  * @return {!proto.BasePurchaseOrderRequest} returns this
2224
2194
  */
2225
2195
  proto.BasePurchaseOrderRequest.prototype.setInsurance = function(value) {
2226
- return jspb.Message.setProto3StringField(this, 12, value);
2196
+ return jspb.Message.setProto3StringField(this, 11, value);
2227
2197
  };
2228
2198
 
2229
2199
 
2230
2200
  /**
2231
- * optional string header_text = 13;
2201
+ * optional string header_text = 12;
2232
2202
  * @return {string}
2233
2203
  */
2234
2204
  proto.BasePurchaseOrderRequest.prototype.getHeaderText = function() {
2235
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
2205
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
2236
2206
  };
2237
2207
 
2238
2208
 
@@ -2241,16 +2211,16 @@ proto.BasePurchaseOrderRequest.prototype.getHeaderText = function() {
2241
2211
  * @return {!proto.BasePurchaseOrderRequest} returns this
2242
2212
  */
2243
2213
  proto.BasePurchaseOrderRequest.prototype.setHeaderText = function(value) {
2244
- return jspb.Message.setProto3StringField(this, 13, value);
2214
+ return jspb.Message.setProto3StringField(this, 12, value);
2245
2215
  };
2246
2216
 
2247
2217
 
2248
2218
  /**
2249
- * optional string header_note = 14;
2219
+ * optional string header_note = 13;
2250
2220
  * @return {string}
2251
2221
  */
2252
2222
  proto.BasePurchaseOrderRequest.prototype.getHeaderNote = function() {
2253
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
2223
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
2254
2224
  };
2255
2225
 
2256
2226
 
@@ -2259,16 +2229,16 @@ proto.BasePurchaseOrderRequest.prototype.getHeaderNote = function() {
2259
2229
  * @return {!proto.BasePurchaseOrderRequest} returns this
2260
2230
  */
2261
2231
  proto.BasePurchaseOrderRequest.prototype.setHeaderNote = function(value) {
2262
- return jspb.Message.setProto3StringField(this, 14, value);
2232
+ return jspb.Message.setProto3StringField(this, 13, value);
2263
2233
  };
2264
2234
 
2265
2235
 
2266
2236
  /**
2267
- * optional string email_cc = 15;
2237
+ * optional string email_cc = 14;
2268
2238
  * @return {string}
2269
2239
  */
2270
2240
  proto.BasePurchaseOrderRequest.prototype.getEmailCc = function() {
2271
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
2241
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
2272
2242
  };
2273
2243
 
2274
2244
 
@@ -2277,16 +2247,16 @@ proto.BasePurchaseOrderRequest.prototype.getEmailCc = function() {
2277
2247
  * @return {!proto.BasePurchaseOrderRequest} returns this
2278
2248
  */
2279
2249
  proto.BasePurchaseOrderRequest.prototype.setEmailCc = function(value) {
2280
- return jspb.Message.setProto3StringField(this, 15, value);
2250
+ return jspb.Message.setProto3StringField(this, 14, value);
2281
2251
  };
2282
2252
 
2283
2253
 
2284
2254
  /**
2285
- * optional string status = 16;
2255
+ * optional string status = 15;
2286
2256
  * @return {string}
2287
2257
  */
2288
2258
  proto.BasePurchaseOrderRequest.prototype.getStatus = function() {
2289
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
2259
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
2290
2260
  };
2291
2261
 
2292
2262
 
@@ -2295,16 +2265,16 @@ proto.BasePurchaseOrderRequest.prototype.getStatus = function() {
2295
2265
  * @return {!proto.BasePurchaseOrderRequest} returns this
2296
2266
  */
2297
2267
  proto.BasePurchaseOrderRequest.prototype.setStatus = function(value) {
2298
- return jspb.Message.setProto3StringField(this, 16, value);
2268
+ return jspb.Message.setProto3StringField(this, 15, value);
2299
2269
  };
2300
2270
 
2301
2271
 
2302
2272
  /**
2303
- * optional string date = 17;
2273
+ * optional string date = 16;
2304
2274
  * @return {string}
2305
2275
  */
2306
2276
  proto.BasePurchaseOrderRequest.prototype.getDate = function() {
2307
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
2277
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
2308
2278
  };
2309
2279
 
2310
2280
 
@@ -2313,16 +2283,16 @@ proto.BasePurchaseOrderRequest.prototype.getDate = function() {
2313
2283
  * @return {!proto.BasePurchaseOrderRequest} returns this
2314
2284
  */
2315
2285
  proto.BasePurchaseOrderRequest.prototype.setDate = function(value) {
2316
- return jspb.Message.setProto3StringField(this, 17, value);
2286
+ return jspb.Message.setProto3StringField(this, 16, value);
2317
2287
  };
2318
2288
 
2319
2289
 
2320
2290
  /**
2321
- * optional string group_references = 18;
2291
+ * optional string group_references = 17;
2322
2292
  * @return {string}
2323
2293
  */
2324
2294
  proto.BasePurchaseOrderRequest.prototype.getGroupReferences = function() {
2325
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
2295
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
2326
2296
  };
2327
2297
 
2328
2298
 
@@ -2331,17 +2301,17 @@ proto.BasePurchaseOrderRequest.prototype.getGroupReferences = function() {
2331
2301
  * @return {!proto.BasePurchaseOrderRequest} returns this
2332
2302
  */
2333
2303
  proto.BasePurchaseOrderRequest.prototype.setGroupReferences = function(value) {
2334
- return jspb.Message.setProto3StringField(this, 18, value);
2304
+ return jspb.Message.setProto3StringField(this, 17, value);
2335
2305
  };
2336
2306
 
2337
2307
 
2338
2308
  /**
2339
- * repeated FileUploadReferencesReq files = 19;
2309
+ * repeated FileUploadReferencesReq files = 18;
2340
2310
  * @return {!Array<!proto.FileUploadReferencesReq>}
2341
2311
  */
2342
2312
  proto.BasePurchaseOrderRequest.prototype.getFilesList = function() {
2343
2313
  return /** @type{!Array<!proto.FileUploadReferencesReq>} */ (
2344
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 19));
2314
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_file_upload_file_upload_pb.FileUploadReferencesReq, 18));
2345
2315
  };
2346
2316
 
2347
2317
 
@@ -2350,7 +2320,7 @@ proto.BasePurchaseOrderRequest.prototype.getFilesList = function() {
2350
2320
  * @return {!proto.BasePurchaseOrderRequest} returns this
2351
2321
  */
2352
2322
  proto.BasePurchaseOrderRequest.prototype.setFilesList = function(value) {
2353
- return jspb.Message.setRepeatedWrapperField(this, 19, value);
2323
+ return jspb.Message.setRepeatedWrapperField(this, 18, value);
2354
2324
  };
2355
2325
 
2356
2326
 
@@ -2360,7 +2330,7 @@ proto.BasePurchaseOrderRequest.prototype.setFilesList = function(value) {
2360
2330
  * @return {!proto.FileUploadReferencesReq}
2361
2331
  */
2362
2332
  proto.BasePurchaseOrderRequest.prototype.addFiles = function(opt_value, opt_index) {
2363
- return jspb.Message.addToRepeatedWrapperField(this, 19, opt_value, proto.FileUploadReferencesReq, opt_index);
2333
+ return jspb.Message.addToRepeatedWrapperField(this, 18, opt_value, proto.FileUploadReferencesReq, opt_index);
2364
2334
  };
2365
2335
 
2366
2336
 
@@ -2374,12 +2344,12 @@ proto.BasePurchaseOrderRequest.prototype.clearFilesList = function() {
2374
2344
 
2375
2345
 
2376
2346
  /**
2377
- * repeated BaseItemTransaction item_transactions = 20;
2347
+ * repeated BaseItemTransaction item_transactions = 19;
2378
2348
  * @return {!Array<!proto.BaseItemTransaction>}
2379
2349
  */
2380
2350
  proto.BasePurchaseOrderRequest.prototype.getItemTransactionsList = function() {
2381
2351
  return /** @type{!Array<!proto.BaseItemTransaction>} */ (
2382
- jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction, 20));
2352
+ jspb.Message.getRepeatedWrapperField(this, prisca_v1_core_item_transaction_item_transaction_pb.BaseItemTransaction, 19));
2383
2353
  };
2384
2354
 
2385
2355
 
@@ -2388,7 +2358,7 @@ proto.BasePurchaseOrderRequest.prototype.getItemTransactionsList = function() {
2388
2358
  * @return {!proto.BasePurchaseOrderRequest} returns this
2389
2359
  */
2390
2360
  proto.BasePurchaseOrderRequest.prototype.setItemTransactionsList = function(value) {
2391
- return jspb.Message.setRepeatedWrapperField(this, 20, value);
2361
+ return jspb.Message.setRepeatedWrapperField(this, 19, value);
2392
2362
  };
2393
2363
 
2394
2364
 
@@ -2398,7 +2368,7 @@ proto.BasePurchaseOrderRequest.prototype.setItemTransactionsList = function(valu
2398
2368
  * @return {!proto.BaseItemTransaction}
2399
2369
  */
2400
2370
  proto.BasePurchaseOrderRequest.prototype.addItemTransactions = function(opt_value, opt_index) {
2401
- return jspb.Message.addToRepeatedWrapperField(this, 20, opt_value, proto.BaseItemTransaction, opt_index);
2371
+ return jspb.Message.addToRepeatedWrapperField(this, 19, opt_value, proto.BaseItemTransaction, opt_index);
2402
2372
  };
2403
2373
 
2404
2374
 
@@ -2412,12 +2382,12 @@ proto.BasePurchaseOrderRequest.prototype.clearItemTransactionsList = function()
2412
2382
 
2413
2383
 
2414
2384
  /**
2415
- * optional Vendor vendor = 21;
2385
+ * optional Vendor vendor = 20;
2416
2386
  * @return {?proto.Vendor}
2417
2387
  */
2418
2388
  proto.BasePurchaseOrderRequest.prototype.getVendor = function() {
2419
2389
  return /** @type{?proto.Vendor} */ (
2420
- jspb.Message.getWrapperField(this, prisca_v1_vendor_domain_vendor_domain_pb.Vendor, 21));
2390
+ jspb.Message.getWrapperField(this, prisca_v1_vendor_domain_vendor_domain_pb.Vendor, 20));
2421
2391
  };
2422
2392
 
2423
2393
 
@@ -2426,7 +2396,7 @@ proto.BasePurchaseOrderRequest.prototype.getVendor = function() {
2426
2396
  * @return {!proto.BasePurchaseOrderRequest} returns this
2427
2397
  */
2428
2398
  proto.BasePurchaseOrderRequest.prototype.setVendor = function(value) {
2429
- return jspb.Message.setWrapperField(this, 21, value);
2399
+ return jspb.Message.setWrapperField(this, 20, value);
2430
2400
  };
2431
2401
 
2432
2402
 
@@ -2444,7 +2414,7 @@ proto.BasePurchaseOrderRequest.prototype.clearVendor = function() {
2444
2414
  * @return {boolean}
2445
2415
  */
2446
2416
  proto.BasePurchaseOrderRequest.prototype.hasVendor = function() {
2447
- return jspb.Message.getField(this, 21) != null;
2417
+ return jspb.Message.getField(this, 20) != null;
2448
2418
  };
2449
2419
 
2450
2420