修复一些bug,添加锁定期功能,添加实际生产数据展示报表
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Synchronize ( |
| | | InterfaceDataset interfaceDataset, |
| | | String executor, |
| | | Date startDate, |
| | | Date endDate |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // rislai Jul-23-2024 (created) |
| | | for( i := startDate; i <= endDate; i := i+1 ){ |
| | | ActualDailyProductionData::Synchronize( interfaceDataset, executor, i ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | [* |
| | | // rislai Jul-23-2024 (created) |
| | | date := Date::ActualDate() - 1; |
| | | loginfo := interfaceDataset.InterfaceLoginfo( relnew, ExecuteUser := executor |
| | | , Name := Translations::InterfaceDataset_ActualDailyProductionData_Name() |
| | | , InterfaceDateTime := DateTime::ActualTime() |
| | | , Message := 'ç产å®é
æ°æ®' |
| | | , RequestBody := ActualDailyProductionData::GetRequestBody( date ) ); |
| | | |
| | | data := InterfaceLoginfo::CallInterface( interfaceDataset,loginfo ); |
| | | |
| | | options := DatasetFindOptions::Construct( 'Archive' ).IncludeOffline( true ); //to load we must search offline datasets. |
| | | mdskey := DatasetController::FindUnique( options ); |
| | | |
| | | MDSArchive::Root( mdskey ) -> ActualDailyProductionData::ParseData( data ); |
| | | ActualDailyProductionData::Synchronize( interfaceDataset,executor,date ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Synchronize ( |
| | | InterfaceDataset interfaceDataset, |
| | | String executor, |
| | | Date date |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // rislai Jul-23-2024 (created) |
| | | loginfo := interfaceDataset.InterfaceLoginfo( relnew, ExecuteUser := executor |
| | | , Name := Translations::InterfaceDataset_ActualDailyProductionData_Name() |
| | | , InterfaceDateTime := DateTime::ActualTime() |
| | | , Message := 'ç产å®é
æ°æ®' |
| | | , RequestBody := ActualDailyProductionData::GetRequestBody( date ) ); |
| | | |
| | | data := InterfaceLoginfo::CallInterface( interfaceDataset,loginfo ); |
| | | |
| | | options := DatasetFindOptions::Construct( 'Archive' ).IncludeOffline( true ); //to load we must search offline datasets. |
| | | mdskey := DatasetController::FindUnique( options ); |
| | | |
| | | MDSArchive::Root( mdskey ) -> ActualDailyProductionData::ParseData( data ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Disable |
| | | { |
| | | TextBody: |
| | | [* |
| | | // Akari Nov-1-2024 (created) |
| | | if( this.IsEnable()){ |
| | | this.IsEnable( false ); |
| | | |
| | | pispips := selectset( this,ProductInStockingPoint_MP.ProductInStockingPointInPeriod.astype( ProductInStockingPointInPeriodPlanningLeaf ),period,period.Period_MP().StartDate() <= this.LockDate() ); |
| | | traverse( pispips,Elements,element ){ |
| | | element.IsLock( false ); |
| | | } |
| | | |
| | | ProductInStockingPointInPeriod::LockUnlockPlanning( pispips, false, true ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | TextBody: |
| | | [* |
| | | // Akari Oct-30-2024 (created) |
| | | offlinePlanRow := select( offlinePlanTable,NewOfflinePlanRow,row,row.ProductID() = this.ProductInStockingPoint_MP().ProductID() ); |
| | | offlinePlanRow := select( offlinePlanTable,NewOfflinePlanRow,row,row.ProductID() = this.ProductInStockingPoint_MP().ProductID() and row.StockingPointID() = this.ProductInStockingPoint_MP().StockingPointID() ); |
| | | |
| | | offlinePlanCells := selectset( offlinePlanRow, NewOfflinePlanCell,cell,true ); |
| | | offlinePlanCellIndexTree := NamedValueTree::Create(); |
| | | for( i := 0; i< offlinePlanCells.Size(); i++ ){ |
| | | offlinePlanCell := offlinePlanCells.Element( i ); |
| | | offlinePlanCellHandle := offlinePlanCellIndexTree.GetHandle( offlinePlanCell.NewOfflinePlanColumn().StartDate().AsQUILL() ); |
| | | offlinePlanCellIndexTree.Root().AddChild( offlinePlanCellHandle,i ); |
| | | } |
| | | |
| | | |
| | | if( not this.IsEnable() ){ |
| | | this.IsEnable( true ); |
| | | |
| | | pispips := selectset( this,ProductInStockingPoint_MP.ProductInStockingPointInPeriod.astype( ProductInStockingPointInPeriodPlanningLeaf ),period,period.Period_MP().StartDate() <= this.LockDate() ); |
| | | traverse( pispips,Elements,element ){ |
| | | element.IsLock( true ); |
| | | offlinePlanCellHandle := offlinePlanCellIndexTree.GetHandle( element.Period_MP().StartDate().AsQUILL() ); |
| | | offlinePlanCellIndex := guard( offlinePlanCellIndexTree.Root().Child( offlinePlanCellHandle),null( NamedValue )); |
| | | offlinePlanCellQuantity := 0.0; |
| | | if( not isnull( offlinePlanCellIndex )){ |
| | | offlinePlanCell := offlinePlanCells.Element( offlinePlanCellIndex.GetValueAsNumber() ); |
| | | offlinePlanCellQuantity := offlinePlanCell.Quantity(); |
| | | } |
| | | if( element.NewSupply( relsize ) = 1 ){ |
| | | traverse( element,NewSupply,newSupply ){ |
| | | |
| | | newSupply.Update( offlinePlanCellQuantity ); |
| | | } |
| | | }else if( element.NewSupply( relsize ) > 1 ){ |
| | | |
| | | newSupplys := selectset( element,NewSupply,newSupply,true ); |
| | | for( i := 1; i < newSupplys.Size(); i++ ){ |
| | | newSupply := newSupplys.Element( i ); |
| | | newSupply.Update( 0.0 ); |
| | | } |
| | | newSupplys.Element( 0 ).Update( offlinePlanCellQuantity ) |
| | | }else if( element.NewSupply( relsize ) = 0 ){ |
| | | if( offlinePlanCellQuantity <> 0 ){ |
| | | info( "new supply is null" ); |
| | | unit := element.StockingPointInPeriod().StockingPoint_MP().Unit(); |
| | | operaction := select( unit,Operation,op,true ); |
| | | // PeriodTaskOperation::Create( ) |
| | | } |
| | | |
| | | |
| | | if( not isnull( operaction )){ |
| | | info( "operaction is null" ); |
| | | // unitPeriod := element.Period_MP().UnitPeriod() |
| | | // PeriodTaskOperation::Create( operaction,unitPeriod,quantity,false ); |
| | | }else{ |
| | | |
| | | } |
| | | } |
| | | } |
| | | } |
| | | ProductInStockingPointInPeriod::LockUnlockPlanning( pispips, true, true ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | TextBody: |
| | | [* |
| | | // rislai Jun-13-2024 (created) |
| | | owner.LockPeriod( relnew, LockDate := lockDate ); |
| | | lockPeriod := owner.LockPeriod( relnew, LockDate := lockDate ); |
| | | |
| | | macroPlan := owner.MacroPlan(); |
| | | |
| | | offlineTable := select( macroPlan,NewOfflinePlanTable,table,true ); |
| | | |
| | | if( not isnull( offlineTable )){ |
| | | lockPeriod.Enable( offlineTable ); |
| | | } |
| | | *] |
| | | } |
| | |
| | | sdt := select( sp, ShiftDayTime, tempSDT, tempSDT.Name() = tempSDT.ShiftPattern().Name() ); |
| | | |
| | | // çæä¸çº¿è®¡åã产线æç»ãè¡ |
| | | detailedNOPR := select( nopt, NewOfflinePlanRow, tempNOPR, tempNOPR.ProductionLine() = u.ID() and tempNOPR.ProductID() = pisp.ProductID() and tempNOPR.Type() = "1" ); |
| | | detailedNOPR := select( nopt, NewOfflinePlanRow, tempNOPR, tempNOPR.ProductionLine() = u.ID() and tempNOPR.ProductID() = pisp.ProductID() and tempNOPR.StockingPointID() = pisp.StockingPointID() and tempNOPR.Type() = "1" ); |
| | | if ( isnull( detailedNOPR ) ) { |
| | | detailedNOPR := nopt.NewOfflinePlanRow( relnew, ProductionLine := u.ID(), ProductID := pisp.ProductID(), Type := "1", OperationID := o.ID() ); |
| | | detailedNOPR := nopt.NewOfflinePlanRow( relnew, ProductionLine := u.ID(), ProductID := pisp.ProductID(),StockingPointID := pisp.StockingPointID(), Type := "1", OperationID := o.ID() ); |
| | | } |
| | | |
| | | // çæä¸çº¿è®¡åå |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StockingPointID |
| | | { |
| | | #keys: '3[414996.1.183584732][414996.1.183584731][414996.1.183584733]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsLock |
| | | { |
| | | #keys: '3[414996.1.185600021][414996.1.185600020][414996.1.185600022]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | TypeSpecialization ProductInStockingPointInPeriodPlanningLeaf #extension |
| | | { |
| | | } |
| | |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | Component ButtonActualDailyProduction |
| | | { |
| | | #keys: '[414996.1.186223693]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'RSS' |
| | | Label: 'å®é
æ¯æ¥ç产计å' |
| | | Taborder: 3 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component ButtonLockPeriodData |
| | | { |
| | | #keys: '[414996.1.185742569]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_VIEW' |
| | | Label: 'Lock period data' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ActionBarGroupArchiveReport/ButtonActualDailyProduction |
| | | Response OnClick () id:Response_MacroPlanner_ActionBarGroupArchiveReport_ButtonActualDailyProduction_OnClick |
| | | { |
| | | #keys: '[414996.1.186223803]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // Open view |
| | | ApplicationMacroPlanner.OpenView( 'ActualDailyProduction', this ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ActionBarGroupRestraint/ButtonLockPeriodData |
| | | Response OnClick () id:Response_MacroPlanner_ActionBarGroupRestraint_ButtonLockPeriodData_OnClick |
| | | { |
| | | #keys: '[414996.1.185904137]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | // Open view |
| | | ApplicationMacroPlanner.OpenView( 'LockPeriodData', this ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ListActualDailyProduction |
| | | { |
| | | #keys: '[414996.1.184390814]' |
| | | BaseType: 'WebList' |
| | | Children: |
| | | [ |
| | | Component DataExtractorActualDailyProduction |
| | | { |
| | | #keys: '[414996.1.184390815]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'external[Archive]' |
| | | Source: 'Archive' |
| | | Taborder: 0 |
| | | Transformation: 'ActualDailyProductionData' |
| | | ] |
| | | } |
| | | #child: listActionBarPageActualDailyProduction |
| | | Component DataSetLevelActualDailyProduction |
| | | { |
| | | #keys: '[414996.1.184390820]' |
| | | BaseType: 'WebDataSetLevel' |
| | | Children: |
| | | [ |
| | | #child: listContextMenuActualDailyProduction |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ActualOut","title":"å®é
äº§åºæ°é","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ActualOut"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"Fac","title":"å·¥åç®å","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"Fac"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LineName","title":"产线åç§°","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LineName"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductionDate","title":"çäº§æ¥æ","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductionDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductNo","title":"产åID","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ProductNo"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ShiftCode","title":"çæ¬¡å·","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ShiftCode"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ShiftName","title":"产线åç§°","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"ShiftName"}}]' |
| | | ContextMenu: 'listContextMenuActualDailyProduction' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelActualDailyProduction |
| | | { |
| | | #keys: '[414996.1.184390778]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component dsStartDate |
| | | { |
| | | #keys: '[414996.1.184361099]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Label: 'Start date' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component dsEndDate |
| | | { |
| | | #keys: '[414996.1.185982342]' |
| | | BaseType: 'WebDateSelector' |
| | | Properties: |
| | | [ |
| | | Label: 'End date' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component bReSync |
| | | { |
| | | #keys: '[414996.1.185982355]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'ARROW_CIRCLE2' |
| | | Label: 'Re Sync' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelActualDailyProduction912 |
| | | { |
| | | #keys: '[414996.1.184390800]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: ListActualDailyProduction |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listActionBarPageActualDailyProduction |
| | | { |
| | | #keys: '[414996.1.184390817]' |
| | | BaseType: 'listActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component listContextMenuActualDailyProduction |
| | | { |
| | | #keys: '[414996.1.184390822]' |
| | | BaseType: 'listContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelActualDailyProduction/bReSync |
| | | Response OnClick () id:Response_PanelActualDailyProduction_bReSync_OnClick |
| | | { |
| | | #keys: '[414996.1.185702537]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | GroupServerCalls: true |
| | | Precondition: |
| | | [* |
| | | return dsEndDate.Date() > dsStartDate.Date(); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | ActualDailyProductionData::Synchronize( InterfaceDataset,"User",dsStartDate.Date(),dsEndDate.Date() ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelActualDailyProduction/dsEndDate |
| | | Response OnCreated () id:Response_PanelActualDailyProduction_dsEndDate_OnCreated |
| | | { |
| | | #keys: '[414996.1.185563333]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | GroupServerCalls: true |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | this.Date( Date::ActualDate() - 1 ); |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormActualDailyProduction |
| | | { |
| | | #keys: '[414996.1.184390758]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: PanelActualDailyProduction |
| | | #child: PanelActualDailyProduction912 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Image: 'RSS' |
| | | Title: 'Actual Daily Production' |
| | | ] |
| | | } |
| | |
| | | #child: PanelArchivePackagingPlan |
| | | #child: PanelArchivePackagingPlan922 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: 'Archive Packaging Plan' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component MatrixEditorArchiveTransferPlan |
| | | { |
| | | #keys: '[414996.1.183850516]' |
| | | BaseType: 'WebMatrixEditor' |
| | | Children: |
| | | [ |
| | | Component MatrixEditorCellArchiveTransferPlan |
| | | { |
| | | #keys: '[414996.1.183850517]' |
| | | BaseType: 'WebMatrixEditorCell' |
| | | Children: |
| | | [ |
| | | Component DataExtractorArchiveTransferPlan |
| | | { |
| | | #keys: '[414996.1.183850518]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'Archive' |
| | | Source: 'Archive' |
| | | Taborder: 0 |
| | | Transformation: 'ArchiveTransferPlanRow.ArchiveTransferPlanCell' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Attributes: 'Value' |
| | | Column: 'ArchiveTransferPlanColumn' |
| | | Row: 'ArchiveTransferPlanRow' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component MatrixEditorRowsArchiveTransferPlan |
| | | { |
| | | #keys: '[414996.1.183850521]' |
| | | BaseType: 'WebMatrixEditorHeaderLevel' |
| | | Children: |
| | | [ |
| | | Component DataExtractor568 |
| | | { |
| | | #keys: '[414996.1.183850522]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'Archive' |
| | | Source: 'Archive' |
| | | Taborder: 0 |
| | | Transformation: 'ArchiveTransferPlanRow' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Legend: 'Name' |
| | | SortCriteria: 'SourceStockpoingPointID;TargetStockpoingPointID;ProductID' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component MatrixEditorColumnsArchiveTransferPlan |
| | | { |
| | | #keys: '[414996.1.183850525]' |
| | | BaseType: 'WebMatrixEditorHeaderLevel' |
| | | Children: |
| | | [ |
| | | Component DataExtractor802 |
| | | { |
| | | #keys: '[414996.1.183850526]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'Archive' |
| | | Source: 'Archive' |
| | | Taborder: 0 |
| | | Transformation: 'ArchiveTransferPlanColumn' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Legend: 'ColumnName' |
| | | SortCriteria: 'ColumnDate' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | #child: matrixEditorActionBarPageArchiveTransferPlan |
| | | #child: matrixeditorContextMenuArchiveTransferPlan |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: 'MatrixEditorColumnsArchiveTransferPlan' |
| | | ContextMenu: 'matrixeditorContextMenuArchiveTransferPlan' |
| | | Rows: 'MatrixEditorRowsArchiveTransferPlan' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelArchiveTransferPlan |
| | | { |
| | | #keys: '[414996.1.183850471]' |
| | | BaseType: 'WebPanel' |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelArchiveTransferPlan515 |
| | | { |
| | | #keys: '[414996.1.183850483]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: MatrixEditorArchiveTransferPlan |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component matrixEditorActionBarPageArchiveTransferPlan |
| | | { |
| | | #keys: '[414996.1.183850529]' |
| | | BaseType: 'matrixEditorActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component matrixeditorContextMenuArchiveTransferPlan |
| | | { |
| | | #keys: '[414996.1.183850532]' |
| | | BaseType: 'matrixeditorContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormArchiveTransferPlan |
| | | { |
| | | #keys: '[414996.1.183850405]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | #child: PanelArchiveTransferPlan |
| | | #child: PanelArchiveTransferPlan515 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Title: 'Archive Transfer Plan' |
| | | ] |
| | | } |
| | |
| | | ] |
| | | Properties: |
| | | [ |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductInStockingPoint_MP.ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ProductInStockingPoint_MP.ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductInStockingPoint_MP.StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ProductInStockingPoint_MP.StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LockDate","title":"LockDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LockDate"}}]' |
| | | Columns: '[{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductInStockingPoint_MP.ProductID","title":"ProductID","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ProductInStockingPoint_MP.ProductID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"ProductInStockingPoint_MP.StockingPointID","title":"StockingPointID","subtotals":"","tooltip":"","width":-1,"display":"shown","attribute":"ProductInStockingPoint_MP.StockingPointID"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"LockDate","title":"LockDate","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"LockDate"}},{"attribute":{"classtype":"WebApiDefinitionAttributeDataMember","columnid":"IsEnable","title":"IsEnable","subtotals":"","tooltip":"","width":-1,"display":"shown","editable":false,"attribute":"IsEnable"}}]' |
| | | ContextMenu: 'listContextMenuLockPeriod' |
| | | Taborder: 2 |
| | | ] |
| | |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | ResponseDefinitions: |
| | | [ |
| | | DelegatedResponseDefinition OnClick id:Responsedef_ListLockPeriod_WebMenu_OnClick |
| | | { |
| | | #keys: '[414996.1.185430534]' |
| | | Initiator: 'WebMenu' |
| | | IsInherited: false |
| | | ResponseType: 'OnClick' |
| | | Arguments: |
| | | [ |
| | | ResponseDefinitionArgument selection |
| | | { |
| | | #keys: '[345.0.11072389]' |
| | | Binding: 'this.Selection()' |
| | | } |
| | | ] |
| | | } |
| | | ] |
| | | } |
| | |
| | | { |
| | | #keys: '[414996.1.179381094]' |
| | | BaseType: 'listContextMenu' |
| | | Children: |
| | | [ |
| | | Component mDisable |
| | | { |
| | | #keys: '[414996.1.185701729]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'EMPTYCHECKBOX' |
| | | Taborder: 3 |
| | | Title: 'Disable' |
| | | ] |
| | | } |
| | | Component mEnable |
| | | { |
| | | #keys: '[414996.1.184360918]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'CHECKEDCHECKBOX' |
| | | Taborder: 4 |
| | | Title: 'Enable' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListLockPeriod |
| | | Response OnClick ( |
| | | structured[LockPeriod] selection |
| | | ) id:Response_ListLockPeriod_mDisable_OnClick |
| | | { |
| | | #keys: '[414996.1.185430554]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListLockPeriod/Responsedef_ListLockPeriod_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'mDisable' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | traverse( selection,Elements,element ,element.IsEnable() ){ |
| | | element.Disable(); |
| | | } |
| | | *] |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ListLockPeriod |
| | | Response OnClick ( |
| | | structured[LockPeriod] selection |
| | | ) id:Response_ListLockPeriod_mEnable_OnClick |
| | | { |
| | | #keys: '[414996.1.185400954]' |
| | | CanBindMultiple: false |
| | | DefinitionID => /ListLockPeriod/Responsedef_ListLockPeriod_WebMenu_OnClick |
| | | GroupServerCalls: true |
| | | Initiator: 'mEnable' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | offlinePlanTable := select( MacroPlan,NewOfflinePlanTable,table,true ); |
| | | traverse( selection,Elements,element ,not element.IsEnable() ){ |
| | | element.Enable( offlinePlanTable ); |
| | | } |
| | | *] |
| | | } |
| | | } |
| | |
| | | #child: PanelLockPeriod |
| | | #child: PanelLockPeriod633 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Image: 'GEAR_VIEW' |
| | | Title: 'Lock period data' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | { |
| | | viewcontents |
| | | { |
| | | forms |
| | | { |
| | | form_FormLockPeriod |
| | | { |
| | | title: 'QMacroPlanner::FormLockPeriod' |
| | | shown: true |
| | | componentID: 'QMacroPlanner::FormLockPeriod' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 1 |
| | | rowSpan: 22 |
| | | columnPosition: 1 |
| | | columnSpan: 8 |
| | | } |
| | | components |
| | | { |
| | | FormLockPeriod_PanelLockPeriod |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormLockPeriod_PanelLockPeriod633 |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormLockPeriod_ListLockPeriod |
| | | { |
| | | } |
| | | FormLockPeriod_DataSetLevelLockPeriod |
| | | { |
| | | groupDepth: -1 |
| | | column_ProductInStockingPoint_MP_ProductID |
| | | { |
| | | columnId: 'ProductInStockingPoint_MP.ProductID' |
| | | dataPath: 'ProductInStockingPoint_MP.ProductID' |
| | | dataType: 'string' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_ProductInStockingPoint_MP_StockingPointID |
| | | { |
| | | columnId: 'ProductInStockingPoint_MP.StockingPointID' |
| | | dataPath: 'ProductInStockingPoint_MP.StockingPointID' |
| | | dataType: 'string' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_LockDate |
| | | { |
| | | columnId: 'LockDate' |
| | | dataPath: 'LockDate' |
| | | dataType: 'date' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | column_IsEnable |
| | | { |
| | | columnId: 'IsEnable' |
| | | dataPath: 'IsEnable' |
| | | dataType: 'boolean' |
| | | index: 3 |
| | | subtotals: '' |
| | | width: 150 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormOptimizerPuzzles |
| | | { |
| | | title: 'Optimizer Puzzles' |
| | | shown: false |
| | | componentID: 'FormOptimizerPuzzles' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 0 |
| | | } |
| | | components |
| | | { |
| | | FormOptimizerPuzzles_ListOptimizerPuzzles |
| | | { |
| | | } |
| | | FormOptimizerPuzzles_DataSetLevelOptimizerPuzzles |
| | | { |
| | | groupDepth: -1 |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | title: 'All constraints' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Name |
| | | { |
| | | columnId: 'Name' |
| | | dataPath: 'Name' |
| | | dataType: 'string' |
| | | title: 'Name' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 109 |
| | | } |
| | | column_Description |
| | | { |
| | | columnId: 'Description' |
| | | dataPath: 'Description' |
| | | dataType: 'string' |
| | | title: 'Description' |
| | | index: 2 |
| | | subtotals: '' |
| | | width: 207 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | form_FormKPI |
| | | { |
| | | title: 'KPI Dashboard' |
| | | shown: true |
| | | componentID: 'FormKPI' |
| | | layout |
| | | { |
| | | mode: 'dockright' |
| | | index: 1 |
| | | } |
| | | components |
| | | { |
| | | FormKPI_PanelKPI |
| | | { |
| | | sizeRatio: 1 |
| | | activeChild: 'PanelKPISelection' |
| | | } |
| | | FormKPI_PanelKPIDashboard |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormKPI_PanelKPISelection |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormKPI_ListKPISelection |
| | | { |
| | | QuillViewData |
| | | { |
| | | Food_KPISetting: 'Cost of sales;Fulfillment;Fulfillment target;Inventory holding cost;Labor cost;Margin;Safety stock;Sales;Sourcing cost;Total CO2 emission;Transportation cost;Volume' |
| | | } |
| | | } |
| | | FormKPI_DataSetLevelKPISelection |
| | | { |
| | | groupDepth: -1 |
| | | column_All_constraints |
| | | { |
| | | columnId: 'All constraints' |
| | | dataPath: 'All constraints' |
| | | dataType: 'string' |
| | | title: 'All constraints' |
| | | index: 0 |
| | | subtotals: '' |
| | | width: 32 |
| | | } |
| | | column_Name |
| | | { |
| | | columnId: 'Name' |
| | | dataPath: 'Name' |
| | | dataType: 'string' |
| | | title: 'Name' |
| | | index: 1 |
| | | subtotals: '' |
| | | width: 200 |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | image: 'GEAR_VIEW' |
| | | page: '' |
| | | group: '' |
| | | index: 0 |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | | id: 'LockPeriodData' |
| | | name: 'LockPeriodData' |
| | | isglobal: false |
| | | isroot: true |
| | | } |