已重命名7个文件
已复制6个文件
已修改7个文件
已添加3个文件
| | |
| | | StaticMethod GenerateData ( |
| | | InterfaceDataset interfaceDataset, |
| | | const MacroPlan macroplan, |
| | | Boolean iscc, |
| | | Boolean isdl, |
| | | String executor |
| | | ) |
| | | { |
| | |
| | | traverse( verison, Column, column, column.TimeUnit() = Translations::MP_GlobalParameters_Day() ){ |
| | | traverse( column, Cell, cell ){ |
| | | row := cell.Row(); |
| | | if( ( iscc and row.Unit() = FinancialProductionReport::GetDefaultCCUnit() ) or ( isdl and row.Unit() = FinancialProductionReport::GetDefaultDLUnit() ) ){ |
| | | cd :=interfaceDataset.AssemblyOnlinePlanPPPSPush( relnew, Product := row.ProductID() |
| | | , PlanningDate := column.StartDate() |
| | | , PlanningQty := [Number]cell.Quantity() |
| | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | loginfo.TotalRow( loginfo.AssemblyOnlinePlanPPPSPush( relsize ) ); |
| | | AssemblyOnlinePlanPPPSPush::Publish( interfaceDataset, loginfo ); |
| | | *] |
| | |
| | | StaticMethod GenerateData ( |
| | | InterfaceDataset interfaceDataset, |
| | | const MacroPlan macroplan, |
| | | Boolean iscc, |
| | | Boolean isdl, |
| | | String executor |
| | | ) |
| | | { |
| | |
| | | , Message := '客æ·éæ±ï¼PPA+IDSï¼æ°æ®æ¨é' |
| | | , Last := true |
| | | ); |
| | | traverse( interfaceDataset, CustomerDemandIDS.Row, row ){ |
| | | traverse( interfaceDataset, CustomerDemandIDS.Row, row, ( iscc and row.Factory() = FinancialProductionReport::GetDefaultCCUnit() ) |
| | | or ( isdl and row.Factory() = FinancialProductionReport::GetDefaultDLUnit() ) ){ |
| | | traverse( row, Cell, cell ){ |
| | | cd :=interfaceDataset.CustomerDemandPPAIDS( relnew, Product := row.Name() |
| | | , DemandDate := cell.Column().StartDate() |
| | |
| | | #parent: #root |
| | | Method PublishPlanReportData ( |
| | | const MacroPlan macroplan, |
| | | Boolean iscustomdemand, |
| | | Boolean isofflineplan, |
| | | Boolean isshiftplan, |
| | | Boolean isassembleonlineplan, |
| | | Boolean isinventoryplan, |
| | | Boolean iscustomdemanddl, |
| | | Boolean iscustomdemandcc, |
| | | Boolean isofflineplandl, |
| | | Boolean isofflineplancc, |
| | | Boolean isshiftplandl, |
| | | Boolean isshiftplancc, |
| | | Boolean isassembleonlineplandl, |
| | | Boolean isassembleonlineplancc, |
| | | Boolean isinventoryplandl, |
| | | Boolean isinventoryplancc, |
| | | String executor |
| | | ) |
| | | { |
| | |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Oct-30-2024 (created) |
| | | if( iscustomdemand ){//å
¨å¹´æ¥åº¦éæ±/客æ·éæ± |
| | | CustomerDemandPPAIDS::GenerateData( this, macroplan, executor ); |
| | | if( iscustomdemanddl or iscustomdemandcc ){//å
¨å¹´æ¥åº¦éæ±/客æ·éæ± |
| | | CustomerDemandPPAIDS::GenerateData( this, macroplan, iscustomdemandcc, iscustomdemanddl, executor ); |
| | | } |
| | | if ( isofflineplan ) { // å产线ä¸çº¿è®¡å |
| | | if ( isofflineplandl or isofflineplancc ) { // å产线ä¸çº¿è®¡å |
| | | InterfaceDataset::PushOfflinePlanData( macroplan, this, executor ); |
| | | } |
| | | if( isshiftplan ){//çæ¬¡è®¡å |
| | | if( isshiftplandl or isshiftplancc ){//çæ¬¡è®¡å |
| | | DispatchShiftPlan::Dispatch(this, macroplan,executor ); |
| | | // CustomerDemandIDS::GenerateData( this, recyclebin, archive ); |
| | | } |
| | | if( isassembleonlineplan ){//è£
é
ä¸çº¿è®¡å |
| | | AssemblyOnlinePlanPPPSPush::GenerateData( this, macroplan, executor ); |
| | | if( isassembleonlineplandl or isassembleonlineplancc ){//è£
é
ä¸çº¿è®¡å |
| | | AssemblyOnlinePlanPPPSPush::GenerateData( this, macroplan, isassembleonlineplancc, isassembleonlineplandl, executor ); |
| | | } |
| | | if ( isinventoryplan ) { // 计ååºåæ°æ® |
| | | if ( isinventoryplandl or isinventoryplancc ) { // 计ååºåæ°æ® |
| | | InterfaceDataset::PushPlanInventoryData( macroplan, this, executor ); |
| | | } |
| | | *] |
| | |
| | | currentuser := QuintiqUser::CurrentUser().DisplayName(); |
| | | isactive := ifexpr( rbgVersionFlag.BoundValue() = "true", true, false ); |
| | | if( efInterfacename.Text() = Translations::InterfaceDataset_CustomerDemandPPAIDS_Name() ){//客æ·éæ± |
| | | CustomerDemandPPAIDS::GenerateData( InterfaceDataset, MacroPlan, currentuser ); |
| | | // CustomerDemandPPAIDS::GenerateData( InterfaceDataset, MacroPlan, currentuser ); |
| | | } |
| | | if( efInterfacename.Text() = Translations::InterfaceDataset_AssemblyOnlinePlanPPPsPush_Name()){//è£
é
ä¸çº¿ |
| | | AssemblyOnlinePlanPPPSPush::GenerateData( InterfaceDataset, MacroPlan, currentuser ); |
| | | // AssemblyOnlinePlanPPPSPush::GenerateData( InterfaceDataset, MacroPlan, currentuser ); |
| | | } |
| | | |
| | | WebMessageBox::Success( "æ¨éæåï¼" ); |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAll#720.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlAll id:pnlAll_720 |
| | | Component pnlAll |
| | | { |
| | | #keys: '[415136.0.1255982465]' |
| | | #keys: '[415136.0.1302693096]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblAll |
| | | { |
| | | #keys: '[415136.0.1255982466]' |
| | | #keys: '[415136.0.1302693097]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | |
| | | } |
| | | Component cbAll |
| | | { |
| | | #keys: '[415136.0.1255982467]' |
| | | #keys: '[415136.0.1302693098]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
copy from "_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAll\043720.def"
copy to _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAllCC.def
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAll#720.def ¸´ÖÆ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlAll id:pnlAll_720 |
| | | Component pnlAllCC |
| | | { |
| | | #keys: '[415136.0.1255982465]' |
| | | #keys: '[415136.0.1303133156]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblAll |
| | | Component lblAllCC |
| | | { |
| | | #keys: '[415136.0.1255982466]' |
| | | #keys: '[415136.0.1303133157]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbAll |
| | | Component cbAllCC |
| | | { |
| | | #keys: '[415136.0.1255982467]' |
| | | #keys: '[415136.0.1303133158]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAssembleOnlinePlan#679.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlAssembleOnlinePlan id:pnlAssembleOnlinePlan_679 |
| | | Component pnlAssembleOnlinePlan |
| | | { |
| | | #keys: '[415136.0.1255982426]' |
| | | #keys: '[415136.0.1302693049]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblAssembleOnlinePlan |
| | | { |
| | | #keys: '[415136.0.1255982427]' |
| | | #keys: '[415136.0.1302693050]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | |
| | | } |
| | | Component cbAssembleOnlinePlan |
| | | { |
| | | #keys: '[415136.0.1255982428]' |
| | | #keys: '[415136.0.1302693051]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
copy from "_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAssembleOnlinePlan\043679.def"
copy to _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAssembleOnlinePlanCC.def
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlAssembleOnlinePlan#679.def ¸´ÖÆ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlAssembleOnlinePlan id:pnlAssembleOnlinePlan_679 |
| | | Component pnlAssembleOnlinePlanCC |
| | | { |
| | | #keys: '[415136.0.1255982426]' |
| | | #keys: '[415136.0.1303133150]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblAssembleOnlinePlan |
| | | Component lblAssembleOnlinePlanCC |
| | | { |
| | | #keys: '[415136.0.1255982427]' |
| | | #keys: '[415136.0.1303133151]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbAssembleOnlinePlan |
| | | Component cbAssembleOnlinePlanCC |
| | | { |
| | | #keys: '[415136.0.1255982428]' |
| | | #keys: '[415136.0.1303133152]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: pnlCustomDemand_462 |
| | | #child: pnlOfflinePlan_520 |
| | | #child: pnlAssembleOnlinePlan_679 |
| | | #child: pnlInventoryPlan_119 |
| | | #child: pnlAll_720 |
| | | #child: pnlShiftPlan_780 |
| | | #child: pnlContentDL |
| | | #child: pnlContentCC |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'tab' |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContentCC |
| | | { |
| | | #keys: '[415136.0.1303133140]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: pnlCustomDemandCC |
| | | #child: pnlOfflinePlanCC |
| | | #child: pnlShiftPlanCC |
| | | #child: pnlAssembleOnlinePlanCC |
| | | #child: pnlInventoryPlanCC |
| | | #child: pnlAllCC |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | Title: 'é¿æ¥å·¥å' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContentDL |
| | | { |
| | | #keys: '[415136.0.1302530440]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: pnlCustomDemand |
| | | #child: pnlOfflinePlan |
| | | #child: pnlShiftPlan |
| | | #child: pnlAssembleOnlinePlan |
| | | #child: pnlInventoryPlan |
| | | #child: pnlAll |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | Title: '大è¿å·¥å' |
| | | ] |
| | | } |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlCustomDemand#462.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlCustomDemand id:pnlCustomDemand_462 |
| | | Component pnlCustomDemand |
| | | { |
| | | #keys: '[415136.0.1255981813]' |
| | | #keys: '[415136.0.1302692983]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblCustomDemand |
| | | { |
| | | #keys: '[415136.0.1255981814]' |
| | | #keys: '[415136.0.1302692984]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | |
| | | } |
| | | Component cbCustomDemand |
| | | { |
| | | #keys: '[415136.0.1255981815]' |
| | | #keys: '[415136.0.1302692985]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
copy from "_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlCustomDemand\043462.def"
copy to _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlCustomDemandCC.def
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlCustomDemand#462.def ¸´ÖÆ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlCustomDemand id:pnlCustomDemand_462 |
| | | Component pnlCustomDemandCC |
| | | { |
| | | #keys: '[415136.0.1255981813]' |
| | | #keys: '[415136.0.1303133141]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblCustomDemand |
| | | Component lblCustomDemandCC |
| | | { |
| | | #keys: '[415136.0.1255981814]' |
| | | #keys: '[415136.0.1303133142]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbCustomDemand |
| | | Component cbCustomDemandCC |
| | | { |
| | | #keys: '[415136.0.1255981815]' |
| | | #keys: '[415136.0.1303133143]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlInventoryPlan#119.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlInventoryPlan id:pnlInventoryPlan_119 |
| | | Component pnlInventoryPlan |
| | | { |
| | | #keys: '[415136.0.1255982447]' |
| | | #keys: '[415136.0.1302693071]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblInventoryPlan |
| | | { |
| | | #keys: '[415136.0.1255982448]' |
| | | #keys: '[415136.0.1302693072]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | |
| | | } |
| | | Component cbInventoryPlan |
| | | { |
| | | #keys: '[415136.0.1255982449]' |
| | | #keys: '[415136.0.1302693073]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
copy from "_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlInventoryPlan\043119.def"
copy to _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlInventoryPlanCC.def
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlInventoryPlan#119.def ¸´ÖÆ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlInventoryPlan id:pnlInventoryPlan_119 |
| | | Component pnlInventoryPlanCC |
| | | { |
| | | #keys: '[415136.0.1255982447]' |
| | | #keys: '[415136.0.1303133153]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblInventoryPlan |
| | | Component lblInventoryPlanCC |
| | | { |
| | | #keys: '[415136.0.1255982448]' |
| | | #keys: '[415136.0.1303133154]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbInventoryPlan |
| | | Component cbInventoryPlanCC |
| | | { |
| | | #keys: '[415136.0.1255982449]' |
| | | #keys: '[415136.0.1303133155]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlOfflinePlan#520.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlOfflinePlan id:pnlOfflinePlan_520 |
| | | Component pnlOfflinePlan |
| | | { |
| | | #keys: '[415136.0.1255981829]' |
| | | #keys: '[415136.0.1302693005]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblOfflinePlan |
| | | { |
| | | #keys: '[415136.0.1255981830]' |
| | | #keys: '[415136.0.1302693006]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | |
| | | } |
| | | Component cbOfflinePlan |
| | | { |
| | | #keys: '[415136.0.1255981831]' |
| | | #keys: '[415136.0.1302693007]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
copy from "_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlOfflinePlan\043520.def"
copy to _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlOfflinePlanCC.def
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlOfflinePlan#520.def ¸´ÖÆ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlOfflinePlan id:pnlOfflinePlan_520 |
| | | Component pnlOfflinePlanCC |
| | | { |
| | | #keys: '[415136.0.1255981829]' |
| | | #keys: '[415136.0.1303133144]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblOfflinePlan |
| | | Component lblOfflinePlanCC |
| | | { |
| | | #keys: '[415136.0.1255981830]' |
| | | #keys: '[415136.0.1303133145]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbOfflinePlan |
| | | Component cbOfflinePlanCC |
| | | { |
| | | #keys: '[415136.0.1255981831]' |
| | | #keys: '[415136.0.1303133146]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlShiftPlan#780.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlShiftPlan id:pnlShiftPlan_780 |
| | | Component pnlShiftPlan |
| | | { |
| | | #keys: '[415136.0.1255982410]' |
| | | #keys: '[415136.0.1302693027]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblShiftPlan |
| | | { |
| | | #keys: '[415136.0.1255982411]' |
| | | #keys: '[415136.0.1302693028]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | |
| | | } |
| | | Component cbShiftPlan |
| | | { |
| | | #keys: '[415136.0.1255982412]' |
| | | #keys: '[415136.0.1302693029]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
copy from "_Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlShiftPlan\043780.def"
copy to _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlShiftPlanCC.def
Îļþ´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Component_pnlShiftPlan#780.def ¸´ÖÆ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlShiftPlan id:pnlShiftPlan_780 |
| | | Component pnlShiftPlanCC |
| | | { |
| | | #keys: '[415136.0.1255982410]' |
| | | #keys: '[415136.0.1303133147]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblShiftPlan |
| | | Component lblShiftPlanCC |
| | | { |
| | | #keys: '[415136.0.1255982411]' |
| | | #keys: '[415136.0.1303133148]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbShiftPlan |
| | | Component cbShiftPlanCC |
| | | { |
| | | #keys: '[415136.0.1255982412]' |
| | | #keys: '[415136.0.1303133149]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | |
| | | this.ApplyChanges(); |
| | | |
| | | showlabel := 'æ¯å¦åé'; |
| | | plannames := construct( Strings ); |
| | | dlplannames := construct( Strings ); |
| | | ccplannames := construct( Strings ); |
| | | if( cbCustomDemand.Checked() ){ |
| | | plannames.Add( lblCustomDemand.Label() ); |
| | | dlplannames.Add( lblCustomDemand.Label() ); |
| | | } |
| | | if( cbCustomDemandCC.Checked() ){ |
| | | ccplannames.Add( lblCustomDemandCC.Label() ); |
| | | } |
| | | if( cbOfflinePlan.Checked() ){ |
| | | plannames.Add( lblOfflinePlan.Label() ); |
| | | dlplannames.Add( lblOfflinePlan.Label() ); |
| | | } |
| | | if( cbOfflinePlanCC.Checked() ){ |
| | | ccplannames.Add( lblOfflinePlanCC.Label() ); |
| | | } |
| | | if( cbShiftPlan.Checked() ){ |
| | | plannames.Add( lblShiftPlan.Label() ); |
| | | dlplannames.Add( lblShiftPlan.Label() ); |
| | | } |
| | | if( cbShiftPlanCC.Checked() ){ |
| | | ccplannames.Add( lblShiftPlanCC.Label() ); |
| | | } |
| | | if( cbAssembleOnlinePlan.Checked() ){ |
| | | plannames.Add( lblAssembleOnlinePlan.Label() ); |
| | | dlplannames.Add( lblAssembleOnlinePlan.Label() ); |
| | | } |
| | | if( cbAssembleOnlinePlanCC.Checked() ){ |
| | | ccplannames.Add( lblAssembleOnlinePlanCC.Label() ); |
| | | } |
| | | if( cbInventoryPlan.Checked() ){ |
| | | plannames.Add( lblInventoryPlan.Label() ); |
| | | dlplannames.Add( lblInventoryPlan.Label() ); |
| | | } |
| | | if( cbInventoryPlanCC.Checked() ){ |
| | | ccplannames.Add( lblInventoryPlanCC.Label() ); |
| | | } |
| | | |
| | | showlabel := showlabel.Concat( plannames.Concatenate( "ã" ) ).Concat( 'ï¼' ); |
| | | dlshowname := '大è¿å·¥åç'; |
| | | if( dlplannames.Size() > 0 ){ |
| | | showlabel := showlabel.Concat( dlshowname.Concat( dlplannames.Concatenate( "ã" ) ) ).Concat( "ï¼"); |
| | | } |
| | | ccshowname := 'é¿æ¥å·¥åç'; |
| | | if( ccplannames.Size() > 0 ){ |
| | | showlabel := showlabel.Concat( ccshowname.Concat( ccplannames.Concatenate( "ã" ) ) ).Concat( "ï¼"); |
| | | } |
| | | showlabel := showlabel.Concat( 'ã' ); |
| | | currentuser := QuintiqUser::CurrentUser().DisplayName(); |
| | | if( WebMessageBox::Question( this, showlabel, 'OK|Cancel' ) = 0 ){ |
| | | InterfaceDataset.PublishPlanReportData( MacroPlan, cbCustomDemand.Checked() |
| | | , cbCustomDemandCC.Checked() |
| | | , cbOfflinePlan.Checked() |
| | | , cbOfflinePlanCC.Checked() |
| | | , cbShiftPlan.Checked() |
| | | , cbShiftPlanCC.Checked() |
| | | , cbAssembleOnlinePlan.Checked() |
| | | , cbAssembleOnlinePlanCC.Checked() |
| | | , cbInventoryPlan.Checked() |
| | | , cbInventoryPlanCC.Checked() |
| | | , currentuser ); |
| | | } |
| | | |
| | |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not ( not cbCustomDemand.Checked() and not cbOfflinePlan.Checked() and not cbShiftPlan.Checked() and not cbAssembleOnlinePlan.Checked() and not cbInventoryPlan.Checked() ); |
| | | return not ( not cbCustomDemand.Checked() and not cbCustomDemandCC.Checked() |
| | | and not cbOfflinePlan.Checked() and not cbOfflinePlanCC.Checked() |
| | | and not cbShiftPlan.Checked() and not cbShiftPlanCC.Checked() |
| | | and not cbAssembleOnlinePlan.Checked() and not cbAssembleOnlinePlanCC.Checked() |
| | | and not cbInventoryPlan.Checked() and not cbInventoryPlanCC.Checked() ); |
| | | *] |
| | | QuillAction |
| | | { |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlAllCC/cbAllCC |
| | | Response OnChanged () id:Response_pnlAllCC_cbAllCC_OnChanged |
| | | { |
| | | #keys: '[415136.0.1303133139]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebCheckbox_OnChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( this.Checked() ){ |
| | | cbCustomDemandCC.Checked( true ); |
| | | cbOfflinePlanCC.Checked( true ); |
| | | cbShiftPlanCC.Checked( true ); |
| | | cbAssembleOnlinePlanCC.Checked( true ); |
| | | cbInventoryPlanCC.Checked( true ); |
| | | }else{ |
| | | cbCustomDemandCC.Checked( false ); |
| | | cbOfflinePlanCC.Checked( false ); |
| | | cbShiftPlanCC.Checked( false ); |
| | | cbAssembleOnlinePlanCC.Checked( false ); |
| | | cbInventoryPlanCC.Checked( false ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogPublishPlan/Response_pnlAll_720_cbAll_OnChanged.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlAll_720/cbAll |
| | | Response OnChanged () id:Response_pnlAll_720_cbAll_OnChanged |
| | | #parent: pnlAll/cbAll |
| | | Response OnChanged () id:Response_pnlAll_cbAll_OnChanged |
| | | { |
| | | #keys: '[415136.0.1255982464]' |
| | | #keys: '[415136.0.1302693095]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebCheckbox_OnChanged' |
| | | QuillAction |