@mj-biz-apps/orders-server 5.18.0 → 5.19.0

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.
@@ -3246,6 +3246,10 @@ __decorate([
3246
3246
  MaxLength(36),
3247
3247
  __metadata("design:type", String)
3248
3248
  ], mjBizAppsOrdersEventOrderLine_.prototype, "DimensionValueID", void 0);
3249
+ __decorate([
3250
+ Field({ nullable: true }),
3251
+ __metadata("design:type", String)
3252
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "ShipToAddressSnapshot", void 0);
3249
3253
  __decorate([
3250
3254
  Field({ nullable: true }),
3251
3255
  MaxLength(201),
@@ -3468,6 +3472,10 @@ __decorate([
3468
3472
  Field(() => Float, { nullable: true }),
3469
3473
  __metadata("design:type", Number)
3470
3474
  ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "RecognizedToDate", void 0);
3475
+ __decorate([
3476
+ Field({ nullable: true }),
3477
+ __metadata("design:type", String)
3478
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "ShipToAddressSnapshot", void 0);
3471
3479
  __decorate([
3472
3480
  Field(() => RestoreContextInput, { nullable: true }),
3473
3481
  __metadata("design:type", RestoreContextInput)
@@ -3677,6 +3685,10 @@ __decorate([
3677
3685
  Field(() => Float, { nullable: true }),
3678
3686
  __metadata("design:type", Number)
3679
3687
  ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "RecognizedToDate", void 0);
3688
+ __decorate([
3689
+ Field({ nullable: true }),
3690
+ __metadata("design:type", String)
3691
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "ShipToAddressSnapshot", void 0);
3680
3692
  __decorate([
3681
3693
  Field(() => [KeyValuePairInput], { nullable: true }),
3682
3694
  __metadata("design:type", Array)
@@ -6526,6 +6538,14 @@ __decorate([
6526
6538
  MaxLength(20),
6527
6539
  __metadata("design:type", String)
6528
6540
  ], mjBizAppsOrdersOrderHeader_.prototype, "FulfillmentStatus", void 0);
6541
+ __decorate([
6542
+ Field({ nullable: true, description: `The bill-to address as it was when the order was first confirmed: JSON with AddressID, Line1, Line2, Line3, City, StateProvince, PostalCode and Country. NULL until the order is confirmed. Written once and never changed (trg_OrderHeader_AddressFrozenAfterConfirm, 51015). Reporting and invoicing read this on a confirmed order instead of the live Address row.` }),
6543
+ __metadata("design:type", String)
6544
+ ], mjBizAppsOrdersOrderHeader_.prototype, "BillToAddressSnapshot", void 0);
6545
+ __decorate([
6546
+ Field({ nullable: true, description: `The ship-to address as it was when the order was first confirmed: JSON with AddressID, Line1, Line2, Line3, City, StateProvince, PostalCode and Country. NULL until the order is confirmed. Written once and never changed (trg_OrderHeader_AddressFrozenAfterConfirm, 51015). Reporting and invoicing read this on a confirmed order instead of the live Address row.` }),
6547
+ __metadata("design:type", String)
6548
+ ], mjBizAppsOrdersOrderHeader_.prototype, "ShipToAddressSnapshot", void 0);
6529
6549
  __decorate([
6530
6550
  Field({ nullable: true }),
6531
6551
  MaxLength(50),
@@ -6769,6 +6789,14 @@ __decorate([
6769
6789
  Field({ nullable: true }),
6770
6790
  __metadata("design:type", String)
6771
6791
  ], CreatemjBizAppsOrdersOrderHeaderInput.prototype, "FulfillmentStatus", void 0);
6792
+ __decorate([
6793
+ Field({ nullable: true }),
6794
+ __metadata("design:type", String)
6795
+ ], CreatemjBizAppsOrdersOrderHeaderInput.prototype, "BillToAddressSnapshot", void 0);
6796
+ __decorate([
6797
+ Field({ nullable: true }),
6798
+ __metadata("design:type", String)
6799
+ ], CreatemjBizAppsOrdersOrderHeaderInput.prototype, "ShipToAddressSnapshot", void 0);
6772
6800
  __decorate([
6773
6801
  Field(() => RestoreContextInput, { nullable: true }),
6774
6802
  __metadata("design:type", RestoreContextInput)
@@ -6918,6 +6946,14 @@ __decorate([
6918
6946
  Field({ nullable: true }),
6919
6947
  __metadata("design:type", String)
6920
6948
  ], UpdatemjBizAppsOrdersOrderHeaderInput.prototype, "FulfillmentStatus", void 0);
6949
+ __decorate([
6950
+ Field({ nullable: true }),
6951
+ __metadata("design:type", String)
6952
+ ], UpdatemjBizAppsOrdersOrderHeaderInput.prototype, "BillToAddressSnapshot", void 0);
6953
+ __decorate([
6954
+ Field({ nullable: true }),
6955
+ __metadata("design:type", String)
6956
+ ], UpdatemjBizAppsOrdersOrderHeaderInput.prototype, "ShipToAddressSnapshot", void 0);
6921
6957
  __decorate([
6922
6958
  Field(() => [KeyValuePairInput], { nullable: true }),
6923
6959
  __metadata("design:type", Array)
@@ -7799,6 +7835,10 @@ __decorate([
7799
7835
  MaxLength(36),
7800
7836
  __metadata("design:type", String)
7801
7837
  ], mjBizAppsOrdersOrderLine_.prototype, "DimensionValueID", void 0);
7838
+ __decorate([
7839
+ Field({ nullable: true, description: `The line's own ship-to address as it was when the order was first confirmed, in the same JSON shape as OrderHeader.ShipToAddressSnapshot. NULL when the line has no ShipToAddressID of its own, or until the order is confirmed. Written once and never changed (trg_OrderLine_AddressFrozenAfterConfirm, 51016).` }),
7840
+ __metadata("design:type", String)
7841
+ ], mjBizAppsOrdersOrderLine_.prototype, "ShipToAddressSnapshot", void 0);
7802
7842
  __decorate([
7803
7843
  Field({ nullable: true }),
7804
7844
  Field(() => Float, { description: `Cumulative REVENUE of this line invoiced to the customer — its net, what Deferred Revenue or Sales was credited, NOT net plus tax and charges, which credit their own accounts and never touch Deferred. Advanced by each instalment invoice, and by confirm itself for a line with no payment schedule, inside the same transaction that books the entry (D92). Same basis as RecognizedToDate, or the gap between them overstates Deferred by the tax. With RecognizedToDate it gives the line's balance-sheet position: the excess over RecognizedToDate sits in Deferred Revenue. Never derived at read time — the contra account a recognition entry debits depends on what has been billed by then, which is not knowable at confirm. Signed: negative on a reversal line (Quantity < 0), so an origin and its reversals net to zero.` }),
@@ -8036,6 +8076,10 @@ __decorate([
8036
8076
  Field(() => Float, { nullable: true }),
8037
8077
  __metadata("design:type", Number)
8038
8078
  ], CreatemjBizAppsOrdersOrderLineInput.prototype, "RecognizedToDate", void 0);
8079
+ __decorate([
8080
+ Field({ nullable: true }),
8081
+ __metadata("design:type", String)
8082
+ ], CreatemjBizAppsOrdersOrderLineInput.prototype, "ShipToAddressSnapshot", void 0);
8039
8083
  __decorate([
8040
8084
  Field(() => RestoreContextInput, { nullable: true }),
8041
8085
  __metadata("design:type", RestoreContextInput)
@@ -8189,6 +8233,10 @@ __decorate([
8189
8233
  Field(() => Float, { nullable: true }),
8190
8234
  __metadata("design:type", Number)
8191
8235
  ], UpdatemjBizAppsOrdersOrderLineInput.prototype, "RecognizedToDate", void 0);
8236
+ __decorate([
8237
+ Field({ nullable: true }),
8238
+ __metadata("design:type", String)
8239
+ ], UpdatemjBizAppsOrdersOrderLineInput.prototype, "ShipToAddressSnapshot", void 0);
8192
8240
  __decorate([
8193
8241
  Field(() => [KeyValuePairInput], { nullable: true }),
8194
8242
  __metadata("design:type", Array)