@aldiokta/protocgen 1.0.59 → 1.0.60
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.
|
@@ -30,6 +30,7 @@ goog.object.extend(proto, prisca_v1_document_type_document_type_pb);
|
|
|
30
30
|
goog.exportSymbol('proto.BasePurchaseRequisitionItemDetail', null, global);
|
|
31
31
|
goog.exportSymbol('proto.BasePurchaseRequisitionItemTrx', null, global);
|
|
32
32
|
goog.exportSymbol('proto.BasePurchaseRequisitionTrx', null, global);
|
|
33
|
+
goog.exportSymbol('proto.BaseUpdatePurchaseRequisitionTrx', null, global);
|
|
33
34
|
goog.exportSymbol('proto.CreatePurchaseRequisitionTrxRequest', null, global);
|
|
34
35
|
goog.exportSymbol('proto.CreatePurchaseRequisitionTrxResponse', null, global);
|
|
35
36
|
goog.exportSymbol('proto.GetPurchaseRequisitionDetailTrxDetail', null, global);
|
|
@@ -139,6 +140,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
139
140
|
*/
|
|
140
141
|
proto.BasePurchaseRequisitionTrx.displayName = 'proto.BasePurchaseRequisitionTrx';
|
|
141
142
|
}
|
|
143
|
+
/**
|
|
144
|
+
* Generated by JsPbCodeGenerator.
|
|
145
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
146
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
147
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
148
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
149
|
+
* valid.
|
|
150
|
+
* @extends {jspb.Message}
|
|
151
|
+
* @constructor
|
|
152
|
+
*/
|
|
153
|
+
proto.BaseUpdatePurchaseRequisitionTrx = function(opt_data) {
|
|
154
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.BaseUpdatePurchaseRequisitionTrx.repeatedFields_, null);
|
|
155
|
+
};
|
|
156
|
+
goog.inherits(proto.BaseUpdatePurchaseRequisitionTrx, jspb.Message);
|
|
157
|
+
if (goog.DEBUG && !COMPILED) {
|
|
158
|
+
/**
|
|
159
|
+
* @public
|
|
160
|
+
* @override
|
|
161
|
+
*/
|
|
162
|
+
proto.BaseUpdatePurchaseRequisitionTrx.displayName = 'proto.BaseUpdatePurchaseRequisitionTrx';
|
|
163
|
+
}
|
|
142
164
|
/**
|
|
143
165
|
* Generated by JsPbCodeGenerator.
|
|
144
166
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -698,11 +720,14 @@ customTransaction: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
|
698
720
|
purchaseRequisitionItemsList: jspb.Message.toObjectList(msg.getPurchaseRequisitionItemsList(),
|
|
699
721
|
proto.PurchaseRequisitionItemTrx.toObject, includeInstance),
|
|
700
722
|
referencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
723
|
+
groupReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
724
|
+
isExpired: jspb.Message.getBooleanFieldWithDefault(msg, 17, false),
|
|
725
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
726
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
727
|
+
documentTypeRef: jspb.Message.getFieldWithDefault(msg, 20, ""),
|
|
728
|
+
numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
729
|
+
documentType: (f = msg.getDocumentType()) && prisca_v1_document_type_document_type_pb.DocumentType.toObject(includeInstance, f),
|
|
730
|
+
status: jspb.Message.getFieldWithDefault(msg, 23, "")
|
|
706
731
|
};
|
|
707
732
|
|
|
708
733
|
if (includeInstance) {
|
|
@@ -802,25 +827,37 @@ proto.PurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, reader)
|
|
|
802
827
|
break;
|
|
803
828
|
case 16:
|
|
804
829
|
var value = /** @type {string} */ (reader.readString());
|
|
805
|
-
msg.
|
|
830
|
+
msg.setGroupReferences(value);
|
|
806
831
|
break;
|
|
807
832
|
case 17:
|
|
833
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
834
|
+
msg.setIsExpired(value);
|
|
835
|
+
break;
|
|
836
|
+
case 18:
|
|
837
|
+
var value = /** @type {string} */ (reader.readString());
|
|
838
|
+
msg.setCreatedAt(value);
|
|
839
|
+
break;
|
|
840
|
+
case 19:
|
|
808
841
|
var value = /** @type {string} */ (reader.readString());
|
|
809
842
|
msg.setUpdatedAt(value);
|
|
810
843
|
break;
|
|
811
|
-
case
|
|
844
|
+
case 20:
|
|
812
845
|
var value = /** @type {string} */ (reader.readString());
|
|
813
846
|
msg.setDocumentTypeRef(value);
|
|
814
847
|
break;
|
|
815
|
-
case
|
|
848
|
+
case 21:
|
|
816
849
|
var value = /** @type {string} */ (reader.readString());
|
|
817
850
|
msg.setNumberRangeSequence(value);
|
|
818
851
|
break;
|
|
819
|
-
case
|
|
852
|
+
case 22:
|
|
820
853
|
var value = new prisca_v1_document_type_document_type_pb.DocumentType;
|
|
821
854
|
reader.readMessage(value,prisca_v1_document_type_document_type_pb.DocumentType.deserializeBinaryFromReader);
|
|
822
855
|
msg.setDocumentType(value);
|
|
823
856
|
break;
|
|
857
|
+
case 23:
|
|
858
|
+
var value = /** @type {string} */ (reader.readString());
|
|
859
|
+
msg.setStatus(value);
|
|
860
|
+
break;
|
|
824
861
|
default:
|
|
825
862
|
reader.skipField();
|
|
826
863
|
break;
|
|
@@ -956,42 +993,63 @@ proto.PurchaseRequisitionTrx.serializeBinaryToWriter = function(message, writer)
|
|
|
956
993
|
f
|
|
957
994
|
);
|
|
958
995
|
}
|
|
959
|
-
f = message.
|
|
996
|
+
f = message.getGroupReferences();
|
|
960
997
|
if (f.length > 0) {
|
|
961
998
|
writer.writeString(
|
|
962
999
|
16,
|
|
963
1000
|
f
|
|
964
1001
|
);
|
|
965
1002
|
}
|
|
1003
|
+
f = message.getIsExpired();
|
|
1004
|
+
if (f) {
|
|
1005
|
+
writer.writeBool(
|
|
1006
|
+
17,
|
|
1007
|
+
f
|
|
1008
|
+
);
|
|
1009
|
+
}
|
|
1010
|
+
f = message.getCreatedAt();
|
|
1011
|
+
if (f.length > 0) {
|
|
1012
|
+
writer.writeString(
|
|
1013
|
+
18,
|
|
1014
|
+
f
|
|
1015
|
+
);
|
|
1016
|
+
}
|
|
966
1017
|
f = message.getUpdatedAt();
|
|
967
1018
|
if (f.length > 0) {
|
|
968
1019
|
writer.writeString(
|
|
969
|
-
|
|
1020
|
+
19,
|
|
970
1021
|
f
|
|
971
1022
|
);
|
|
972
1023
|
}
|
|
973
1024
|
f = message.getDocumentTypeRef();
|
|
974
1025
|
if (f.length > 0) {
|
|
975
1026
|
writer.writeString(
|
|
976
|
-
|
|
1027
|
+
20,
|
|
977
1028
|
f
|
|
978
1029
|
);
|
|
979
1030
|
}
|
|
980
1031
|
f = message.getNumberRangeSequence();
|
|
981
1032
|
if (f.length > 0) {
|
|
982
1033
|
writer.writeString(
|
|
983
|
-
|
|
1034
|
+
21,
|
|
984
1035
|
f
|
|
985
1036
|
);
|
|
986
1037
|
}
|
|
987
1038
|
f = message.getDocumentType();
|
|
988
1039
|
if (f != null) {
|
|
989
1040
|
writer.writeMessage(
|
|
990
|
-
|
|
1041
|
+
22,
|
|
991
1042
|
f,
|
|
992
1043
|
prisca_v1_document_type_document_type_pb.DocumentType.serializeBinaryToWriter
|
|
993
1044
|
);
|
|
994
1045
|
}
|
|
1046
|
+
f = message.getStatus();
|
|
1047
|
+
if (f.length > 0) {
|
|
1048
|
+
writer.writeString(
|
|
1049
|
+
23,
|
|
1050
|
+
f
|
|
1051
|
+
);
|
|
1052
|
+
}
|
|
995
1053
|
};
|
|
996
1054
|
|
|
997
1055
|
|
|
@@ -1286,10 +1344,10 @@ proto.PurchaseRequisitionTrx.prototype.setReferencesId = function(value) {
|
|
|
1286
1344
|
|
|
1287
1345
|
|
|
1288
1346
|
/**
|
|
1289
|
-
* optional string
|
|
1347
|
+
* optional string group_references = 16;
|
|
1290
1348
|
* @return {string}
|
|
1291
1349
|
*/
|
|
1292
|
-
proto.PurchaseRequisitionTrx.prototype.
|
|
1350
|
+
proto.PurchaseRequisitionTrx.prototype.getGroupReferences = function() {
|
|
1293
1351
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
1294
1352
|
};
|
|
1295
1353
|
|
|
@@ -1298,17 +1356,53 @@ proto.PurchaseRequisitionTrx.prototype.getCreatedAt = function() {
|
|
|
1298
1356
|
* @param {string} value
|
|
1299
1357
|
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1300
1358
|
*/
|
|
1301
|
-
proto.PurchaseRequisitionTrx.prototype.
|
|
1359
|
+
proto.PurchaseRequisitionTrx.prototype.setGroupReferences = function(value) {
|
|
1302
1360
|
return jspb.Message.setProto3StringField(this, 16, value);
|
|
1303
1361
|
};
|
|
1304
1362
|
|
|
1305
1363
|
|
|
1306
1364
|
/**
|
|
1307
|
-
* optional
|
|
1365
|
+
* optional bool is_expired = 17;
|
|
1366
|
+
* @return {boolean}
|
|
1367
|
+
*/
|
|
1368
|
+
proto.PurchaseRequisitionTrx.prototype.getIsExpired = function() {
|
|
1369
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 17, false));
|
|
1370
|
+
};
|
|
1371
|
+
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* @param {boolean} value
|
|
1375
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1376
|
+
*/
|
|
1377
|
+
proto.PurchaseRequisitionTrx.prototype.setIsExpired = function(value) {
|
|
1378
|
+
return jspb.Message.setProto3BooleanField(this, 17, value);
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1381
|
+
|
|
1382
|
+
/**
|
|
1383
|
+
* optional string created_at = 18;
|
|
1384
|
+
* @return {string}
|
|
1385
|
+
*/
|
|
1386
|
+
proto.PurchaseRequisitionTrx.prototype.getCreatedAt = function() {
|
|
1387
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
1388
|
+
};
|
|
1389
|
+
|
|
1390
|
+
|
|
1391
|
+
/**
|
|
1392
|
+
* @param {string} value
|
|
1393
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1394
|
+
*/
|
|
1395
|
+
proto.PurchaseRequisitionTrx.prototype.setCreatedAt = function(value) {
|
|
1396
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
1397
|
+
};
|
|
1398
|
+
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* optional string updated_at = 19;
|
|
1308
1402
|
* @return {string}
|
|
1309
1403
|
*/
|
|
1310
1404
|
proto.PurchaseRequisitionTrx.prototype.getUpdatedAt = function() {
|
|
1311
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1405
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
1312
1406
|
};
|
|
1313
1407
|
|
|
1314
1408
|
|
|
@@ -1317,16 +1411,16 @@ proto.PurchaseRequisitionTrx.prototype.getUpdatedAt = function() {
|
|
|
1317
1411
|
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1318
1412
|
*/
|
|
1319
1413
|
proto.PurchaseRequisitionTrx.prototype.setUpdatedAt = function(value) {
|
|
1320
|
-
return jspb.Message.setProto3StringField(this,
|
|
1414
|
+
return jspb.Message.setProto3StringField(this, 19, value);
|
|
1321
1415
|
};
|
|
1322
1416
|
|
|
1323
1417
|
|
|
1324
1418
|
/**
|
|
1325
|
-
* optional string document_type_ref =
|
|
1419
|
+
* optional string document_type_ref = 20;
|
|
1326
1420
|
* @return {string}
|
|
1327
1421
|
*/
|
|
1328
1422
|
proto.PurchaseRequisitionTrx.prototype.getDocumentTypeRef = function() {
|
|
1329
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1423
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
1330
1424
|
};
|
|
1331
1425
|
|
|
1332
1426
|
|
|
@@ -1335,16 +1429,16 @@ proto.PurchaseRequisitionTrx.prototype.getDocumentTypeRef = function() {
|
|
|
1335
1429
|
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1336
1430
|
*/
|
|
1337
1431
|
proto.PurchaseRequisitionTrx.prototype.setDocumentTypeRef = function(value) {
|
|
1338
|
-
return jspb.Message.setProto3StringField(this,
|
|
1432
|
+
return jspb.Message.setProto3StringField(this, 20, value);
|
|
1339
1433
|
};
|
|
1340
1434
|
|
|
1341
1435
|
|
|
1342
1436
|
/**
|
|
1343
|
-
* optional string number_range_sequence =
|
|
1437
|
+
* optional string number_range_sequence = 21;
|
|
1344
1438
|
* @return {string}
|
|
1345
1439
|
*/
|
|
1346
1440
|
proto.PurchaseRequisitionTrx.prototype.getNumberRangeSequence = function() {
|
|
1347
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1441
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
1348
1442
|
};
|
|
1349
1443
|
|
|
1350
1444
|
|
|
@@ -1353,17 +1447,17 @@ proto.PurchaseRequisitionTrx.prototype.getNumberRangeSequence = function() {
|
|
|
1353
1447
|
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1354
1448
|
*/
|
|
1355
1449
|
proto.PurchaseRequisitionTrx.prototype.setNumberRangeSequence = function(value) {
|
|
1356
|
-
return jspb.Message.setProto3StringField(this,
|
|
1450
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
1357
1451
|
};
|
|
1358
1452
|
|
|
1359
1453
|
|
|
1360
1454
|
/**
|
|
1361
|
-
* optional DocumentType document_type =
|
|
1455
|
+
* optional DocumentType document_type = 22;
|
|
1362
1456
|
* @return {?proto.DocumentType}
|
|
1363
1457
|
*/
|
|
1364
1458
|
proto.PurchaseRequisitionTrx.prototype.getDocumentType = function() {
|
|
1365
1459
|
return /** @type{?proto.DocumentType} */ (
|
|
1366
|
-
jspb.Message.getWrapperField(this, prisca_v1_document_type_document_type_pb.DocumentType,
|
|
1460
|
+
jspb.Message.getWrapperField(this, prisca_v1_document_type_document_type_pb.DocumentType, 22));
|
|
1367
1461
|
};
|
|
1368
1462
|
|
|
1369
1463
|
|
|
@@ -1372,7 +1466,7 @@ proto.PurchaseRequisitionTrx.prototype.getDocumentType = function() {
|
|
|
1372
1466
|
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1373
1467
|
*/
|
|
1374
1468
|
proto.PurchaseRequisitionTrx.prototype.setDocumentType = function(value) {
|
|
1375
|
-
return jspb.Message.setWrapperField(this,
|
|
1469
|
+
return jspb.Message.setWrapperField(this, 22, value);
|
|
1376
1470
|
};
|
|
1377
1471
|
|
|
1378
1472
|
|
|
@@ -1390,7 +1484,25 @@ proto.PurchaseRequisitionTrx.prototype.clearDocumentType = function() {
|
|
|
1390
1484
|
* @return {boolean}
|
|
1391
1485
|
*/
|
|
1392
1486
|
proto.PurchaseRequisitionTrx.prototype.hasDocumentType = function() {
|
|
1393
|
-
return jspb.Message.getField(this,
|
|
1487
|
+
return jspb.Message.getField(this, 22) != null;
|
|
1488
|
+
};
|
|
1489
|
+
|
|
1490
|
+
|
|
1491
|
+
/**
|
|
1492
|
+
* optional string status = 23;
|
|
1493
|
+
* @return {string}
|
|
1494
|
+
*/
|
|
1495
|
+
proto.PurchaseRequisitionTrx.prototype.getStatus = function() {
|
|
1496
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 23, ""));
|
|
1497
|
+
};
|
|
1498
|
+
|
|
1499
|
+
|
|
1500
|
+
/**
|
|
1501
|
+
* @param {string} value
|
|
1502
|
+
* @return {!proto.PurchaseRequisitionTrx} returns this
|
|
1503
|
+
*/
|
|
1504
|
+
proto.PurchaseRequisitionTrx.prototype.setStatus = function(value) {
|
|
1505
|
+
return jspb.Message.setProto3StringField(this, 23, value);
|
|
1394
1506
|
};
|
|
1395
1507
|
|
|
1396
1508
|
|
|
@@ -2044,9 +2156,15 @@ unitOfMeasure: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
|
2044
2156
|
valuationPrice: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
2045
2157
|
requisitioner: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2046
2158
|
customTransaction: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2047
|
-
|
|
2048
|
-
|
|
2049
|
-
|
|
2159
|
+
orderNumber: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2160
|
+
orderDescription: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2161
|
+
materiaCode: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2162
|
+
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0),
|
|
2163
|
+
distribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
|
|
2164
|
+
assetNo: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
2165
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
2166
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
2167
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
2050
2168
|
};
|
|
2051
2169
|
|
|
2052
2170
|
if (includeInstance) {
|
|
@@ -2117,13 +2235,37 @@ proto.PurchaseRequisitionItemDetail.deserializeBinaryFromReader = function(msg,
|
|
|
2117
2235
|
break;
|
|
2118
2236
|
case 9:
|
|
2119
2237
|
var value = /** @type {string} */ (reader.readString());
|
|
2120
|
-
msg.
|
|
2238
|
+
msg.setOrderNumber(value);
|
|
2121
2239
|
break;
|
|
2122
2240
|
case 10:
|
|
2123
2241
|
var value = /** @type {string} */ (reader.readString());
|
|
2124
|
-
msg.
|
|
2242
|
+
msg.setOrderDescription(value);
|
|
2125
2243
|
break;
|
|
2126
2244
|
case 11:
|
|
2245
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2246
|
+
msg.setMateriaCode(value);
|
|
2247
|
+
break;
|
|
2248
|
+
case 12:
|
|
2249
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
2250
|
+
msg.setQuantity(value);
|
|
2251
|
+
break;
|
|
2252
|
+
case 13:
|
|
2253
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
2254
|
+
msg.setDistribution(value);
|
|
2255
|
+
break;
|
|
2256
|
+
case 14:
|
|
2257
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2258
|
+
msg.setAssetNo(value);
|
|
2259
|
+
break;
|
|
2260
|
+
case 15:
|
|
2261
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2262
|
+
msg.setReferencesId(value);
|
|
2263
|
+
break;
|
|
2264
|
+
case 16:
|
|
2265
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2266
|
+
msg.setCreatedAt(value);
|
|
2267
|
+
break;
|
|
2268
|
+
case 17:
|
|
2127
2269
|
var value = /** @type {string} */ (reader.readString());
|
|
2128
2270
|
msg.setUpdatedAt(value);
|
|
2129
2271
|
break;
|
|
@@ -2212,27 +2354,69 @@ proto.PurchaseRequisitionItemDetail.serializeBinaryToWriter = function(message,
|
|
|
2212
2354
|
f
|
|
2213
2355
|
);
|
|
2214
2356
|
}
|
|
2215
|
-
f = message.
|
|
2357
|
+
f = message.getOrderNumber();
|
|
2216
2358
|
if (f.length > 0) {
|
|
2217
2359
|
writer.writeString(
|
|
2218
2360
|
9,
|
|
2219
2361
|
f
|
|
2220
2362
|
);
|
|
2221
2363
|
}
|
|
2222
|
-
f = message.
|
|
2364
|
+
f = message.getOrderDescription();
|
|
2223
2365
|
if (f.length > 0) {
|
|
2224
2366
|
writer.writeString(
|
|
2225
2367
|
10,
|
|
2226
2368
|
f
|
|
2227
2369
|
);
|
|
2228
2370
|
}
|
|
2229
|
-
f = message.
|
|
2371
|
+
f = message.getMateriaCode();
|
|
2230
2372
|
if (f.length > 0) {
|
|
2231
2373
|
writer.writeString(
|
|
2232
2374
|
11,
|
|
2233
2375
|
f
|
|
2234
2376
|
);
|
|
2235
2377
|
}
|
|
2378
|
+
f = message.getQuantity();
|
|
2379
|
+
if (f !== 0.0) {
|
|
2380
|
+
writer.writeFloat(
|
|
2381
|
+
12,
|
|
2382
|
+
f
|
|
2383
|
+
);
|
|
2384
|
+
}
|
|
2385
|
+
f = message.getDistribution();
|
|
2386
|
+
if (f !== 0.0) {
|
|
2387
|
+
writer.writeFloat(
|
|
2388
|
+
13,
|
|
2389
|
+
f
|
|
2390
|
+
);
|
|
2391
|
+
}
|
|
2392
|
+
f = message.getAssetNo();
|
|
2393
|
+
if (f.length > 0) {
|
|
2394
|
+
writer.writeString(
|
|
2395
|
+
14,
|
|
2396
|
+
f
|
|
2397
|
+
);
|
|
2398
|
+
}
|
|
2399
|
+
f = message.getReferencesId();
|
|
2400
|
+
if (f.length > 0) {
|
|
2401
|
+
writer.writeString(
|
|
2402
|
+
15,
|
|
2403
|
+
f
|
|
2404
|
+
);
|
|
2405
|
+
}
|
|
2406
|
+
f = message.getCreatedAt();
|
|
2407
|
+
if (f.length > 0) {
|
|
2408
|
+
writer.writeString(
|
|
2409
|
+
16,
|
|
2410
|
+
f
|
|
2411
|
+
);
|
|
2412
|
+
}
|
|
2413
|
+
f = message.getUpdatedAt();
|
|
2414
|
+
if (f.length > 0) {
|
|
2415
|
+
writer.writeString(
|
|
2416
|
+
17,
|
|
2417
|
+
f
|
|
2418
|
+
);
|
|
2419
|
+
}
|
|
2236
2420
|
};
|
|
2237
2421
|
|
|
2238
2422
|
|
|
@@ -2381,10 +2565,10 @@ proto.PurchaseRequisitionItemDetail.prototype.setCustomTransaction = function(va
|
|
|
2381
2565
|
|
|
2382
2566
|
|
|
2383
2567
|
/**
|
|
2384
|
-
* optional string
|
|
2568
|
+
* optional string order_number = 9;
|
|
2385
2569
|
* @return {string}
|
|
2386
2570
|
*/
|
|
2387
|
-
proto.PurchaseRequisitionItemDetail.prototype.
|
|
2571
|
+
proto.PurchaseRequisitionItemDetail.prototype.getOrderNumber = function() {
|
|
2388
2572
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
2389
2573
|
};
|
|
2390
2574
|
|
|
@@ -2393,16 +2577,16 @@ proto.PurchaseRequisitionItemDetail.prototype.getReferencesId = function() {
|
|
|
2393
2577
|
* @param {string} value
|
|
2394
2578
|
* @return {!proto.PurchaseRequisitionItemDetail} returns this
|
|
2395
2579
|
*/
|
|
2396
|
-
proto.PurchaseRequisitionItemDetail.prototype.
|
|
2580
|
+
proto.PurchaseRequisitionItemDetail.prototype.setOrderNumber = function(value) {
|
|
2397
2581
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
2398
2582
|
};
|
|
2399
2583
|
|
|
2400
2584
|
|
|
2401
2585
|
/**
|
|
2402
|
-
* optional string
|
|
2586
|
+
* optional string order_description = 10;
|
|
2403
2587
|
* @return {string}
|
|
2404
2588
|
*/
|
|
2405
|
-
proto.PurchaseRequisitionItemDetail.prototype.
|
|
2589
|
+
proto.PurchaseRequisitionItemDetail.prototype.getOrderDescription = function() {
|
|
2406
2590
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
2407
2591
|
};
|
|
2408
2592
|
|
|
@@ -2411,16 +2595,16 @@ proto.PurchaseRequisitionItemDetail.prototype.getCreatedAt = function() {
|
|
|
2411
2595
|
* @param {string} value
|
|
2412
2596
|
* @return {!proto.PurchaseRequisitionItemDetail} returns this
|
|
2413
2597
|
*/
|
|
2414
|
-
proto.PurchaseRequisitionItemDetail.prototype.
|
|
2598
|
+
proto.PurchaseRequisitionItemDetail.prototype.setOrderDescription = function(value) {
|
|
2415
2599
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
2416
2600
|
};
|
|
2417
2601
|
|
|
2418
2602
|
|
|
2419
2603
|
/**
|
|
2420
|
-
* optional string
|
|
2604
|
+
* optional string materia_code = 11;
|
|
2421
2605
|
* @return {string}
|
|
2422
2606
|
*/
|
|
2423
|
-
proto.PurchaseRequisitionItemDetail.prototype.
|
|
2607
|
+
proto.PurchaseRequisitionItemDetail.prototype.getMateriaCode = function() {
|
|
2424
2608
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
2425
2609
|
};
|
|
2426
2610
|
|
|
@@ -2429,98 +2613,759 @@ proto.PurchaseRequisitionItemDetail.prototype.getUpdatedAt = function() {
|
|
|
2429
2613
|
* @param {string} value
|
|
2430
2614
|
* @return {!proto.PurchaseRequisitionItemDetail} returns this
|
|
2431
2615
|
*/
|
|
2432
|
-
proto.PurchaseRequisitionItemDetail.prototype.
|
|
2616
|
+
proto.PurchaseRequisitionItemDetail.prototype.setMateriaCode = function(value) {
|
|
2433
2617
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
2434
2618
|
};
|
|
2435
2619
|
|
|
2436
2620
|
|
|
2437
|
-
|
|
2438
2621
|
/**
|
|
2439
|
-
*
|
|
2440
|
-
* @
|
|
2441
|
-
* @const
|
|
2622
|
+
* optional float quantity = 12;
|
|
2623
|
+
* @return {number}
|
|
2442
2624
|
*/
|
|
2443
|
-
proto.
|
|
2444
|
-
|
|
2625
|
+
proto.PurchaseRequisitionItemDetail.prototype.getQuantity = function() {
|
|
2626
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
|
2627
|
+
};
|
|
2445
2628
|
|
|
2446
2629
|
|
|
2447
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2448
2630
|
/**
|
|
2449
|
-
*
|
|
2450
|
-
*
|
|
2451
|
-
* Optional fields that are not set will be set to undefined.
|
|
2452
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2453
|
-
* For the list of reserved names please see:
|
|
2454
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2455
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2456
|
-
* JSPB instance for transitional soy proto support:
|
|
2457
|
-
* http://goto/soy-param-migration
|
|
2458
|
-
* @return {!Object}
|
|
2631
|
+
* @param {number} value
|
|
2632
|
+
* @return {!proto.PurchaseRequisitionItemDetail} returns this
|
|
2459
2633
|
*/
|
|
2460
|
-
proto.
|
|
2461
|
-
return
|
|
2634
|
+
proto.PurchaseRequisitionItemDetail.prototype.setQuantity = function(value) {
|
|
2635
|
+
return jspb.Message.setProto3FloatField(this, 12, value);
|
|
2462
2636
|
};
|
|
2463
2637
|
|
|
2464
2638
|
|
|
2465
2639
|
/**
|
|
2466
|
-
*
|
|
2467
|
-
* @
|
|
2468
|
-
* the JSPB instance for transitional soy proto support:
|
|
2469
|
-
* http://goto/soy-param-migration
|
|
2470
|
-
* @param {!proto.BasePurchaseRequisitionTrx} msg The msg instance to transform.
|
|
2471
|
-
* @return {!Object}
|
|
2472
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2640
|
+
* optional float distribution = 13;
|
|
2641
|
+
* @return {number}
|
|
2473
2642
|
*/
|
|
2474
|
-
proto.
|
|
2475
|
-
|
|
2476
|
-
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2477
|
-
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2478
|
-
itemCategoryRef: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2479
|
-
accountAssigmentRef: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2480
|
-
currencyRef: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2481
|
-
purchaseRequisitionType: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2482
|
-
department: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2483
|
-
purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2484
|
-
emailCc: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2485
|
-
plantRef: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2486
|
-
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2487
|
-
customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
2488
|
-
purchaseRequisitionItemsList: jspb.Message.toObjectList(msg.getPurchaseRequisitionItemsList(),
|
|
2489
|
-
proto.BasePurchaseRequisitionItemTrx.toObject, includeInstance),
|
|
2490
|
-
documentTypeRef: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
2491
|
-
};
|
|
2492
|
-
|
|
2493
|
-
if (includeInstance) {
|
|
2494
|
-
obj.$jspbMessageInstance = msg;
|
|
2495
|
-
}
|
|
2496
|
-
return obj;
|
|
2643
|
+
proto.PurchaseRequisitionItemDetail.prototype.getDistribution = function() {
|
|
2644
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 13, 0.0));
|
|
2497
2645
|
};
|
|
2498
|
-
}
|
|
2499
2646
|
|
|
2500
2647
|
|
|
2501
2648
|
/**
|
|
2502
|
-
*
|
|
2503
|
-
* @
|
|
2504
|
-
* @return {!proto.BasePurchaseRequisitionTrx}
|
|
2649
|
+
* @param {number} value
|
|
2650
|
+
* @return {!proto.PurchaseRequisitionItemDetail} returns this
|
|
2505
2651
|
*/
|
|
2506
|
-
proto.
|
|
2507
|
-
|
|
2508
|
-
var msg = new proto.BasePurchaseRequisitionTrx;
|
|
2509
|
-
return proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader(msg, reader);
|
|
2652
|
+
proto.PurchaseRequisitionItemDetail.prototype.setDistribution = function(value) {
|
|
2653
|
+
return jspb.Message.setProto3FloatField(this, 13, value);
|
|
2510
2654
|
};
|
|
2511
2655
|
|
|
2512
2656
|
|
|
2513
2657
|
/**
|
|
2514
|
-
*
|
|
2515
|
-
*
|
|
2516
|
-
* @param {!proto.BasePurchaseRequisitionTrx} msg The message object to deserialize into.
|
|
2517
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2518
|
-
* @return {!proto.BasePurchaseRequisitionTrx}
|
|
2658
|
+
* optional string asset_no = 14;
|
|
2659
|
+
* @return {string}
|
|
2519
2660
|
*/
|
|
2520
|
-
proto.
|
|
2521
|
-
|
|
2522
|
-
|
|
2523
|
-
|
|
2661
|
+
proto.PurchaseRequisitionItemDetail.prototype.getAssetNo = function() {
|
|
2662
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
2663
|
+
};
|
|
2664
|
+
|
|
2665
|
+
|
|
2666
|
+
/**
|
|
2667
|
+
* @param {string} value
|
|
2668
|
+
* @return {!proto.PurchaseRequisitionItemDetail} returns this
|
|
2669
|
+
*/
|
|
2670
|
+
proto.PurchaseRequisitionItemDetail.prototype.setAssetNo = function(value) {
|
|
2671
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
2672
|
+
};
|
|
2673
|
+
|
|
2674
|
+
|
|
2675
|
+
/**
|
|
2676
|
+
* optional string references_id = 15;
|
|
2677
|
+
* @return {string}
|
|
2678
|
+
*/
|
|
2679
|
+
proto.PurchaseRequisitionItemDetail.prototype.getReferencesId = function() {
|
|
2680
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
2681
|
+
};
|
|
2682
|
+
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* @param {string} value
|
|
2686
|
+
* @return {!proto.PurchaseRequisitionItemDetail} returns this
|
|
2687
|
+
*/
|
|
2688
|
+
proto.PurchaseRequisitionItemDetail.prototype.setReferencesId = function(value) {
|
|
2689
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
2690
|
+
};
|
|
2691
|
+
|
|
2692
|
+
|
|
2693
|
+
/**
|
|
2694
|
+
* optional string created_at = 16;
|
|
2695
|
+
* @return {string}
|
|
2696
|
+
*/
|
|
2697
|
+
proto.PurchaseRequisitionItemDetail.prototype.getCreatedAt = function() {
|
|
2698
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
2699
|
+
};
|
|
2700
|
+
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* @param {string} value
|
|
2704
|
+
* @return {!proto.PurchaseRequisitionItemDetail} returns this
|
|
2705
|
+
*/
|
|
2706
|
+
proto.PurchaseRequisitionItemDetail.prototype.setCreatedAt = function(value) {
|
|
2707
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
2708
|
+
};
|
|
2709
|
+
|
|
2710
|
+
|
|
2711
|
+
/**
|
|
2712
|
+
* optional string updated_at = 17;
|
|
2713
|
+
* @return {string}
|
|
2714
|
+
*/
|
|
2715
|
+
proto.PurchaseRequisitionItemDetail.prototype.getUpdatedAt = function() {
|
|
2716
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
2717
|
+
};
|
|
2718
|
+
|
|
2719
|
+
|
|
2720
|
+
/**
|
|
2721
|
+
* @param {string} value
|
|
2722
|
+
* @return {!proto.PurchaseRequisitionItemDetail} returns this
|
|
2723
|
+
*/
|
|
2724
|
+
proto.PurchaseRequisitionItemDetail.prototype.setUpdatedAt = function(value) {
|
|
2725
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
2726
|
+
};
|
|
2727
|
+
|
|
2728
|
+
|
|
2729
|
+
|
|
2730
|
+
/**
|
|
2731
|
+
* List of repeated fields within this message type.
|
|
2732
|
+
* @private {!Array<number>}
|
|
2733
|
+
* @const
|
|
2734
|
+
*/
|
|
2735
|
+
proto.BasePurchaseRequisitionTrx.repeatedFields_ = [13];
|
|
2736
|
+
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2740
|
+
/**
|
|
2741
|
+
* Creates an object representation of this proto.
|
|
2742
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2743
|
+
* Optional fields that are not set will be set to undefined.
|
|
2744
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2745
|
+
* For the list of reserved names please see:
|
|
2746
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2747
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2748
|
+
* JSPB instance for transitional soy proto support:
|
|
2749
|
+
* http://goto/soy-param-migration
|
|
2750
|
+
* @return {!Object}
|
|
2751
|
+
*/
|
|
2752
|
+
proto.BasePurchaseRequisitionTrx.prototype.toObject = function(opt_includeInstance) {
|
|
2753
|
+
return proto.BasePurchaseRequisitionTrx.toObject(opt_includeInstance, this);
|
|
2754
|
+
};
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
/**
|
|
2758
|
+
* Static version of the {@see toObject} method.
|
|
2759
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2760
|
+
* the JSPB instance for transitional soy proto support:
|
|
2761
|
+
* http://goto/soy-param-migration
|
|
2762
|
+
* @param {!proto.BasePurchaseRequisitionTrx} msg The msg instance to transform.
|
|
2763
|
+
* @return {!Object}
|
|
2764
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2765
|
+
*/
|
|
2766
|
+
proto.BasePurchaseRequisitionTrx.toObject = function(includeInstance, msg) {
|
|
2767
|
+
var f, obj = {
|
|
2768
|
+
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2769
|
+
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2770
|
+
itemCategoryRef: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2771
|
+
accountAssigmentRef: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2772
|
+
currencyRef: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
2773
|
+
purchaseRequisitionType: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2774
|
+
department: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
2775
|
+
purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
2776
|
+
emailCc: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
2777
|
+
plantRef: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
2778
|
+
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
2779
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
2780
|
+
purchaseRequisitionItemsList: jspb.Message.toObjectList(msg.getPurchaseRequisitionItemsList(),
|
|
2781
|
+
proto.BasePurchaseRequisitionItemTrx.toObject, includeInstance),
|
|
2782
|
+
documentTypeRef: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
2783
|
+
};
|
|
2784
|
+
|
|
2785
|
+
if (includeInstance) {
|
|
2786
|
+
obj.$jspbMessageInstance = msg;
|
|
2787
|
+
}
|
|
2788
|
+
return obj;
|
|
2789
|
+
};
|
|
2790
|
+
}
|
|
2791
|
+
|
|
2792
|
+
|
|
2793
|
+
/**
|
|
2794
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2795
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2796
|
+
* @return {!proto.BasePurchaseRequisitionTrx}
|
|
2797
|
+
*/
|
|
2798
|
+
proto.BasePurchaseRequisitionTrx.deserializeBinary = function(bytes) {
|
|
2799
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2800
|
+
var msg = new proto.BasePurchaseRequisitionTrx;
|
|
2801
|
+
return proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader(msg, reader);
|
|
2802
|
+
};
|
|
2803
|
+
|
|
2804
|
+
|
|
2805
|
+
/**
|
|
2806
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2807
|
+
* given reader into the given message object.
|
|
2808
|
+
* @param {!proto.BasePurchaseRequisitionTrx} msg The message object to deserialize into.
|
|
2809
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2810
|
+
* @return {!proto.BasePurchaseRequisitionTrx}
|
|
2811
|
+
*/
|
|
2812
|
+
proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, reader) {
|
|
2813
|
+
while (reader.nextField()) {
|
|
2814
|
+
if (reader.isEndGroup()) {
|
|
2815
|
+
break;
|
|
2816
|
+
}
|
|
2817
|
+
var field = reader.getFieldNumber();
|
|
2818
|
+
switch (field) {
|
|
2819
|
+
case 1:
|
|
2820
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2821
|
+
msg.setTitle(value);
|
|
2822
|
+
break;
|
|
2823
|
+
case 2:
|
|
2824
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2825
|
+
msg.setPurchaseRequisitionTransactionNumber(value);
|
|
2826
|
+
break;
|
|
2827
|
+
case 3:
|
|
2828
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2829
|
+
msg.setItemCategoryRef(value);
|
|
2830
|
+
break;
|
|
2831
|
+
case 4:
|
|
2832
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2833
|
+
msg.setAccountAssigmentRef(value);
|
|
2834
|
+
break;
|
|
2835
|
+
case 5:
|
|
2836
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2837
|
+
msg.setCurrencyRef(value);
|
|
2838
|
+
break;
|
|
2839
|
+
case 6:
|
|
2840
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2841
|
+
msg.setPurchaseRequisitionType(value);
|
|
2842
|
+
break;
|
|
2843
|
+
case 7:
|
|
2844
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2845
|
+
msg.setDepartment(value);
|
|
2846
|
+
break;
|
|
2847
|
+
case 8:
|
|
2848
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2849
|
+
msg.setPurchasingOrganization(value);
|
|
2850
|
+
break;
|
|
2851
|
+
case 9:
|
|
2852
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2853
|
+
msg.setEmailCc(value);
|
|
2854
|
+
break;
|
|
2855
|
+
case 10:
|
|
2856
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2857
|
+
msg.setPlantRef(value);
|
|
2858
|
+
break;
|
|
2859
|
+
case 11:
|
|
2860
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2861
|
+
msg.setPurchasingGroup(value);
|
|
2862
|
+
break;
|
|
2863
|
+
case 12:
|
|
2864
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2865
|
+
msg.setCustomTransaction(value);
|
|
2866
|
+
break;
|
|
2867
|
+
case 13:
|
|
2868
|
+
var value = new proto.BasePurchaseRequisitionItemTrx;
|
|
2869
|
+
reader.readMessage(value,proto.BasePurchaseRequisitionItemTrx.deserializeBinaryFromReader);
|
|
2870
|
+
msg.addPurchaseRequisitionItems(value);
|
|
2871
|
+
break;
|
|
2872
|
+
case 14:
|
|
2873
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2874
|
+
msg.setDocumentTypeRef(value);
|
|
2875
|
+
break;
|
|
2876
|
+
default:
|
|
2877
|
+
reader.skipField();
|
|
2878
|
+
break;
|
|
2879
|
+
}
|
|
2880
|
+
}
|
|
2881
|
+
return msg;
|
|
2882
|
+
};
|
|
2883
|
+
|
|
2884
|
+
|
|
2885
|
+
/**
|
|
2886
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2887
|
+
* @return {!Uint8Array}
|
|
2888
|
+
*/
|
|
2889
|
+
proto.BasePurchaseRequisitionTrx.prototype.serializeBinary = function() {
|
|
2890
|
+
var writer = new jspb.BinaryWriter();
|
|
2891
|
+
proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter(this, writer);
|
|
2892
|
+
return writer.getResultBuffer();
|
|
2893
|
+
};
|
|
2894
|
+
|
|
2895
|
+
|
|
2896
|
+
/**
|
|
2897
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2898
|
+
* format), writing to the given BinaryWriter.
|
|
2899
|
+
* @param {!proto.BasePurchaseRequisitionTrx} message
|
|
2900
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2901
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2902
|
+
*/
|
|
2903
|
+
proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter = function(message, writer) {
|
|
2904
|
+
var f = undefined;
|
|
2905
|
+
f = message.getTitle();
|
|
2906
|
+
if (f.length > 0) {
|
|
2907
|
+
writer.writeString(
|
|
2908
|
+
1,
|
|
2909
|
+
f
|
|
2910
|
+
);
|
|
2911
|
+
}
|
|
2912
|
+
f = message.getPurchaseRequisitionTransactionNumber();
|
|
2913
|
+
if (f.length > 0) {
|
|
2914
|
+
writer.writeString(
|
|
2915
|
+
2,
|
|
2916
|
+
f
|
|
2917
|
+
);
|
|
2918
|
+
}
|
|
2919
|
+
f = message.getItemCategoryRef();
|
|
2920
|
+
if (f.length > 0) {
|
|
2921
|
+
writer.writeString(
|
|
2922
|
+
3,
|
|
2923
|
+
f
|
|
2924
|
+
);
|
|
2925
|
+
}
|
|
2926
|
+
f = message.getAccountAssigmentRef();
|
|
2927
|
+
if (f.length > 0) {
|
|
2928
|
+
writer.writeString(
|
|
2929
|
+
4,
|
|
2930
|
+
f
|
|
2931
|
+
);
|
|
2932
|
+
}
|
|
2933
|
+
f = message.getCurrencyRef();
|
|
2934
|
+
if (f.length > 0) {
|
|
2935
|
+
writer.writeString(
|
|
2936
|
+
5,
|
|
2937
|
+
f
|
|
2938
|
+
);
|
|
2939
|
+
}
|
|
2940
|
+
f = message.getPurchaseRequisitionType();
|
|
2941
|
+
if (f.length > 0) {
|
|
2942
|
+
writer.writeString(
|
|
2943
|
+
6,
|
|
2944
|
+
f
|
|
2945
|
+
);
|
|
2946
|
+
}
|
|
2947
|
+
f = message.getDepartment();
|
|
2948
|
+
if (f.length > 0) {
|
|
2949
|
+
writer.writeString(
|
|
2950
|
+
7,
|
|
2951
|
+
f
|
|
2952
|
+
);
|
|
2953
|
+
}
|
|
2954
|
+
f = message.getPurchasingOrganization();
|
|
2955
|
+
if (f.length > 0) {
|
|
2956
|
+
writer.writeString(
|
|
2957
|
+
8,
|
|
2958
|
+
f
|
|
2959
|
+
);
|
|
2960
|
+
}
|
|
2961
|
+
f = message.getEmailCc();
|
|
2962
|
+
if (f.length > 0) {
|
|
2963
|
+
writer.writeString(
|
|
2964
|
+
9,
|
|
2965
|
+
f
|
|
2966
|
+
);
|
|
2967
|
+
}
|
|
2968
|
+
f = message.getPlantRef();
|
|
2969
|
+
if (f.length > 0) {
|
|
2970
|
+
writer.writeString(
|
|
2971
|
+
10,
|
|
2972
|
+
f
|
|
2973
|
+
);
|
|
2974
|
+
}
|
|
2975
|
+
f = message.getPurchasingGroup();
|
|
2976
|
+
if (f.length > 0) {
|
|
2977
|
+
writer.writeString(
|
|
2978
|
+
11,
|
|
2979
|
+
f
|
|
2980
|
+
);
|
|
2981
|
+
}
|
|
2982
|
+
f = message.getCustomTransaction();
|
|
2983
|
+
if (f.length > 0) {
|
|
2984
|
+
writer.writeString(
|
|
2985
|
+
12,
|
|
2986
|
+
f
|
|
2987
|
+
);
|
|
2988
|
+
}
|
|
2989
|
+
f = message.getPurchaseRequisitionItemsList();
|
|
2990
|
+
if (f.length > 0) {
|
|
2991
|
+
writer.writeRepeatedMessage(
|
|
2992
|
+
13,
|
|
2993
|
+
f,
|
|
2994
|
+
proto.BasePurchaseRequisitionItemTrx.serializeBinaryToWriter
|
|
2995
|
+
);
|
|
2996
|
+
}
|
|
2997
|
+
f = message.getDocumentTypeRef();
|
|
2998
|
+
if (f.length > 0) {
|
|
2999
|
+
writer.writeString(
|
|
3000
|
+
14,
|
|
3001
|
+
f
|
|
3002
|
+
);
|
|
3003
|
+
}
|
|
3004
|
+
};
|
|
3005
|
+
|
|
3006
|
+
|
|
3007
|
+
/**
|
|
3008
|
+
* optional string title = 1;
|
|
3009
|
+
* @return {string}
|
|
3010
|
+
*/
|
|
3011
|
+
proto.BasePurchaseRequisitionTrx.prototype.getTitle = function() {
|
|
3012
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3013
|
+
};
|
|
3014
|
+
|
|
3015
|
+
|
|
3016
|
+
/**
|
|
3017
|
+
* @param {string} value
|
|
3018
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3019
|
+
*/
|
|
3020
|
+
proto.BasePurchaseRequisitionTrx.prototype.setTitle = function(value) {
|
|
3021
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3022
|
+
};
|
|
3023
|
+
|
|
3024
|
+
|
|
3025
|
+
/**
|
|
3026
|
+
* optional string purchase_requisition_transaction_number = 2;
|
|
3027
|
+
* @return {string}
|
|
3028
|
+
*/
|
|
3029
|
+
proto.BasePurchaseRequisitionTrx.prototype.getPurchaseRequisitionTransactionNumber = function() {
|
|
3030
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3031
|
+
};
|
|
3032
|
+
|
|
3033
|
+
|
|
3034
|
+
/**
|
|
3035
|
+
* @param {string} value
|
|
3036
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3037
|
+
*/
|
|
3038
|
+
proto.BasePurchaseRequisitionTrx.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
|
|
3039
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3040
|
+
};
|
|
3041
|
+
|
|
3042
|
+
|
|
3043
|
+
/**
|
|
3044
|
+
* optional string item_category_ref = 3;
|
|
3045
|
+
* @return {string}
|
|
3046
|
+
*/
|
|
3047
|
+
proto.BasePurchaseRequisitionTrx.prototype.getItemCategoryRef = function() {
|
|
3048
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
3049
|
+
};
|
|
3050
|
+
|
|
3051
|
+
|
|
3052
|
+
/**
|
|
3053
|
+
* @param {string} value
|
|
3054
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3055
|
+
*/
|
|
3056
|
+
proto.BasePurchaseRequisitionTrx.prototype.setItemCategoryRef = function(value) {
|
|
3057
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
3058
|
+
};
|
|
3059
|
+
|
|
3060
|
+
|
|
3061
|
+
/**
|
|
3062
|
+
* optional string account_assigment_ref = 4;
|
|
3063
|
+
* @return {string}
|
|
3064
|
+
*/
|
|
3065
|
+
proto.BasePurchaseRequisitionTrx.prototype.getAccountAssigmentRef = function() {
|
|
3066
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3067
|
+
};
|
|
3068
|
+
|
|
3069
|
+
|
|
3070
|
+
/**
|
|
3071
|
+
* @param {string} value
|
|
3072
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3073
|
+
*/
|
|
3074
|
+
proto.BasePurchaseRequisitionTrx.prototype.setAccountAssigmentRef = function(value) {
|
|
3075
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3076
|
+
};
|
|
3077
|
+
|
|
3078
|
+
|
|
3079
|
+
/**
|
|
3080
|
+
* optional string currency_ref = 5;
|
|
3081
|
+
* @return {string}
|
|
3082
|
+
*/
|
|
3083
|
+
proto.BasePurchaseRequisitionTrx.prototype.getCurrencyRef = function() {
|
|
3084
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
3085
|
+
};
|
|
3086
|
+
|
|
3087
|
+
|
|
3088
|
+
/**
|
|
3089
|
+
* @param {string} value
|
|
3090
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3091
|
+
*/
|
|
3092
|
+
proto.BasePurchaseRequisitionTrx.prototype.setCurrencyRef = function(value) {
|
|
3093
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
3094
|
+
};
|
|
3095
|
+
|
|
3096
|
+
|
|
3097
|
+
/**
|
|
3098
|
+
* optional string purchase_requisition_type = 6;
|
|
3099
|
+
* @return {string}
|
|
3100
|
+
*/
|
|
3101
|
+
proto.BasePurchaseRequisitionTrx.prototype.getPurchaseRequisitionType = function() {
|
|
3102
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3103
|
+
};
|
|
3104
|
+
|
|
3105
|
+
|
|
3106
|
+
/**
|
|
3107
|
+
* @param {string} value
|
|
3108
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3109
|
+
*/
|
|
3110
|
+
proto.BasePurchaseRequisitionTrx.prototype.setPurchaseRequisitionType = function(value) {
|
|
3111
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3112
|
+
};
|
|
3113
|
+
|
|
3114
|
+
|
|
3115
|
+
/**
|
|
3116
|
+
* optional string department = 7;
|
|
3117
|
+
* @return {string}
|
|
3118
|
+
*/
|
|
3119
|
+
proto.BasePurchaseRequisitionTrx.prototype.getDepartment = function() {
|
|
3120
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
3121
|
+
};
|
|
3122
|
+
|
|
3123
|
+
|
|
3124
|
+
/**
|
|
3125
|
+
* @param {string} value
|
|
3126
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3127
|
+
*/
|
|
3128
|
+
proto.BasePurchaseRequisitionTrx.prototype.setDepartment = function(value) {
|
|
3129
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
3130
|
+
};
|
|
3131
|
+
|
|
3132
|
+
|
|
3133
|
+
/**
|
|
3134
|
+
* optional string purchasing_organization = 8;
|
|
3135
|
+
* @return {string}
|
|
3136
|
+
*/
|
|
3137
|
+
proto.BasePurchaseRequisitionTrx.prototype.getPurchasingOrganization = function() {
|
|
3138
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
3139
|
+
};
|
|
3140
|
+
|
|
3141
|
+
|
|
3142
|
+
/**
|
|
3143
|
+
* @param {string} value
|
|
3144
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3145
|
+
*/
|
|
3146
|
+
proto.BasePurchaseRequisitionTrx.prototype.setPurchasingOrganization = function(value) {
|
|
3147
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
3148
|
+
};
|
|
3149
|
+
|
|
3150
|
+
|
|
3151
|
+
/**
|
|
3152
|
+
* optional string email_cc = 9;
|
|
3153
|
+
* @return {string}
|
|
3154
|
+
*/
|
|
3155
|
+
proto.BasePurchaseRequisitionTrx.prototype.getEmailCc = function() {
|
|
3156
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
3157
|
+
};
|
|
3158
|
+
|
|
3159
|
+
|
|
3160
|
+
/**
|
|
3161
|
+
* @param {string} value
|
|
3162
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3163
|
+
*/
|
|
3164
|
+
proto.BasePurchaseRequisitionTrx.prototype.setEmailCc = function(value) {
|
|
3165
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
3166
|
+
};
|
|
3167
|
+
|
|
3168
|
+
|
|
3169
|
+
/**
|
|
3170
|
+
* optional string plant_ref = 10;
|
|
3171
|
+
* @return {string}
|
|
3172
|
+
*/
|
|
3173
|
+
proto.BasePurchaseRequisitionTrx.prototype.getPlantRef = function() {
|
|
3174
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
3175
|
+
};
|
|
3176
|
+
|
|
3177
|
+
|
|
3178
|
+
/**
|
|
3179
|
+
* @param {string} value
|
|
3180
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3181
|
+
*/
|
|
3182
|
+
proto.BasePurchaseRequisitionTrx.prototype.setPlantRef = function(value) {
|
|
3183
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
3184
|
+
};
|
|
3185
|
+
|
|
3186
|
+
|
|
3187
|
+
/**
|
|
3188
|
+
* optional string purchasing_group = 11;
|
|
3189
|
+
* @return {string}
|
|
3190
|
+
*/
|
|
3191
|
+
proto.BasePurchaseRequisitionTrx.prototype.getPurchasingGroup = function() {
|
|
3192
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
3193
|
+
};
|
|
3194
|
+
|
|
3195
|
+
|
|
3196
|
+
/**
|
|
3197
|
+
* @param {string} value
|
|
3198
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3199
|
+
*/
|
|
3200
|
+
proto.BasePurchaseRequisitionTrx.prototype.setPurchasingGroup = function(value) {
|
|
3201
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
3202
|
+
};
|
|
3203
|
+
|
|
3204
|
+
|
|
3205
|
+
/**
|
|
3206
|
+
* optional string custom_transaction = 12;
|
|
3207
|
+
* @return {string}
|
|
3208
|
+
*/
|
|
3209
|
+
proto.BasePurchaseRequisitionTrx.prototype.getCustomTransaction = function() {
|
|
3210
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
3211
|
+
};
|
|
3212
|
+
|
|
3213
|
+
|
|
3214
|
+
/**
|
|
3215
|
+
* @param {string} value
|
|
3216
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3217
|
+
*/
|
|
3218
|
+
proto.BasePurchaseRequisitionTrx.prototype.setCustomTransaction = function(value) {
|
|
3219
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
3220
|
+
};
|
|
3221
|
+
|
|
3222
|
+
|
|
3223
|
+
/**
|
|
3224
|
+
* repeated BasePurchaseRequisitionItemTrx purchase_requisition_items = 13;
|
|
3225
|
+
* @return {!Array<!proto.BasePurchaseRequisitionItemTrx>}
|
|
3226
|
+
*/
|
|
3227
|
+
proto.BasePurchaseRequisitionTrx.prototype.getPurchaseRequisitionItemsList = function() {
|
|
3228
|
+
return /** @type{!Array<!proto.BasePurchaseRequisitionItemTrx>} */ (
|
|
3229
|
+
jspb.Message.getRepeatedWrapperField(this, proto.BasePurchaseRequisitionItemTrx, 13));
|
|
3230
|
+
};
|
|
3231
|
+
|
|
3232
|
+
|
|
3233
|
+
/**
|
|
3234
|
+
* @param {!Array<!proto.BasePurchaseRequisitionItemTrx>} value
|
|
3235
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3236
|
+
*/
|
|
3237
|
+
proto.BasePurchaseRequisitionTrx.prototype.setPurchaseRequisitionItemsList = function(value) {
|
|
3238
|
+
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
3239
|
+
};
|
|
3240
|
+
|
|
3241
|
+
|
|
3242
|
+
/**
|
|
3243
|
+
* @param {!proto.BasePurchaseRequisitionItemTrx=} opt_value
|
|
3244
|
+
* @param {number=} opt_index
|
|
3245
|
+
* @return {!proto.BasePurchaseRequisitionItemTrx}
|
|
3246
|
+
*/
|
|
3247
|
+
proto.BasePurchaseRequisitionTrx.prototype.addPurchaseRequisitionItems = function(opt_value, opt_index) {
|
|
3248
|
+
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.BasePurchaseRequisitionItemTrx, opt_index);
|
|
3249
|
+
};
|
|
3250
|
+
|
|
3251
|
+
|
|
3252
|
+
/**
|
|
3253
|
+
* Clears the list making it empty but non-null.
|
|
3254
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3255
|
+
*/
|
|
3256
|
+
proto.BasePurchaseRequisitionTrx.prototype.clearPurchaseRequisitionItemsList = function() {
|
|
3257
|
+
return this.setPurchaseRequisitionItemsList([]);
|
|
3258
|
+
};
|
|
3259
|
+
|
|
3260
|
+
|
|
3261
|
+
/**
|
|
3262
|
+
* optional string document_type_ref = 14;
|
|
3263
|
+
* @return {string}
|
|
3264
|
+
*/
|
|
3265
|
+
proto.BasePurchaseRequisitionTrx.prototype.getDocumentTypeRef = function() {
|
|
3266
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
3267
|
+
};
|
|
3268
|
+
|
|
3269
|
+
|
|
3270
|
+
/**
|
|
3271
|
+
* @param {string} value
|
|
3272
|
+
* @return {!proto.BasePurchaseRequisitionTrx} returns this
|
|
3273
|
+
*/
|
|
3274
|
+
proto.BasePurchaseRequisitionTrx.prototype.setDocumentTypeRef = function(value) {
|
|
3275
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
3276
|
+
};
|
|
3277
|
+
|
|
3278
|
+
|
|
3279
|
+
|
|
3280
|
+
/**
|
|
3281
|
+
* List of repeated fields within this message type.
|
|
3282
|
+
* @private {!Array<number>}
|
|
3283
|
+
* @const
|
|
3284
|
+
*/
|
|
3285
|
+
proto.BaseUpdatePurchaseRequisitionTrx.repeatedFields_ = [13];
|
|
3286
|
+
|
|
3287
|
+
|
|
3288
|
+
|
|
3289
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3290
|
+
/**
|
|
3291
|
+
* Creates an object representation of this proto.
|
|
3292
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3293
|
+
* Optional fields that are not set will be set to undefined.
|
|
3294
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3295
|
+
* For the list of reserved names please see:
|
|
3296
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3297
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3298
|
+
* JSPB instance for transitional soy proto support:
|
|
3299
|
+
* http://goto/soy-param-migration
|
|
3300
|
+
* @return {!Object}
|
|
3301
|
+
*/
|
|
3302
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.toObject = function(opt_includeInstance) {
|
|
3303
|
+
return proto.BaseUpdatePurchaseRequisitionTrx.toObject(opt_includeInstance, this);
|
|
3304
|
+
};
|
|
3305
|
+
|
|
3306
|
+
|
|
3307
|
+
/**
|
|
3308
|
+
* Static version of the {@see toObject} method.
|
|
3309
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3310
|
+
* the JSPB instance for transitional soy proto support:
|
|
3311
|
+
* http://goto/soy-param-migration
|
|
3312
|
+
* @param {!proto.BaseUpdatePurchaseRequisitionTrx} msg The msg instance to transform.
|
|
3313
|
+
* @return {!Object}
|
|
3314
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3315
|
+
*/
|
|
3316
|
+
proto.BaseUpdatePurchaseRequisitionTrx.toObject = function(includeInstance, msg) {
|
|
3317
|
+
var f, obj = {
|
|
3318
|
+
title: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3319
|
+
purchaseRequisitionTransactionNumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3320
|
+
itemCategoryRef: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3321
|
+
accountAssigmentRef: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
3322
|
+
currencyRef: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
3323
|
+
purchaseRequisitionType: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
3324
|
+
department: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
3325
|
+
purchasingOrganization: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
3326
|
+
emailCc: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
3327
|
+
plantRef: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
3328
|
+
purchasingGroup: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
3329
|
+
customTransaction: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
3330
|
+
purchaseRequisitionItemsList: jspb.Message.toObjectList(msg.getPurchaseRequisitionItemsList(),
|
|
3331
|
+
proto.BasePurchaseRequisitionItemTrx.toObject, includeInstance),
|
|
3332
|
+
documentTypeRef: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
3333
|
+
status: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
3334
|
+
groupReferences: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
3335
|
+
numberRangeSequence: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
3336
|
+
};
|
|
3337
|
+
|
|
3338
|
+
if (includeInstance) {
|
|
3339
|
+
obj.$jspbMessageInstance = msg;
|
|
3340
|
+
}
|
|
3341
|
+
return obj;
|
|
3342
|
+
};
|
|
3343
|
+
}
|
|
3344
|
+
|
|
3345
|
+
|
|
3346
|
+
/**
|
|
3347
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3348
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3349
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx}
|
|
3350
|
+
*/
|
|
3351
|
+
proto.BaseUpdatePurchaseRequisitionTrx.deserializeBinary = function(bytes) {
|
|
3352
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3353
|
+
var msg = new proto.BaseUpdatePurchaseRequisitionTrx;
|
|
3354
|
+
return proto.BaseUpdatePurchaseRequisitionTrx.deserializeBinaryFromReader(msg, reader);
|
|
3355
|
+
};
|
|
3356
|
+
|
|
3357
|
+
|
|
3358
|
+
/**
|
|
3359
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3360
|
+
* given reader into the given message object.
|
|
3361
|
+
* @param {!proto.BaseUpdatePurchaseRequisitionTrx} msg The message object to deserialize into.
|
|
3362
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3363
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx}
|
|
3364
|
+
*/
|
|
3365
|
+
proto.BaseUpdatePurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, reader) {
|
|
3366
|
+
while (reader.nextField()) {
|
|
3367
|
+
if (reader.isEndGroup()) {
|
|
3368
|
+
break;
|
|
2524
3369
|
}
|
|
2525
3370
|
var field = reader.getFieldNumber();
|
|
2526
3371
|
switch (field) {
|
|
@@ -2581,6 +3426,18 @@ proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, rea
|
|
|
2581
3426
|
var value = /** @type {string} */ (reader.readString());
|
|
2582
3427
|
msg.setDocumentTypeRef(value);
|
|
2583
3428
|
break;
|
|
3429
|
+
case 15:
|
|
3430
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3431
|
+
msg.setStatus(value);
|
|
3432
|
+
break;
|
|
3433
|
+
case 16:
|
|
3434
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3435
|
+
msg.setGroupReferences(value);
|
|
3436
|
+
break;
|
|
3437
|
+
case 18:
|
|
3438
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3439
|
+
msg.setNumberRangeSequence(value);
|
|
3440
|
+
break;
|
|
2584
3441
|
default:
|
|
2585
3442
|
reader.skipField();
|
|
2586
3443
|
break;
|
|
@@ -2594,9 +3451,9 @@ proto.BasePurchaseRequisitionTrx.deserializeBinaryFromReader = function(msg, rea
|
|
|
2594
3451
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2595
3452
|
* @return {!Uint8Array}
|
|
2596
3453
|
*/
|
|
2597
|
-
proto.
|
|
3454
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.serializeBinary = function() {
|
|
2598
3455
|
var writer = new jspb.BinaryWriter();
|
|
2599
|
-
proto.
|
|
3456
|
+
proto.BaseUpdatePurchaseRequisitionTrx.serializeBinaryToWriter(this, writer);
|
|
2600
3457
|
return writer.getResultBuffer();
|
|
2601
3458
|
};
|
|
2602
3459
|
|
|
@@ -2604,11 +3461,11 @@ proto.BasePurchaseRequisitionTrx.prototype.serializeBinary = function() {
|
|
|
2604
3461
|
/**
|
|
2605
3462
|
* Serializes the given message to binary data (in protobuf wire
|
|
2606
3463
|
* format), writing to the given BinaryWriter.
|
|
2607
|
-
* @param {!proto.
|
|
3464
|
+
* @param {!proto.BaseUpdatePurchaseRequisitionTrx} message
|
|
2608
3465
|
* @param {!jspb.BinaryWriter} writer
|
|
2609
3466
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2610
3467
|
*/
|
|
2611
|
-
proto.
|
|
3468
|
+
proto.BaseUpdatePurchaseRequisitionTrx.serializeBinaryToWriter = function(message, writer) {
|
|
2612
3469
|
var f = undefined;
|
|
2613
3470
|
f = message.getTitle();
|
|
2614
3471
|
if (f.length > 0) {
|
|
@@ -2709,6 +3566,27 @@ proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter = function(message, wri
|
|
|
2709
3566
|
f
|
|
2710
3567
|
);
|
|
2711
3568
|
}
|
|
3569
|
+
f = message.getStatus();
|
|
3570
|
+
if (f.length > 0) {
|
|
3571
|
+
writer.writeString(
|
|
3572
|
+
15,
|
|
3573
|
+
f
|
|
3574
|
+
);
|
|
3575
|
+
}
|
|
3576
|
+
f = message.getGroupReferences();
|
|
3577
|
+
if (f.length > 0) {
|
|
3578
|
+
writer.writeString(
|
|
3579
|
+
16,
|
|
3580
|
+
f
|
|
3581
|
+
);
|
|
3582
|
+
}
|
|
3583
|
+
f = message.getNumberRangeSequence();
|
|
3584
|
+
if (f.length > 0) {
|
|
3585
|
+
writer.writeString(
|
|
3586
|
+
18,
|
|
3587
|
+
f
|
|
3588
|
+
);
|
|
3589
|
+
}
|
|
2712
3590
|
};
|
|
2713
3591
|
|
|
2714
3592
|
|
|
@@ -2716,16 +3594,16 @@ proto.BasePurchaseRequisitionTrx.serializeBinaryToWriter = function(message, wri
|
|
|
2716
3594
|
* optional string title = 1;
|
|
2717
3595
|
* @return {string}
|
|
2718
3596
|
*/
|
|
2719
|
-
proto.
|
|
3597
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getTitle = function() {
|
|
2720
3598
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2721
3599
|
};
|
|
2722
3600
|
|
|
2723
3601
|
|
|
2724
3602
|
/**
|
|
2725
3603
|
* @param {string} value
|
|
2726
|
-
* @return {!proto.
|
|
3604
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2727
3605
|
*/
|
|
2728
|
-
proto.
|
|
3606
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setTitle = function(value) {
|
|
2729
3607
|
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2730
3608
|
};
|
|
2731
3609
|
|
|
@@ -2734,16 +3612,16 @@ proto.BasePurchaseRequisitionTrx.prototype.setTitle = function(value) {
|
|
|
2734
3612
|
* optional string purchase_requisition_transaction_number = 2;
|
|
2735
3613
|
* @return {string}
|
|
2736
3614
|
*/
|
|
2737
|
-
proto.
|
|
3615
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getPurchaseRequisitionTransactionNumber = function() {
|
|
2738
3616
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2739
3617
|
};
|
|
2740
3618
|
|
|
2741
3619
|
|
|
2742
3620
|
/**
|
|
2743
3621
|
* @param {string} value
|
|
2744
|
-
* @return {!proto.
|
|
3622
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2745
3623
|
*/
|
|
2746
|
-
proto.
|
|
3624
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setPurchaseRequisitionTransactionNumber = function(value) {
|
|
2747
3625
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2748
3626
|
};
|
|
2749
3627
|
|
|
@@ -2752,16 +3630,16 @@ proto.BasePurchaseRequisitionTrx.prototype.setPurchaseRequisitionTransactionNumb
|
|
|
2752
3630
|
* optional string item_category_ref = 3;
|
|
2753
3631
|
* @return {string}
|
|
2754
3632
|
*/
|
|
2755
|
-
proto.
|
|
3633
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getItemCategoryRef = function() {
|
|
2756
3634
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2757
3635
|
};
|
|
2758
3636
|
|
|
2759
3637
|
|
|
2760
3638
|
/**
|
|
2761
3639
|
* @param {string} value
|
|
2762
|
-
* @return {!proto.
|
|
3640
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2763
3641
|
*/
|
|
2764
|
-
proto.
|
|
3642
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setItemCategoryRef = function(value) {
|
|
2765
3643
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2766
3644
|
};
|
|
2767
3645
|
|
|
@@ -2770,16 +3648,16 @@ proto.BasePurchaseRequisitionTrx.prototype.setItemCategoryRef = function(value)
|
|
|
2770
3648
|
* optional string account_assigment_ref = 4;
|
|
2771
3649
|
* @return {string}
|
|
2772
3650
|
*/
|
|
2773
|
-
proto.
|
|
3651
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getAccountAssigmentRef = function() {
|
|
2774
3652
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2775
3653
|
};
|
|
2776
3654
|
|
|
2777
3655
|
|
|
2778
3656
|
/**
|
|
2779
3657
|
* @param {string} value
|
|
2780
|
-
* @return {!proto.
|
|
3658
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2781
3659
|
*/
|
|
2782
|
-
proto.
|
|
3660
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setAccountAssigmentRef = function(value) {
|
|
2783
3661
|
return jspb.Message.setProto3StringField(this, 4, value);
|
|
2784
3662
|
};
|
|
2785
3663
|
|
|
@@ -2788,16 +3666,16 @@ proto.BasePurchaseRequisitionTrx.prototype.setAccountAssigmentRef = function(val
|
|
|
2788
3666
|
* optional string currency_ref = 5;
|
|
2789
3667
|
* @return {string}
|
|
2790
3668
|
*/
|
|
2791
|
-
proto.
|
|
3669
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getCurrencyRef = function() {
|
|
2792
3670
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2793
3671
|
};
|
|
2794
3672
|
|
|
2795
3673
|
|
|
2796
3674
|
/**
|
|
2797
3675
|
* @param {string} value
|
|
2798
|
-
* @return {!proto.
|
|
3676
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2799
3677
|
*/
|
|
2800
|
-
proto.
|
|
3678
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setCurrencyRef = function(value) {
|
|
2801
3679
|
return jspb.Message.setProto3StringField(this, 5, value);
|
|
2802
3680
|
};
|
|
2803
3681
|
|
|
@@ -2806,16 +3684,16 @@ proto.BasePurchaseRequisitionTrx.prototype.setCurrencyRef = function(value) {
|
|
|
2806
3684
|
* optional string purchase_requisition_type = 6;
|
|
2807
3685
|
* @return {string}
|
|
2808
3686
|
*/
|
|
2809
|
-
proto.
|
|
3687
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getPurchaseRequisitionType = function() {
|
|
2810
3688
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
2811
3689
|
};
|
|
2812
3690
|
|
|
2813
3691
|
|
|
2814
3692
|
/**
|
|
2815
3693
|
* @param {string} value
|
|
2816
|
-
* @return {!proto.
|
|
3694
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2817
3695
|
*/
|
|
2818
|
-
proto.
|
|
3696
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setPurchaseRequisitionType = function(value) {
|
|
2819
3697
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
2820
3698
|
};
|
|
2821
3699
|
|
|
@@ -2824,16 +3702,16 @@ proto.BasePurchaseRequisitionTrx.prototype.setPurchaseRequisitionType = function
|
|
|
2824
3702
|
* optional string department = 7;
|
|
2825
3703
|
* @return {string}
|
|
2826
3704
|
*/
|
|
2827
|
-
proto.
|
|
3705
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getDepartment = function() {
|
|
2828
3706
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
2829
3707
|
};
|
|
2830
3708
|
|
|
2831
3709
|
|
|
2832
3710
|
/**
|
|
2833
3711
|
* @param {string} value
|
|
2834
|
-
* @return {!proto.
|
|
3712
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2835
3713
|
*/
|
|
2836
|
-
proto.
|
|
3714
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setDepartment = function(value) {
|
|
2837
3715
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
2838
3716
|
};
|
|
2839
3717
|
|
|
@@ -2842,16 +3720,16 @@ proto.BasePurchaseRequisitionTrx.prototype.setDepartment = function(value) {
|
|
|
2842
3720
|
* optional string purchasing_organization = 8;
|
|
2843
3721
|
* @return {string}
|
|
2844
3722
|
*/
|
|
2845
|
-
proto.
|
|
3723
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getPurchasingOrganization = function() {
|
|
2846
3724
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
2847
3725
|
};
|
|
2848
3726
|
|
|
2849
3727
|
|
|
2850
3728
|
/**
|
|
2851
3729
|
* @param {string} value
|
|
2852
|
-
* @return {!proto.
|
|
3730
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2853
3731
|
*/
|
|
2854
|
-
proto.
|
|
3732
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setPurchasingOrganization = function(value) {
|
|
2855
3733
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
2856
3734
|
};
|
|
2857
3735
|
|
|
@@ -2860,16 +3738,16 @@ proto.BasePurchaseRequisitionTrx.prototype.setPurchasingOrganization = function(
|
|
|
2860
3738
|
* optional string email_cc = 9;
|
|
2861
3739
|
* @return {string}
|
|
2862
3740
|
*/
|
|
2863
|
-
proto.
|
|
3741
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getEmailCc = function() {
|
|
2864
3742
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
2865
3743
|
};
|
|
2866
3744
|
|
|
2867
3745
|
|
|
2868
3746
|
/**
|
|
2869
3747
|
* @param {string} value
|
|
2870
|
-
* @return {!proto.
|
|
3748
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2871
3749
|
*/
|
|
2872
|
-
proto.
|
|
3750
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setEmailCc = function(value) {
|
|
2873
3751
|
return jspb.Message.setProto3StringField(this, 9, value);
|
|
2874
3752
|
};
|
|
2875
3753
|
|
|
@@ -2878,16 +3756,16 @@ proto.BasePurchaseRequisitionTrx.prototype.setEmailCc = function(value) {
|
|
|
2878
3756
|
* optional string plant_ref = 10;
|
|
2879
3757
|
* @return {string}
|
|
2880
3758
|
*/
|
|
2881
|
-
proto.
|
|
3759
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getPlantRef = function() {
|
|
2882
3760
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
2883
3761
|
};
|
|
2884
3762
|
|
|
2885
3763
|
|
|
2886
3764
|
/**
|
|
2887
3765
|
* @param {string} value
|
|
2888
|
-
* @return {!proto.
|
|
3766
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2889
3767
|
*/
|
|
2890
|
-
proto.
|
|
3768
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setPlantRef = function(value) {
|
|
2891
3769
|
return jspb.Message.setProto3StringField(this, 10, value);
|
|
2892
3770
|
};
|
|
2893
3771
|
|
|
@@ -2896,16 +3774,16 @@ proto.BasePurchaseRequisitionTrx.prototype.setPlantRef = function(value) {
|
|
|
2896
3774
|
* optional string purchasing_group = 11;
|
|
2897
3775
|
* @return {string}
|
|
2898
3776
|
*/
|
|
2899
|
-
proto.
|
|
3777
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getPurchasingGroup = function() {
|
|
2900
3778
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
2901
3779
|
};
|
|
2902
3780
|
|
|
2903
3781
|
|
|
2904
3782
|
/**
|
|
2905
3783
|
* @param {string} value
|
|
2906
|
-
* @return {!proto.
|
|
3784
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2907
3785
|
*/
|
|
2908
|
-
proto.
|
|
3786
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setPurchasingGroup = function(value) {
|
|
2909
3787
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
2910
3788
|
};
|
|
2911
3789
|
|
|
@@ -2914,16 +3792,16 @@ proto.BasePurchaseRequisitionTrx.prototype.setPurchasingGroup = function(value)
|
|
|
2914
3792
|
* optional string custom_transaction = 12;
|
|
2915
3793
|
* @return {string}
|
|
2916
3794
|
*/
|
|
2917
|
-
proto.
|
|
3795
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getCustomTransaction = function() {
|
|
2918
3796
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
2919
3797
|
};
|
|
2920
3798
|
|
|
2921
3799
|
|
|
2922
3800
|
/**
|
|
2923
3801
|
* @param {string} value
|
|
2924
|
-
* @return {!proto.
|
|
3802
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2925
3803
|
*/
|
|
2926
|
-
proto.
|
|
3804
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setCustomTransaction = function(value) {
|
|
2927
3805
|
return jspb.Message.setProto3StringField(this, 12, value);
|
|
2928
3806
|
};
|
|
2929
3807
|
|
|
@@ -2932,7 +3810,7 @@ proto.BasePurchaseRequisitionTrx.prototype.setCustomTransaction = function(value
|
|
|
2932
3810
|
* repeated BasePurchaseRequisitionItemTrx purchase_requisition_items = 13;
|
|
2933
3811
|
* @return {!Array<!proto.BasePurchaseRequisitionItemTrx>}
|
|
2934
3812
|
*/
|
|
2935
|
-
proto.
|
|
3813
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getPurchaseRequisitionItemsList = function() {
|
|
2936
3814
|
return /** @type{!Array<!proto.BasePurchaseRequisitionItemTrx>} */ (
|
|
2937
3815
|
jspb.Message.getRepeatedWrapperField(this, proto.BasePurchaseRequisitionItemTrx, 13));
|
|
2938
3816
|
};
|
|
@@ -2940,9 +3818,9 @@ proto.BasePurchaseRequisitionTrx.prototype.getPurchaseRequisitionItemsList = fun
|
|
|
2940
3818
|
|
|
2941
3819
|
/**
|
|
2942
3820
|
* @param {!Array<!proto.BasePurchaseRequisitionItemTrx>} value
|
|
2943
|
-
* @return {!proto.
|
|
3821
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2944
3822
|
*/
|
|
2945
|
-
proto.
|
|
3823
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setPurchaseRequisitionItemsList = function(value) {
|
|
2946
3824
|
return jspb.Message.setRepeatedWrapperField(this, 13, value);
|
|
2947
3825
|
};
|
|
2948
3826
|
|
|
@@ -2952,16 +3830,16 @@ proto.BasePurchaseRequisitionTrx.prototype.setPurchaseRequisitionItemsList = fun
|
|
|
2952
3830
|
* @param {number=} opt_index
|
|
2953
3831
|
* @return {!proto.BasePurchaseRequisitionItemTrx}
|
|
2954
3832
|
*/
|
|
2955
|
-
proto.
|
|
3833
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.addPurchaseRequisitionItems = function(opt_value, opt_index) {
|
|
2956
3834
|
return jspb.Message.addToRepeatedWrapperField(this, 13, opt_value, proto.BasePurchaseRequisitionItemTrx, opt_index);
|
|
2957
3835
|
};
|
|
2958
3836
|
|
|
2959
3837
|
|
|
2960
3838
|
/**
|
|
2961
3839
|
* Clears the list making it empty but non-null.
|
|
2962
|
-
* @return {!proto.
|
|
3840
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2963
3841
|
*/
|
|
2964
|
-
proto.
|
|
3842
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.clearPurchaseRequisitionItemsList = function() {
|
|
2965
3843
|
return this.setPurchaseRequisitionItemsList([]);
|
|
2966
3844
|
};
|
|
2967
3845
|
|
|
@@ -2970,20 +3848,74 @@ proto.BasePurchaseRequisitionTrx.prototype.clearPurchaseRequisitionItemsList = f
|
|
|
2970
3848
|
* optional string document_type_ref = 14;
|
|
2971
3849
|
* @return {string}
|
|
2972
3850
|
*/
|
|
2973
|
-
proto.
|
|
3851
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getDocumentTypeRef = function() {
|
|
2974
3852
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
2975
3853
|
};
|
|
2976
3854
|
|
|
2977
3855
|
|
|
2978
3856
|
/**
|
|
2979
3857
|
* @param {string} value
|
|
2980
|
-
* @return {!proto.
|
|
3858
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
2981
3859
|
*/
|
|
2982
|
-
proto.
|
|
3860
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setDocumentTypeRef = function(value) {
|
|
2983
3861
|
return jspb.Message.setProto3StringField(this, 14, value);
|
|
2984
3862
|
};
|
|
2985
3863
|
|
|
2986
3864
|
|
|
3865
|
+
/**
|
|
3866
|
+
* optional string status = 15;
|
|
3867
|
+
* @return {string}
|
|
3868
|
+
*/
|
|
3869
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getStatus = function() {
|
|
3870
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
3871
|
+
};
|
|
3872
|
+
|
|
3873
|
+
|
|
3874
|
+
/**
|
|
3875
|
+
* @param {string} value
|
|
3876
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
3877
|
+
*/
|
|
3878
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setStatus = function(value) {
|
|
3879
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
3880
|
+
};
|
|
3881
|
+
|
|
3882
|
+
|
|
3883
|
+
/**
|
|
3884
|
+
* optional string group_references = 16;
|
|
3885
|
+
* @return {string}
|
|
3886
|
+
*/
|
|
3887
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getGroupReferences = function() {
|
|
3888
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
3889
|
+
};
|
|
3890
|
+
|
|
3891
|
+
|
|
3892
|
+
/**
|
|
3893
|
+
* @param {string} value
|
|
3894
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
3895
|
+
*/
|
|
3896
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setGroupReferences = function(value) {
|
|
3897
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
3898
|
+
};
|
|
3899
|
+
|
|
3900
|
+
|
|
3901
|
+
/**
|
|
3902
|
+
* optional string number_range_sequence = 18;
|
|
3903
|
+
* @return {string}
|
|
3904
|
+
*/
|
|
3905
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.getNumberRangeSequence = function() {
|
|
3906
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
3907
|
+
};
|
|
3908
|
+
|
|
3909
|
+
|
|
3910
|
+
/**
|
|
3911
|
+
* @param {string} value
|
|
3912
|
+
* @return {!proto.BaseUpdatePurchaseRequisitionTrx} returns this
|
|
3913
|
+
*/
|
|
3914
|
+
proto.BaseUpdatePurchaseRequisitionTrx.prototype.setNumberRangeSequence = function(value) {
|
|
3915
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
3916
|
+
};
|
|
3917
|
+
|
|
3918
|
+
|
|
2987
3919
|
|
|
2988
3920
|
/**
|
|
2989
3921
|
* List of repeated fields within this message type.
|
|
@@ -3938,7 +4870,7 @@ proto.UpdatePurchaseRequisitionTrxRequest.prototype.toObject = function(opt_incl
|
|
|
3938
4870
|
proto.UpdatePurchaseRequisitionTrxRequest.toObject = function(includeInstance, msg) {
|
|
3939
4871
|
var f, obj = {
|
|
3940
4872
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3941
|
-
purchaseRequisitionTransaction: (f = msg.getPurchaseRequisitionTransaction()) && proto.
|
|
4873
|
+
purchaseRequisitionTransaction: (f = msg.getPurchaseRequisitionTransaction()) && proto.BaseUpdatePurchaseRequisitionTrx.toObject(includeInstance, f)
|
|
3942
4874
|
};
|
|
3943
4875
|
|
|
3944
4876
|
if (includeInstance) {
|
|
@@ -3980,8 +4912,8 @@ proto.UpdatePurchaseRequisitionTrxRequest.deserializeBinaryFromReader = function
|
|
|
3980
4912
|
msg.setId(value);
|
|
3981
4913
|
break;
|
|
3982
4914
|
case 2:
|
|
3983
|
-
var value = new proto.
|
|
3984
|
-
reader.readMessage(value,proto.
|
|
4915
|
+
var value = new proto.BaseUpdatePurchaseRequisitionTrx;
|
|
4916
|
+
reader.readMessage(value,proto.BaseUpdatePurchaseRequisitionTrx.deserializeBinaryFromReader);
|
|
3985
4917
|
msg.setPurchaseRequisitionTransaction(value);
|
|
3986
4918
|
break;
|
|
3987
4919
|
default:
|
|
@@ -4025,7 +4957,7 @@ proto.UpdatePurchaseRequisitionTrxRequest.serializeBinaryToWriter = function(mes
|
|
|
4025
4957
|
writer.writeMessage(
|
|
4026
4958
|
2,
|
|
4027
4959
|
f,
|
|
4028
|
-
proto.
|
|
4960
|
+
proto.BaseUpdatePurchaseRequisitionTrx.serializeBinaryToWriter
|
|
4029
4961
|
);
|
|
4030
4962
|
}
|
|
4031
4963
|
};
|
|
@@ -4050,17 +4982,17 @@ proto.UpdatePurchaseRequisitionTrxRequest.prototype.setId = function(value) {
|
|
|
4050
4982
|
|
|
4051
4983
|
|
|
4052
4984
|
/**
|
|
4053
|
-
* optional
|
|
4054
|
-
* @return {?proto.
|
|
4985
|
+
* optional BaseUpdatePurchaseRequisitionTrx purchase_requisition_transaction = 2;
|
|
4986
|
+
* @return {?proto.BaseUpdatePurchaseRequisitionTrx}
|
|
4055
4987
|
*/
|
|
4056
4988
|
proto.UpdatePurchaseRequisitionTrxRequest.prototype.getPurchaseRequisitionTransaction = function() {
|
|
4057
|
-
return /** @type{?proto.
|
|
4058
|
-
jspb.Message.getWrapperField(this, proto.
|
|
4989
|
+
return /** @type{?proto.BaseUpdatePurchaseRequisitionTrx} */ (
|
|
4990
|
+
jspb.Message.getWrapperField(this, proto.BaseUpdatePurchaseRequisitionTrx, 2));
|
|
4059
4991
|
};
|
|
4060
4992
|
|
|
4061
4993
|
|
|
4062
4994
|
/**
|
|
4063
|
-
* @param {?proto.
|
|
4995
|
+
* @param {?proto.BaseUpdatePurchaseRequisitionTrx|undefined} value
|
|
4064
4996
|
* @return {!proto.UpdatePurchaseRequisitionTrxRequest} returns this
|
|
4065
4997
|
*/
|
|
4066
4998
|
proto.UpdatePurchaseRequisitionTrxRequest.prototype.setPurchaseRequisitionTransaction = function(value) {
|
|
@@ -4248,7 +5180,8 @@ proto.GetPurchaseRequisitionTrxListRequest.prototype.toObject = function(opt_inc
|
|
|
4248
5180
|
*/
|
|
4249
5181
|
proto.GetPurchaseRequisitionTrxListRequest.toObject = function(includeInstance, msg) {
|
|
4250
5182
|
var f, obj = {
|
|
4251
|
-
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f)
|
|
5183
|
+
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
5184
|
+
query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
|
|
4252
5185
|
};
|
|
4253
5186
|
|
|
4254
5187
|
if (includeInstance) {
|
|
@@ -4290,6 +5223,11 @@ proto.GetPurchaseRequisitionTrxListRequest.deserializeBinaryFromReader = functio
|
|
|
4290
5223
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
|
|
4291
5224
|
msg.setPagination(value);
|
|
4292
5225
|
break;
|
|
5226
|
+
case 2:
|
|
5227
|
+
var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
|
|
5228
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
|
|
5229
|
+
msg.setQuery(value);
|
|
5230
|
+
break;
|
|
4293
5231
|
default:
|
|
4294
5232
|
reader.skipField();
|
|
4295
5233
|
break;
|
|
@@ -4327,6 +5265,14 @@ proto.GetPurchaseRequisitionTrxListRequest.serializeBinaryToWriter = function(me
|
|
|
4327
5265
|
prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
|
|
4328
5266
|
);
|
|
4329
5267
|
}
|
|
5268
|
+
f = message.getQuery();
|
|
5269
|
+
if (f != null) {
|
|
5270
|
+
writer.writeMessage(
|
|
5271
|
+
2,
|
|
5272
|
+
f,
|
|
5273
|
+
prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
|
|
5274
|
+
);
|
|
5275
|
+
}
|
|
4330
5276
|
};
|
|
4331
5277
|
|
|
4332
5278
|
|
|
@@ -4367,6 +5313,43 @@ proto.GetPurchaseRequisitionTrxListRequest.prototype.hasPagination = function()
|
|
|
4367
5313
|
};
|
|
4368
5314
|
|
|
4369
5315
|
|
|
5316
|
+
/**
|
|
5317
|
+
* optional prisca.v1.global.meta.FilterRequest query = 2;
|
|
5318
|
+
* @return {?proto.prisca.v1.global.meta.FilterRequest}
|
|
5319
|
+
*/
|
|
5320
|
+
proto.GetPurchaseRequisitionTrxListRequest.prototype.getQuery = function() {
|
|
5321
|
+
return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
|
|
5322
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
|
|
5323
|
+
};
|
|
5324
|
+
|
|
5325
|
+
|
|
5326
|
+
/**
|
|
5327
|
+
* @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
|
|
5328
|
+
* @return {!proto.GetPurchaseRequisitionTrxListRequest} returns this
|
|
5329
|
+
*/
|
|
5330
|
+
proto.GetPurchaseRequisitionTrxListRequest.prototype.setQuery = function(value) {
|
|
5331
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
5332
|
+
};
|
|
5333
|
+
|
|
5334
|
+
|
|
5335
|
+
/**
|
|
5336
|
+
* Clears the message field making it undefined.
|
|
5337
|
+
* @return {!proto.GetPurchaseRequisitionTrxListRequest} returns this
|
|
5338
|
+
*/
|
|
5339
|
+
proto.GetPurchaseRequisitionTrxListRequest.prototype.clearQuery = function() {
|
|
5340
|
+
return this.setQuery(undefined);
|
|
5341
|
+
};
|
|
5342
|
+
|
|
5343
|
+
|
|
5344
|
+
/**
|
|
5345
|
+
* Returns whether this field is set.
|
|
5346
|
+
* @return {boolean}
|
|
5347
|
+
*/
|
|
5348
|
+
proto.GetPurchaseRequisitionTrxListRequest.prototype.hasQuery = function() {
|
|
5349
|
+
return jspb.Message.getField(this, 2) != null;
|
|
5350
|
+
};
|
|
5351
|
+
|
|
5352
|
+
|
|
4370
5353
|
|
|
4371
5354
|
|
|
4372
5355
|
|