@mj-biz-apps/orders-ng 5.26.0 → 5.28.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/lib/custom/OrderHeader/order-lines-editor.component.d.ts +18 -1
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.d.ts.map +1 -1
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.js +500 -386
- package/dist/lib/custom/OrderHeader/order-lines-editor.component.js.map +1 -1
- package/dist/lib/custom/Product/product-save-guard-form.component.js +71 -69
- package/dist/lib/custom/Product/product-save-guard-form.component.js.map +1 -1
- package/dist/lib/data/orders-queries.d.ts +7 -6
- package/dist/lib/data/orders-queries.d.ts.map +1 -1
- package/dist/lib/data/orders-queries.js +6 -6
- package/dist/lib/data/orders-queries.js.map +1 -1
- package/dist/lib/form-panels/external-invoices.panel.d.ts.map +1 -1
- package/dist/lib/form-panels/external-invoices.panel.js +2 -3
- package/dist/lib/form-panels/external-invoices.panel.js.map +1 -1
- package/dist/lib/form-panels/product-widget.panels.d.ts.map +1 -1
- package/dist/lib/form-panels/product-widget.panels.js +34 -3
- package/dist/lib/form-panels/product-widget.panels.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.js +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersCheckoutSession/mjbizappsorderscheckoutsession.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.js +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersEntitlementGrant/mjbizappsordersentitlementgrant.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js +13 -9
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventOrderLine/mjbizappsorderseventorderline.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js +19 -9
- package/dist/lib/generated/Entities/mjBizAppsOrdersEventProduct/mjbizappsorderseventproduct.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.js +9 -7
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderCompanyPolicy/mjbizappsordersordercompanypolicy.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js +129 -123
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeader/mjbizappsordersorderheader.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeaderPaymentSchedule/mjbizappsordersorderheaderpaymentschedule.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeaderPaymentSchedule/mjbizappsordersorderheaderpaymentschedule.form.component.js +23 -5
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderHeaderPaymentSchedule/mjbizappsordersorderheaderpaymentschedule.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js +126 -100
- package/dist/lib/generated/Entities/mjBizAppsOrdersOrderLine/mjbizappsordersorderline.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.js +10 -10
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentHeader/mjbizappsorderspaymentheader.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.js +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersPaymentProvider/mjbizappsorderspaymentprovider.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js +71 -69
- package/dist/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.js +33 -31
- package/dist/lib/generated/Entities/mjBizAppsOrdersProductCategory/mjbizappsordersproductcategory.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.js +25 -19
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesAuthority/mjbizappsorderssalesauthority.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.d.ts.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.js +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSalesRule/mjbizappsorderssalesrule.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js +46 -42
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscription/mjbizappsorderssubscription.form.component.js.map +1 -1
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionFamily/mjbizappsorderssubscriptionfamily.form.component.d.ts +10 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionFamily/mjbizappsorderssubscriptionfamily.form.component.d.ts.map +1 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionFamily/mjbizappsorderssubscriptionfamily.form.component.js +84 -0
- package/dist/lib/generated/Entities/mjBizAppsOrdersSubscriptionFamily/mjbizappsorderssubscriptionfamily.form.component.js.map +1 -0
- package/dist/lib/generated/generated-forms.module.d.ts +101 -90
- package/dist/lib/generated/generated-forms.module.d.ts.map +1 -1
- package/dist/lib/generated/generated-forms.module.js +110 -47
- package/dist/lib/generated/generated-forms.module.js.map +1 -1
- package/package.json +17 -17
|
@@ -13,90 +13,90 @@ import { OrdersEngine } from '@mj-biz-apps/orders-entities';
|
|
|
13
13
|
import { mjBizAppsOrdersProductFormComponent } from '../../generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.js';
|
|
14
14
|
import * as i0 from "@angular/core";
|
|
15
15
|
import * as i1 from "@memberjunction/ng-base-forms";
|
|
16
|
-
function
|
|
16
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_34_Template(rf, ctx) { if (rf & 1) {
|
|
17
17
|
const _r1 = i0.ɵɵgetCurrentView();
|
|
18
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
19
|
-
i0.ɵɵlistener("Navigate", function
|
|
18
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 43);
|
|
19
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_34_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_34_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r1); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersProductEntitlements", $event.totalRowCount)); });
|
|
20
20
|
i0.ɵɵelementEnd()();
|
|
21
21
|
} if (rf & 2) {
|
|
22
22
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
23
23
|
i0.ɵɵadvance();
|
|
24
24
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Product Entitlements", "ProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Product Entitlements", "ProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersProductEntitlements"))("ShowToolbar", true);
|
|
25
25
|
} }
|
|
26
|
-
function
|
|
26
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_36_Template(rf, ctx) { if (rf & 1) {
|
|
27
27
|
const _r3 = i0.ɵɵgetCurrentView();
|
|
28
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
29
|
-
i0.ɵɵlistener("Navigate", function
|
|
28
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 43);
|
|
29
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_36_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_36_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r3); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersProductBundleItemsComponentProductID", $event.totalRowCount)); });
|
|
30
30
|
i0.ɵɵelementEnd()();
|
|
31
31
|
} if (rf & 2) {
|
|
32
32
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
33
33
|
i0.ɵɵadvance();
|
|
34
34
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Product Bundle Items", "ComponentProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Product Bundle Items", "ComponentProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersProductBundleItemsComponentProductID"))("ShowToolbar", true);
|
|
35
35
|
} }
|
|
36
|
-
function
|
|
36
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_38_Template(rf, ctx) { if (rf & 1) {
|
|
37
37
|
const _r4 = i0.ɵɵgetCurrentView();
|
|
38
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
39
|
-
i0.ɵɵlistener("Navigate", function
|
|
38
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 43);
|
|
39
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_38_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_38_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r4); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersProductBundleItemsBundleProductID", $event.totalRowCount)); });
|
|
40
40
|
i0.ɵɵelementEnd()();
|
|
41
41
|
} if (rf & 2) {
|
|
42
42
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
43
43
|
i0.ɵɵadvance();
|
|
44
44
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Product Bundle Items", "BundleProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Product Bundle Items", "BundleProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersProductBundleItemsBundleProductID"))("ShowToolbar", true);
|
|
45
45
|
} }
|
|
46
|
-
function
|
|
46
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_40_Template(rf, ctx) { if (rf & 1) {
|
|
47
47
|
const _r5 = i0.ɵɵgetCurrentView();
|
|
48
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
49
|
-
i0.ɵɵlistener("Navigate", function
|
|
48
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 43);
|
|
49
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_40_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_40_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r5); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersProducts", $event.totalRowCount)); });
|
|
50
50
|
i0.ɵɵelementEnd()();
|
|
51
51
|
} if (rf & 2) {
|
|
52
52
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
53
53
|
i0.ɵɵadvance();
|
|
54
54
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Products", "SuccessorProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Products", "SuccessorProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersProducts"))("ShowToolbar", true);
|
|
55
55
|
} }
|
|
56
|
-
function
|
|
56
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_42_Template(rf, ctx) { if (rf & 1) {
|
|
57
57
|
const _r6 = i0.ɵɵgetCurrentView();
|
|
58
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
59
|
-
i0.ɵɵlistener("Navigate", function
|
|
58
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 43);
|
|
59
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_42_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_42_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r6); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersOrderLinesSourceBundleProductID", $event.totalRowCount)); });
|
|
60
60
|
i0.ɵɵelementEnd()();
|
|
61
61
|
} if (rf & 2) {
|
|
62
62
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
63
63
|
i0.ɵɵadvance();
|
|
64
64
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Order Lines", "SourceBundleProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Order Lines", "SourceBundleProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersOrderLinesSourceBundleProductID"))("ShowToolbar", true);
|
|
65
65
|
} }
|
|
66
|
-
function
|
|
66
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_44_Template(rf, ctx) { if (rf & 1) {
|
|
67
67
|
const _r7 = i0.ɵɵgetCurrentView();
|
|
68
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
69
|
-
i0.ɵɵlistener("Navigate", function
|
|
68
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 43);
|
|
69
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_44_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_44_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r7); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersOrderLinesProductID", $event.totalRowCount)); });
|
|
70
70
|
i0.ɵɵelementEnd()();
|
|
71
71
|
} if (rf & 2) {
|
|
72
72
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
73
73
|
i0.ɵɵadvance();
|
|
74
74
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Order Lines", "ProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Order Lines", "ProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersOrderLinesProductID"))("ShowToolbar", true);
|
|
75
75
|
} }
|
|
76
|
-
function
|
|
76
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_46_Template(rf, ctx) { if (rf & 1) {
|
|
77
77
|
const _r8 = i0.ɵɵgetCurrentView();
|
|
78
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
79
|
-
i0.ɵɵlistener("Navigate", function
|
|
78
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 43);
|
|
79
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_46_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_46_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r8); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersSubscriptions", $event.totalRowCount)); });
|
|
80
80
|
i0.ɵɵelementEnd()();
|
|
81
81
|
} if (rf & 2) {
|
|
82
82
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
83
83
|
i0.ɵɵadvance();
|
|
84
84
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Subscriptions", "ProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Subscriptions", "ProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersSubscriptions"))("ShowToolbar", true);
|
|
85
85
|
} }
|
|
86
|
-
function
|
|
86
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_48_Template(rf, ctx) { if (rf & 1) {
|
|
87
87
|
const _r9 = i0.ɵɵgetCurrentView();
|
|
88
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
89
|
-
i0.ɵɵlistener("Navigate", function
|
|
88
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 43);
|
|
89
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_48_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_48_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r9); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersProductPrices", $event.totalRowCount)); });
|
|
90
90
|
i0.ɵɵelementEnd()();
|
|
91
91
|
} if (rf & 2) {
|
|
92
92
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
93
93
|
i0.ɵɵadvance();
|
|
94
94
|
i0.ɵɵproperty("Params", ctx_r1.BuildRelationshipViewParamsByEntityName("MJ_BizApps_Orders: Product Prices", "ProductID"))("NewRecordValues", ctx_r1.NewRecordValues("MJ_BizApps_Orders: Product Prices", "ProductID"))("AllowLoad", ctx_r1.IsSectionExpanded("mJBizAppsOrdersProductPrices"))("ShowToolbar", true);
|
|
95
95
|
} }
|
|
96
|
-
function
|
|
96
|
+
function BizAppsProductSaveGuardFormComponent_Conditional_50_Template(rf, ctx) { if (rf & 1) {
|
|
97
97
|
const _r10 = i0.ɵɵgetCurrentView();
|
|
98
|
-
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid",
|
|
99
|
-
i0.ɵɵlistener("Navigate", function
|
|
98
|
+
i0.ɵɵelementStart(0, "div")(1, "mj-explorer-entity-data-grid", 43);
|
|
99
|
+
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Conditional_50_Template_mj_explorer_entity_data_grid_Navigate_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.OnFormNavigate($event)); })("AfterDataLoad", function BizAppsProductSaveGuardFormComponent_Conditional_50_Template_mj_explorer_entity_data_grid_AfterDataLoad_1_listener($event) { i0.ɵɵrestoreView(_r10); const ctx_r1 = i0.ɵɵnextContext(); return i0.ɵɵresetView(ctx_r1.SetSectionRowCount("mJBizAppsOrdersPromotionTargets", $event.totalRowCount)); });
|
|
100
100
|
i0.ɵɵelementEnd()();
|
|
101
101
|
} if (rf & 2) {
|
|
102
102
|
const ctx_r1 = i0.ɵɵnextContext();
|
|
@@ -185,7 +185,7 @@ let BizAppsProductSaveGuardFormComponent = class BizAppsProductSaveGuardFormComp
|
|
|
185
185
|
}
|
|
186
186
|
}
|
|
187
187
|
static ɵfac = /*@__PURE__*/ (() => { let ɵBizAppsProductSaveGuardFormComponent_BaseFactory; return function BizAppsProductSaveGuardFormComponent_Factory(__ngFactoryType__) { return (ɵBizAppsProductSaveGuardFormComponent_BaseFactory || (ɵBizAppsProductSaveGuardFormComponent_BaseFactory = i0.ɵɵgetInheritedFactory(BizAppsProductSaveGuardFormComponent)))(__ngFactoryType__ || BizAppsProductSaveGuardFormComponent); }; })();
|
|
188
|
-
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsProductSaveGuardFormComponent, selectors: [["bizapps-product-save-guard-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls:
|
|
188
|
+
static ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: BizAppsProductSaveGuardFormComponent, selectors: [["bizapps-product-save-guard-form"]], standalone: false, features: [i0.ɵɵInheritDefinitionFeature], decls: 52, vars: 168, consts: [[3, "Navigate", "DeleteRequested", "FavoriteToggled", "HistoryRequested", "ListManagementRequested", "Record", "FormComponent"], ["Slot", "before-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "productIdentification", "SectionName", "Product Identification", "Icon", "fa fa-tag", 3, "Form", "FormContext"], ["FieldName", "Name", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SKU", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "Description", "Type", "textarea", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "productClassification", "SectionName", "Product Classification", "Icon", "fa fa-list-ul", 3, "Form", "FormContext"], ["FieldName", "ProductTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "ProductCategoryID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "financialAndAccounting", "SectionName", "Financial and Accounting", "Icon", "fa fa-dollar-sign", 3, "Form", "FormContext"], ["FieldName", "CompanyID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RevenueRecognitionTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "IsTaxable", "Type", "checkbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "TaxCategory", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "catalogLifecycle", "SectionName", "Catalog Lifecycle", "Icon", "fa fa-history", 3, "Form", "FormContext"], ["FieldName", "Status", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SuccessorProductID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AvailableFrom", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "AvailableTo", "Type", "datepicker", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "subscriptionAndEntitlements", "SectionName", "Subscription and Entitlements", "Icon", "fa fa-key", 3, "Form", "FormContext"], ["FieldName", "SubscriptionTypeID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementGrantTiming", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementQuantityMode", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "EntitlementValidityMode", "Type", "select", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "details", "SectionName", "Details", "Icon", "fa fa-align-left", 3, "Form", "FormContext"], ["FieldName", "PricingDriverClass", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "MaxQuantityPerLine", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "SubscriptionFamilyID", "Type", "textbox", "LinkType", "Record", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "RenewalIncreasePercent", "Type", "number", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["SectionKey", "systemMetadata", "SectionName", "System Metadata", "Icon", "fa fa-cog", 3, "Form", "FormContext"], ["FieldName", "__mj_CreatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["FieldName", "__mj_UpdatedAt", "Type", "textbox", 3, "Record", "ShowLabel", "EditMode", "FormContext"], ["Slot", "after-fields", 3, "Entity", "Record", "FormComponent", "FormContext"], ["SectionKey", "mJBizAppsOrdersProductEntitlements", "SectionName", "Entitlements", "Icon", "fa fa-box-open", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersProductBundleItemsComponentProductID", "SectionName", "Product Bundle Items (Component Product ID)", "Icon", "fa fa-box-open", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersProductBundleItemsBundleProductID", "SectionName", "Bundle Items", "Icon", "fa fa-box-open", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersProducts", "SectionName", "Products", "Icon", "fa fa-box", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersOrderLinesSourceBundleProductID", "SectionName", "Order Lines (Source Bundle Product)", "Icon", "fa fa-list-ol", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersOrderLinesProductID", "SectionName", "Order Lines (Product)", "Icon", "fa fa-list-ol", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersSubscriptions", "SectionName", "Subscriptions", "Icon", "fa fa-sync-alt", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersProductPrices", "SectionName", "Product Prices", "Icon", "fa fa-tags", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["SectionKey", "mJBizAppsOrdersPromotionTargets", "SectionName", "Promotion Targets", "Icon", "fa fa-tags", "Variant", "related-entity", 3, "Form", "FormContext", "BadgeCount", "DefaultExpanded"], ["Slot", "after-related", 3, "Entity", "Record", "FormComponent", "FormContext"], [3, "Navigate", "AfterDataLoad", "Params", "NewRecordValues", "AllowLoad", "ShowToolbar"]], template: function BizAppsProductSaveGuardFormComponent_Template(rf, ctx) { if (rf & 1) {
|
|
189
189
|
i0.ɵɵelementStart(0, "mj-record-form-container", 0);
|
|
190
190
|
i0.ɵɵlistener("Navigate", function BizAppsProductSaveGuardFormComponent_Template_mj_record_form_container_Navigate_0_listener($event) { return ctx.OnFormNavigate($event); })("DeleteRequested", function BizAppsProductSaveGuardFormComponent_Template_mj_record_form_container_DeleteRequested_0_listener() { return ctx.OnDeleteRequested(); })("FavoriteToggled", function BizAppsProductSaveGuardFormComponent_Template_mj_record_form_container_FavoriteToggled_0_listener() { return ctx.OnFavoriteToggled(); })("HistoryRequested", function BizAppsProductSaveGuardFormComponent_Template_mj_record_form_container_HistoryRequested_0_listener() { return ctx.OnHistoryRequested(); })("ListManagementRequested", function BizAppsProductSaveGuardFormComponent_Template_mj_record_form_container_ListManagementRequested_0_listener() { return ctx.OnListManagementRequested(); });
|
|
191
191
|
i0.ɵɵelement(1, "mj-form-panel-slot", 1);
|
|
@@ -196,49 +196,49 @@ let BizAppsProductSaveGuardFormComponent = class BizAppsProductSaveGuardFormComp
|
|
|
196
196
|
i0.ɵɵelement(7, "mj-form-field", 7)(8, "mj-form-field", 8);
|
|
197
197
|
i0.ɵɵelementEnd();
|
|
198
198
|
i0.ɵɵelementStart(9, "mj-collapsible-panel", 9);
|
|
199
|
-
i0.ɵɵelement(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13)
|
|
199
|
+
i0.ɵɵelement(10, "mj-form-field", 10)(11, "mj-form-field", 11)(12, "mj-form-field", 12)(13, "mj-form-field", 13);
|
|
200
200
|
i0.ɵɵelementEnd();
|
|
201
|
-
i0.ɵɵelementStart(
|
|
202
|
-
i0.ɵɵelement(
|
|
201
|
+
i0.ɵɵelementStart(14, "mj-collapsible-panel", 14);
|
|
202
|
+
i0.ɵɵelement(15, "mj-form-field", 15)(16, "mj-form-field", 16)(17, "mj-form-field", 17)(18, "mj-form-field", 18);
|
|
203
203
|
i0.ɵɵelementEnd();
|
|
204
|
-
i0.ɵɵelementStart(
|
|
205
|
-
i0.ɵɵelement(
|
|
204
|
+
i0.ɵɵelementStart(19, "mj-collapsible-panel", 19);
|
|
205
|
+
i0.ɵɵelement(20, "mj-form-field", 20)(21, "mj-form-field", 21)(22, "mj-form-field", 22)(23, "mj-form-field", 23);
|
|
206
206
|
i0.ɵɵelementEnd();
|
|
207
|
-
i0.ɵɵelementStart(
|
|
208
|
-
i0.ɵɵelement(26, "mj-form-field", 26)(27, "mj-form-field", 27);
|
|
207
|
+
i0.ɵɵelementStart(24, "mj-collapsible-panel", 24);
|
|
208
|
+
i0.ɵɵelement(25, "mj-form-field", 25)(26, "mj-form-field", 26)(27, "mj-form-field", 27)(28, "mj-form-field", 28);
|
|
209
209
|
i0.ɵɵelementEnd();
|
|
210
|
-
i0.ɵɵelementStart(
|
|
211
|
-
i0.ɵɵelement(
|
|
210
|
+
i0.ɵɵelementStart(29, "mj-collapsible-panel", 29);
|
|
211
|
+
i0.ɵɵelement(30, "mj-form-field", 30)(31, "mj-form-field", 31);
|
|
212
212
|
i0.ɵɵelementEnd();
|
|
213
|
-
i0.ɵɵelement(
|
|
214
|
-
i0.ɵɵelementStart(
|
|
215
|
-
i0.ɵɵconditionalCreate(
|
|
213
|
+
i0.ɵɵelement(32, "mj-form-panel-slot", 32);
|
|
214
|
+
i0.ɵɵelementStart(33, "mj-collapsible-panel", 33);
|
|
215
|
+
i0.ɵɵconditionalCreate(34, BizAppsProductSaveGuardFormComponent_Conditional_34_Template, 2, 4, "div");
|
|
216
216
|
i0.ɵɵelementEnd();
|
|
217
|
-
i0.ɵɵelementStart(
|
|
218
|
-
i0.ɵɵconditionalCreate(
|
|
217
|
+
i0.ɵɵelementStart(35, "mj-collapsible-panel", 34);
|
|
218
|
+
i0.ɵɵconditionalCreate(36, BizAppsProductSaveGuardFormComponent_Conditional_36_Template, 2, 4, "div");
|
|
219
219
|
i0.ɵɵelementEnd();
|
|
220
|
-
i0.ɵɵelementStart(
|
|
221
|
-
i0.ɵɵconditionalCreate(
|
|
220
|
+
i0.ɵɵelementStart(37, "mj-collapsible-panel", 35);
|
|
221
|
+
i0.ɵɵconditionalCreate(38, BizAppsProductSaveGuardFormComponent_Conditional_38_Template, 2, 4, "div");
|
|
222
222
|
i0.ɵɵelementEnd();
|
|
223
|
-
i0.ɵɵelementStart(
|
|
224
|
-
i0.ɵɵconditionalCreate(
|
|
223
|
+
i0.ɵɵelementStart(39, "mj-collapsible-panel", 36);
|
|
224
|
+
i0.ɵɵconditionalCreate(40, BizAppsProductSaveGuardFormComponent_Conditional_40_Template, 2, 4, "div");
|
|
225
225
|
i0.ɵɵelementEnd();
|
|
226
|
-
i0.ɵɵelementStart(
|
|
227
|
-
i0.ɵɵconditionalCreate(
|
|
226
|
+
i0.ɵɵelementStart(41, "mj-collapsible-panel", 37);
|
|
227
|
+
i0.ɵɵconditionalCreate(42, BizAppsProductSaveGuardFormComponent_Conditional_42_Template, 2, 4, "div");
|
|
228
228
|
i0.ɵɵelementEnd();
|
|
229
|
-
i0.ɵɵelementStart(
|
|
230
|
-
i0.ɵɵconditionalCreate(
|
|
229
|
+
i0.ɵɵelementStart(43, "mj-collapsible-panel", 38);
|
|
230
|
+
i0.ɵɵconditionalCreate(44, BizAppsProductSaveGuardFormComponent_Conditional_44_Template, 2, 4, "div");
|
|
231
231
|
i0.ɵɵelementEnd();
|
|
232
|
-
i0.ɵɵelementStart(
|
|
233
|
-
i0.ɵɵconditionalCreate(
|
|
232
|
+
i0.ɵɵelementStart(45, "mj-collapsible-panel", 39);
|
|
233
|
+
i0.ɵɵconditionalCreate(46, BizAppsProductSaveGuardFormComponent_Conditional_46_Template, 2, 4, "div");
|
|
234
234
|
i0.ɵɵelementEnd();
|
|
235
|
-
i0.ɵɵelementStart(
|
|
236
|
-
i0.ɵɵconditionalCreate(
|
|
235
|
+
i0.ɵɵelementStart(47, "mj-collapsible-panel", 40);
|
|
236
|
+
i0.ɵɵconditionalCreate(48, BizAppsProductSaveGuardFormComponent_Conditional_48_Template, 2, 4, "div");
|
|
237
237
|
i0.ɵɵelementEnd();
|
|
238
|
-
i0.ɵɵelementStart(
|
|
239
|
-
i0.ɵɵconditionalCreate(
|
|
238
|
+
i0.ɵɵelementStart(49, "mj-collapsible-panel", 41);
|
|
239
|
+
i0.ɵɵconditionalCreate(50, BizAppsProductSaveGuardFormComponent_Conditional_50_Template, 2, 4, "div");
|
|
240
240
|
i0.ɵɵelementEnd();
|
|
241
|
-
i0.ɵɵelement(
|
|
241
|
+
i0.ɵɵelement(51, "mj-form-panel-slot", 42);
|
|
242
242
|
i0.ɵɵelementEnd();
|
|
243
243
|
} if (rf & 2) {
|
|
244
244
|
i0.ɵɵproperty("Record", ctx.record)("FormComponent", ctx);
|
|
@@ -269,8 +269,6 @@ let BizAppsProductSaveGuardFormComponent = class BizAppsProductSaveGuardFormComp
|
|
|
269
269
|
i0.ɵɵadvance();
|
|
270
270
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
271
271
|
i0.ɵɵadvance();
|
|
272
|
-
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
273
|
-
i0.ɵɵadvance();
|
|
274
272
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
275
273
|
i0.ɵɵadvance();
|
|
276
274
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
@@ -297,6 +295,10 @@ let BizAppsProductSaveGuardFormComponent = class BizAppsProductSaveGuardFormComp
|
|
|
297
295
|
i0.ɵɵadvance();
|
|
298
296
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
299
297
|
i0.ɵɵadvance();
|
|
298
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
299
|
+
i0.ɵɵadvance();
|
|
300
|
+
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
301
|
+
i0.ɵɵadvance();
|
|
300
302
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext);
|
|
301
303
|
i0.ɵɵadvance();
|
|
302
304
|
i0.ɵɵproperty("Record", ctx.record)("ShowLabel", true)("EditMode", ctx.EditMode)("FormContext", ctx.formContext);
|
|
@@ -307,39 +309,39 @@ let BizAppsProductSaveGuardFormComponent = class BizAppsProductSaveGuardFormComp
|
|
|
307
309
|
i0.ɵɵadvance();
|
|
308
310
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersProductEntitlements"))("DefaultExpanded", false);
|
|
309
311
|
i0.ɵɵadvance();
|
|
310
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
312
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 34 : -1);
|
|
311
313
|
i0.ɵɵadvance();
|
|
312
314
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersProductBundleItemsComponentProductID"))("DefaultExpanded", false);
|
|
313
315
|
i0.ɵɵadvance();
|
|
314
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
316
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 36 : -1);
|
|
315
317
|
i0.ɵɵadvance();
|
|
316
318
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersProductBundleItemsBundleProductID"))("DefaultExpanded", false);
|
|
317
319
|
i0.ɵɵadvance();
|
|
318
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
320
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 38 : -1);
|
|
319
321
|
i0.ɵɵadvance();
|
|
320
322
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersProducts"))("DefaultExpanded", false);
|
|
321
323
|
i0.ɵɵadvance();
|
|
322
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
324
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 40 : -1);
|
|
323
325
|
i0.ɵɵadvance();
|
|
324
326
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersOrderLinesSourceBundleProductID"))("DefaultExpanded", false);
|
|
325
327
|
i0.ɵɵadvance();
|
|
326
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
328
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 42 : -1);
|
|
327
329
|
i0.ɵɵadvance();
|
|
328
330
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersOrderLinesProductID"))("DefaultExpanded", false);
|
|
329
331
|
i0.ɵɵadvance();
|
|
330
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
332
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 44 : -1);
|
|
331
333
|
i0.ɵɵadvance();
|
|
332
334
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersSubscriptions"))("DefaultExpanded", false);
|
|
333
335
|
i0.ɵɵadvance();
|
|
334
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
336
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 46 : -1);
|
|
335
337
|
i0.ɵɵadvance();
|
|
336
338
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersProductPrices"))("DefaultExpanded", false);
|
|
337
339
|
i0.ɵɵadvance();
|
|
338
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
340
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 48 : -1);
|
|
339
341
|
i0.ɵɵadvance();
|
|
340
342
|
i0.ɵɵproperty("Form", ctx)("FormContext", ctx.formContext)("BadgeCount", ctx.GetSectionRowCount("mJBizAppsOrdersPromotionTargets"))("DefaultExpanded", false);
|
|
341
343
|
i0.ɵɵadvance();
|
|
342
|
-
i0.ɵɵconditional(ctx.record.IsSaved ?
|
|
344
|
+
i0.ɵɵconditional(ctx.record.IsSaved ? 50 : -1);
|
|
343
345
|
i0.ɵɵadvance();
|
|
344
346
|
i0.ɵɵproperty("Entity", i0.ɵɵinterpolate(ctx.record.EntityInfo.Name))("Record", ctx.record)("FormComponent", ctx)("FormContext", ctx.formContext);
|
|
345
347
|
} }, dependencies: [i1.MjFormFieldComponent, i1.MjCollapsiblePanelComponent, i1.MjRecordFormContainerComponent, i1.ExplorerEntityDataGridComponent, i1.FormPanelSlotComponent], encapsulation: 2 });
|
|
@@ -350,7 +352,7 @@ BizAppsProductSaveGuardFormComponent = __decorate([
|
|
|
350
352
|
export { BizAppsProductSaveGuardFormComponent };
|
|
351
353
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(BizAppsProductSaveGuardFormComponent, [{
|
|
352
354
|
type: Component,
|
|
353
|
-
args: [{ standalone: false, selector: 'bizapps-product-save-guard-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Product Identification Section -->\n <mj-collapsible-panel\n SectionKey=\"productIdentification\"\n SectionName=\"Product Identification\"\n Icon=\"fa fa-tag\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SKU\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Product Classification Section -->\n <mj-collapsible-panel\n SectionKey=\"productClassification\"\n SectionName=\"Product Classification\"\n Icon=\"fa fa-list-ul\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ProductTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ProductCategoryID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Financial and Accounting Section -->\n <mj-collapsible-panel\n SectionKey=\"financialAndAccounting\"\n SectionName=\"Financial and Accounting\"\n Icon=\"fa fa-dollar-sign\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CompanyID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RevenueRecognitionTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"StandaloneSellingPrice\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsTaxable\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TaxCategory\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Catalog Lifecycle Section -->\n <mj-collapsible-panel\n SectionKey=\"catalogLifecycle\"\n SectionName=\"Catalog Lifecycle\"\n Icon=\"fa fa-history\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SuccessorProductID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AvailableFrom\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AvailableTo\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Subscription and Entitlements Section -->\n <mj-collapsible-panel\n SectionKey=\"subscriptionAndEntitlements\"\n SectionName=\"Subscription and Entitlements\"\n Icon=\"fa fa-key\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubscriptionTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntitlementGrantTiming\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntitlementQuantityMode\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntitlementValidityMode\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PricingDriverClass\"\n Type=\"code\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MaxQuantityPerLine\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Entitlements Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductEntitlements\"\n SectionName=\"Entitlements\"\n Icon=\"fa fa-box-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductEntitlements')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Entitlements','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Entitlements','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductEntitlements')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductEntitlements', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Product Bundle Items (Component Product ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductBundleItemsComponentProductID\"\n SectionName=\"Product Bundle Items (Component Product ID)\"\n Icon=\"fa fa-box-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductBundleItemsComponentProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Bundle Items','ComponentProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Bundle Items','ComponentProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductBundleItemsComponentProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductBundleItemsComponentProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Bundle Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductBundleItemsBundleProductID\"\n SectionName=\"Bundle Items\"\n Icon=\"fa fa-box-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductBundleItemsBundleProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Bundle Items','BundleProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Bundle Items','BundleProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductBundleItemsBundleProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductBundleItemsBundleProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Products Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProducts\"\n SectionName=\"Products\"\n Icon=\"fa fa-box\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProducts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Products','SuccessorProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Products','SuccessorProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProducts')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProducts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Order Lines (Source Bundle Product) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderLinesSourceBundleProductID\"\n SectionName=\"Order Lines (Source Bundle Product)\"\n Icon=\"fa fa-list-ol\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersOrderLinesSourceBundleProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Order Lines','SourceBundleProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Order Lines','SourceBundleProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersOrderLinesSourceBundleProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersOrderLinesSourceBundleProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Order Lines (Product) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderLinesProductID\"\n SectionName=\"Order Lines (Product)\"\n Icon=\"fa fa-list-ol\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersOrderLinesProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Order Lines','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Order Lines','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersOrderLinesProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersOrderLinesProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Subscriptions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersSubscriptions\"\n SectionName=\"Subscriptions\"\n Icon=\"fa fa-sync-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersSubscriptions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Subscriptions','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Subscriptions','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersSubscriptions')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersSubscriptions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Product Prices Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductPrices\"\n SectionName=\"Product Prices\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductPrices')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Prices','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Prices','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductPrices')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductPrices', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Promotion Targets Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersPromotionTargets\"\n SectionName=\"Promotion Targets\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersPromotionTargets')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Promotion Targets','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Promotion Targets','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersPromotionTargets')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersPromotionTargets', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n " }]
|
|
355
|
+
args: [{ standalone: false, selector: 'bizapps-product-save-guard-form', template: "<mj-record-form-container [Record]=\"record\" [FormComponent]=\"this\"\n (Navigate)=\"OnFormNavigate($event)\"\n (DeleteRequested)=\"OnDeleteRequested()\"\n (FavoriteToggled)=\"OnFavoriteToggled()\"\n (HistoryRequested)=\"OnHistoryRequested()\"\n (ListManagementRequested)=\"OnListManagementRequested()\">\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"before-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n FIELD PANELS\n ======================================== -->\n <!-- Product Identification Section -->\n <mj-collapsible-panel\n SectionKey=\"productIdentification\"\n SectionName=\"Product Identification\"\n Icon=\"fa fa-tag\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Name\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SKU\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Description\"\n Type=\"textarea\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Product Classification Section -->\n <mj-collapsible-panel\n SectionKey=\"productClassification\"\n SectionName=\"Product Classification\"\n Icon=\"fa fa-list-ul\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ProductTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"ProductCategoryID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Financial and Accounting Section -->\n <mj-collapsible-panel\n SectionKey=\"financialAndAccounting\"\n SectionName=\"Financial and Accounting\"\n Icon=\"fa fa-dollar-sign\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"CompanyID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RevenueRecognitionTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"IsTaxable\"\n Type=\"checkbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"TaxCategory\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Catalog Lifecycle Section -->\n <mj-collapsible-panel\n SectionKey=\"catalogLifecycle\"\n SectionName=\"Catalog Lifecycle\"\n Icon=\"fa fa-history\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"Status\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SuccessorProductID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AvailableFrom\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"AvailableTo\"\n Type=\"datepicker\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Subscription and Entitlements Section -->\n <mj-collapsible-panel\n SectionKey=\"subscriptionAndEntitlements\"\n SectionName=\"Subscription and Entitlements\"\n Icon=\"fa fa-key\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubscriptionTypeID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntitlementGrantTiming\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntitlementQuantityMode\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"EntitlementValidityMode\"\n Type=\"select\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- Details Section -->\n <mj-collapsible-panel\n SectionKey=\"details\"\n SectionName=\"Details\"\n Icon=\"fa fa-align-left\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"PricingDriverClass\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"MaxQuantityPerLine\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"SubscriptionFamilyID\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n LinkType=\"Record\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"RenewalIncreasePercent\"\n Type=\"number\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <!-- System Metadata Section -->\n <mj-collapsible-panel\n SectionKey=\"systemMetadata\"\n SectionName=\"System Metadata\"\n Icon=\"fa fa-cog\"\n [Form]=\"this\"\n [FormContext]=\"formContext\">\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_CreatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n <mj-form-field \n [Record]=\"record\"\n [ShowLabel]=\"true\"\n FieldName=\"__mj_UpdatedAt\"\n Type=\"textbox\"\n [EditMode]=\"EditMode\"\n [FormContext]=\"formContext\"\n ></mj-form-field>\n\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-fields\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n\n <!-- ========================================\n RELATED ENTITY PANELS\n ======================================== -->\n\n <!-- Entitlements Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductEntitlements\"\n SectionName=\"Entitlements\"\n Icon=\"fa fa-box-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductEntitlements')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Entitlements','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Entitlements','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductEntitlements')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductEntitlements', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Product Bundle Items (Component Product ID) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductBundleItemsComponentProductID\"\n SectionName=\"Product Bundle Items (Component Product ID)\"\n Icon=\"fa fa-box-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductBundleItemsComponentProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Bundle Items','ComponentProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Bundle Items','ComponentProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductBundleItemsComponentProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductBundleItemsComponentProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Bundle Items Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductBundleItemsBundleProductID\"\n SectionName=\"Bundle Items\"\n Icon=\"fa fa-box-open\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductBundleItemsBundleProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Bundle Items','BundleProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Bundle Items','BundleProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductBundleItemsBundleProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductBundleItemsBundleProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Products Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProducts\"\n SectionName=\"Products\"\n Icon=\"fa fa-box\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProducts')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Products','SuccessorProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Products','SuccessorProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProducts')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProducts', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Order Lines (Source Bundle Product) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderLinesSourceBundleProductID\"\n SectionName=\"Order Lines (Source Bundle Product)\"\n Icon=\"fa fa-list-ol\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersOrderLinesSourceBundleProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Order Lines','SourceBundleProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Order Lines','SourceBundleProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersOrderLinesSourceBundleProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersOrderLinesSourceBundleProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Order Lines (Product) Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersOrderLinesProductID\"\n SectionName=\"Order Lines (Product)\"\n Icon=\"fa fa-list-ol\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersOrderLinesProductID')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Order Lines','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Order Lines','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersOrderLinesProductID')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersOrderLinesProductID', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Subscriptions Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersSubscriptions\"\n SectionName=\"Subscriptions\"\n Icon=\"fa fa-sync-alt\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersSubscriptions')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Subscriptions','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Subscriptions','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersSubscriptions')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersSubscriptions', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Product Prices Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersProductPrices\"\n SectionName=\"Product Prices\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersProductPrices')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Product Prices','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Product Prices','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersProductPrices')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersProductPrices', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <!-- Promotion Targets Section -->\n <mj-collapsible-panel\n SectionKey=\"mJBizAppsOrdersPromotionTargets\"\n SectionName=\"Promotion Targets\"\n Icon=\"fa fa-tags\"\n Variant=\"related-entity\"\n [Form]=\"this\"\n [FormContext]=\"formContext\"\n [BadgeCount]=\"GetSectionRowCount('mJBizAppsOrdersPromotionTargets')\"\n [DefaultExpanded]=\"false\">\n @if (record.IsSaved) {\n <div>\n <mj-explorer-entity-data-grid\n [Params]=\"BuildRelationshipViewParamsByEntityName('MJ_BizApps_Orders: Promotion Targets','ProductID')\"\n [NewRecordValues]=\"NewRecordValues('MJ_BizApps_Orders: Promotion Targets','ProductID')\"\n [AllowLoad]=\"IsSectionExpanded('mJBizAppsOrdersPromotionTargets')\"\n [ShowToolbar]=\"true\"\n (Navigate)=\"OnFormNavigate($event)\"\n (AfterDataLoad)=\"SetSectionRowCount('mJBizAppsOrdersPromotionTargets', $event.totalRowCount)\"\n >\n </mj-explorer-entity-data-grid>\n </div>\n }\n </mj-collapsible-panel>\n\n <mj-form-panel-slot Entity=\"{{record.EntityInfo.Name}}\" Slot=\"after-related\" [Record]=\"record\" [FormComponent]=\"this\" [FormContext]=\"formContext\"></mj-form-panel-slot>\n</mj-record-form-container>\n " }]
|
|
354
356
|
}], null, null); })();
|
|
355
357
|
(() => { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassDebugInfo(BizAppsProductSaveGuardFormComponent, { className: "BizAppsProductSaveGuardFormComponent", filePath: "lib/custom/Product/product-save-guard-form.component.ts", lineNumber: 60 }); })();
|
|
356
358
|
/** Tree-shaking prevention anchor function */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"product-save-guard-form.component.js","sourceRoot":"","sources":["../../../../src/lib/custom/Product/product-save-guard-form.component.ts","../../../../src/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,mCAAmC,EAAE,MAAM,uFAAuF,CAAC;;;;;
|
|
1
|
+
{"version":3,"file":"product-save-guard-form.component.js","sourceRoot":"","sources":["../../../../src/lib/custom/Product/product-save-guard-form.component.ts","../../../../src/lib/generated/Entities/mjBizAppsOrdersProduct/mjbizappsordersproduct.form.component.html"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAChD,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAClE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAC5D,OAAO,EAAE,mCAAmC,EAAE,MAAM,uFAAuF,CAAC;;;;;IC6RhI,AADJ,2BAAK,uCAQI;IADD,AADA,2OAAY,6BAAsB,KAAC,wOAClB,0BAAmB,oCAAoC,uBAAuB,KAAC;IAGxG,AADI,iBAA+B,EAC7B;;;IARE,cAAyG;IAGzG,AADA,AADA,AADA,+HAAyG,mGACf,6EACrB,qBACjD;;;;IAqBxB,AADJ,2BAAK,uCAQI;IADD,AADA,2OAAY,6BAAsB,KAAC,wOAClB,0BAAmB,qDAAqD,uBAAuB,KAAC;IAGzH,AADI,iBAA+B,EAC7B;;;IARE,cAAkH;IAGlH,AADA,AADA,AADA,wIAAkH,4GACf,8FACb,qBAClE;;;;IAqBxB,AADJ,2BAAK,uCAQI;IADD,AADA,2OAAY,6BAAsB,KAAC,wOAClB,0BAAmB,kDAAkD,uBAAuB,KAAC;IAGtH,AADI,iBAA+B,EAC7B;;;IARE,cAA+G;IAG/G,AADA,AADA,AADA,qIAA+G,yGACf,2FACb,qBAC/D;;;;IAqBxB,AADJ,2BAAK,uCAQI;IADD,AADA,2OAAY,6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face MJOProductOption {
|
|
|
650
650
|
OrderLineExtensionEntity: string | null;
|
|
651
651
|
CompanyName: string;
|
|
652
652
|
CompanyID: string;
|
|
653
|
-
|
|
653
|
+
/** First base price row's amount; NULL when the product has none, so the picker can say so. */
|
|
654
|
+
ListPrice: number | null;
|
|
654
655
|
Taxable: boolean;
|
|
655
656
|
/** NULL = no cap. 1 = one unit per line (conference tickets). */
|
|
656
657
|
MaxQuantityPerLine: number | null;
|
|
@@ -666,7 +667,7 @@ export interface MJOProductOption {
|
|
|
666
667
|
SubscriptionTypeID: string | null;
|
|
667
668
|
}
|
|
668
669
|
/** Flatten a product + its type into the picker row. */
|
|
669
|
-
export declare function CatalogOptionFrom(product: Pick<mjBizAppsOrdersProductEntity, 'ID' | 'Name' | 'SKU' | 'ProductType' | 'ProductTypeID' | 'CompanyID' | 'Company' | '
|
|
670
|
+
export declare function CatalogOptionFrom(product: Pick<mjBizAppsOrdersProductEntity, 'ID' | 'Name' | 'SKU' | 'ProductType' | 'ProductTypeID' | 'CompanyID' | 'Company' | 'IsTaxable' | 'MaxQuantityPerLine' | 'SubscriptionTypeID'>, type: Pick<mjBizAppsOrdersProductTypeEntity, 'OrderLineExtensionEntity'> | undefined, listPrice: number | null): MJOProductOption;
|
|
670
671
|
/**
|
|
671
672
|
* Catalog rows matching `query`, most useful first.
|
|
672
673
|
*
|
|
@@ -694,12 +695,12 @@ export declare function RankCatalogMatches(options: readonly MJOProductOption[],
|
|
|
694
695
|
/**
|
|
695
696
|
* Products the picker can add, with an indicative list price.
|
|
696
697
|
*
|
|
697
|
-
* The figure comes from the PRICE RULES, not `StandaloneSellingPrice`:
|
|
698
|
-
*
|
|
698
|
+
* The figure comes from the PRICE RULES, not `StandaloneSellingPrice`: the line
|
|
699
|
+
* prices only from rules, so showing SSP advertises a price the line will not
|
|
700
|
+
* use. A product with no base rule gets NULL, not $0.00, which would tell an
|
|
699
701
|
* order taker the item is free. The engine still resolves the real price on
|
|
700
|
-
* the line.
|
|
702
|
+
* the line. Catalog rows come from OrdersEngine — live, not a session snapshot.
|
|
701
703
|
*/
|
|
702
|
-
/** Catalog picker rows from OrdersEngine — live, not a session snapshot. */
|
|
703
704
|
export declare function GetCatalogOptions(user?: UserInfo): Promise<MJOProductOption[]>;
|
|
704
705
|
/** Promotions, newest window first. */
|
|
705
706
|
export declare function GetPromotions(user?: UserInfo): Promise<mjBizAppsOrdersPromotionEntity[]>;
|