@mj-biz-apps/orders-server 5.11.0 → 5.12.1

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.
@@ -2793,6 +2793,14 @@ __decorate([
2793
2793
  MaxLength(36),
2794
2794
  __metadata("design:type", String)
2795
2795
  ], mjBizAppsOrdersEventOrderLine_.prototype, "JournalEntryID", void 0);
2796
+ __decorate([
2797
+ Field(() => Boolean),
2798
+ __metadata("design:type", Boolean)
2799
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "PriceOverridden", void 0);
2800
+ __decorate([
2801
+ Field({ nullable: true }),
2802
+ __metadata("design:type", String)
2803
+ ], mjBizAppsOrdersEventOrderLine_.prototype, "PriceOverrideReason", void 0);
2796
2804
  __decorate([
2797
2805
  Field(),
2798
2806
  MaxLength(201),
@@ -2943,6 +2951,14 @@ __decorate([
2943
2951
  Field({ nullable: true }),
2944
2952
  __metadata("design:type", String)
2945
2953
  ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "JournalEntryID", void 0);
2954
+ __decorate([
2955
+ Field(() => Boolean, { nullable: true }),
2956
+ __metadata("design:type", Boolean)
2957
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "PriceOverridden", void 0);
2958
+ __decorate([
2959
+ Field({ nullable: true }),
2960
+ __metadata("design:type", String)
2961
+ ], CreatemjBizAppsOrdersEventOrderLineInput.prototype, "PriceOverrideReason", void 0);
2946
2962
  __decorate([
2947
2963
  Field(() => RestoreContextInput, { nullable: true }),
2948
2964
  __metadata("design:type", RestoreContextInput)
@@ -3092,6 +3108,14 @@ __decorate([
3092
3108
  Field({ nullable: true }),
3093
3109
  __metadata("design:type", String)
3094
3110
  ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "JournalEntryID", void 0);
3111
+ __decorate([
3112
+ Field(() => Boolean, { nullable: true }),
3113
+ __metadata("design:type", Boolean)
3114
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "PriceOverridden", void 0);
3115
+ __decorate([
3116
+ Field({ nullable: true }),
3117
+ __metadata("design:type", String)
3118
+ ], UpdatemjBizAppsOrdersEventOrderLineInput.prototype, "PriceOverrideReason", void 0);
3095
3119
  __decorate([
3096
3120
  Field(() => [KeyValuePairInput], { nullable: true }),
3097
3121
  __metadata("design:type", Array)
@@ -5548,6 +5572,22 @@ __decorate([
5548
5572
  Field(() => Float, { nullable: true }),
5549
5573
  __metadata("design:type", Number)
5550
5574
  ], mjBizAppsOrdersOrderHeader_.prototype, "_mj__Longitude", void 0);
5575
+ __decorate([
5576
+ Field(() => Float, { nullable: true }),
5577
+ __metadata("design:type", Number)
5578
+ ], mjBizAppsOrdersOrderHeader_.prototype, "_mj__Latitude_BillToAddressID", void 0);
5579
+ __decorate([
5580
+ Field(() => Float, { nullable: true }),
5581
+ __metadata("design:type", Number)
5582
+ ], mjBizAppsOrdersOrderHeader_.prototype, "_mj__Longitude_BillToAddressID", void 0);
5583
+ __decorate([
5584
+ Field(() => Float, { nullable: true }),
5585
+ __metadata("design:type", Number)
5586
+ ], mjBizAppsOrdersOrderHeader_.prototype, "_mj__Latitude_ShipToAddressID", void 0);
5587
+ __decorate([
5588
+ Field(() => Float, { nullable: true }),
5589
+ __metadata("design:type", Number)
5590
+ ], mjBizAppsOrdersOrderHeader_.prototype, "_mj__Longitude_ShipToAddressID", void 0);
5551
5591
  __decorate([
5552
5592
  Field(() => Int),
5553
5593
  __metadata("design:type", Number)
@@ -6701,6 +6741,14 @@ __decorate([
6701
6741
  Field(),
6702
6742
  __metadata("design:type", Date)
6703
6743
  ], mjBizAppsOrdersOrderLine_.prototype, "_mj__UpdatedAt", void 0);
6744
+ __decorate([
6745
+ Field(() => Boolean, { description: `1 when UnitPrice was set by a staff override (named list pick or typed amount) rather than the pricing engine. 0 is the engine price.` }),
6746
+ __metadata("design:type", Boolean)
6747
+ ], mjBizAppsOrdersOrderLine_.prototype, "PriceOverridden", void 0);
6748
+ __decorate([
6749
+ Field({ nullable: true, description: `Optional staff note for why the engine price was overridden. NULL when PriceOverridden = 0 or when no reason was given.` }),
6750
+ __metadata("design:type", String)
6751
+ ], mjBizAppsOrdersOrderLine_.prototype, "PriceOverrideReason", void 0);
6704
6752
  __decorate([
6705
6753
  Field(),
6706
6754
  MaxLength(40),
@@ -6746,6 +6794,27 @@ __decorate([
6746
6794
  MaxLength(40),
6747
6795
  __metadata("design:type", String)
6748
6796
  ], mjBizAppsOrdersOrderLine_.prototype, "JournalEntry", void 0);
6797
+ __decorate([
6798
+ Field({ nullable: true }),
6799
+ MaxLength(36),
6800
+ __metadata("design:type", String)
6801
+ ], mjBizAppsOrdersOrderLine_.prototype, "RootParentOrderLineID", void 0);
6802
+ __decorate([
6803
+ Field(() => Int, { nullable: true }),
6804
+ __metadata("design:type", Number)
6805
+ ], mjBizAppsOrdersOrderLine_.prototype, "ParentOrderLineIDDepth", void 0);
6806
+ __decorate([
6807
+ Field({ nullable: true }),
6808
+ __metadata("design:type", String)
6809
+ ], mjBizAppsOrdersOrderLine_.prototype, "ParentOrderLineIDPath", void 0);
6810
+ __decorate([
6811
+ Field(() => Boolean, { nullable: true }),
6812
+ __metadata("design:type", Boolean)
6813
+ ], mjBizAppsOrdersOrderLine_.prototype, "ParentOrderLineIDIsLeaf", void 0);
6814
+ __decorate([
6815
+ Field(() => Int, { nullable: true }),
6816
+ __metadata("design:type", Number)
6817
+ ], mjBizAppsOrdersOrderLine_.prototype, "ParentOrderLineIDChildCount", void 0);
6749
6818
  mjBizAppsOrdersOrderLine_ = __decorate([
6750
6819
  ObjectType({ description: `A line item on an order. Line amount = Quantity * UnitPrice. Each line books its OWN journal entry at Confirm (D10) in the line\'s company.` })
6751
6820
  ], mjBizAppsOrdersOrderLine_);
@@ -6871,6 +6940,14 @@ __decorate([
6871
6940
  Field({ nullable: true }),
6872
6941
  __metadata("design:type", String)
6873
6942
  ], CreatemjBizAppsOrdersOrderLineInput.prototype, "JournalEntryID", void 0);
6943
+ __decorate([
6944
+ Field(() => Boolean, { nullable: true }),
6945
+ __metadata("design:type", Boolean)
6946
+ ], CreatemjBizAppsOrdersOrderLineInput.prototype, "PriceOverridden", void 0);
6947
+ __decorate([
6948
+ Field({ nullable: true }),
6949
+ __metadata("design:type", String)
6950
+ ], CreatemjBizAppsOrdersOrderLineInput.prototype, "PriceOverrideReason", void 0);
6874
6951
  __decorate([
6875
6952
  Field(() => RestoreContextInput, { nullable: true }),
6876
6953
  __metadata("design:type", RestoreContextInput)
@@ -7000,6 +7077,14 @@ __decorate([
7000
7077
  Field({ nullable: true }),
7001
7078
  __metadata("design:type", String)
7002
7079
  ], UpdatemjBizAppsOrdersOrderLineInput.prototype, "JournalEntryID", void 0);
7080
+ __decorate([
7081
+ Field(() => Boolean, { nullable: true }),
7082
+ __metadata("design:type", Boolean)
7083
+ ], UpdatemjBizAppsOrdersOrderLineInput.prototype, "PriceOverridden", void 0);
7084
+ __decorate([
7085
+ Field({ nullable: true }),
7086
+ __metadata("design:type", String)
7087
+ ], UpdatemjBizAppsOrdersOrderLineInput.prototype, "PriceOverrideReason", void 0);
7003
7088
  __decorate([
7004
7089
  Field(() => [KeyValuePairInput], { nullable: true }),
7005
7090
  __metadata("design:type", Array)
@@ -11045,6 +11130,11 @@ __decorate([
11045
11130
  Field(),
11046
11131
  __metadata("design:type", Date)
11047
11132
  ], mjBizAppsOrdersPriceTier_.prototype, "_mj__UpdatedAt", void 0);
11133
+ __decorate([
11134
+ Field(),
11135
+ MaxLength(100),
11136
+ __metadata("design:type", String)
11137
+ ], mjBizAppsOrdersPriceTier_.prototype, "ProductPrice", void 0);
11048
11138
  mjBizAppsOrdersPriceTier_ = __decorate([
11049
11139
  ObjectType({ description: `Volume/quantity break under a Tiered or Volume ProductPrice (BO-D33).` })
11050
11140
  ], mjBizAppsOrdersPriceTier_);
@@ -11627,6 +11717,27 @@ __decorate([
11627
11717
  MaxLength(200),
11628
11718
  __metadata("design:type", String)
11629
11719
  ], mjBizAppsOrdersProductCategory_.prototype, "ParentProductCategory", void 0);
11720
+ __decorate([
11721
+ Field({ nullable: true }),
11722
+ MaxLength(36),
11723
+ __metadata("design:type", String)
11724
+ ], mjBizAppsOrdersProductCategory_.prototype, "RootParentProductCategoryID", void 0);
11725
+ __decorate([
11726
+ Field(() => Int, { nullable: true }),
11727
+ __metadata("design:type", Number)
11728
+ ], mjBizAppsOrdersProductCategory_.prototype, "ParentProductCategoryIDDepth", void 0);
11729
+ __decorate([
11730
+ Field({ nullable: true }),
11731
+ __metadata("design:type", String)
11732
+ ], mjBizAppsOrdersProductCategory_.prototype, "ParentProductCategoryIDPath", void 0);
11733
+ __decorate([
11734
+ Field(() => Boolean, { nullable: true }),
11735
+ __metadata("design:type", Boolean)
11736
+ ], mjBizAppsOrdersProductCategory_.prototype, "ParentProductCategoryIDIsLeaf", void 0);
11737
+ __decorate([
11738
+ Field(() => Int, { nullable: true }),
11739
+ __metadata("design:type", Number)
11740
+ ], mjBizAppsOrdersProductCategory_.prototype, "ParentProductCategoryIDChildCount", void 0);
11630
11741
  mjBizAppsOrdersProductCategory_ = __decorate([
11631
11742
  ObjectType({ description: `PER-COMPANY hierarchical grouping of products (D7): each company owns its own category tree; identical names across companies display-collapse in the UI. The account resolver walks the ParentProductCategoryID tree upward within the company.` })
11632
11743
  ], mjBizAppsOrdersProductCategory_);