Merge remote-tracking branch 'origin/dev' into dev
已重命名11个文件
已复制6个文件
已修改26个文件
已添加4个文件
已删除59个文件
| | |
| | | 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(); |
| | | cd :=interfaceDataset.AssemblyOnlinePlanPPPSPush( relnew, Product := row.ProductID() |
| | | , PlanningDate := column.StartDate() |
| | | , PlanningQty := [Number]cell.Quantity() |
| | | , Sequence := cell.Order() |
| | | , VersionName := macroplan.ScenarioName() |
| | | , InterfaceTime := nowdate |
| | | , FactoryName := row.Unit() |
| | | , Fac := ifexpr( row.Unit() = FinancialProductionReport::GetDefaultCCUnit(), 'CC', 'DL' ) |
| | | // , VersionFlag := versionflag |
| | | , ProductFourCode := ifexpr( row.ProductID() = row.Name(), '', row.Name() ) |
| | | ); |
| | | loginfo.AssemblyOnlinePlanPPPSPush( relinsert, cd ); |
| | | 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() |
| | | , Sequence := cell.Order() |
| | | , VersionName := macroplan.ScenarioName() |
| | | , InterfaceTime := nowdate |
| | | , FactoryName := row.Unit() |
| | | , Fac := ifexpr( row.Unit() = FinancialProductionReport::GetDefaultCCUnit(), 'CC', 'DL' ) |
| | | // , VersionFlag := versionflag |
| | | , ProductFourCode := ifexpr( row.ProductID() = row.Name(), '', row.Name() ) |
| | | ); |
| | | loginfo.AssemblyOnlinePlanPPPSPush( relinsert, cd ); |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | 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 ); |
| | | } |
| | | *] |
| | |
| | | Description: 'çæè®¡ååºååæ¡£æ°æ®' |
| | | TextBody: |
| | | [* |
| | | //interfaceDataset.InventoryPlanArchiveVersion( relflush ); |
| | | interfaceDataset.InventoryPlanArchiveVersion( relflush ); |
| | | info( '-------------------------Start---------------------'); |
| | | machineproductparent := MachiningPipelineReport::GetDefaultProductParent(); |
| | | engineproductparent := EnginePipelineReport::GetDefaultProductParent(); |
| | | allunit := AssemblyOnlinePlanVersion::GetDefaultAllUnit(); |
| | | name := InventoryPlanArchiveVersion::GetDefaultName(); |
| | | search := interfaceDataset.InventoryPlanArchiveVersionSearch( relnew, Product := allunit, TimeUnit := Translations::MP_GlobalParameters_Day(), Unit := allunit, StartDate := Date::MinDate(), EndDate := Date::MaxDate() ); |
| | |
| | | inventoryindex := inventoryindex + 1; |
| | | } |
| | | } |
| | | traverse ( macroPlan, Product_MP.ProductInStockingPoint_MP, pispmp, not pispmp.IsSystem() and pispmp.IsLeaf() ) { |
| | | unit := ifexpr( pispmp.StockingPointID().Regex( "大è¿" ) or pispmp.StockingPointID().Regex( "DL" ), FinancialProductionReport::GetDefaultDLUnit(), FinancialProductionReport::GetDefaultCCUnit() ); |
| | | inventoryrow := table.GetRowByUnit( pispmp.Product_MP(), unit ); |
| | | traverse ( pispmp, ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ), pispippl, not pispippl.IsPeriodFrozen() ) { |
| | | startdate := pispippl.Start().Date(); |
| | | daycolumn := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Day(), startdate ); |
| | | weekcolumn := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Week(), startdate ); |
| | | monthcolumn := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Month(), startdate ); |
| | | actinventoryKey := pispmp.ProductID() + startdate.AsQUILL(); |
| | | actinventoryhandle := actinventorytree.GetHandle( actinventoryKey ); |
| | | actinventoryindex := guard( actinventorytree.Root().Child( actinventoryhandle ),null( NamedValue )); |
| | | |
| | | actinventoryqty := 0.0; |
| | | if( not isnull( actinventoryindex )){ |
| | | actinventoryqty := inventoryqrys.Element( actinventoryindex.GetValueAsNumber() ); |
| | | traverse( macroPlan, Product_MP, product, exists( product.GetAllParent(), Elements, e, e.ID() = machineproductparent or e.ID() = engineproductparent ) ){ |
| | | traverse ( product, ProductInStockingPoint_MP, pispmp, not pispmp.IsSystem() and pispmp.IsLeaf() ) { |
| | | unit := ifexpr( pispmp.StockingPointID().Regex( "大è¿" ) or pispmp.StockingPointID().Regex( "DL" ), FinancialProductionReport::GetDefaultDLUnit(), FinancialProductionReport::GetDefaultCCUnit() ); |
| | | inventoryrow := table.GetRowByUnit( pispmp.Product_MP(), unit ); |
| | | traverse ( pispmp, ProductInStockingPointInPeriodPlanning.astype( ProductInStockingPointInPeriodPlanningLeaf ), pispippl, not pispippl.IsPeriodFrozen() ) { |
| | | startdate := pispippl.Start().Date(); |
| | | daycolumn := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Day(), startdate ); |
| | | weekcolumn := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Week(), startdate ); |
| | | monthcolumn := table.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Month(), startdate ); |
| | | actinventoryKey := pispmp.ProductID() + startdate.AsQUILL(); |
| | | actinventoryhandle := actinventorytree.GetHandle( actinventoryKey ); |
| | | actinventoryindex := guard( actinventorytree.Root().Child( actinventoryhandle ),null( NamedValue )); |
| | | |
| | | actinventoryqty := 0.0; |
| | | if( not isnull( actinventoryindex )){ |
| | | actinventoryqty := inventoryqrys.Element( actinventoryindex.GetValueAsNumber() ); |
| | | } |
| | | inventoryrow.SetQuantity( daycolumn, pispippl.InventoryLevelEnd(), actinventoryqty ); |
| | | inventoryrow.SetQuantity( weekcolumn, pispippl.InventoryLevelEnd(), actinventoryqty ); |
| | | inventoryrow.SetQuantity( monthcolumn, pispippl.InventoryLevelEnd(), actinventoryqty ); |
| | | |
| | | } |
| | | inventoryrow.SetQuantity( daycolumn, pispippl.InventoryLevelEnd(), actinventoryqty ); |
| | | inventoryrow.SetQuantity( weekcolumn, pispippl.InventoryLevelEnd(), actinventoryqty ); |
| | | inventoryrow.SetQuantity( monthcolumn, pispippl.InventoryLevelEnd(), actinventoryqty ); |
| | | |
| | | } |
| | | } |
| | | |
| | |
| | | columnstring := columnstring.Merge( cellxml); |
| | | } |
| | | |
| | | columnstring -> GroupAll() -> ExportXMLManager::AwaitLocalTableXMLData( recycleBin,guard( rows.Element(0).LocalTable().Name(),MP_Cell_AnnualPlanReport::GetTableName()) ); |
| | | columnstring -> GroupAll() -> ExportXMLManager::AwaitLocalTableXMLData( recycleBin,guard( rows.Element(0).LocalTable().Name(),ArchiveCell_AnnualPlanReport::GetTableName()) ); |
| | | *] |
| | | } |
| | |
| | | columnstring := columnstring.Merge( cellxml); |
| | | } |
| | | |
| | | columnstring -> GroupAll() -> ExportXMLManager::AwaitLocalTableXMLData( recycleBin,guard( rows.Element(0).LocalTable().Name(),MP_Cell_ScheduleSummary::GetTableName()) ); |
| | | columnstring -> GroupAll() -> ExportXMLManager::AwaitLocalTableXMLData( recycleBin,guard( rows.Element(0).LocalTable().Name(),ArchiveCell_ScheduleSummary::GetTableName()) ); |
| | | *] |
| | | } |
ÎļþÃû´Ó _Main/BL/Type_LocalColumn/Function_CalcWeekDate.qbl ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Function CalcWeekDate |
| | | Function CalcDisplayDate |
| | | { |
| | | TextBody: |
| | | [* |
| | |
| | | us_locale := Locale::Construct( 'en_us' ); |
| | | |
| | | date := this.CustomDate(); |
| | | stringDate := date.Format( "Y: MM / M" + "æ" ,us_locale ) |
| | | stringDate := date.Format( "MM / M" + "æ" ,us_locale ) |
| | | value := stringDate; |
| | | }else{ |
| | | value := this.CustomDate().Format( "Y/M2/D2" ); |
| | |
| | | } |
| | | localTable := recycleBin.LocalTable( relnew,Name := ArchiveCell_AnnualPlanReport::GetTableName() ); |
| | | |
| | | info( "111" ); |
| | | |
| | | tables := selectset( archive,ArchiveTable,table,table.Name() = ArchiveCell_AnnualPlanReport::GetTableName()); |
| | | |
| | | startDate := minselect( tables,Elements.ArchiveColumn,column,column.CustomDate() ).CustomDate(); |
| | |
| | | |
| | | |
| | | if( not isnull( workHours )){ |
| | | capacity := workDay * throughput * workHours.Capacity().HoursAsReal() |
| | | capacity := workDay * throughput //* workHours.Capacity().HoursAsReal() |
| | | } |
| | | |
| | | isFirstWeekData := true; |
| | |
| | | [* |
| | | // rislai Aug-7-2024 (created) |
| | | tables := selectset( archive,ArchiveTable,table,table.Name() = ArchiveCell_ScheduleSummary::GetTableName() ); |
| | | info( isnull( archive )) |
| | | |
| | | scheduleSummaryOutputDataIndexTree := NamedValueTree::Create(); |
| | | scheduleSummaryOutputDatas := selectset( archive,ScheduleSummaryOutputLine.ScheduleSummaryOutputData,data, |
| | | exists( tables,Elements.ArchiveRow,row,row.CustomName() = data.ScheduleSummaryOutputLine().LineName() )); |
| | |
| | | [* |
| | | // Akari Nov-12-2024 (created) |
| | | info( macroPlan.MDSMacroPlan().Description() ); |
| | | |
| | | traverse( macroPlan,MP_Table,table ){ |
| | | info( table.Name() ); |
| | | } |
| | | *] |
| | | } |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Component_pnlContent661.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent661 |
| | | Component pProduct |
| | | { |
| | | #keys: '[414996.1.206961946]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddlProductInStockingPoint |
| | | Component ddlProduct |
| | | { |
| | | #keys: '[414996.1.206961947]' |
| | | BaseType: 'WebDropDownList' |
| | | Databinding: 'ProductInStockingPoint_MP' |
| | | Databinding: 'Product_MP' |
| | | Children: |
| | | [ |
| | | Component deContent404 |
| | | Component deProduct |
| | | { |
| | | #keys: '[414996.1.206961948]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'StockingPoint_MP' |
| | | Source: 'dhSelectStockingPoint' |
| | | DataType: 'MacroPlan' |
| | | Source: 'MacroPlan' |
| | | Taborder: 0 |
| | | Transformation: 'ProductInStockingPoint_MP' |
| | | Transformation: 'Product_MP' |
| | | ] |
| | | } |
| | | ] |
| | |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbAllProductInStockingPoint |
| | | Component cbAllProduct |
| | | { |
| | | #keys: '[414996.1.206961949]' |
| | | BaseType: 'WebCheckbox' |
| | |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 2 |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | |
| | | Databinding: 'StockingPoint_MP' |
| | | Children: |
| | | [ |
| | | Component deContent |
| | | Component deStockingPoint |
| | | { |
| | | #keys: '[414996.1.206961944]' |
| | | BaseType: 'WebDataExtractor' |
| | |
| | | Properties: |
| | | [ |
| | | Label: 'é宿è³ï¼' |
| | | Taborder: 3 |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | #child: pStockingPoint |
| | | #child: pnlContent661 |
| | | Component dhSelectStockingPoint |
| | | { |
| | | #keys: '[414996.1.206961950]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'StockingPoint_MP' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | #child: pProduct |
| | | ] |
| | | Properties: |
| | | [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pProduct/cbAllProduct |
| | | Response OnChanged () id:Response_pProduct_cbAllProduct_OnChanged |
| | | { |
| | | #keys: '[414996.1.206961937]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebCheckbox_OnChanged' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( this.Checked() ){ |
| | | ddlProduct.Enabled( false,"" ); |
| | | }else{ |
| | | ddlProduct.Enabled( true,"" ); |
| | | } |
| | | *] |
| | | } |
| | | } |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_DialogCreateLockPeriod/Response_pnlContent661_ddlProductInStockingPoint_OnSelectionChanged.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlContent661/ddlProductInStockingPoint |
| | | #parent: pProduct/ddlProduct |
| | | Response OnSelectionChanged ( |
| | | ProductInStockingPoint_MP selection |
| | | ) id:Response_pnlContent661_ddlProductInStockingPoint_OnSelectionChanged |
| | | ) id:Response_pProduct_ddlProduct_OnSelectionChanged |
| | | { |
| | | #keys: '[414996.1.207063206]' |
| | | CanBindMultiple: false |
| | |
| | | Body: |
| | | [* |
| | | if( cbAllStockingPoint.Checked() ){ |
| | | if( cbAllProductInStockingPoint.Checked() ){ |
| | | if( cbAllProduct.Checked() ){ |
| | | // éå®å
¨é¨äº§å |
| | | traverse( MacroPlan,Product_MP,product ){ |
| | | traverse( product,ProductInStockingPoint_MP,productInStockingPoint ){ |
| | |
| | | } |
| | | }else{ |
| | | // é宿å®äº§åä¸çå
¨é¨åºåç¹ |
| | | product := ddlProductInStockingPoint.Data().Product_MP(); |
| | | product := ddlProduct.Data(); |
| | | traverse( product,ProductInStockingPoint_MP,productInStockingPoint){ |
| | | LockPeriod::Create( productInStockingPoint,dsLockDate.Date() ); |
| | | } |
| | | } |
| | | }else{ |
| | | if( cbAllProductInStockingPoint.Checked() ){ |
| | | if( cbAllProduct.Checked() ){ |
| | | // é宿å®åºåç¹ä¸çå
¨é¨äº§å |
| | | stockingPoint := ddlStockingPoint.Data(); |
| | | traverse( stockingPoint,ProductInStockingPoint_MP,productInStockingPoint ){ |
| | |
| | | } |
| | | }else{ |
| | | // é宿å®åºåç¹çæå®äº§å |
| | | LockPeriod::Create( ddlProductInStockingPoint.Data(),dsLockDate.Date() ); |
| | | productInStockingPoint := select( ddlProduct.Data(),ProductInStockingPoint_MP,pisp,pisp.StockingPoint_MP() = ddlStockingPoint.Data() ); |
| | | if( not isnull( productInStockingPoint )){ |
| | | LockPeriod::Create( productInStockingPoint,dsLockDate.Date() ); |
| | | } |
| | | } |
| | | } |
| | | Form.Close(); |
| | |
| | | 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 ); |
| | | if( cbCustomDemand.Checked() ){ |
| | | plannames.Add( lblCustomDemand.Label() ); |
| | | } |
| | | if( cbOfflinePlan.Checked() ){ |
| | | plannames.Add( lblOfflinePlan.Label() ); |
| | | } |
| | | if( cbShiftPlan.Checked() ){ |
| | | plannames.Add( lblShiftPlan.Label() ); |
| | | } |
| | | if( cbAssembleOnlinePlan.Checked() ){ |
| | | plannames.Add( lblAssembleOnlinePlan.Label() ); |
| | | } |
| | | if( cbInventoryPlan.Checked() ){ |
| | | plannames.Add( lblInventoryPlan.Label() ); |
| | | } |
| | | showlabel := 'æ¯å¦åé'; |
| | | dlplannames := construct( Strings ); |
| | | ccplannames := construct( Strings ); |
| | | if( cbCustomDemand.Checked() ){ |
| | | dlplannames.Add( lblCustomDemand.Label() ); |
| | | } |
| | | if( cbCustomDemandCC.Checked() ){ |
| | | ccplannames.Add( lblCustomDemandCC.Label() ); |
| | | } |
| | | if( cbOfflinePlan.Checked() ){ |
| | | dlplannames.Add( lblOfflinePlan.Label() ); |
| | | ArchiveCell_ScheduleSummary::Create( MacroPlan,Archive ); |
| | | } |
| | | if( cbOfflinePlanCC.Checked() ){ |
| | | ccplannames.Add( lblOfflinePlanCC.Label() ); |
| | | ArchiveCell_ScheduleSummary::Create( MacroPlan,Archive ); |
| | | } |
| | | if( cbShiftPlan.Checked() ){ |
| | | dlplannames.Add( lblShiftPlan.Label() ); |
| | | ArchiveCell_ScheduleSummary::Create( MacroPlan,Archive ); |
| | | } |
| | | if( cbShiftPlanCC.Checked() ){ |
| | | ccplannames.Add( lblShiftPlanCC.Label() ); |
| | | ArchiveCell_ScheduleSummary::Create( MacroPlan,Archive ); |
| | | } |
| | | if( cbAssembleOnlinePlan.Checked() ){ |
| | | dlplannames.Add( lblAssembleOnlinePlan.Label() ); |
| | | } |
| | | if( cbAssembleOnlinePlanCC.Checked() ){ |
| | | ccplannames.Add( lblAssembleOnlinePlanCC.Label() ); |
| | | } |
| | | if( cbInventoryPlan.Checked() ){ |
| | | dlplannames.Add( lblInventoryPlan.Label() ); |
| | | } |
| | | if( cbInventoryPlanCC.Checked() ){ |
| | | ccplannames.Add( lblInventoryPlanCC.Label() ); |
| | | } |
| | | |
| | | showlabel := showlabel.Concat( plannames.Concatenate( "ã" ) ).Concat( 'ï¼' ); |
| | | currentuser := QuintiqUser::CurrentUser().DisplayName(); |
| | | if( WebMessageBox::Question( this, showlabel, 'OK|Cancel' ) = 0 ){ |
| | | InterfaceDataset.PublishPlanReportData( MacroPlan, cbCustomDemand.Checked() |
| | | 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 ); |
| | | } |
| | | } |
| | | |
| | | this.Close(); |
| | | *] |
| | |
| | | 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 |
| | |
| | | Properties: |
| | | [ |
| | | DataType: 'RecycleBin' |
| | | FixedFilter: 'object.Name() = MP_Cell_AnnualPlanReport::GetTableName()' |
| | | FixedFilter: 'object.Name() = ArchiveCell_AnnualPlanReport::GetTableName()' |
| | | Source: 'RecycleBin' |
| | | Taborder: 0 |
| | | Transformation: 'ExportXMLManager' |
| | |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component bCreateBaseData |
| | | { |
| | | #keys: '[414996.1.230731110]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'C_CLAMP' |
| | | Label: 'Create base data' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component bCreateFullTable |
| | | { |
| | | #keys: '[414996.1.230731111]' |
| | |
| | | [ |
| | | Image: 'C_CLAMP' |
| | | Label: 'Create full table' |
| | | Taborder: 1 |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component rbgTimeUnit |
| | |
| | | ButtonLabels: 'Day;Week;Month' |
| | | ButtonValues: 'Day;Week;Month' |
| | | Orientation: 'horizontal' |
| | | Taborder: 2 |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component dhTimeUnit |
| | |
| | | Databinding: 'String*' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | |
| | | [* |
| | | if( not isnull( this.Data() )){ |
| | | binaryValue := dhXMLDataListener.Data( ).Export(); |
| | | Application.Download( MP_Cell_AnnualPlanReport::GetTableName() + "_" + DateTime::Now().Format( "YM2D2H2mmss" ) + ".xlsx", binaryValue.AsBinaryData() ); |
| | | Application.Download( ArchiveCell_AnnualPlanReport::GetTableName() + "_" + DateTime::Now().Format( "YM2D2H2mmss" ) + ".xlsx", binaryValue.AsBinaryData() ); |
| | | dhXMLDataListener.Data( ).Delete(); |
| | | } |
| | | *] |
| | |
| | | Properties: |
| | | [ |
| | | DataType: 'RecycleBin' |
| | | FixedFilter: 'object.Name() = MP_Cell_ScheduleSummary::GetTableName()' |
| | | FixedFilter: 'object.Name() = ArchiveCell_ScheduleSummary::GetTableName()' |
| | | Source: 'RecycleBin' |
| | | Taborder: 0 |
| | | Transformation: 'ExportXMLManager' |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 10 |
| | | Taborder: 9 |
| | | ] |
| | | } |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormScheduleSummaryReport/Component_PanelRibbon.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelRibbon |
| | | Component pRibbon |
| | | { |
| | | #keys: '[412672.1.94122014]' |
| | | BaseType: 'WebPanel' |
| | |
| | | Checked: true |
| | | Description: 'çæ¬¡' |
| | | Label: 'çæ¬¡' |
| | | Taborder: 2 |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component cbWorkday |
| | |
| | | Checked: true |
| | | Description: '工使¥' |
| | | Label: '工使¥' |
| | | Taborder: 3 |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component cbCapacity |
| | |
| | | Checked: true |
| | | Description: '产è½' |
| | | Label: '产è½' |
| | | Taborder: 4 |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | Component cbOutput |
| | |
| | | Checked: true |
| | | Description: '产é' |
| | | Label: '产é' |
| | | Taborder: 5 |
| | | Taborder: 4 |
| | | ] |
| | | } |
| | | Component dsStartDate id:dsStartDate_438 |
| | |
| | | Properties: |
| | | [ |
| | | Label: 'Start Date' |
| | | Taborder: 6 |
| | | Taborder: 5 |
| | | ] |
| | | } |
| | | Component dhStartDate id:dhStartDate_891 |
| | |
| | | Databinding: 'Date*' |
| | | Properties: |
| | | [ |
| | | Taborder: 7 |
| | | Taborder: 6 |
| | | ] |
| | | } |
| | | Component dsEndDate id:dsEndDate_963 |
| | |
| | | [ |
| | | Date: 9999-12-31 |
| | | Label: 'End Date' |
| | | Taborder: 8 |
| | | Taborder: 7 |
| | | ] |
| | | } |
| | | Component dhEndDate id:dhEndDate_384 |
| | |
| | | Databinding: 'Date*' |
| | | Properties: |
| | | [ |
| | | Taborder: 9 |
| | | Taborder: 8 |
| | | ] |
| | | } |
| | | Component bCreateFullTable |
| | |
| | | [ |
| | | Image: 'C_CLAMP' |
| | | Label: 'Create full table' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component bCreateBaseData |
| | | { |
| | | #keys: '[414996.1.104721297]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'C_CLAMP' |
| | | Label: 'Create base data' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | |
| | | [* |
| | | if( not isnull( this.Data() )){ |
| | | binaryValue := dhXMLDataListener.Data( ).Export(); |
| | | Application.Download( MP_Cell_ScheduleSummary::GetTableName() + "_" + DateTime::Now().Format( "YM2D2H2mmss" ) + ".xlsx", binaryValue.AsBinaryData() ); |
| | | Application.Download( ArchiveCell_ScheduleSummary::GetTableName() + "_" + DateTime::Now().Format( "YM2D2H2mmss" ) + ".xlsx", binaryValue.AsBinaryData() ); |
| | | dhXMLDataListener.Data( ).Delete(); |
| | | } |
| | | *] |
| | |
| | | { |
| | | Body: |
| | | [* |
| | | data := MP_Cell_ScheduleSummary::ExportOutputTemplate( Date::ActualDate().Year() ); |
| | | data := ArchiveCell_ScheduleSummary::ExportOutputTemplate( Date::ActualDate().Year() ); |
| | | |
| | | Application.Download( "产åºå¯¼å
¥æ¨¡æ¿.xlsx",data.AsBinaryData() ); |
| | | *] |
| | |
| | | generalExcelImportAndExportDataSource := GeneralExcelImportAndExportDataSource::Upload( RecycleBin, webFileBinaryData, fileName ); |
| | | generalExcelImportAndExportDataSource.ReadStructure(); |
| | | |
| | | MP_Cell_ScheduleSummary::ImportOutput( Archive,generalExcelImportAndExportDataSource); |
| | | ArchiveCell_ScheduleSummary::ImportOutput( Archive,generalExcelImportAndExportDataSource); |
| | | |
| | | // åç»å é¤ |
| | | generalExcelImportAndExportDataSource.Delete(); |
| | |
| | | } |
| | | |
| | | macroPlans := ApplicationMacroPlanner.GetLoadedMacroPlans(); |
| | | table := MP_Cell_ScheduleSummary::CreateFullTable( macroPlans,RecycleBin ,Archive, MacroPlan ); |
| | | table := ArchiveCell_ScheduleSummary::CreateFullTable( Archive ,RecycleBin, MacroPlan ); |
| | | |
| | | dhScheduleSummaryTable.Data( table ); |
| | | *] |
| | |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: PanelRibbon |
| | | #child: pRibbon |
| | | #child: pScheduleSummary |
| | | ] |
| | | Properties: |