@aldiokta/protocgen 1.0.100 → 1.0.101
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
CHANGED
|
@@ -2605,7 +2605,8 @@ distribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 13, 0.0),
|
|
|
2605
2605
|
assetNo: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
2606
2606
|
referencesId: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
2607
2607
|
createdAt: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
2608
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 17, "")
|
|
2608
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
2609
|
+
costCenter: jspb.Message.getFieldWithDefault(msg, 18, "")
|
|
2609
2610
|
};
|
|
2610
2611
|
|
|
2611
2612
|
if (includeInstance) {
|
|
@@ -2710,6 +2711,10 @@ proto.PurchaseRequisitionItemDetail.deserializeBinaryFromReader = function(msg,
|
|
|
2710
2711
|
var value = /** @type {string} */ (reader.readString());
|
|
2711
2712
|
msg.setUpdatedAt(value);
|
|
2712
2713
|
break;
|
|
2714
|
+
case 18:
|
|
2715
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2716
|
+
msg.setCostCenter(value);
|
|
2717
|
+
break;
|
|
2713
2718
|
default:
|
|
2714
2719
|
reader.skipField();
|
|
2715
2720
|
break;
|
|
@@ -2858,6 +2863,13 @@ proto.PurchaseRequisitionItemDetail.serializeBinaryToWriter = function(message,
|
|
|
2858
2863
|
f
|
|
2859
2864
|
);
|
|
2860
2865
|
}
|
|
2866
|
+
f = message.getCostCenter();
|
|
2867
|
+
if (f.length > 0) {
|
|
2868
|
+
writer.writeString(
|
|
2869
|
+
18,
|
|
2870
|
+
f
|
|
2871
|
+
);
|
|
2872
|
+
}
|
|
2861
2873
|
};
|
|
2862
2874
|
|
|
2863
2875
|
|
|
@@ -3167,6 +3179,24 @@ proto.PurchaseRequisitionItemDetail.prototype.setUpdatedAt = function(value) {
|
|
|
3167
3179
|
};
|
|
3168
3180
|
|
|
3169
3181
|
|
|
3182
|
+
/**
|
|
3183
|
+
* optional string cost_center = 18;
|
|
3184
|
+
* @return {string}
|
|
3185
|
+
*/
|
|
3186
|
+
proto.PurchaseRequisitionItemDetail.prototype.getCostCenter = function() {
|
|
3187
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
3188
|
+
};
|
|
3189
|
+
|
|
3190
|
+
|
|
3191
|
+
/**
|
|
3192
|
+
* @param {string} value
|
|
3193
|
+
* @return {!proto.PurchaseRequisitionItemDetail} returns this
|
|
3194
|
+
*/
|
|
3195
|
+
proto.PurchaseRequisitionItemDetail.prototype.setCostCenter = function(value) {
|
|
3196
|
+
return jspb.Message.setProto3StringField(this, 18, value);
|
|
3197
|
+
};
|
|
3198
|
+
|
|
3199
|
+
|
|
3170
3200
|
|
|
3171
3201
|
/**
|
|
3172
3202
|
* List of repeated fields within this message type.
|
|
@@ -5174,7 +5204,10 @@ customTransaction: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
|
5174
5204
|
distribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
5175
5205
|
quantity: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
5176
5206
|
assetNo: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
5177
|
-
purchaseRequisitionItemRef: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
5207
|
+
purchaseRequisitionItemRef: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
5208
|
+
costCenter: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
5209
|
+
orderNumber: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
5210
|
+
orderDescription: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
5178
5211
|
};
|
|
5179
5212
|
|
|
5180
5213
|
if (includeInstance) {
|
|
@@ -5251,6 +5284,18 @@ proto.BasePurchaseRequisitionItemDetail.deserializeBinaryFromReader = function(m
|
|
|
5251
5284
|
var value = /** @type {string} */ (reader.readString());
|
|
5252
5285
|
msg.setPurchaseRequisitionItemRef(value);
|
|
5253
5286
|
break;
|
|
5287
|
+
case 11:
|
|
5288
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5289
|
+
msg.setCostCenter(value);
|
|
5290
|
+
break;
|
|
5291
|
+
case 12:
|
|
5292
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5293
|
+
msg.setOrderNumber(value);
|
|
5294
|
+
break;
|
|
5295
|
+
case 13:
|
|
5296
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5297
|
+
msg.setOrderDescription(value);
|
|
5298
|
+
break;
|
|
5254
5299
|
default:
|
|
5255
5300
|
reader.skipField();
|
|
5256
5301
|
break;
|
|
@@ -5350,6 +5395,27 @@ proto.BasePurchaseRequisitionItemDetail.serializeBinaryToWriter = function(messa
|
|
|
5350
5395
|
f
|
|
5351
5396
|
);
|
|
5352
5397
|
}
|
|
5398
|
+
f = message.getCostCenter();
|
|
5399
|
+
if (f.length > 0) {
|
|
5400
|
+
writer.writeString(
|
|
5401
|
+
11,
|
|
5402
|
+
f
|
|
5403
|
+
);
|
|
5404
|
+
}
|
|
5405
|
+
f = message.getOrderNumber();
|
|
5406
|
+
if (f.length > 0) {
|
|
5407
|
+
writer.writeString(
|
|
5408
|
+
12,
|
|
5409
|
+
f
|
|
5410
|
+
);
|
|
5411
|
+
}
|
|
5412
|
+
f = message.getOrderDescription();
|
|
5413
|
+
if (f.length > 0) {
|
|
5414
|
+
writer.writeString(
|
|
5415
|
+
13,
|
|
5416
|
+
f
|
|
5417
|
+
);
|
|
5418
|
+
}
|
|
5353
5419
|
};
|
|
5354
5420
|
|
|
5355
5421
|
|
|
@@ -5533,6 +5599,60 @@ proto.BasePurchaseRequisitionItemDetail.prototype.setPurchaseRequisitionItemRef
|
|
|
5533
5599
|
};
|
|
5534
5600
|
|
|
5535
5601
|
|
|
5602
|
+
/**
|
|
5603
|
+
* optional string cost_center = 11;
|
|
5604
|
+
* @return {string}
|
|
5605
|
+
*/
|
|
5606
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.getCostCenter = function() {
|
|
5607
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
5608
|
+
};
|
|
5609
|
+
|
|
5610
|
+
|
|
5611
|
+
/**
|
|
5612
|
+
* @param {string} value
|
|
5613
|
+
* @return {!proto.BasePurchaseRequisitionItemDetail} returns this
|
|
5614
|
+
*/
|
|
5615
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.setCostCenter = function(value) {
|
|
5616
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
5617
|
+
};
|
|
5618
|
+
|
|
5619
|
+
|
|
5620
|
+
/**
|
|
5621
|
+
* optional string order_number = 12;
|
|
5622
|
+
* @return {string}
|
|
5623
|
+
*/
|
|
5624
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.getOrderNumber = function() {
|
|
5625
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
5626
|
+
};
|
|
5627
|
+
|
|
5628
|
+
|
|
5629
|
+
/**
|
|
5630
|
+
* @param {string} value
|
|
5631
|
+
* @return {!proto.BasePurchaseRequisitionItemDetail} returns this
|
|
5632
|
+
*/
|
|
5633
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.setOrderNumber = function(value) {
|
|
5634
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
5635
|
+
};
|
|
5636
|
+
|
|
5637
|
+
|
|
5638
|
+
/**
|
|
5639
|
+
* optional string order_description = 13;
|
|
5640
|
+
* @return {string}
|
|
5641
|
+
*/
|
|
5642
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.getOrderDescription = function() {
|
|
5643
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
5644
|
+
};
|
|
5645
|
+
|
|
5646
|
+
|
|
5647
|
+
/**
|
|
5648
|
+
* @param {string} value
|
|
5649
|
+
* @return {!proto.BasePurchaseRequisitionItemDetail} returns this
|
|
5650
|
+
*/
|
|
5651
|
+
proto.BasePurchaseRequisitionItemDetail.prototype.setOrderDescription = function(value) {
|
|
5652
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
5653
|
+
};
|
|
5654
|
+
|
|
5655
|
+
|
|
5536
5656
|
|
|
5537
5657
|
|
|
5538
5658
|
|