From c3f03f3e56a589ad752eba80bb51a887eed469d3 Mon Sep 17 00:00:00 2001
From: xiaoding721 <33130084+xiaoding721@users.noreply.github.com>
Date: 星期三, 08 十一月 2023 09:46:14 +0800
Subject: [PATCH] 新增优先级因子新增校验的功能
---
_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuNewPriorityFactor_OnClick.def | 4
_Main/BL/Type_Flag/Attribute_flag.qbl | 7 +
_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Method_New.def | 2
_Main/BL/Type_Flag/DefaultValue_flag.qbl | 7 +
_Main/BL/InfoMessages.qbl | 4
_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_ClickBtnOK.def | 4
_Main/BL/Relations/Relation_Flag_MacroPlan_MacroPlan_Flag.qbl | 23 ++++
_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/Component_ListPriorityFactorGrading.def | 8
_Main/BL/Type_MacroPlan/Method_OnCreate.qbl | 100 ++++++++++++++++++++
_Main/BL/Type_PriorityFactor/Method_CreatePrioitifyFacotrDetail.qbl | 12 +-
_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_Edit.def | 2
_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/_ROOT_Component_DialogEditPriorityFactorDetail.def | 2
_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_New.def | 7 -
/dev/null | 19 ---
_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Response_pnlActions_btnOk_OnClick.def | 2
_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Component_pnlContent.def | 10 ++
_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Response_pnlActions_btnOk_OnClick.def | 21 ++-
_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/_ROOT_Component_FormPriorityFactorGrading.def | 10 --
_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Response_pnlContent_PriorityFactorName_OnChanged.def | 16 +++
19 files changed, 202 insertions(+), 58 deletions(-)
diff --git a/_Main/BL/InfoMessages.qbl b/_Main/BL/InfoMessages.qbl
index aa2917b..2d06a81 100644
--- a/_Main/BL/InfoMessages.qbl
+++ b/_Main/BL/InfoMessages.qbl
@@ -10,6 +10,10 @@
{
DefaultText: 'Please input validate value !'
}
+ InfoMessage PriorityFactor_CheckNameNull
+ {
+ DefaultText: '浼樺厛绾у洜瀛愬悕绉颁笉鑳戒负绌恒��'
+ }
InfoMessage PriorityFactor_CheckNameValid
{
DefaultText: '璇ヤ紭鍏堢骇鍥犲瓙鍚嶇О宸插瓨鍦紒'
diff --git a/_Main/BL/Relations/Relation_Flag_MacroPlan_MacroPlan_Flag.qbl b/_Main/BL/Relations/Relation_Flag_MacroPlan_MacroPlan_Flag.qbl
new file mode 100644
index 0000000..efc9566
--- /dev/null
+++ b/_Main/BL/Relations/Relation_Flag_MacroPlan_MacroPlan_Flag.qbl
@@ -0,0 +1,23 @@
+Quintiq file version 2.0
+#parent: #root
+Relation Flag_MacroPlan_MacroPlan_Flag
+{
+ #keys: '1[414996.0.51027441]'
+ DefaultRelationStrategy
+ {
+ }
+ RelationSide.LeftSide MacroPlan
+ {
+ #keys: '3[414996.0.51027443][414996.0.51027442][414996.0.51027444]'
+ Cardinality: '0to1'
+ ObjectDefinition: Flag
+ OwningSide: 'Reference'
+ }
+ RelationSide.RightSide Flag
+ {
+ #keys: '3[414996.0.51027446][414996.0.51027445][414996.0.51027447]'
+ Cardinality: '1toN'
+ ObjectDefinition: MacroPlan
+ OwningSide: 'Owned'
+ }
+}
diff --git a/_Main/BL/Type_Flag/Attribute_flag.qbl b/_Main/BL/Type_Flag/Attribute_flag.qbl
new file mode 100644
index 0000000..3953c87
--- /dev/null
+++ b/_Main/BL/Type_Flag/Attribute_flag.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+Attribute flag
+{
+ #keys: '3[414996.0.51027432][414996.0.51027431][414996.0.51027433]'
+ ValueType: Boolean
+}
diff --git a/_Main/BL/Type_Flag/DefaultValue_flag.qbl b/_Main/BL/Type_Flag/DefaultValue_flag.qbl
new file mode 100644
index 0000000..7fec89a
--- /dev/null
+++ b/_Main/BL/Type_Flag/DefaultValue_flag.qbl
@@ -0,0 +1,7 @@
+Quintiq file version 2.0
+#parent: #root
+DefaultValue
+{
+ ISOValue: 'false'
+ TargetAttribute: flag
+}
diff --git a/_Main/BL/Type_MacroPlan/Method_OnCreate.qbl b/_Main/BL/Type_MacroPlan/Method_OnCreate.qbl
new file mode 100644
index 0000000..3c1e101
--- /dev/null
+++ b/_Main/BL/Type_MacroPlan/Method_OnCreate.qbl
@@ -0,0 +1,100 @@
+Quintiq file version 2.0
+#parent: #root
+Method OnCreate #extension
+{
+ TextBody:
+ [*
+ this.DatasetName( this.MDSMacroPlan().Name() );
+ //Create related object
+ // Initialize sanitycheck group
+ SanityCheckGroup::CreateSanityCheckGroups( this );
+ //Initialize calendar registry
+ this.InitializeCalendarRegistry();
+
+ /* isfromdb is set to true so that default objects are created with
+ IsManuallyConfigured = false
+ */
+ isfromdb := true;
+
+ // Period parameters
+ start := DateTime::ActualTime().StartOfYear();
+ PeriodParameter_MP::Create( '1',
+ this,
+ start,
+ isfromdb );
+
+ // GlobalParameters
+ this.GlobalParameters_MP( relnew, ID := '1', PeriodSpecificationForUnitActual := GlobalParameters_MP::GetDefaultPeriodSpecification() );
+
+ // Create resource manager where it contains certain limit of data, applicable to 3ds cloud
+ this.ResourceManager_MP( relnew );
+ this.UpdateSizingParameterStatus();
+
+ this.SmartPlanSetting( relnew );
+ this.IDHolder( relnew );
+
+ // Create default sales segment
+ SalesSegment_MP::Create( this, null(SalesSegment_MP), GlobalParameters_MP::GetDefaultSalesSegment(), 0, isfromdb );
+
+ // Create default period specification
+ PeriodSpecification_MP::Create( GlobalParameters_MP::GetDefaultPeriodSpecification(),
+ this, GlobalParameters_MP::GetDefaultPeriodSpecTimeUnit(),
+ 1,
+ DateTime::Now().StartOfYear(), 12, 18, isfromdb,
+ true,
+ false );
+
+ // Create dummy period specification for leading periods
+ PeriodSpecification_MP::Create( GlobalParameters_MP::GetDefaultPlanningPeriodSpecification(),
+ this, "",
+ 0,
+ DateTime::Now().StartOfYear(), 0, 0, false,
+ false,
+ true );
+
+ isproductcategory := false;
+ ProductLevel_MP::Create( GlobalParameters_MP::GetProductRoot(), isproductcategory, this, isfromdb );
+ SalesLevel_MP::Create( GlobalParameters_MP::GetRegionRoot(), this, isfromdb );
+
+ this.CreateDefaultPriority();
+
+ this.MPVersion( DomainModel::Domain().Version().Version() );
+
+ rcv := RoutingConfiguratorView::Create( this.IDHolder().GetRoutingConfiguratorViewID(), this );
+ this.IDHolder().RoutingConfiguratorViewID( [Number]rcv.ID() )
+
+ SCVConfiguration::Create( this );
+
+ UnitOfMeasure_MP::CreateDefaultUOM( this );
+ Currency_MP::CreateBaseCurrency( this );
+
+ // Create account cost drivers
+ AccountCostDriver::CreateAccountCostDrivers( this );
+
+ // Create default shiftpattern
+ ShiftPattern::CreateDefaultShiftPattern( this );
+
+ // DataExchangeFramework
+ dtd := DataTransformationDefinition::Create( this );
+ DataTransformationManufacturingDemand::Create( dtd );
+
+ // Create MacroPlanPTF object
+ MacroPlanPTF::Create( this );
+
+ // Create wizard manager
+ this.WizardManager( relnew, Id := "" );
+
+ this.PreliminaryFeature( relnew );
+
+ this.SetTime();
+
+ // Create wizard for supply chain initialization
+ this.CreateSupplyChainWizard();
+
+ // MEIO parameters
+ this.MEIO_Parameters( relnew );
+
+ // Create World puzzle
+ this.FindCreateWorldPuzzle();
+ *]
+}
diff --git a/_Main/BL/Type_PriorityFactor/Method_CreatePrioitifyFacotrDetail.qbl b/_Main/BL/Type_PriorityFactor/Method_CreatePrioitifyFacotrDetail.qbl
index 1a33591..1758e80 100644
--- a/_Main/BL/Type_PriorityFactor/Method_CreatePrioitifyFacotrDetail.qbl
+++ b/_Main/BL/Type_PriorityFactor/Method_CreatePrioitifyFacotrDetail.qbl
@@ -1,11 +1,13 @@
Quintiq file version 2.0
#parent: #root
Method CreatePrioitifyFacotrDetail (
- PriorityFactorDetail priorityFactorDetails
+ String PriorityFactoryDetailName,
+ String GradeTarget,
+ Boolean isRange,
+ String RangeMax,
+ String RangeMin,
+ String GradeDesc
)
{
- TextBody:
- [*
- // Akari Nov-7-2023 (created)
- *]
+ TextBody: '// Akari Nov-7-2023 (created)'
}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Component_pnlContent.def b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Component_pnlContent.def
index d907ade..e7149c7 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Component_pnlContent.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Component_pnlContent.def
@@ -39,6 +39,16 @@
Taborder: 2
]
}
+ Component NewFlag
+ {
+ #keys: '[414996.0.58138242]'
+ BaseType: 'WebCheckbox'
+ Properties:
+ [
+ Taborder: 3
+ Visible: false
+ ]
+ }
]
Properties:
[
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Method_New.def b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Method_New.def
index a0e37ff..94a1718 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Method_New.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Method_New.def
@@ -13,6 +13,8 @@
DataHolderEditPriorityFactor.Data(&data);
+ NewFlag.Checked( true );
+
ApplicationMacroPlanner.ShowFormModal( this );
*]
}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Response_pnlActions_btnOk_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Response_pnlActions_btnOk_OnClick.def
index 1ee6b28..00e737c 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Response_pnlActions_btnOk_OnClick.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Response_pnlActions_btnOk_OnClick.def
@@ -9,25 +9,30 @@
feedback := Translations::FilllingCapacity_ValidateInput();
checkValue := not Coefficient.Text() = '' and not PriorityFactorName.Text() = '';
- if(not checkValue )
- {
+ if(not checkValue ){
feedback := Translations::PriorityFactor_CheckNameValid();
editData := DataHolderEditPriorityFactor.Data();
checkValue := not PriorityFactor::CheckNameValid( MacroPlan,editData.BusinessType(),[Real]Coefficient.Text(),PriorityFactorName.Text(),Desc.Text());
-
}
-
+ if( PriorityFactorName.Text() = ''){
+ feedback := Translations::PriorityFactor_CheckNameNull();
+ }
return checkValue
*]
QuillAction
{
Body:
[*
- priortyFactor := select( MacroPlan,PriorityFactor,pf,pf.Name() = PriorityFactorName.Text());
- if( not isnull( priortyFactor )){
- WebMessageBox::Error( "绯荤粺鍐呭凡瀛樺湪璇ヤ紭鍏堢骇鍥犲瓙");
+ if( NewFlag.Checked() ){
+ // New
+ repeatOne := select( MacroPlan,PriorityFactor,pf,pf.Name() = PriorityFactorName.Text());
+ if( not isnull( repeatOne )){
+ WebMessageBox::Error( Translations::PriorityFactor_CheckNameValid() );
+ }else{
+ Form.ClickBtnOK();
+ }
}else {
- Form.ClickBtnOK();
+ Form.ClickBtnOK();
}
*]
GroupServerCalls: false
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Response_pnlContent_PriorityFactorName_OnChanged.def b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Response_pnlContent_PriorityFactorName_OnChanged.def
new file mode 100644
index 0000000..070cd0a
--- /dev/null
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactor/Response_pnlContent_PriorityFactorName_OnChanged.def
@@ -0,0 +1,16 @@
+Quintiq file version 2.0
+#parent: pnlContent/PriorityFactorName
+Response OnChanged () id:Response_pnlContent_PriorityFactorName_OnChanged
+{
+ #keys: '[414996.0.58353845]'
+ CanBindMultiple: false
+ DefinitionID: 'Responsedef_WebEditField_OnChanged'
+ GroupServerCalls: true
+ QuillAction
+ {
+ Body:
+ [*
+ EditFlag.Checked(true);
+ *]
+ }
+}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_ClickBtnOK.def b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_ClickBtnOK.def
index be3b328..7d12c30 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_ClickBtnOK.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_ClickBtnOK.def
@@ -7,10 +7,10 @@
[*
btnOk.Enabled(false,'');
+
// OnOk
this.ApplyChanges();
-
- //DataHolderEditPriorityFactorDetails.Data( ).Commit();
+ DataHolderEditPriorityFactorDetail.Data( ).Commit();
this.Close();
*]
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_Edit.def b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_Edit.def
index 60e9b25..b272824 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_Edit.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_Edit.def
@@ -14,7 +14,7 @@
isRange.Checked(true);
}
PriorityFactorDetailsName.Enabled( false,"" );
- DataHolderEditPriorityFactorDetail.Data( selection );
+ DataHolderEditPriorityFactorDetail.Data( &data );
ApplicationMacroPlanner.ShowFormModal( this );
*]
}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_New.def b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_New.def
index 3a62a74..914b8a7 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_New.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Method_New.def
@@ -7,12 +7,9 @@
#keys: '[414996.0.35320212]'
Body:
[*
- data := owner.PriorityFactorDetail(relnew);
+ data := owner.PriorityFactorDetail(relshadow);
- info( isnull( owner ));
- info( isnull( data ));
-
- DataHolderEditPriorityFactorDetail.Data( data );
+ DataHolderEditPriorityFactorDetail.Data( &data );
ApplicationMacroPlanner.ShowFormModal( this );
*]
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Response_pnlActions_btnOk_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Response_pnlActions_btnOk_OnClick.def
index bad89eb..09b6252 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Response_pnlActions_btnOk_OnClick.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/Response_pnlActions_btnOk_OnClick.def
@@ -21,7 +21,7 @@
{
Body:
[*
- DialogEditPriorityFactorDetail.ClickBtnOK();
+ Form.ClickBtnOK();
*]
GroupServerCalls: false
}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/_ROOT_Component_DialogEditPriorityFactorDetail.def b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/_ROOT_Component_DialogEditPriorityFactorDetail.def
index aca42a1..c85ff9d 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/_ROOT_Component_DialogEditPriorityFactorDetail.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_DialogEditPriorityFactorDetails/_ROOT_Component_DialogEditPriorityFactorDetail.def
@@ -13,7 +13,7 @@
{
#keys: '[414996.0.38864386]'
BaseType: 'WebDataHolder'
- Databinding: 'PriorityFactorDetail'
+ Databinding: 'shadow[PriorityFactorDetail]*'
Properties:
[
Taborder: 2
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_DropDownStringListBusinessType_OnCreated.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_DropDownStringListBusinessType_OnCreated.def
deleted file mode 100644
index 267db8a..0000000
--- a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_DropDownStringListBusinessType_OnCreated.def
+++ /dev/null
@@ -1,17 +0,0 @@
-Quintiq file version 2.0
-#parent: DropDownStringListBusinessType
-Response OnCreated () id:Response_FormPriorityFactor_DropDownStringListBusinessType_OnCreated
-{
- #keys: '[414382.0.539375553]'
- CanBindMultiple: false
- DefinitionID: 'Responsedef_WebComponent_OnCreated'
- QuillAction
- {
- Body:
- [*
- //list := PriorityFactor::GetDataByBusinessType( MacroPlan, DropDownStringListBusinessType.Text());
- //DataHolderPriorityFactorSelect.Data(&list);
- *]
- GroupServerCalls: false
- }
-}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_DropDownStringListBusinessType_OnSelectionChanged.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_DropDownStringListBusinessType_OnSelectionChanged.def
deleted file mode 100644
index cbab0ed..0000000
--- a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_DropDownStringListBusinessType_OnSelectionChanged.def
+++ /dev/null
@@ -1,17 +0,0 @@
-Quintiq file version 2.0
-#parent: DropDownStringListBusinessType
-Response OnSelectionChanged () id:Response_FormPriorityFactor_DropDownStringListBusinessType_OnSelectionChanged
-{
- #keys: '[414382.0.461060940]'
- CanBindMultiple: false
- DefinitionID: 'Responsedef_WebDropDownStringList_OnSelectionChanged'
- QuillAction
- {
- Body:
- [*
- //list := PriorityFactor::GetDataByBusinessType( MacroPlan, DropDownStringListBusinessType.Text());
- //DataHolderPriorityFactorSelect.Data(&list);
- *]
- GroupServerCalls: false
- }
-}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuNewPriorityFactor_OnClick.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuNewPriorityFactor_OnClick.def
index 0e5667a..bf6db20 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuNewPriorityFactor_OnClick.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactor/Response_ListPriorityFactor_MenuNewPriorityFactor_OnClick.def
@@ -13,8 +13,8 @@
{
Body:
[*
- dlg := construct( DialogEditPriorityFactorDetail );
- dlg.New( selection );
+ dlg := construct( DialogEditPriorityFactor );
+ dlg.New( MacroPlan,"" );
*]
}
}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/Component_ListPriorityFactorGrading.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/Component_ListPriorityFactorGrading.def
index 4fed986..8f3c40c 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/Component_ListPriorityFactorGrading.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/Component_ListPriorityFactorGrading.def
@@ -11,10 +11,10 @@
BaseType: 'WebDataExtractor'
Properties:
[
- DataType: 'structured[PriorityFactorDetails]'
- Source: 'DataHolderPriorityFactorGrading'
+ DataType: 'PriorityFactor'
+ Source: 'DataHolderPriorityFactor'
Taborder: 0
- Transformation: 'Elements'
+ Transformation: 'PriorityFactorDetail'
]
}
#child: listActionBarPagePriorityFactorGrading
@@ -36,7 +36,7 @@
]
Properties:
[
- Taborder: 2
+ Taborder: 1
]
ResponseDefinitions:
[
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/Response_DataHolderPriorityFactor_OnDataChanged.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/Response_DataHolderPriorityFactor_OnDataChanged.def
deleted file mode 100644
index 1812bbc..0000000
--- a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/Response_DataHolderPriorityFactor_OnDataChanged.def
+++ /dev/null
@@ -1,19 +0,0 @@
-Quintiq file version 2.0
-#parent: DataHolderPriorityFactor
-Response OnDataChanged () id:Response_FormPriorityFactorGrading_DataHolderPriorityFactor_OnDataChanged
-{
- #keys: '[414996.0.32302660]'
- CanBindMultiple: false
- DefinitionID: 'Responsedef_WebComponent_OnDataChanged'
- QuillAction
- {
- Body:
- [*
- if( not isnull( this.Data( ) )){
- detaisls := PriorityFactorDetail::GetDataByPriorityFactor( this.Data( ), MacroPlan);
- DataHolderPriorityFactorGrading.Data( &detaisls );
- }
- *]
- GroupServerCalls: false
- }
-}
diff --git a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/_ROOT_Component_FormPriorityFactorGrading.def b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/_ROOT_Component_FormPriorityFactorGrading.def
index 69c19f3..3764fd4 100644
--- a/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/_ROOT_Component_FormPriorityFactorGrading.def
+++ b/_Main/UI/MacroPlannerWebApp/Component_FormPriorityFactorGrading/_ROOT_Component_FormPriorityFactorGrading.def
@@ -7,16 +7,6 @@
BaseType: 'WebForm'
Children:
[
- Component DataHolderPriorityFactorGrading
- {
- #keys: '[414382.0.478480902]'
- BaseType: 'WebDataHolder'
- Databinding: 'structured[PriorityFactorDetail]*'
- Properties:
- [
- Taborder: 1
- ]
- }
#child: ListPriorityFactorGrading
Component DataHolderPriorityFactor
{
--
Gitblit v1.9.3