@mj-biz-apps/orders-server 5.16.0 → 5.17.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.
- package/dist/__tests__/invoice-as-of-date.test.d.ts +2 -0
- package/dist/__tests__/invoice-as-of-date.test.d.ts.map +1 -0
- package/dist/__tests__/invoice-as-of-date.test.js +50 -0
- package/dist/__tests__/invoice-as-of-date.test.js.map +1 -0
- package/dist/__tests__/spawn-renewals-as-of-date.test.d.ts +2 -0
- package/dist/__tests__/spawn-renewals-as-of-date.test.d.ts.map +1 -0
- package/dist/__tests__/spawn-renewals-as-of-date.test.js +42 -0
- package/dist/__tests__/spawn-renewals-as-of-date.test.js.map +1 -0
- package/dist/custom/spawn-renewals.action.d.ts.map +1 -1
- package/dist/custom/spawn-renewals.action.js +9 -1
- package/dist/custom/spawn-renewals.action.js.map +1 -1
- package/dist/generated/graphql-schemas/__mj_BizAppsOrders.d.ts +12 -0
- package/dist/generated/graphql-schemas/__mj_BizAppsOrders.d.ts.map +1 -1
- package/dist/generated/graphql-schemas/__mj_BizAppsOrders.js +48 -0
- package/dist/generated/graphql-schemas/__mj_BizAppsOrders.js.map +1 -1
- package/dist/services/invoice-renderer.d.ts +1 -1
- package/dist/services/invoice-renderer.d.ts.map +1 -1
- package/dist/services/invoice-renderer.js +20 -2
- package/dist/services/invoice-renderer.js.map +1 -1
- package/package.json +4 -4
|
@@ -3213,10 +3213,18 @@ __decorate([
|
|
|
3213
3213
|
MaxLength(201),
|
|
3214
3214
|
__metadata("design:type", String)
|
|
3215
3215
|
], mjBizAppsOrdersEventOrderLine_.prototype, "Person", void 0);
|
|
3216
|
+
__decorate([
|
|
3217
|
+
Field(() => Float),
|
|
3218
|
+
__metadata("design:type", Number)
|
|
3219
|
+
], mjBizAppsOrdersEventOrderLine_.prototype, "BilledToDate", void 0);
|
|
3216
3220
|
__decorate([
|
|
3217
3221
|
Field(() => [String], { nullable: true, description: `Field-level security: when non-null, the fields on this entity the calling user may read. Any other field arriving as null was withheld by the server rather than genuinely empty. Null for callers with no field restrictions.` }),
|
|
3218
3222
|
__metadata("design:type", Array)
|
|
3219
3223
|
], mjBizAppsOrdersEventOrderLine_.prototype, "ReadableFields___", void 0);
|
|
3224
|
+
__decorate([
|
|
3225
|
+
Field(() => Float),
|
|
3226
|
+
__metadata("design:type", Number)
|
|
3227
|
+
], mjBizAppsOrdersEventOrderLine_.prototype, "RecognizedToDate", void 0);
|
|
3220
3228
|
mjBizAppsOrdersEventOrderLine_ = __decorate([
|
|
3221
3229
|
ObjectType({ description: `IsA Disjoint child of OrderLine (same UUID): per-line attendee detail; the attendee is typically the EntitlementGrant beneficiary (BO-D39).` })
|
|
3222
3230
|
], mjBizAppsOrdersEventOrderLine_);
|
|
@@ -3414,6 +3422,14 @@ __decorate([
|
|
|
3414
3422
|
Field({ nullable: true }),
|
|
3415
3423
|
__metadata("design:type", String)
|
|
3416
3424
|
], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "DimensionValueID", void 0);
|
|
3425
|
+
__decorate([
|
|
3426
|
+
Field(() => Float, { nullable: true }),
|
|
3427
|
+
__metadata("design:type", Number)
|
|
3428
|
+
], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "BilledToDate", void 0);
|
|
3429
|
+
__decorate([
|
|
3430
|
+
Field(() => Float, { nullable: true }),
|
|
3431
|
+
__metadata("design:type", Number)
|
|
3432
|
+
], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "RecognizedToDate", void 0);
|
|
3417
3433
|
__decorate([
|
|
3418
3434
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
3419
3435
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -3615,6 +3631,14 @@ __decorate([
|
|
|
3615
3631
|
Field({ nullable: true }),
|
|
3616
3632
|
__metadata("design:type", String)
|
|
3617
3633
|
], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "DimensionValueID", void 0);
|
|
3634
|
+
__decorate([
|
|
3635
|
+
Field(() => Float, { nullable: true }),
|
|
3636
|
+
__metadata("design:type", Number)
|
|
3637
|
+
], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "BilledToDate", void 0);
|
|
3638
|
+
__decorate([
|
|
3639
|
+
Field(() => Float, { nullable: true }),
|
|
3640
|
+
__metadata("design:type", Number)
|
|
3641
|
+
], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "RecognizedToDate", void 0);
|
|
3618
3642
|
__decorate([
|
|
3619
3643
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
3620
3644
|
__metadata("design:type", Array)
|
|
@@ -7739,6 +7763,14 @@ __decorate([
|
|
|
7739
7763
|
], mjBizAppsOrdersOrderLine_.prototype, "DimensionValueID", void 0);
|
|
7740
7764
|
__decorate([
|
|
7741
7765
|
Field({ nullable: true }),
|
|
7766
|
+
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.` }),
|
|
7767
|
+
__metadata("design:type", Number)
|
|
7768
|
+
], mjBizAppsOrdersOrderLine_.prototype, "BilledToDate", void 0);
|
|
7769
|
+
__decorate([
|
|
7770
|
+
Field(() => Float, { description: `Cumulative revenue recognised on this line, advanced by each recognition entry inside the same transaction that books it (D92). Where it exceeds BilledToDate the difference is a contract asset and sits in Unbilled Receivable — service delivered that the contract does not yet allow us to bill. That is what the standard means by a contract asset, and it is distinct from the future instalments the superseded D89 design parked in the same account. ADVANCED FOR UP-FRONT AND ATTESTED LINES ONLY. A deferred driver stages its monthly releases as forward-dated entries at confirm; those credit Sales on their own dates without passing through rule 2, so they leave this total untouched. A subscription line therefore depends on its instalments being invoiced on time for the gap between the two totals to mean anything. Routing the staged releases through rule 2 is orders #241, parked. Signed: negative on a reversal line (Quantity < 0), so an origin and its reversals net to zero.` }),
|
|
7771
|
+
__metadata("design:type", Number)
|
|
7772
|
+
], mjBizAppsOrdersOrderLine_.prototype, "RecognizedToDate", void 0);
|
|
7773
|
+
__decorate([
|
|
7742
7774
|
MaxLength(40),
|
|
7743
7775
|
__metadata("design:type", String)
|
|
7744
7776
|
], mjBizAppsOrdersOrderLine_.prototype, "OrderHeader", void 0);
|
|
@@ -7958,6 +7990,14 @@ __decorate([
|
|
|
7958
7990
|
Field({ nullable: true }),
|
|
7959
7991
|
__metadata("design:type", String)
|
|
7960
7992
|
], CreatemjBizAppsOrdersOrderLineInput.prototype, "DimensionValueID", void 0);
|
|
7993
|
+
__decorate([
|
|
7994
|
+
Field(() => Float, { nullable: true }),
|
|
7995
|
+
__metadata("design:type", Number)
|
|
7996
|
+
], CreatemjBizAppsOrdersOrderLineInput.prototype, "BilledToDate", void 0);
|
|
7997
|
+
__decorate([
|
|
7998
|
+
Field(() => Float, { nullable: true }),
|
|
7999
|
+
__metadata("design:type", Number)
|
|
8000
|
+
], CreatemjBizAppsOrdersOrderLineInput.prototype, "RecognizedToDate", void 0);
|
|
7961
8001
|
__decorate([
|
|
7962
8002
|
Field(() => RestoreContextInput, { nullable: true }),
|
|
7963
8003
|
__metadata("design:type", RestoreContextInput)
|
|
@@ -8103,6 +8143,14 @@ __decorate([
|
|
|
8103
8143
|
Field({ nullable: true }),
|
|
8104
8144
|
__metadata("design:type", String)
|
|
8105
8145
|
], UpdatemjBizAppsOrdersOrderLineInput.prototype, "DimensionValueID", void 0);
|
|
8146
|
+
__decorate([
|
|
8147
|
+
Field(() => Float, { nullable: true }),
|
|
8148
|
+
__metadata("design:type", Number)
|
|
8149
|
+
], UpdatemjBizAppsOrdersOrderLineInput.prototype, "BilledToDate", void 0);
|
|
8150
|
+
__decorate([
|
|
8151
|
+
Field(() => Float, { nullable: true }),
|
|
8152
|
+
__metadata("design:type", Number)
|
|
8153
|
+
], UpdatemjBizAppsOrdersOrderLineInput.prototype, "RecognizedToDate", void 0);
|
|
8106
8154
|
__decorate([
|
|
8107
8155
|
Field(() => [KeyValuePairInput], { nullable: true }),
|
|
8108
8156
|
__metadata("design:type", Array)
|