@aldiokta/protocgen 1.1.26 → 1.1.28
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 +55 -0
- package/prisca/v1/bidding/bidding_pb.js +1042 -63
- package/prisca/v1/core/access_manager/access_manager_grpc_pb.js +33 -0
- package/prisca/v1/core/access_manager/access_manager_pb.js +385 -0
- package/prisca/v1/core/auth/auth_grpc_pb.js +103 -3
- package/prisca/v1/core/auth/auth_pb.js +2519 -1181
- package/prisca/v1/core/file_upload/file_upload_pb.js +93 -3
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +183 -33
- package/prisca/v1/core/line_of_activity/line_of_activity_pb.js +438 -46
- package/prisca/v1/core/line_of_approval/line_of_approval_pb.js +31 -1
- package/prisca/v1/core/location/location_pb.js +446 -57
- package/prisca/v1/core/messaging/notification_grpc_pb.js +188 -0
- package/prisca/v1/core/messaging/notification_pb.js +2780 -0
- package/prisca/v1/core/price_condition/price_condition_pb.js +122 -2
- package/prisca/v1/core/transaction_builder/transaction_builder_grpc_pb.js +234 -168
- package/prisca/v1/core/transaction_builder/transaction_builder_pb.js +1987 -1775
- package/prisca/v1/delivery_order/delivery_order_pb.js +130 -70
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +228 -1
- package/prisca/v1/good_receipt/good_receipt_pb.js +4779 -0
- package/prisca/v1/invoice/invoice_grpc_pb.js +174 -0
- package/prisca/v1/invoice/invoice_pb.js +4398 -0
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +11 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +142 -22
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +105 -75
- package/prisca/v1/purchasing_organization/purchasing_organization_pb.js +55 -177
- package/prisca/v1/quotation/quotation_pb.js +236 -26
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +33 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +413 -28
- package/prisca/v1/vendor_domain/vendor_domain_grpc_pb.js +55 -0
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +1076 -317
|
@@ -144,7 +144,8 @@ proto.FileInfo.toObject = function(includeInstance, msg) {
|
|
|
144
144
|
var f, obj = {
|
|
145
145
|
fileName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
146
146
|
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
147
|
-
description: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
147
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
148
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
148
149
|
};
|
|
149
150
|
|
|
150
151
|
if (includeInstance) {
|
|
@@ -193,6 +194,10 @@ proto.FileInfo.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
193
194
|
var value = /** @type {string} */ (reader.readString());
|
|
194
195
|
msg.setDescription(value);
|
|
195
196
|
break;
|
|
197
|
+
case 4:
|
|
198
|
+
var value = /** @type {string} */ (reader.readString());
|
|
199
|
+
msg.setDocumentType(value);
|
|
200
|
+
break;
|
|
196
201
|
default:
|
|
197
202
|
reader.skipField();
|
|
198
203
|
break;
|
|
@@ -243,6 +248,13 @@ proto.FileInfo.serializeBinaryToWriter = function(message, writer) {
|
|
|
243
248
|
f
|
|
244
249
|
);
|
|
245
250
|
}
|
|
251
|
+
f = message.getDocumentType();
|
|
252
|
+
if (f.length > 0) {
|
|
253
|
+
writer.writeString(
|
|
254
|
+
4,
|
|
255
|
+
f
|
|
256
|
+
);
|
|
257
|
+
}
|
|
246
258
|
};
|
|
247
259
|
|
|
248
260
|
|
|
@@ -300,6 +312,24 @@ proto.FileInfo.prototype.setDescription = function(value) {
|
|
|
300
312
|
};
|
|
301
313
|
|
|
302
314
|
|
|
315
|
+
/**
|
|
316
|
+
* optional string document_type = 4;
|
|
317
|
+
* @return {string}
|
|
318
|
+
*/
|
|
319
|
+
proto.FileInfo.prototype.getDocumentType = function() {
|
|
320
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
321
|
+
};
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
/**
|
|
325
|
+
* @param {string} value
|
|
326
|
+
* @return {!proto.FileInfo} returns this
|
|
327
|
+
*/
|
|
328
|
+
proto.FileInfo.prototype.setDocumentType = function(value) {
|
|
329
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
|
|
303
333
|
|
|
304
334
|
/**
|
|
305
335
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -585,7 +615,8 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
585
615
|
url: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
586
616
|
fileName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
587
617
|
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
588
|
-
description: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
618
|
+
description: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
619
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
589
620
|
};
|
|
590
621
|
|
|
591
622
|
if (includeInstance) {
|
|
@@ -642,6 +673,10 @@ proto.FileUploadReferencesReq.deserializeBinaryFromReader = function(msg, reader
|
|
|
642
673
|
var value = /** @type {string} */ (reader.readString());
|
|
643
674
|
msg.setDescription(value);
|
|
644
675
|
break;
|
|
676
|
+
case 6:
|
|
677
|
+
var value = /** @type {string} */ (reader.readString());
|
|
678
|
+
msg.setDocumentType(value);
|
|
679
|
+
break;
|
|
645
680
|
default:
|
|
646
681
|
reader.skipField();
|
|
647
682
|
break;
|
|
@@ -706,6 +741,13 @@ proto.FileUploadReferencesReq.serializeBinaryToWriter = function(message, writer
|
|
|
706
741
|
f
|
|
707
742
|
);
|
|
708
743
|
}
|
|
744
|
+
f = message.getDocumentType();
|
|
745
|
+
if (f.length > 0) {
|
|
746
|
+
writer.writeString(
|
|
747
|
+
6,
|
|
748
|
+
f
|
|
749
|
+
);
|
|
750
|
+
}
|
|
709
751
|
};
|
|
710
752
|
|
|
711
753
|
|
|
@@ -799,6 +841,24 @@ proto.FileUploadReferencesReq.prototype.setDescription = function(value) {
|
|
|
799
841
|
};
|
|
800
842
|
|
|
801
843
|
|
|
844
|
+
/**
|
|
845
|
+
* optional string document_type = 6;
|
|
846
|
+
* @return {string}
|
|
847
|
+
*/
|
|
848
|
+
proto.FileUploadReferencesReq.prototype.getDocumentType = function() {
|
|
849
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* @param {string} value
|
|
855
|
+
* @return {!proto.FileUploadReferencesReq} returns this
|
|
856
|
+
*/
|
|
857
|
+
proto.FileUploadReferencesReq.prototype.setDocumentType = function(value) {
|
|
858
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
|
|
802
862
|
|
|
803
863
|
|
|
804
864
|
|
|
@@ -835,7 +895,8 @@ referencesId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
835
895
|
url: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
836
896
|
fileName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
837
897
|
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
838
|
-
description: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
898
|
+
description: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
899
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
839
900
|
};
|
|
840
901
|
|
|
841
902
|
if (includeInstance) {
|
|
@@ -892,6 +953,10 @@ proto.FileUploadRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
892
953
|
var value = /** @type {string} */ (reader.readString());
|
|
893
954
|
msg.setDescription(value);
|
|
894
955
|
break;
|
|
956
|
+
case 6:
|
|
957
|
+
var value = /** @type {string} */ (reader.readString());
|
|
958
|
+
msg.setDocumentType(value);
|
|
959
|
+
break;
|
|
895
960
|
default:
|
|
896
961
|
reader.skipField();
|
|
897
962
|
break;
|
|
@@ -956,6 +1021,13 @@ proto.FileUploadRes.serializeBinaryToWriter = function(message, writer) {
|
|
|
956
1021
|
f
|
|
957
1022
|
);
|
|
958
1023
|
}
|
|
1024
|
+
f = message.getDocumentType();
|
|
1025
|
+
if (f.length > 0) {
|
|
1026
|
+
writer.writeString(
|
|
1027
|
+
6,
|
|
1028
|
+
f
|
|
1029
|
+
);
|
|
1030
|
+
}
|
|
959
1031
|
};
|
|
960
1032
|
|
|
961
1033
|
|
|
@@ -1049,4 +1121,22 @@ proto.FileUploadRes.prototype.setDescription = function(value) {
|
|
|
1049
1121
|
};
|
|
1050
1122
|
|
|
1051
1123
|
|
|
1124
|
+
/**
|
|
1125
|
+
* optional string document_type = 6;
|
|
1126
|
+
* @return {string}
|
|
1127
|
+
*/
|
|
1128
|
+
proto.FileUploadRes.prototype.getDocumentType = function() {
|
|
1129
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* @param {string} value
|
|
1135
|
+
* @return {!proto.FileUploadRes} returns this
|
|
1136
|
+
*/
|
|
1137
|
+
proto.FileUploadRes.prototype.setDocumentType = function(value) {
|
|
1138
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1139
|
+
};
|
|
1140
|
+
|
|
1141
|
+
|
|
1052
1142
|
goog.object.extend(exports, proto);
|
|
@@ -266,7 +266,6 @@ previousTransactionReferences: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
|
266
266
|
currency: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
267
267
|
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 24, ""),
|
|
268
268
|
originalQuantity: jspb.Message.getFieldWithDefault(msg, 25, 0),
|
|
269
|
-
usedQuantity: jspb.Message.getFieldWithDefault(msg, 26, 0),
|
|
270
269
|
remainingQuantity: jspb.Message.getFieldWithDefault(msg, 27, 0),
|
|
271
270
|
purchaseRequisitionQuantity: jspb.Message.getFieldWithDefault(msg, 28, ""),
|
|
272
271
|
purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 29, ""),
|
|
@@ -412,10 +411,6 @@ proto.ItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
412
411
|
var value = /** @type {number} */ (reader.readInt64());
|
|
413
412
|
msg.setOriginalQuantity(value);
|
|
414
413
|
break;
|
|
415
|
-
case 26:
|
|
416
|
-
var value = /** @type {number} */ (reader.readInt64());
|
|
417
|
-
msg.setUsedQuantity(value);
|
|
418
|
-
break;
|
|
419
414
|
case 27:
|
|
420
415
|
var value = /** @type {number} */ (reader.readInt64());
|
|
421
416
|
msg.setRemainingQuantity(value);
|
|
@@ -644,13 +639,6 @@ proto.ItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
644
639
|
f
|
|
645
640
|
);
|
|
646
641
|
}
|
|
647
|
-
f = message.getUsedQuantity();
|
|
648
|
-
if (f !== 0) {
|
|
649
|
-
writer.writeInt64(
|
|
650
|
-
26,
|
|
651
|
-
f
|
|
652
|
-
);
|
|
653
|
-
}
|
|
654
642
|
f = message.getRemainingQuantity();
|
|
655
643
|
if (f !== 0) {
|
|
656
644
|
writer.writeInt64(
|
|
@@ -1200,24 +1188,6 @@ proto.ItemTransaction.prototype.setOriginalQuantity = function(value) {
|
|
|
1200
1188
|
};
|
|
1201
1189
|
|
|
1202
1190
|
|
|
1203
|
-
/**
|
|
1204
|
-
* optional int64 used_quantity = 26;
|
|
1205
|
-
* @return {number}
|
|
1206
|
-
*/
|
|
1207
|
-
proto.ItemTransaction.prototype.getUsedQuantity = function() {
|
|
1208
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 26, 0));
|
|
1209
|
-
};
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
/**
|
|
1213
|
-
* @param {number} value
|
|
1214
|
-
* @return {!proto.ItemTransaction} returns this
|
|
1215
|
-
*/
|
|
1216
|
-
proto.ItemTransaction.prototype.setUsedQuantity = function(value) {
|
|
1217
|
-
return jspb.Message.setProto3IntField(this, 26, value);
|
|
1218
|
-
};
|
|
1219
|
-
|
|
1220
|
-
|
|
1221
1191
|
/**
|
|
1222
1192
|
* optional int64 remaining_quantity = 27;
|
|
1223
1193
|
* @return {number}
|
|
@@ -2622,7 +2592,9 @@ createdAt: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
|
2622
2592
|
updatedAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2623
2593
|
code: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2624
2594
|
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
2625
|
-
properties: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
2595
|
+
properties: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
2596
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
2597
|
+
currency: jspb.Message.getFieldWithDefault(msg, 15, "")
|
|
2626
2598
|
};
|
|
2627
2599
|
|
|
2628
2600
|
if (includeInstance) {
|
|
@@ -2711,6 +2683,14 @@ proto.ItemTransactionPriceCondition.deserializeBinaryFromReader = function(msg,
|
|
|
2711
2683
|
var value = /** @type {string} */ (reader.readString());
|
|
2712
2684
|
msg.setProperties(value);
|
|
2713
2685
|
break;
|
|
2686
|
+
case 14:
|
|
2687
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2688
|
+
msg.setUnitOfMeasure(value);
|
|
2689
|
+
break;
|
|
2690
|
+
case 15:
|
|
2691
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2692
|
+
msg.setCurrency(value);
|
|
2693
|
+
break;
|
|
2714
2694
|
default:
|
|
2715
2695
|
reader.skipField();
|
|
2716
2696
|
break;
|
|
@@ -2831,6 +2811,20 @@ proto.ItemTransactionPriceCondition.serializeBinaryToWriter = function(message,
|
|
|
2831
2811
|
f
|
|
2832
2812
|
);
|
|
2833
2813
|
}
|
|
2814
|
+
f = message.getUnitOfMeasure();
|
|
2815
|
+
if (f.length > 0) {
|
|
2816
|
+
writer.writeString(
|
|
2817
|
+
14,
|
|
2818
|
+
f
|
|
2819
|
+
);
|
|
2820
|
+
}
|
|
2821
|
+
f = message.getCurrency();
|
|
2822
|
+
if (f.length > 0) {
|
|
2823
|
+
writer.writeString(
|
|
2824
|
+
15,
|
|
2825
|
+
f
|
|
2826
|
+
);
|
|
2827
|
+
}
|
|
2834
2828
|
};
|
|
2835
2829
|
|
|
2836
2830
|
|
|
@@ -3068,6 +3062,42 @@ proto.ItemTransactionPriceCondition.prototype.setProperties = function(value) {
|
|
|
3068
3062
|
};
|
|
3069
3063
|
|
|
3070
3064
|
|
|
3065
|
+
/**
|
|
3066
|
+
* optional string unit_of_measure = 14;
|
|
3067
|
+
* @return {string}
|
|
3068
|
+
*/
|
|
3069
|
+
proto.ItemTransactionPriceCondition.prototype.getUnitOfMeasure = function() {
|
|
3070
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
3071
|
+
};
|
|
3072
|
+
|
|
3073
|
+
|
|
3074
|
+
/**
|
|
3075
|
+
* @param {string} value
|
|
3076
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
3077
|
+
*/
|
|
3078
|
+
proto.ItemTransactionPriceCondition.prototype.setUnitOfMeasure = function(value) {
|
|
3079
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
3080
|
+
};
|
|
3081
|
+
|
|
3082
|
+
|
|
3083
|
+
/**
|
|
3084
|
+
* optional string currency = 15;
|
|
3085
|
+
* @return {string}
|
|
3086
|
+
*/
|
|
3087
|
+
proto.ItemTransactionPriceCondition.prototype.getCurrency = function() {
|
|
3088
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
3089
|
+
};
|
|
3090
|
+
|
|
3091
|
+
|
|
3092
|
+
/**
|
|
3093
|
+
* @param {string} value
|
|
3094
|
+
* @return {!proto.ItemTransactionPriceCondition} returns this
|
|
3095
|
+
*/
|
|
3096
|
+
proto.ItemTransactionPriceCondition.prototype.setCurrency = function(value) {
|
|
3097
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
3098
|
+
};
|
|
3099
|
+
|
|
3100
|
+
|
|
3071
3101
|
|
|
3072
3102
|
/**
|
|
3073
3103
|
* List of repeated fields within this message type.
|
|
@@ -3131,7 +3161,9 @@ currency: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
|
3131
3161
|
referencesId: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
3132
3162
|
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
3133
3163
|
itemTransactionServiceList: jspb.Message.toObjectList(msg.getItemTransactionServiceList(),
|
|
3134
|
-
proto.BaseItemTransactionService.toObject, includeInstance)
|
|
3164
|
+
proto.BaseItemTransactionService.toObject, includeInstance),
|
|
3165
|
+
purchaseRequisitionQuantity: jspb.Message.getFieldWithDefault(msg, 22, ""),
|
|
3166
|
+
purchaseRequisitionPrice: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
3135
3167
|
};
|
|
3136
3168
|
|
|
3137
3169
|
if (includeInstance) {
|
|
@@ -3256,6 +3288,14 @@ proto.BaseItemTransaction.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3256
3288
|
reader.readMessage(value,proto.BaseItemTransactionService.deserializeBinaryFromReader);
|
|
3257
3289
|
msg.addItemTransactionService(value);
|
|
3258
3290
|
break;
|
|
3291
|
+
case 22:
|
|
3292
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3293
|
+
msg.setPurchaseRequisitionQuantity(value);
|
|
3294
|
+
break;
|
|
3295
|
+
case 23:
|
|
3296
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3297
|
+
msg.setPurchaseRequisitionPrice(value);
|
|
3298
|
+
break;
|
|
3259
3299
|
default:
|
|
3260
3300
|
reader.skipField();
|
|
3261
3301
|
break;
|
|
@@ -3436,6 +3476,20 @@ proto.BaseItemTransaction.serializeBinaryToWriter = function(message, writer) {
|
|
|
3436
3476
|
proto.BaseItemTransactionService.serializeBinaryToWriter
|
|
3437
3477
|
);
|
|
3438
3478
|
}
|
|
3479
|
+
f = message.getPurchaseRequisitionQuantity();
|
|
3480
|
+
if (f.length > 0) {
|
|
3481
|
+
writer.writeString(
|
|
3482
|
+
22,
|
|
3483
|
+
f
|
|
3484
|
+
);
|
|
3485
|
+
}
|
|
3486
|
+
f = message.getPurchaseRequisitionPrice();
|
|
3487
|
+
if (f.length > 0) {
|
|
3488
|
+
writer.writeString(
|
|
3489
|
+
23,
|
|
3490
|
+
f
|
|
3491
|
+
);
|
|
3492
|
+
}
|
|
3439
3493
|
};
|
|
3440
3494
|
|
|
3441
3495
|
|
|
@@ -3897,6 +3951,42 @@ proto.BaseItemTransaction.prototype.clearItemTransactionServiceList = function()
|
|
|
3897
3951
|
};
|
|
3898
3952
|
|
|
3899
3953
|
|
|
3954
|
+
/**
|
|
3955
|
+
* optional string purchase_requisition_quantity = 22;
|
|
3956
|
+
* @return {string}
|
|
3957
|
+
*/
|
|
3958
|
+
proto.BaseItemTransaction.prototype.getPurchaseRequisitionQuantity = function() {
|
|
3959
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
3960
|
+
};
|
|
3961
|
+
|
|
3962
|
+
|
|
3963
|
+
/**
|
|
3964
|
+
* @param {string} value
|
|
3965
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3966
|
+
*/
|
|
3967
|
+
proto.BaseItemTransaction.prototype.setPurchaseRequisitionQuantity = function(value) {
|
|
3968
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
3969
|
+
};
|
|
3970
|
+
|
|
3971
|
+
|
|
3972
|
+
/**
|
|
3973
|
+
* optional string purchase_requisition_price = 23;
|
|
3974
|
+
* @return {string}
|
|
3975
|
+
*/
|
|
3976
|
+
proto.BaseItemTransaction.prototype.getPurchaseRequisitionPrice = function() {
|
|
3977
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
3978
|
+
};
|
|
3979
|
+
|
|
3980
|
+
|
|
3981
|
+
/**
|
|
3982
|
+
* @param {string} value
|
|
3983
|
+
* @return {!proto.BaseItemTransaction} returns this
|
|
3984
|
+
*/
|
|
3985
|
+
proto.BaseItemTransaction.prototype.setPurchaseRequisitionPrice = function(value) {
|
|
3986
|
+
return jspb.Message.setProto3StringField(this, 23, value);
|
|
3987
|
+
};
|
|
3988
|
+
|
|
3989
|
+
|
|
3900
3990
|
|
|
3901
3991
|
/**
|
|
3902
3992
|
* List of repeated fields within this message type.
|
|
@@ -5037,7 +5127,9 @@ name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
|
5037
5127
|
itemTransactionRef: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
5038
5128
|
code: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
5039
5129
|
isGeneral: jspb.Message.getBooleanFieldWithDefault(msg, 8, false),
|
|
5040
|
-
properties: jspb.Message.getFieldWithDefault(msg, 9, "")
|
|
5130
|
+
properties: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5131
|
+
unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5132
|
+
currency: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
5041
5133
|
};
|
|
5042
5134
|
|
|
5043
5135
|
if (includeInstance) {
|
|
@@ -5110,6 +5202,14 @@ proto.BaseItemTransactionPriceCondition.deserializeBinaryFromReader = function(m
|
|
|
5110
5202
|
var value = /** @type {string} */ (reader.readString());
|
|
5111
5203
|
msg.setProperties(value);
|
|
5112
5204
|
break;
|
|
5205
|
+
case 10:
|
|
5206
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5207
|
+
msg.setUnitOfMeasure(value);
|
|
5208
|
+
break;
|
|
5209
|
+
case 11:
|
|
5210
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5211
|
+
msg.setCurrency(value);
|
|
5212
|
+
break;
|
|
5113
5213
|
default:
|
|
5114
5214
|
reader.skipField();
|
|
5115
5215
|
break;
|
|
@@ -5202,6 +5302,20 @@ proto.BaseItemTransactionPriceCondition.serializeBinaryToWriter = function(messa
|
|
|
5202
5302
|
f
|
|
5203
5303
|
);
|
|
5204
5304
|
}
|
|
5305
|
+
f = message.getUnitOfMeasure();
|
|
5306
|
+
if (f.length > 0) {
|
|
5307
|
+
writer.writeString(
|
|
5308
|
+
10,
|
|
5309
|
+
f
|
|
5310
|
+
);
|
|
5311
|
+
}
|
|
5312
|
+
f = message.getCurrency();
|
|
5313
|
+
if (f.length > 0) {
|
|
5314
|
+
writer.writeString(
|
|
5315
|
+
11,
|
|
5316
|
+
f
|
|
5317
|
+
);
|
|
5318
|
+
}
|
|
5205
5319
|
};
|
|
5206
5320
|
|
|
5207
5321
|
|
|
@@ -5367,4 +5481,40 @@ proto.BaseItemTransactionPriceCondition.prototype.setProperties = function(value
|
|
|
5367
5481
|
};
|
|
5368
5482
|
|
|
5369
5483
|
|
|
5484
|
+
/**
|
|
5485
|
+
* optional string unit_of_measure = 10;
|
|
5486
|
+
* @return {string}
|
|
5487
|
+
*/
|
|
5488
|
+
proto.BaseItemTransactionPriceCondition.prototype.getUnitOfMeasure = function() {
|
|
5489
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
5490
|
+
};
|
|
5491
|
+
|
|
5492
|
+
|
|
5493
|
+
/**
|
|
5494
|
+
* @param {string} value
|
|
5495
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5496
|
+
*/
|
|
5497
|
+
proto.BaseItemTransactionPriceCondition.prototype.setUnitOfMeasure = function(value) {
|
|
5498
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
5499
|
+
};
|
|
5500
|
+
|
|
5501
|
+
|
|
5502
|
+
/**
|
|
5503
|
+
* optional string currency = 11;
|
|
5504
|
+
* @return {string}
|
|
5505
|
+
*/
|
|
5506
|
+
proto.BaseItemTransactionPriceCondition.prototype.getCurrency = function() {
|
|
5507
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
5508
|
+
};
|
|
5509
|
+
|
|
5510
|
+
|
|
5511
|
+
/**
|
|
5512
|
+
* @param {string} value
|
|
5513
|
+
* @return {!proto.BaseItemTransactionPriceCondition} returns this
|
|
5514
|
+
*/
|
|
5515
|
+
proto.BaseItemTransactionPriceCondition.prototype.setCurrency = function(value) {
|
|
5516
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
5517
|
+
};
|
|
5518
|
+
|
|
5519
|
+
|
|
5370
5520
|
goog.object.extend(exports, proto);
|