已重命名2个文件
已添加79个文件
已修改2个文件
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation OfflinePlanArchiveColumn_Cell_OfflinePlanArchiveCell_Column |
| | | { |
| | | #keys: '1[415136.0.1246981202]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide Cell |
| | | { |
| | | #keys: '3[415136.0.1246981204][415136.0.1246981203][415136.0.1246981205]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: OfflinePlanArchiveColumn |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide Column |
| | | { |
| | | #keys: '3[415136.0.1246981207][415136.0.1246981206][415136.0.1246981208]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: OfflinePlanArchiveCell |
| | | OwningSide: 'Reference' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation OfflinePlanArchiveColumn_Version_OfflinePlanArchiveVersion_Column |
| | | { |
| | | #keys: '1[415136.0.1246981186]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide Version |
| | | { |
| | | #keys: '3[415136.0.1246981188][415136.0.1246981187][415136.0.1246981189]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: OfflinePlanArchiveColumn |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide Column |
| | | { |
| | | #keys: '3[415136.0.1246981191][415136.0.1246981190][415136.0.1246981192]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: OfflinePlanArchiveVersion |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation OfflinePlanArchiveRow_Cell_OfflinePlanArchiveCell_Row |
| | | { |
| | | #keys: '1[415136.0.1246981151]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide Cell |
| | | { |
| | | #keys: '3[415136.0.1246981153][415136.0.1246981152][415136.0.1246981154]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: OfflinePlanArchiveRow |
| | | OwningSide: 'Owned' |
| | | } |
| | | RelationSide.RightSide Row |
| | | { |
| | | #keys: '3[415136.0.1246981156][415136.0.1246981155][415136.0.1246981157]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: OfflinePlanArchiveCell |
| | | OwningSide: 'Reference' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation OfflinePlanArchiveRow_Version_OfflinePlanArchiveVersion_Row |
| | | { |
| | | #keys: '1[415136.0.1246981164]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide Version |
| | | { |
| | | #keys: '3[415136.0.1246981166][415136.0.1246981165][415136.0.1246981167]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: OfflinePlanArchiveRow |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide Row |
| | | { |
| | | #keys: '3[415136.0.1246981169][415136.0.1246981168][415136.0.1246981170]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: OfflinePlanArchiveVersion |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation OfflinePlanArchiveSearch_InterfaceDataset_InterfaceDataset_OfflinePlanArchiveSearch |
| | | { |
| | | #keys: '1[415136.0.1246981138]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide InterfaceDataset |
| | | { |
| | | #keys: '3[415136.0.1246981140][415136.0.1246981139][415136.0.1246981141]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: OfflinePlanArchiveSearch |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide OfflinePlanArchiveSearch |
| | | { |
| | | #keys: '3[415136.0.1246981143][415136.0.1246981142][415136.0.1246981144]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: InterfaceDataset |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation OfflinePlanArchiveVersion_InterfaceDataset_InterfaceDataset_OfflinePlanArchiveVersion |
| | | { |
| | | #keys: '1[415136.0.1246981125]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide InterfaceDataset |
| | | { |
| | | #keys: '3[415136.0.1246981127][415136.0.1246981126][415136.0.1246981128]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: OfflinePlanArchiveVersion |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide OfflinePlanArchiveVersion |
| | | { |
| | | #keys: '3[415136.0.1246981130][415136.0.1246981129][415136.0.1246981131]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: InterfaceDataset |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ID |
| | | { |
| | | #keys: '3[415136.0.1246981009][415136.0.1246981008][415136.0.1246981010]' |
| | | IsReadOnly: true |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsShow |
| | | { |
| | | #keys: '3[415136.0.1246981012][415136.0.1246981011][415136.0.1246981013]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Name |
| | | { |
| | | #keys: '3[415136.0.1246981015][415136.0.1246981014][415136.0.1246981016]' |
| | | Description: 'åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Name |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GenerateColumn ( |
| | | Dates periods, |
| | | String timeunit, |
| | | Date starttime, |
| | | Date endtime |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | mindate := min( periods, Elements, period, period ); |
| | | maxdate := max( periods, Elements, period, period ); |
| | | //æ¥è¯¢æ¥æè¿åéè¦å¨è®¡åæ¥æä¹å
|
| | | if( starttime < mindate and endtime > maxdate ){ |
| | | if( starttime < mindate ){ |
| | | starttime := mindate; |
| | | } |
| | | if( endtime > maxdate ){ |
| | | endtime := maxdate; |
| | | } |
| | | if( timeunit = Translations::MP_GlobalParameters_Day() ){ |
| | | for( start := starttime; start <= endtime; start := start.DateTime().StartOfNextDay().Date() ){ |
| | | periodname := start.Format( "M2/D2/Y" ); |
| | | if( not exists( this, Column, column, column.StartDate() = start ) ){ |
| | | this.Column( relnew, ColumnName := periodname, StartDate := start, EndDate := start, TimeUnit := Translations::MP_GlobalParameters_Day() ); |
| | | } |
| | | } |
| | | }else if( timeunit = Translations::MP_GlobalParameters_Week() ){ |
| | | // weekstartstr := ' KW'; |
| | | for( start := starttime; start <= endtime; start := start.StartOfNextWeek() ){ |
| | | weekend := ( start.StartOfNextWeek() - Duration::Days( 1 ) ).Date();//.Concat( weekstartstr.Concat( weekend.Week().Format( 'N(LPad0(2))' ) ) ) |
| | | |
| | | this.Column( relnew, ColumnName := weekend.Format( "M2/D2/Y" ), StartDate := start, EndDate := weekend, TimeUnit := Translations::MP_GlobalParameters_Week() ); |
| | | } |
| | | }else if( timeunit = Translations::MP_GlobalParameters_Month() ){ |
| | | for( start := starttime; start <= endtime; start := start.StartOfNextMonth() ){ |
| | | monthend := ( start.StartOfNextMonth() - Duration::Days( 1 ) ).Date();//.Concat( ' ' ).Concat( monthend.Format( "MM", us_locale ).Concat( '/').Concat( [String]monthend.Month() ).Concat( 'æ' ) ) |
| | | // us_locale := Locale::Construct( 'en_us' ); |
| | | this.Column( relnew, ColumnName := monthend.Format( "M2/D2/Y" ), StartDate := start, EndDate := monthend, TimeUnit := Translations::MP_GlobalParameters_Month() ); |
| | | } |
| | | } |
| | | } |
| | | //weekstart := periods.Element( 0 ); |
| | | //monthstart := periods.Element( 0 ); |
| | | //traverse( periods, Elements, periodtime ){ |
| | | // periodname := periodtime.Format( "M2/D2/Y" ); |
| | | // |
| | | // this.Column( relnew, Name := periodname, StartDate := periodtime, EndDate := periodtime, TimeUnit := Translations::MP_GlobalParameters_Day() ); |
| | | // |
| | | // if( periodtime = weekstart ){ |
| | | // weekperiodname := weekstart.Format( "M2/D2/Y" ); |
| | | // this.Column( relnew, Name := weekperiodname, StartDate := weekstart, EndDate := ( weekstart + Duration::Days( 6 ) ).Date(), TimeUnit := Translations::MP_GlobalParameters_Week() ); |
| | | // weekstart := ( weekstart + Duration::Days( 7 ) ).Date(); |
| | | // } |
| | | // if( periodtime = monthstart ){ |
| | | // monthperiodname := monthstart.Format( "M2/D2/Y" ); |
| | | // enddate := ( monthstart.StartOfNextMonth() - Duration::Days( 1 ) ).Date(); |
| | | // this.Column( relnew, Name := monthperiodname, StartDate := monthstart, EndDate := enddate, TimeUnit := Translations::MP_GlobalParameters_Month() ); |
| | | // monthstart := monthstart.StartOfNextMonth(); |
| | | // } |
| | | //} |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetColumnByTimeUnit ( |
| | | String unit, |
| | | Date period |
| | | ) as OfflinePlanArchiveColumn |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-7-2024 (created) |
| | | |
| | | column := selectobject( this, Column, column, column.StartDate() <= period and column.EndDate() >= period and column.TimeUnit() = unit ); |
| | | |
| | | return column; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetRow ( |
| | | const AssemblyOnlinePlanRow aoprow |
| | | ) as OfflinePlanArchiveRow |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Oct-11-2024 (created) |
| | | row := selectobject( this, Row, row, row.ProductID() = aoprow.ProductID() and row.ProductionLine() = aoprow.ProductionLine() and row.Type() = aoprow.Type() ); |
| | | |
| | | if( isnull( row ) ){ |
| | | row := this.Row( relnew, ProductID := aoprow.ProductID(), ProductionLine := aoprow.ProductionLine(), Type := aoprow.Type() ); |
| | | //åå§ååå
æ ¼ |
| | | row.InitializeCell(); |
| | | } |
| | | |
| | | return row; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GenerateData ( |
| | | InterfaceDataset interface, |
| | | RecycleBin recycle, |
| | | const Archive archive |
| | | ) |
| | | { |
| | | Description: 'çæå¯ä»¥ä¸åç客æ·éæ±ï¼PPA+IDSï¼æ°æ®' |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-20-2024 (created) |
| | | interface.CustomerDemandIDS( relflush ); |
| | | interface.CustomerDemandIDSSearch( relflush ); |
| | | allunit := CustomerDemandIDS::GetDefaultAllUnit(); |
| | | interface.CustomerDemandIDSSearch( relnew, Generation := allunit, MqbMlb := allunit, Power := allunit, TimeUnit := Translations::MP_GlobalParameters_Day(), Unit := allunit ); |
| | | idstable := interface.CustomerDemandIDS( relnew, ID := '客æ·éæ±', Name := '客æ·éæ±' ); |
| | | binaryValue := TemplateManager::GetIDSFullTable( archive, Date::ActualDate().Year() ); |
| | | source := GeneralExcelImportAndExportDataSource::Upload( recycle, binaryValue, OS::TempPath() + "template.xlsx" ); |
| | | source.ReadStructure(); |
| | | Transaction::Transaction().Propagate( attribute( GeneralExcelImportAndExportDataColumn, ColumnIndex ) ); |
| | | cnv2 := StringToDate::StandardConverter(); |
| | | cnv2.SetCustomConversion(); |
| | | cnv2.CustomFormatString( "yyyy/MM/dd" ); |
| | | idsdates := selectuniquevalues( source, GeneralExcelImportAndExportDataTable.GeneralExcelImportAndExportDataColumn, column, column.ColumnIndex() > 2, cnv2.Convert( column.Name() ) ); |
| | | ppadates := selectuniquevalues( interface, InterfaceForecast, forecast, forecast.Origin() = 'PPA', forecast.Date() ); |
| | | //ppadates := construct( Dates ); |
| | | //traverse( macroplan, SalesDemand.astype( Forecast ), forecast, forecast.Origin() = 'PPA' ){ |
| | | // ppadates := ppadates.Union( selectuniquevalues( forecast, PlanningSalesDemandInPeriod, salesdemand, salesdemand.StartDate() ) ); |
| | | //} |
| | | periods := idsdates.Union( ppadates ); |
| | | periods := selectuniquevalues( periods, Elements, e, e ); |
| | | idstable.GenerateColumn( periods.Sort() ); |
| | | traverse( recycle, GeneralExcelImportAndExportDataSource.GeneralExcelImportAndExportDataTable, table ){ |
| | | traverse( table, GeneralExcelImportAndExportDataRow, row ){ |
| | | productcell := selectobject( row, GeneralExcelImportAndExportDataCell, cell, cell.GeneralExcelImportAndExportDataColumn().ColumnIndex() = 2 ); |
| | | factorycell := selectobject( row, GeneralExcelImportAndExportDataCell, cell, cell.GeneralExcelImportAndExportDataColumn().ColumnIndex() = 0 ); |
| | | idsrow := idstable.GetRowByUnit( productcell.Value(), factorycell.Value() ); |
| | | traverse( row, GeneralExcelImportAndExportDataCell, cell, cell.GeneralExcelImportAndExportDataColumn().ColumnIndex() > 2 ){ |
| | | period := cnv2.Convert( cell.GeneralExcelImportAndExportDataColumn().Name() ); |
| | | daycolumn := idstable.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Day(), period ); |
| | | weekcolumn := idstable.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Week(), period ); |
| | | monthcolumn := idstable.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Month(), period ); |
| | | idsrow.SetCellValue( daycolumn, [Number]cell.Value() ); |
| | | idsrow.SetCellValue( weekcolumn, [Number]cell.Value() ); |
| | | idsrow.SetCellValue( monthcolumn, [Number]cell.Value() ); |
| | | } |
| | | } |
| | | } |
| | | traverse( interface, InterfaceForecast, forecast, forecast.Origin() = 'PPA' ){ |
| | | idsrow := idstable.GetRowByUnit( forecast.PartNumber(), forecast.Factory() ); |
| | | daycolumn := idstable.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Day(), forecast.Date() ); |
| | | weekcolumn := idstable.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Week(), forecast.Date() ); |
| | | monthcolumn := idstable.GetColumnByTimeUnit( Translations::MP_GlobalParameters_Month(), forecast.Date() ); |
| | | idsrow.SetCellValue( daycolumn, [Number]forecast.Quantity() ); |
| | | idsrow.SetCellValue( weekcolumn, [Number]forecast.Quantity() ); |
| | | idsrow.SetCellValue( monthcolumn, [Number]forecast.Quantity() ); |
| | | } |
| | | |
| | | source.Delete(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetDefaultAllUnit () const declarative as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | return '<All>'; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetDefaultName () const declarative as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | return 'è£
é
ä¸çº¿è®¡åå
¨é表'; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod RefreshData ( |
| | | InterfaceDataset interface, |
| | | const MacroPlan macroPlan |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | //æ ¹æ®å½åçæ¬çè£
é
ä¸çº¿è®¡å |
| | | allunit := AssemblyOnlinePlanVersion::GetDefaultAllUnit(); |
| | | name := AssemblyOnlinePlanVersion::GetDefaultName(); |
| | | search := interface.AssemblyOnlinePlanVersionSearch( relnew, Product := allunit, ProductionLine := allunit, TimeUnit := Translations::MP_GlobalParameters_Day(), Unit := allunit, StartDate := Date::MinDate(), EndDate := Date::MaxDate() ); |
| | | table := selectobject( interface, AssemblyOnlinePlanVersion, version, not version.IsShow() ); |
| | | if( isnull( table ) ){ |
| | | table := interface.AssemblyOnlinePlanVersion( relnew, ID := name, Name := name ); |
| | | } |
| | | showtable := selectobject( interface, AssemblyOnlinePlanVersion, version, version.IsShow() ); |
| | | if( isnull( table ) ){ |
| | | showtable := interface.AssemblyOnlinePlanVersion( relnew, ID := name, Name := name, IsShow := true ); |
| | | } |
| | | aopcolumns := selectuniquevalues( macroPlan, AssemblyOnlinePlanColumn, aopcolumn, not exists( table, Column, column, column.TimeUnit() = Translations::MP_GlobalParameters_Day() and column.StartDate() = aopcolumn.ColumnDate() ), aopcolumn.ColumnDate() ); |
| | | table.GenerateColumn( aopcolumns, search.TimeUnit(), search.StartDate(), search.EndDate() ); |
| | | traverse( macroPlan, AssemblyOnlinePlanRow, aoprow ){ |
| | | row := table.GetRow( aoprow ); |
| | | traverse( aoprow, AssemblyOnlinePlanCell, aopcell ){ |
| | | column := selectobject( table, Column, column, column.TimeUnit() = Translations::MP_GlobalParameters_Day() and column.StartDate() = aopcell.AssemblyOnlinePlanColumn().ColumnDate() ); |
| | | cell := selectobject( row, Cell, cell, cell.Column() = column ); |
| | | cell.InventoryWeight( aopcell.InventoryWeight() ); |
| | | cell.ProductionSerialNumber( aopcell.ProductionSerialNumber() ); |
| | | cell.Quantity( aopcell.Quantity() ); |
| | | cell.Shift( aopcell.Shift() ); |
| | | cell.Value( aopcell.Value() ); |
| | | } |
| | | } |
| | | //showtable.Generate( search, products ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type OfflinePlanArchiveVersion |
| | | { |
| | | #keys: '5[415136.0.1246981006][415136.0.1246981004][0.0.0][415136.0.1246981005][415136.0.1246981007]' |
| | | BaseType: Object |
| | | Description: 'ä¸çº¿è®¡ååæ¡£å
¨è¡¨æ°æ®' |
| | | StructuredName: 'OfflinePlanArchiveVersions' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute InventoryWeight |
| | | { |
| | | #keys: '3[415136.0.1246981072][415136.0.1246981071][415136.0.1246981073]' |
| | | Description: 'å©ä½åºå - æå°åºå' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductionSerialNumber |
| | | { |
| | | #keys: '3[415136.0.1246981075][415136.0.1246981074][415136.0.1246981076]' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Quantity |
| | | { |
| | | #keys: '3[415136.0.1246981078][415136.0.1246981077][415136.0.1246981079]' |
| | | ValueType: Real |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Shift |
| | | { |
| | | #keys: '3[415136.0.1246981081][415136.0.1246981080][415136.0.1246981082]' |
| | | Description: 'çæ¬¡' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Value |
| | | { |
| | | #keys: '3[415136.0.1246981084][415136.0.1246981083][415136.0.1246981085]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Shift |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Value |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Download ( |
| | | MacroPlan macroPlan |
| | | ) as BinaryValue |
| | | { |
| | | TextBody: |
| | | [* |
| | | xmlDOMI := XMLDOMImplementation::Create(); |
| | | xmlDOM := xmlDOMI.CreateDocumentFromString( '<?xml version="1.0" encoding="UTF-16"?><table><name>Sheet1</name></table>' ); |
| | | |
| | | tableElement := xmlDOM.GetElementByTagName( "table", 0 ); |
| | | |
| | | opcs := selectsortedset( macroPlan, AssemblyOnlinePlanColumn, tempOPC, true, tempOPC.ColumnDate() ); |
| | | oprs := selectsortedset( macroPlan, AssemblyOnlinePlanRow, tempOPR, true, tempOPR.ProductionLine(), tempOPR.ProductID(), tempOPR.Type() ); |
| | | traverse ( opcs, Elements, opc ) { |
| | | column := xmlDOM.CreateElement( "column" ); |
| | | name := xmlDOM.CreateElement( "name" ); |
| | | type := xmlDOM.CreateElement( "type" ); |
| | | name.TextContent( ifexpr( opc.ColumnDate() < macroPlan.StartOfPlanning().Date(), "", opc.ColumnDate().Format( "Y/M2/D2" ) ) ); |
| | | type.TextContent( "String" ); |
| | | column.AppendChild( name ); |
| | | column.AppendChild( type ); |
| | | |
| | | traverse ( oprs, Elements, opr ) { |
| | | c := select( opc, AssemblyOnlinePlanCell, tempOPC, tempOPC.AssemblyOnlinePlanRow() = opr ); |
| | | cell := xmlDOM.CreateElement( "cell" ); |
| | | cell.SetAttribute( "value", guard( c.Value(), "" ) ); |
| | | column.AppendChild( cell ); |
| | | } |
| | | |
| | | tableElement.AppendChild( column ); |
| | | } |
| | | |
| | | xmlString := xmlDOMI.CreateSerializer().WriteToString( xmlDOM ) |
| | | |
| | | //info( xmlString ); |
| | | |
| | | tableGroupHandle := TableGroupHandle::Create( "Sheet1" ); |
| | | tableHandle := TableHandle::ImportXML( BinaryValue::Construct( xmlString ) ); |
| | | tableGroupHandle.Add( tableHandle ); |
| | | |
| | | binaryData := XLS::SaveTableGroupToBinaryData( tableGroupHandle, true ); |
| | | |
| | | return binaryData.AsBinaryValue(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type OfflinePlanArchiveCell |
| | | { |
| | | #keys: '5[415136.0.1246981069][415136.0.1246981067][0.0.0][415136.0.1246981068][415136.0.1246981070]' |
| | | BaseType: Object |
| | | Description: 'ä¸çº¿è®¡ååæ¡£åå
æ ¼' |
| | | StructuredName: 'OfflinePlanArchiveCells' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ColumnIndex |
| | | { |
| | | #keys: '3[415136.0.1246981095][415136.0.1246981094][415136.0.1246981096]' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ColumnName |
| | | { |
| | | #keys: '3[415136.0.1246981098][415136.0.1246981097][415136.0.1246981099]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute EndDate |
| | | { |
| | | #keys: '3[415136.0.1246981101][415136.0.1246981100][415136.0.1246981102]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StartDate |
| | | { |
| | | #keys: '3[415136.0.1246981104][415136.0.1246981103][415136.0.1246981105]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute TimeUnit |
| | | { |
| | | #keys: '3[415136.0.1246981107][415136.0.1246981106][415136.0.1246981108]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ColumnName |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: TimeUnit |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type OfflinePlanArchiveColumn |
| | | { |
| | | #keys: '5[415136.0.1246981092][415136.0.1246981090][0.0.0][415136.0.1246981091][415136.0.1246981093]' |
| | | BaseType: Object |
| | | Description: 'ä¸çº¿è®¡ååæ¡£å' |
| | | StructuredName: 'OfflinePlanArchiveColumns' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductID |
| | | { |
| | | #keys: '3[415136.0.1246981052][415136.0.1246981051][415136.0.1246981053]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductionLine |
| | | { |
| | | #keys: '3[415136.0.1246981055][415136.0.1246981054][415136.0.1246981056]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute RowNr |
| | | { |
| | | #keys: '3[415136.0.1246981058][415136.0.1246981057][415136.0.1246981059]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Type |
| | | { |
| | | #keys: '3[415136.0.1246981061][415136.0.1246981060][415136.0.1246981062]' |
| | | Description: |
| | | [* |
| | | 产线åè¡ ï¼0 |
| | | Quantityè¡ï¼1 |
| | | Orderè¡ ï¼2 |
| | | åè®¡è¡ ï¼3 |
| | | çæ¬¡è¡ ï¼4 |
| | | *] |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ProductID |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ProductionLine |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: RowNr |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Type |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Initialize ( |
| | | OfflinePlanArchiveColumn column |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-24-2024 (created) |
| | | cell := this.Cell( relnew, InventoryWeight := 0, ProductionSerialNumber := 0, Quantity := 0, Shift := '', Value := '' ); |
| | | |
| | | column.Cell( relinsert, cell ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method InitializeCell |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-28-2024 (created) |
| | | traverse( this.Version(), Column, column ){ |
| | | this.Initialize( column ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type OfflinePlanArchiveRow |
| | | { |
| | | #keys: '5[415136.0.1246981049][415136.0.1246981047][0.0.0][415136.0.1246981048][415136.0.1246981050]' |
| | | BaseType: Object |
| | | Description: 'ä¸çº¿è®¡ååæ¡£è¡' |
| | | StructuredName: 'OfflinePlanArchiveRows' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute EndDate |
| | | { |
| | | #keys: '3[415136.0.1246981026][415136.0.1246981025][415136.0.1246981027]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Product |
| | | { |
| | | #keys: '3[415136.0.1246981029][415136.0.1246981028][415136.0.1246981030]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ProductionLine |
| | | { |
| | | #keys: '3[415136.0.1246981032][415136.0.1246981031][415136.0.1246981033]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StartDate |
| | | { |
| | | #keys: '3[415136.0.1246981035][415136.0.1246981034][415136.0.1246981036]' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute TimeUnit |
| | | { |
| | | #keys: '3[415136.0.1246981038][415136.0.1246981037][415136.0.1246981039]' |
| | | Description: 'æ¥æç±»å' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Unit |
| | | { |
| | | #keys: '3[415136.0.1246981041][415136.0.1246981040][415136.0.1246981042]' |
| | | Description: '产线' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Product |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: ProductionLine |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: TimeUnit |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Unit |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type OfflinePlanArchiveSearch |
| | | { |
| | | #keys: '5[415136.0.1246981023][415136.0.1246981021][0.0.0][415136.0.1246981022][415136.0.1246981024]' |
| | | BaseType: Object |
| | | Description: 'ä¸çº¿è®¡ååæ¡£æ¥è¯¢ç±»' |
| | | StructuredName: 'OfflinePlanArchiveSearchs' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ActionBarGroupArchive |
| | | { |
| | | #keys: '[415136.0.1248981101]' |
| | | BaseType: 'WebActionBarGroup' |
| | | Children: |
| | | [ |
| | | Component ButtonArchive |
| | | { |
| | | #keys: '[415136.0.1248981186]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'INBOX_INTO' |
| | | Label: 'ç¡®è®¤åæ¡£' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ActionBarGroupArchiveReport |
| | | { |
| | | #keys: '[415136.0.1248981306]' |
| | | BaseType: 'WebActionBarGroup' |
| | | Children: |
| | | [ |
| | | Component ButtonCustomerDemandPPAIDS id:ButtonCustomerDemandPPAIDS_844 |
| | | { |
| | | #keys: '[415136.0.1248981343]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'FLAG_AMBER' |
| | | Label: '客æ·éæ±(PPA + IDS)' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component ButtonAssemblyOnlinePlanVersion id:ButtonAssemblyOnlinePlanVersion_858 |
| | | { |
| | | #keys: '[415136.0.1248981366]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'Document' |
| | | Label: 'è£
é
ä¸çº¿è®¡å' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ActionBarGroupPublish |
| | | { |
| | | #keys: '[415136.0.1248981225]' |
| | | BaseType: 'WebActionBarGroup' |
| | | Children: |
| | | [ |
| | | Component ButtonPublish |
| | | { |
| | | #keys: '[415136.0.1248981274]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'INBOX_OUT' |
| | | Label: 'åå¸è®¡å' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | |
| | | Taborder: 11 |
| | | ] |
| | | } |
| | | Component ButtonCustomerDemandPPAIDS |
| | | { |
| | | #keys: '[415136.0.1123430252]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'FLAG_AMBER' |
| | | Label: '客æ·éæ±(PPA + IDS)' |
| | | Taborder: 12 |
| | | ] |
| | | } |
| | | Component ButtonAssemblyOnlinePlanVersion |
| | | { |
| | | #keys: '[415136.0.1201203922]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'Document' |
| | | Label: 'Assembly online plan version' |
| | | Taborder: 13 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ActionBarPageArchivePublish |
| | | { |
| | | #keys: '[415136.0.1248981100]' |
| | | BaseType: 'WebActionBarPage' |
| | | Children: |
| | | [ |
| | | #child: ActionBarGroupArchiveReport |
| | | #child: ActionBarGroupArchive |
| | | #child: ActionBarGroupPublish |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 24 |
| | | Title: 'Archive & publish' |
| | | ] |
| | | } |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ActionBarGroupReport_ButtonAssemblyOnlinePlanVersion_O.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ActionBarGroupReport/ButtonAssemblyOnlinePlanVersion |
| | | Response OnClick () id:Response_MacroPlanner_ActionBarGroupReport_ButtonAssemblyOnlinePlanVersion_OnClick |
| | | #parent: ActionBarGroupArchiveReport/ButtonAssemblyOnlinePlanVersion_858 |
| | | Response OnClick () id:Response_MacroPlanner_ActionBarGroupReport_ButtonAssemblyOnlinePlanVersion_OnClick_545 |
| | | { |
| | | #keys: '[415136.0.1201203950]' |
| | | #keys: '[415136.0.1248981365]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_ApplicationMacroPlanner/Response_MacroPlanner_ActionBarGroupReport_ButtonCustomerDemandPPAIDS_OnClic.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ActionBarGroupReport/ButtonCustomerDemandPPAIDS |
| | | Response OnClick () id:Response_MacroPlanner_ActionBarGroupReport_ButtonCustomerDemandPPAIDS_OnClick |
| | | #parent: ActionBarGroupArchiveReport/ButtonCustomerDemandPPAIDS_844 |
| | | Response OnClick () id:Response_MacroPlanner_ActionBarGroupReport_ButtonCustomerDemandPPAIDS_OnClick_603 |
| | | { |
| | | #keys: '[415136.0.1123430434]' |
| | | #keys: '[415136.0.1248981342]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ActionBarGroupArchive/ButtonArchive |
| | | Response OnClick () id:Response_MacroPlanner_ActionBarGroupArchive_ButtonArchive_OnClick |
| | | { |
| | | #keys: '[415136.0.1248982719]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | dlg := construct( DialogReportArchiveConfirm ); |
| | | |
| | | ApplicationMacroPlanner.ShowFormModal( dlg ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
| | |
| | | #child: abpAlgorithmPostProcessing |
| | | #child: ActionBarPagePlan |
| | | #child: ActionBarPageReport |
| | | #child: ActionBarPageArchivePublish |
| | | ] |
| | | } |
| | | Component dhBinaryDataPR id:dhBinaryDataPR_688 |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnTransferPlan |
| | | { |
| | | #keys: '[415136.0.1248982334]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblTransferPlan |
| | | { |
| | | #keys: '[415136.0.1248982395]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'è°æ¨è®¡å' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbTransferPlan |
| | | { |
| | | #keys: '[415136.0.1248982408]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 6 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlActions |
| | | { |
| | | #keys: '[415136.0.1249021374]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component btnOk |
| | | { |
| | | #keys: '[415136.0.1249021378]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'OK' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component btnCancel |
| | | { |
| | | #keys: '[415136.0.1249021380]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Label: 'Cancel' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | Border: true |
| | | ExcludeFromActiveComponent: true |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Padding: 'true' |
| | | Style: 'footer' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlAll |
| | | { |
| | | #keys: '[415136.0.1248982528]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblAll |
| | | { |
| | | #keys: '[415136.0.1248982547]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'All' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbAll |
| | | { |
| | | #keys: '[415136.0.1248982560]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 8 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlAssembleOnlinePlan |
| | | { |
| | | #keys: '[415136.0.1248982105]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblAssembleOnlinePlan |
| | | { |
| | | #keys: '[415136.0.1248982137]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'è£
é
ä¸çº¿è®¡å' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbAssembleOnlinePlan |
| | | { |
| | | #keys: '[415136.0.1248982156]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlContent |
| | | { |
| | | #keys: '[415136.0.1249021372]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: pnlCustomDemand |
| | | #child: pnlOfflinePlan |
| | | #child: pnlShiftPlan |
| | | #child: pnlAssembleOnlinePlan |
| | | #child: pnlInventoryPlan |
| | | #child: pnlTRCDemand |
| | | #child: pnTransferPlan |
| | | #child: pnlPackagePlan |
| | | #child: pnlAll |
| | | ] |
| | | Properties: |
| | | [ |
| | | Padding: 'true' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlCustomDemand |
| | | { |
| | | #keys: '[415136.0.1249021457]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblCustomDemand |
| | | { |
| | | #keys: '[415136.0.1249021484]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'å
¨å¹´æ¥åº¦éæ±' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbCustomDemand |
| | | { |
| | | #keys: '[415136.0.1249021506]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlInventoryPlan |
| | | { |
| | | #keys: '[415136.0.1248982197]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblInventoryPlan |
| | | { |
| | | #keys: '[415136.0.1248982216]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: '计ååºå' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbInventoryPlan |
| | | { |
| | | #keys: '[415136.0.1248982234]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 4 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlOfflinePlan |
| | | { |
| | | #keys: '[415136.0.1248981964]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblOfflinePlan |
| | | { |
| | | #keys: '[415136.0.1248981983]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'ä¸çº¿è®¡å' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbOfflinePlan |
| | | { |
| | | #keys: '[415136.0.1248982001]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlPackagePlan |
| | | { |
| | | #keys: '[415136.0.1248982458]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblPackagePlan |
| | | { |
| | | #keys: '[415136.0.1248982482]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'å
è£
计å' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbPackagePlan |
| | | { |
| | | #keys: '[415136.0.1248982495]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 7 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlShiftPlan |
| | | { |
| | | #keys: '[415136.0.1248982028]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblShiftPlan |
| | | { |
| | | #keys: '[415136.0.1248982053]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'çæ¬¡è®¡å' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbShiftPlan |
| | | { |
| | | #keys: '[415136.0.1248982071]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component pnlTRCDemand |
| | | { |
| | | #keys: '[415136.0.1248982267]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component lblTRCDemand |
| | | { |
| | | #keys: '[415136.0.1248982287]' |
| | | BaseType: 'WebLabel' |
| | | Properties: |
| | | [ |
| | | Label: 'TRCéæ±' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component cbTRCDemand |
| | | { |
| | | #keys: '[415136.0.1248982300]' |
| | | BaseType: 'WebCheckbox' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 5 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method OnOK () id:Method_DialogReportArchiveConfirm_OnOK |
| | | { |
| | | #keys: '[415136.0.1248982978]' |
| | | Body: |
| | | [* |
| | | this.ApplyChanges(); |
| | | info( '------------------',cbCustomDemand.Checked() |
| | | ,cbOfflinePlan.Checked() |
| | | ,cbShiftPlan.Checked() |
| | | ,cbAssembleOnlinePlan.Checked() |
| | | ,cbInventoryPlan.Checked() |
| | | ,cbTRCDemand.Checked() |
| | | ,cbTransferPlan.Checked() |
| | | ,cbPackagePlan.Checked() ); |
| | | showlabel := 'æ¯å¦åæ¡£'; |
| | | if( cbCustomDemand.Checked() |
| | | or cbOfflinePlan.Checked() |
| | | or cbShiftPlan.Checked() |
| | | or cbAssembleOnlinePlan.Checked() |
| | | or cbInventoryPlan.Checked() |
| | | or cbTRCDemand.Checked() |
| | | or cbTransferPlan.Checked() |
| | | or cbPackagePlan.Checked() ){ |
| | | 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() ); |
| | | } |
| | | if( cbTRCDemand.Checked() ){ |
| | | plannames.Add( lblTRCDemand.Label() ); |
| | | } |
| | | if( cbTransferPlan.Checked() ){ |
| | | plannames.Add( lblTransferPlan.Label() ); |
| | | } |
| | | if( cbPackagePlan.Checked()){ |
| | | plannames.Add( lblPackagePlan.Label() ); |
| | | } |
| | | showlabel := showlabel.Concat( plannames.Concatenate( "ã" ) ).Concat( 'ï¼' ); |
| | | info( '*****************************' ); |
| | | if( WebMessageBox::Question( this, showlabel, 'OK|Cancel' ) = 0 ){ |
| | | } |
| | | }else{ |
| | | info( '************###########*****************' ); |
| | | WebMessageBox::Information( this, 'æªéæ©ä»»ä½è®¡åè¿è¡åæ¡£' ) |
| | | } |
| | | |
| | | this.Close(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnCancel |
| | | Response OnClick () id:Response_pnlActions_btnCancel_OnClick |
| | | { |
| | | #keys: '[415136.0.1249021384]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.Close(); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlActions/btnOk |
| | | Response OnClick () id:Response_pnlActions_btnOk_OnClick |
| | | { |
| | | #keys: '[415136.0.1249021383]' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | Form.OnOK() |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: pnlAll/cbAll |
| | | Response OnChanged () id:Response_pnlAll_cbAll_OnChanged |
| | | { |
| | | #keys: '[415136.0.1248982870]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebCheckbox_OnChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( this.Checked() ){ |
| | | cbCustomDemand.Checked( true ); |
| | | cbOfflinePlan.Checked( true ); |
| | | cbShiftPlan.Checked( true ); |
| | | cbAssembleOnlinePlan.Checked( true ); |
| | | cbInventoryPlan.Checked( true ); |
| | | cbTRCDemand.Checked( true ); |
| | | cbTransferPlan.Checked( true ); |
| | | cbPackagePlan.Checked( true ); |
| | | }else{ |
| | | cbCustomDemand.Checked( false ); |
| | | cbOfflinePlan.Checked( false ); |
| | | cbShiftPlan.Checked( false ); |
| | | cbAssembleOnlinePlan.Checked( false ); |
| | | cbInventoryPlan.Checked( false ); |
| | | cbTRCDemand.Checked( false ); |
| | | cbTransferPlan.Checked( false ); |
| | | cbPackagePlan.Checked( false ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent DialogReportArchiveConfirm |
| | | { |
| | | #keys: '[415136.0.1249021370]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: pnlContent |
| | | #child: pnlActions |
| | | ] |
| | | Properties: |
| | | [ |
| | | Alignment: 'trailing' |
| | | EnterButton: 'btnOk' |
| | | EscapeButton: 'btnCancel' |
| | | ExcludeFromActiveComponent: true |
| | | Image: 'INBOX_INTO' |
| | | Padding: 'false' |
| | | Title: 'ç¡®è®¤åæ¡£' |
| | | ] |
| | | } |