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