¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation CCEngineLogisticsCostCell_Column_CCEngineLogisticsCostColumn_Cell |
| | | { |
| | | #keys: '1[415136.0.986881391]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide Column |
| | | { |
| | | #keys: '3[415136.0.986881393][415136.0.986881392][415136.0.986881394]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: CCEngineLogisticsCostCell |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide Cell |
| | | { |
| | | #keys: '3[415136.0.986881396][415136.0.986881395][415136.0.986881397]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: CCEngineLogisticsCostColumn |
| | | OwningSide: 'Reference' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation CCEngineLogisticsCostCell_Row_CCEngineLogisticsCostRow_Cell |
| | | { |
| | | #keys: '1[415136.0.986881404]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide Row |
| | | { |
| | | #keys: '3[415136.0.986881406][415136.0.986881405][415136.0.986881407]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: CCEngineLogisticsCostCell |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide Cell |
| | | { |
| | | #keys: '3[415136.0.986881409][415136.0.986881408][415136.0.986881410]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: CCEngineLogisticsCostRow |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation CCEngineLogisticsCostReport_Column_CCEngineLogisticsCostColumn_Report |
| | | { |
| | | #keys: '1[415136.0.986881356]' |
| | | ProceduralSequenceRelationStrategy |
| | | { |
| | | #keys: '13[0.0.0][415136.0.986881375][415136.0.986881369][415136.0.986881376][415136.0.986881370][415136.0.986881377][415136.0.986881371][415136.0.986881378][415136.0.986881372][415136.0.986881379][415136.0.986881373][415136.0.986881380][415136.0.986881374]' |
| | | SequenceElementSuffix: 'Column' |
| | | SequenceSuffix: 'Column' |
| | | } |
| | | RelationSide.LeftSide Column |
| | | { |
| | | #keys: '3[415136.0.986881358][415136.0.986881357][415136.0.986881359]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: CCEngineLogisticsCostReport |
| | | OwningSide: 'Owned' |
| | | } |
| | | RelationSide.RightSide Report |
| | | { |
| | | #keys: '3[415136.0.986881361][415136.0.986881360][415136.0.986881362]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: CCEngineLogisticsCostColumn |
| | | OwningSide: 'Reference' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation CCEngineLogisticsCostReport_MacroPlan_MacroPlan_CCEngineLogisticsCostReport |
| | | { |
| | | #keys: '1[415136.0.986400960]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[415136.0.986400962][415136.0.986400961][415136.0.986400963]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: CCEngineLogisticsCostReport |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide CCEngineLogisticsCostReport |
| | | { |
| | | #keys: '3[415136.0.986400965][415136.0.986400964][415136.0.986400966]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation CCEngineLogisticsCostRow_Report_CCEngineLogisticsCostReport_Row |
| | | { |
| | | #keys: '1[415136.0.986616253]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide Report |
| | | { |
| | | #keys: '3[415136.0.986616255][415136.0.986616254][415136.0.986616256]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: CCEngineLogisticsCostRow |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide Row |
| | | { |
| | | #keys: '3[415136.0.986616258][415136.0.986616257][415136.0.986616259]' |
| | | Cardinality: '1toN' |
| | | ObjectDefinition: CCEngineLogisticsCostReport |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Relation CCEngineLogisticsCostSearch_MacroPlan_MacroPlan_CCEngineLogisticsCostSearch |
| | | { |
| | | #keys: '1[415136.0.986844810]' |
| | | DefaultRelationStrategy |
| | | { |
| | | } |
| | | RelationSide.LeftSide MacroPlan |
| | | { |
| | | #keys: '3[415136.0.986844812][415136.0.986844811][415136.0.986844813]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: CCEngineLogisticsCostSearch |
| | | OwningSide: 'Reference' |
| | | } |
| | | RelationSide.RightSide CCEngineLogisticsCostSearch |
| | | { |
| | | #keys: '3[415136.0.986844815][415136.0.986844814][415136.0.986844816]' |
| | | Cardinality: '0to1' |
| | | ObjectDefinition: MacroPlan |
| | | OwningSide: 'Owned' |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Coefficient |
| | | { |
| | | #keys: '3[415136.0.986844758][415136.0.986844757][415136.0.986844759]' |
| | | Description: 'ç³»æ°' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute EstimatedTotalCost |
| | | { |
| | | #keys: '3[415136.0.986844739][415136.0.986844738][415136.0.986844740]' |
| | | Description: 'é¢è®¡æ»è´¹ç¨' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute FactoryToRentTransCost |
| | | { |
| | | #keys: '3[415136.0.986844781][415136.0.986844780][415136.0.986844782]' |
| | | Description: 'åå
å°å¤ç§åºè¿è¾è´¹ç¨' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute RentEnterCost |
| | | { |
| | | #keys: '3[415136.0.986881423][415136.0.986881422][415136.0.986881424]' |
| | | Description: 'å¤ç§åºå
¥åºè´¹ç¨' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute RentOutCost |
| | | { |
| | | #keys: '3[415136.0.986881433][415136.0.986881432][415136.0.986881434]' |
| | | Description: 'å¤ç§åºåºåºè´¹ç¨' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute RentStorageCost |
| | | { |
| | | #keys: '3[415136.0.986881446][415136.0.986881445][415136.0.986881447]' |
| | | Description: 'å¤ç§åºä»å¨è´¹ç¨' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute TotalCost |
| | | { |
| | | #keys: '3[415136.0.986844771][415136.0.986844770][415136.0.986844772]' |
| | | Description: 'æ»è´¹ç¨' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Function CalcEstimatedTotalCost |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-12-2024 (created) |
| | | |
| | | value := this.RentEnterCost() + this.RentOutCost() + this.FactoryToRentTransCost() + this.RentStorageCost(); |
| | | |
| | | this.EstimatedTotalCost( value ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Function CalcTotalCost |
| | | { |
| | | Description: 'è®¡ç®æ»è´¹ç¨' |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-12-2024 (created) |
| | | value := this.EstimatedTotalCost() * this.Coefficient(); |
| | | |
| | | this.TotalCost( value ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type CCEngineLogisticsCostCell |
| | | { |
| | | #keys: '5[415136.0.986881388][415136.0.986881386][0.0.0][415136.0.986881387][415136.0.986881389]' |
| | | BaseType: Object |
| | | Description: 'é¿æ¥å卿ºç©æµææ¬æ¥è¡¨åå
æ ¼' |
| | | StructuredName: 'CCEngineLogisticsCostCells' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Index |
| | | { |
| | | #keys: '3[415136.0.986616274][415136.0.986616273][415136.0.986616275]' |
| | | Description: 'åå·' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Name |
| | | { |
| | | #keys: '3[415136.0.986616271][415136.0.986616270][415136.0.986616272]' |
| | | Description: 'åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute StartDate |
| | | { |
| | | #keys: '3[415136.0.986881347][415136.0.986881346][415136.0.986881348]' |
| | | Description: 'å¼å§æ¥æ' |
| | | ValueType: Date |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Name |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Function CalcIndex |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-12-2024 (created) |
| | | |
| | | value := ifexpr( isnull( this.PreviousColumn() ), 0, this.PreviousColumn().Index() + 1 ); |
| | | |
| | | this.Index( value ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type CCEngineLogisticsCostColumn |
| | | { |
| | | #keys: '5[415136.0.986616268][415136.0.986616266][0.0.0][415136.0.986616267][415136.0.986616269]' |
| | | BaseType: Object |
| | | Description: 'é¿æ¥å卿ºç©æµææ¬æ¥è¡¨å' |
| | | StructuredName: 'CCEngineLogisticsCostColumns' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute ID |
| | | { |
| | | #keys: '3[415136.0.986400950][415136.0.986400949][415136.0.986400951]' |
| | | IsReadOnly: true |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute IsShow |
| | | { |
| | | #keys: '3[415136.0.986400953][415136.0.986400952][415136.0.986400954]' |
| | | ValueType: Boolean |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Name |
| | | { |
| | | #keys: '3[415136.0.986400956][415136.0.986400955][415136.0.986400957]' |
| | | 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 Clear |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | this.Column( relflush ); |
| | | this.Row( relflush ); |
| | | |
| | | this.GenerateColumn( this.MacroPlan() ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Generate ( |
| | | CCEngineLogisticsCostSearch search, |
| | | Product_MPs products |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | table := selectobject( this, MacroPlan.CCEngineLogisticsCostReport, report, not report.IsShow() ); |
| | | allunit := '<All>'; |
| | | //æ¸
空ä¹ååå¨çæ¾ç¤ºæ°æ® |
| | | this.Clear(); |
| | | //è¿æ»¤åç产åid |
| | | productids := selectuniquevalues( products, Elements, product, ( search.Generation() = allunit or product.Generation() = search.Generation() ) |
| | | and ( search.MqbMlb() = allunit or product.MQBMLB() = search.MqbMlb() ) |
| | | and ( search.Power() = allunit or product.Power() = search.Power() ), product.ID() ); |
| | | sumrow := this.Row( relnew, Name := 'SUM', RowNr := table.Row( relsize ) ); |
| | | traverse( table, Row, row ){ |
| | | productid := construct( Strings ); |
| | | productid.Add( row.Name() ); |
| | | |
| | | if( productids.ContainsAll( productid ) ){ |
| | | showrow := this.Row( relnew, Name := row.Name(), RowNr := row.RowNr() ); |
| | | |
| | | traverse( row, Cell, cell ){ |
| | | column := selectobject( this, Column, column, column.Name() = cell.Column().Name() ); |
| | | |
| | | sumcell := selectobject( column, Cell, c, c.Row() = sumrow ); |
| | | if( isnull( sumcell ) ){ |
| | | sumcell := showrow.Cell( relnew, RentEnterCost := 0 |
| | | , RentOutCost := 0 |
| | | , FactoryToRentTransCost := 0 |
| | | , RentStorageCost := 0 ); |
| | | column.Cell( relinsert, sumcell ); |
| | | } |
| | | |
| | | showcell := showrow.Cell( relnew, RentEnterCost := cell.RentEnterCost(), RentOutCost := cell.RentOutCost(), FactoryToRentTransCost := cell.FactoryToRentTransCost(), RentStorageCost := cell.RentStorageCost() ); |
| | | column.Cell( relinsert, showcell ); |
| | | sumcell.RentEnterCost( cell.RentEnterCost() + sumcell.RentEnterCost() ); |
| | | sumcell.RentOutCost( cell.RentOutCost() + sumcell.RentOutCost() ); |
| | | sumcell.FactoryToRentTransCost( cell.FactoryToRentTransCost() + sumcell.FactoryToRentTransCost() ); |
| | | sumcell.RentStorageCost( cell.RentStorageCost() + sumcell.RentStorageCost() ); |
| | | } |
| | | } |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GenerateColumn ( |
| | | MacroPlan owner |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | startofplanning := owner.StartOfPlanning(); |
| | | startofyear := startofplanning.StartOfYear(); |
| | | startofnextyear := startofplanning.StartOfNextYear(); |
| | | |
| | | for( start := startofyear; start < startofnextyear; start := start.StartOfNextMonth() ){ |
| | | periodtime := start.Date(); |
| | | periodname := periodtime.Format( "M2/D2/Y" ); |
| | | this.Column( relnew, Name := periodname, StartDate := periodtime ); |
| | | } |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method GetRow ( |
| | | String product |
| | | ) as CCEngineLogisticsCostRow |
| | | { |
| | | Description: 'æ ¹æ®å·¥åè·åè¡' |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-2-2024 (created) |
| | | row := selectobject( this, Row, row, row.Name() = product ); |
| | | if( isnull( row ) ){ |
| | | //åå§ååå
æ ¼ |
| | | row := this.Row( relnew, Name := product ); |
| | | traverse( this, Column, column ){ |
| | | row.Initialize( column ); |
| | | } |
| | | } |
| | | return row; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method IsInUnit ( |
| | | StockingPoint_MP sp, |
| | | String unitname |
| | | ) as Boolean |
| | | { |
| | | Description: 'æ¯å¦å±äºæä¸ªçº¿' |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-5-2024 (created) |
| | | unit := sp.Unit(); |
| | | parentunits := unit.GetAllParent(); |
| | | return sp.ID() = unitname or unit.ID() = unitname or exists( parentunits, Elements, punit, punit.ID() = unitname ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Download ( |
| | | MacroPlan macroPlan |
| | | ) as BinaryValue |
| | | { |
| | | Description: 'ä¸è½½è´¢å¡æ¥è¡¨æ°æ®' |
| | | TextBody: |
| | | [* |
| | | |
| | | table := selectobject( macroPlan, CCEngineLogisticsCostReport, table, table.IsShow() ); |
| | | |
| | | xmlDOMI := XMLDOMImplementation::Create(); |
| | | xmlDOM := xmlDOMI.CreateDocumentFromString( '<?xml version="1.0" encoding="UTF-16"?><table><name>' + table.Name() + '</name></table>' ); |
| | | |
| | | tableElement := xmlDOM.GetElementByTagName( "table", 0 ); |
| | | //Product |
| | | productcolumnelement := xmlDOM.CreateElement( "column" ); |
| | | productnameelement := xmlDOM.CreateElement( "name" ); |
| | | producttypeelement := xmlDOM.CreateElement( "type" ); |
| | | productnameelement.TextContent( 'Product' ); |
| | | producttypeelement.TextContent( "String" ); |
| | | productcolumnelement.AppendChild( productnameelement ); |
| | | productcolumnelement.AppendChild( producttypeelement ); |
| | | //Attribute |
| | | attricolumnelement := xmlDOM.CreateElement( "column" ); |
| | | attrinameelement := xmlDOM.CreateElement( "name" ); |
| | | attritypeelement := xmlDOM.CreateElement( "type" ); |
| | | attrinameelement.TextContent( 'Attribute' ); |
| | | attritypeelement.TextContent( "String" ); |
| | | attricolumnelement.AppendChild( attrinameelement ); |
| | | attricolumnelement.AppendChild( attritypeelement ); |
| | | |
| | | tableElement.AppendChild( productcolumnelement ); |
| | | tableElement.AppendChild( attricolumnelement ); |
| | | traverse ( table, Column, column ) { |
| | | columnelement := xmlDOM.CreateElement( "column" ); |
| | | nameelement := xmlDOM.CreateElement( "name" ); |
| | | typeelement := xmlDOM.CreateElement( "type" ); |
| | | nameelement.TextContent( column.Name() ); |
| | | typeelement.TextContent( "String" ); |
| | | columnelement.AppendChild( nameelement ); |
| | | columnelement.AppendChild( typeelement ); |
| | | |
| | | cells := selectsortedset( column, Cell, cell, cell.Row().RowNr() ); |
| | | |
| | | traverse ( cells, Elements, c ) { |
| | | if( column.Index() = 0 ){ |
| | | row := c.Row(); |
| | | //Product |
| | | product1cellElement := xmlDOM.CreateElement( "cell" ); |
| | | product1cellElement.SetAttribute( "value", row.Name() ); |
| | | productcolumnelement.AppendChild( product1cellElement ); |
| | | |
| | | product2cellElement := xmlDOM.CreateElement( "cell" ); |
| | | product2cellElement.SetAttribute( "value", row.Name() ); |
| | | productcolumnelement.AppendChild( product2cellElement ); |
| | | |
| | | product3cellElement := xmlDOM.CreateElement( "cell" ); |
| | | product3cellElement.SetAttribute( "value", row.Name() ); |
| | | productcolumnelement.AppendChild( product3cellElement ); |
| | | |
| | | product4cellElement := xmlDOM.CreateElement( "cell" ); |
| | | product4cellElement.SetAttribute( "value", row.Name() ); |
| | | productcolumnelement.AppendChild( product4cellElement ); |
| | | |
| | | product5cellElement := xmlDOM.CreateElement( "cell" ); |
| | | product5cellElement.SetAttribute( "value", row.Name() ); |
| | | productcolumnelement.AppendChild( product5cellElement ); |
| | | |
| | | product6cellElement := xmlDOM.CreateElement( "cell" ); |
| | | product6cellElement.SetAttribute( "value", row.Name() ); |
| | | productcolumnelement.AppendChild( product6cellElement ); |
| | | |
| | | product7cellElement := xmlDOM.CreateElement( "cell" ); |
| | | product7cellElement.SetAttribute( "value", row.Name() ); |
| | | productcolumnelement.AppendChild( product7cellElement ); |
| | | //Attribute |
| | | //å¤ç§åºå
¥åºè´¹ç¨ |
| | | rententercostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | rententercostcellElement.SetAttribute( "value", 'RentEnterCost' ); |
| | | attricolumnelement.AppendChild( rententercostcellElement ); |
| | | //å¤ç§åºåºåºè´¹ç¨ |
| | | rentoutcostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | rentoutcostcellElement.SetAttribute( "value", 'RentOutCost' ); |
| | | attricolumnelement.AppendChild( rentoutcostcellElement ); |
| | | //åå
å°å¤ç§åºè¿è¾è´¹ç¨ |
| | | factorytorenttranscostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | factorytorenttranscostcellElement.SetAttribute( "value", 'FactoryToRentTransCost' ); |
| | | attricolumnelement.AppendChild( factorytorenttranscostcellElement ); |
| | | //å¤ç§åºä»å¨è´¹ç¨ |
| | | estimatedtotalcostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | estimatedtotalcostcellElement.SetAttribute( "value", 'EstimatedTotalCost' ); |
| | | attricolumnelement.AppendChild( estimatedtotalcostcellElement ); |
| | | //é¢è®¡æ»è´¹ç¨ |
| | | rentstoragecostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | rentstoragecostcellElement.SetAttribute( "value", 'RentStorageCost' ); |
| | | attricolumnelement.AppendChild( rentstoragecostcellElement ); |
| | | //ç³»æ° |
| | | coefficientcellElement := xmlDOM.CreateElement( "cell" ); |
| | | coefficientcellElement.SetAttribute( "value", 'Coefficient' ); |
| | | attricolumnelement.AppendChild( coefficientcellElement ); |
| | | //æ»è´¹ç¨ |
| | | totalcostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | totalcostcellElement.SetAttribute( "value", 'TotalCost' ); |
| | | attricolumnelement.AppendChild( totalcostcellElement ); |
| | | } |
| | | //å¤ç§åºå
¥åºè´¹ç¨ |
| | | rententercostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | rententercostcellElement.SetAttribute( "value", [String]c.RentEnterCost() ); |
| | | columnelement.AppendChild( rententercostcellElement ); |
| | | //å¤ç§åºåºåºè´¹ç¨ |
| | | rentoutcostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | rentoutcostcellElement.SetAttribute( "value", [String]c.RentOutCost() ); |
| | | columnelement.AppendChild( rentoutcostcellElement ); |
| | | //åå
å°å¤ç§åºè¿è¾è´¹ç¨ |
| | | factorytorenttranscostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | factorytorenttranscostcellElement.SetAttribute( "value", [String]c.FactoryToRentTransCost() ); |
| | | columnelement.AppendChild( factorytorenttranscostcellElement ); |
| | | //å¤ç§åºä»å¨è´¹ç¨ |
| | | estimatedtotalcostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | estimatedtotalcostcellElement.SetAttribute( "value", [String]c.EstimatedTotalCost() ); |
| | | columnelement.AppendChild( estimatedtotalcostcellElement ); |
| | | //é¢è®¡æ»è´¹ç¨ |
| | | rentstoragecostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | rentstoragecostcellElement.SetAttribute( "value", [String]c.EstimatedTotalCost() ); |
| | | columnelement.AppendChild( rentstoragecostcellElement ); |
| | | //ç³»æ° |
| | | coefficientcellElement := xmlDOM.CreateElement( "cell" ); |
| | | coefficientcellElement.SetAttribute( "value", [String]c.Coefficient() ); |
| | | columnelement.AppendChild( coefficientcellElement ); |
| | | //æ»è´¹ç¨ |
| | | totalcostcellElement := xmlDOM.CreateElement( "cell" ); |
| | | totalcostcellElement.SetAttribute( "value", [String]c.TotalCost() ); |
| | | columnelement.AppendChild( totalcostcellElement ); |
| | | } |
| | | tableElement.AppendChild( columnelement ); |
| | | } |
| | | |
| | | xmlString := xmlDOMI.CreateSerializer().WriteToString( xmlDOM ) |
| | | |
| | | //info( xmlString ); |
| | | |
| | | tableGroupHandle := TableGroupHandle::Create( CCEngineLogisticsCostReport::GetDefaultName() ); |
| | | tableHandle := TableHandle::ImportXML( BinaryValue::Construct( xmlString ) ); |
| | | tableGroupHandle.Add( tableHandle ); |
| | | |
| | | binaryData := XLS::SaveTableGroupToBinaryData( tableGroupHandle, true ); |
| | | |
| | | return binaryData.AsBinaryValue(); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | 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 GetDefaultCCUnit () const as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | return 'é¿æ¥å·¥å'; |
| | | //return 'Assembly Plant (France)'; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetDefaultName () const as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-25-2024 (created) |
| | | return 'CC engine logistics cost reports'; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetStockingPointCCLine () as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-28-2024 (created) |
| | | //return 'é¿æ¥è£
é
线边åº'; |
| | | return 'é¿æ¥è£
é
线'; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod GetStockingPointCCRent () const as String |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-28-2024 (created) |
| | | return 'é¿æ¥å¤ç§åº'; |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | StaticMethod Initialize ( |
| | | MacroPlan owner |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Aug-12-2024 (created) |
| | | owner.CCEngineLogisticsCostReport( relflush ); |
| | | name := CCEngineLogisticsCostReport::GetDefaultName(); |
| | | allunit := CCEngineLogisticsCostReport::GetDefaultAllUnit(); |
| | | ccunit := CCEngineLogisticsCostReport::GetDefaultCCUnit(); |
| | | ccline := CCEngineLogisticsCostReport::GetStockingPointCCLine(); |
| | | ccrent := CCEngineLogisticsCostReport::GetStockingPointCCRent(); |
| | | |
| | | startofplanning := owner.StartOfPlanning().Date(); |
| | | //startofyear := startofplanning.StartOfYear(); |
| | | startofnextyear := startofplanning.StartOfNextYear(); |
| | | |
| | | table := owner.CCEngineLogisticsCostReport( relnew, ID := name, Name := name ); |
| | | showtable := owner.CCEngineLogisticsCostReport( relnew, ID := name + 'Show', Name := name, IsShow := true ); |
| | | search := owner.CCEngineLogisticsCostSearch( relnew, Generation := allunit, MqbMlb := allunit, Power := allunit ); |
| | | |
| | | products := construct( Product_MPs ); |
| | | |
| | | table.GenerateColumn( owner ); |
| | | //å¤ç§åºå
¥åºè´¹ç¨ï¼åèªè´¢å¡äº§éæ¥è¡¨ç产éï¼å¨äº§åè¡¨æ ¹æ®å卿ºå·æ¾å°å¯¹åºçGeneration 忍ªçºµå¶ï¼å¨å卿ºææ¬åæ°è¡¨éæ¾å°å¯¹åºçå
è£
容éåå
¥åºåä»·ï¼ç¨å
¬å¼è®¡ç®ï¼æåº¦è¿è¡æ±æ» |
| | | traverse( owner, FinancialProductionSource, source, not source.IsImport() ){//è´¢å¡äº§éæ¥è¡¨é导å
¥ |
| | | traverse( source, FinancialProductionReport, report, not report.IsShow() ){//è´¢å¡äº§éæ¥è¡¨ä¸æ¾ç¤º |
| | | traverse( report, FinancialProductionRow, row, row.Unit() = ccunit and exists( row, FinancialProductionCell, cell, cell.Value() <> '0' ) ){//è´¢å¡äº§éæ¥è¡¨éçé¿æ¥äº§é, ä¸ä¸º0 |
| | | ccrow := table.GetRow( row.Name() ); |
| | | //æ¥è¯¢å¯¹åºçå卿ºææ¬ |
| | | enginecost := selectobject( owner, LogisticsCostEngine, engine, engine.Product() = row.Name() ); |
| | | traverse( row, FinancialProductionCell, cell, cell.Value() <> '0' ){ |
| | | //å
¥åºé/å
è£
容é*å
¥åºåä»·ï¼å
¥åºéçäºé¿æ¥äº§é |
| | | quantity := ceil( [Number]cell.Value() / enginecost.PackagingCapacity() ) * enginecost.WarehousingPrice(); |
| | | column := selectobject( table, Column, column, column.Name() = cell.FinancialProductionColumn().Name() ); |
| | | //å¤ç§åºå
¥åºè´¹ç¨ |
| | | ccrow.SetRentEnterCost( column, quantity ); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | //å¤ç§åºåºåºè´¹ç¨ï¼åºåºéçäºé¿æ¥ééï¼åèªè´¢å¡ééæ¥è¡¨çééï¼å¨äº§åè¡¨æ ¹æ®å卿ºå·æ¾å°å¯¹åºçGeneration 忍ªçºµå¶ï¼å¨å卿ºææ¬åæ°è¡¨éæ¾å°å¯¹åºçå
è£
容éååºåºåä»·ï¼ç¨å
¬å¼è®¡ç®ï¼æåº¦è¿è¡æ±æ» |
| | | traverse( owner, FinancialSalesSource, source, not source.IsImport() ){//è´¢å¡ééæ¥è¡¨é导å
¥ |
| | | traverse( source, FinancialSalesReport, report, not report.IsShow() ){//è´¢å¡ééæ¥è¡¨ä¸æ¾ç¤º |
| | | traverse( report, FinancialSalesRow, row, row.Unit() = ccunit and exists( row, FinancialSalesCell, cell, cell.Value() <> '0' ) ){//è´¢å¡ééæ¥è¡¨éçé¿æ¥äº§é, ä¸ä¸º0 |
| | | ccrow := table.GetRow( row.Name() ); |
| | | //æ¥è¯¢å¯¹åºçå卿ºææ¬ |
| | | enginecost := selectobject( owner, LogisticsCostEngine, engine, engine.Product() = row.Name() ); |
| | | traverse( row, FinancialSalesCell, cell, cell.Value() <> '0' ){ |
| | | //åºåºé/å
è£
容é*åºåºåä»·ï¼å
¥åºéçäºé¿æ¥éé |
| | | quantity := ceil( [Number]cell.Value() / enginecost.PackagingCapacity() ) * enginecost.WarehousingPrice(); |
| | | column := selectobject( table, Column, column, column.Name() = cell.FinancialSalesColumn().Name() ); |
| | | //å¤ç§åºåºåºè´¹ç¨ |
| | | ccrow.SetRentOutCost( column, quantity ); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | //åå
å°å¤ç§åºè¿è¾è´¹ç¨ï¼ï¼å¨ trip planéæ¾å°é¿æ¥è£
é
线边åºå°é¿æ¥å¤ç§åºçè¿è¾æ°éï¼ï¼ï¼ç¨å
¬å¼è®¡ç®å¾åºç»æï¼æåº¦è¿è¡æ±æ» |
| | | traverse( owner, Unit.Lane.LaneLeg, laneleg ){ |
| | | //èµ·å§åºåç¹æ¯å¦æ¯é¿æ¥è£
é
çº¿è¾¹åº |
| | | originsp := selectobject( owner, StockingPoint_MP, sp, sp.ID() = laneleg.OriginStockingPointID() ); |
| | | isccspline := table.IsInUnit( originsp, ccline ); |
| | | //ç®çå°æ¯å¦æ¯é¿æ¥å¤ç§åº |
| | | destisp := selectobject( owner, StockingPoint_MP, sp, sp.ID() = laneleg.DestinationStockingPointID() ); |
| | | isccrent := table.IsInUnit( destisp, ccrent ); |
| | | if( isccspline and isccrent ){ |
| | | traverse( laneleg, Trip, trip, trip.Arrival().Date() < startofnextyear ){ |
| | | periodtime := trip.Arrival().StartOfMonth().Date(); |
| | | periodname := periodtime.Format( "M2/D2/Y" ); |
| | | |
| | | column := selectobject( table, Column, column, column.Name() = periodname and column.StartDate() = periodtime ); |
| | | traverse( trip, ProductInTrip, pit, pit.Quantity() = 0 ){ |
| | | row := table.GetRow( pit.ProductID() ); |
| | | //å¨å卿ºææ¬åæ°è¡¨æ¾å°å¯¹åºçå
è£
容é |
| | | enginecost := selectobject( owner, LogisticsCostEngine, engine, engine.Product() = row.Name() ); |
| | | //å¨è¿è¾ææ¬åæ°è¡¨éæ¾å°å卿ºå¯¹åºè¿è¾åä»·åè£
载容é |
| | | transcost := selectobject( owner, LogisticsCostTransport, trans, trans.Product() = row.Name() ); |
| | | //è¿è¾æ°é/å
è£
容é/è£
载容é*è¿è¾åä»· |
| | | quantity := ceil( ceil( [Number]pit.Quantity() / enginecost.PackagingCapacity() ) / transcost.LoadingCapacity() ) * transcost.TransportPrice();//åèäºå
¥ |
| | | |
| | | row.SetFactoryToRentTransCost( column, quantity ); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | //å¤ç§åºä»å¨è´¹ç¨ï¼ä»å¨æ°é/å
è£
容é*ä»å¨åä»·ï¼å¨Actual inventorieséåå°é¿æ¥å¤ç§åºè¯¥å卿ºçä»å¨éï¼æ ¹æ®å卿ºå·æ¾å°å¯¹åºçGeneration 忍ªçºµå¶ï¼å¨å卿ºææ¬åæ°è¡¨éæ¾å°å¯¹åºçä»å¨åä»·åå
è£
容éï¼ç¨å
¬å¼è®¡ç®ï¼æåº¦è¿è¡æ±æ» |
| | | traverse( owner, StockingPoint_MP, stockingpoint ){ |
| | | //æ¯å¦å±äºé¿æ¥å¤ç§åº |
| | | isccrent := table.IsInUnit( stockingpoint, ccrent ); |
| | | if( isccrent ){ |
| | | traverse( stockingpoint, ProductInStockingPoint_MP, pisp, pisp.Product_MP().IsLeaf() ){ |
| | | //è·åè¡ |
| | | row := table.GetRow( pisp.ProductID() ); |
| | | //æ¥è¯¢å¯¹åºçå卿ºææ¬ |
| | | enginecost := selectobject( owner, LogisticsCostEngine, engine, engine.Product() = row.Name() ); |
| | | products.Add( pisp.Product_MP() ); |
| | | //å½product planningçæ¥æåºé´å¨éè¦çæ¥æåºé´å
|
| | | traverse( pisp, ProductInStockingPointInPeriod, pispip, not pispip.Period_MP().IsHistorical() and pispip.Period_MP().StartDate() < startofnextyear |
| | | ){ |
| | | periodtime := pispip.Start().StartOfMonth().Date(); |
| | | periodname := periodtime.Format( "M2/D2/Y" ); |
| | | quantity := ceil( [Number]pispip.NewSupplyQuantity() / enginecost.PackagingCapacity() ) * enginecost.StoragePrice();//åèäºå
¥ |
| | | |
| | | column := selectobject( table, Column, column, column.Name() = periodname and column.StartDate() = periodtime ); |
| | | |
| | | row.SetRentStorageCost( column, quantity ); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | rows := selectsortedset( table, Row, row, row.Name() ); |
| | | i := 0; |
| | | traverse( rows, Elements, e ){ |
| | | e.RowNr( i ); |
| | | i := i + 1; |
| | | } |
| | | // |
| | | showtable.Generate( search, products ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type CCEngineLogisticsCostReport |
| | | { |
| | | #keys: '5[415136.0.986400937][415136.0.986400935][0.0.0][415136.0.986400936][415136.0.986400938]' |
| | | BaseType: Object |
| | | Description: 'é¿æ¥å卿ºç©æµææ¬æ¥è¡¨' |
| | | StructuredName: 'CCEngineLogisticsCostReports' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Name |
| | | { |
| | | #keys: '3[415136.0.986400984][415136.0.986400983][415136.0.986400985]' |
| | | Description: 'åç§°' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute RowNr |
| | | { |
| | | #keys: '3[415136.0.986616244][415136.0.986616243][415136.0.986616245]' |
| | | Description: 'è¡å·' |
| | | ValueType: Number |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Name |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method Initialize ( |
| | | CCEngineLogisticsCostColumn column |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-24-2024 (created) |
| | | cell := this.Cell( relnew, RentEnterCost := 0 |
| | | , RentOutCost := 0 |
| | | , FactoryToRentTransCost := 0 |
| | | , RentStorageCost := 0 ); |
| | | |
| | | column.Cell( relinsert, cell ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method SetFactoryToRentTransCost ( |
| | | CCEngineLogisticsCostColumn column, |
| | | Number quantity |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-24-2024 (created) |
| | | cell := selectobject( this, Cell, cell, cell.Column() = column ); |
| | | |
| | | value := cell.FactoryToRentTransCost() + quantity; |
| | | cell.FactoryToRentTransCost( value ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method SetRentEnterCost ( |
| | | CCEngineLogisticsCostColumn column, |
| | | Number quantity |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-24-2024 (created) |
| | | cell := selectobject( this, Cell, cell, cell.Column() = column ); |
| | | |
| | | value := cell.RentEnterCost() + quantity; |
| | | cell.RentEnterCost( value ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method SetRentOutCost ( |
| | | CCEngineLogisticsCostColumn column, |
| | | Number quantity |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-24-2024 (created) |
| | | cell := selectobject( this, Cell, cell, cell.Column() = column ); |
| | | |
| | | value := cell.RentOutCost() + quantity; |
| | | cell.RentOutCost( value ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Method SetRentStorageCost ( |
| | | CCEngineLogisticsCostColumn column, |
| | | Number quantity |
| | | ) |
| | | { |
| | | TextBody: |
| | | [* |
| | | // çå
°é¸½ Jun-24-2024 (created) |
| | | cell := selectobject( this, Cell, cell, cell.Column() = column ); |
| | | |
| | | value := cell.RentStorageCost() + quantity; |
| | | cell.RentStorageCost( value ); |
| | | *] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type CCEngineLogisticsCostRow |
| | | { |
| | | #keys: '5[415136.0.986400975][415136.0.986400973][0.0.0][415136.0.986400974][415136.0.986400976]' |
| | | BaseType: Object |
| | | Description: 'é¿æ¥å卿ºç©æµææ¬æ¥è¡¨è¡' |
| | | StructuredName: 'CCEngineLogisticsCostRows' |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Generation |
| | | { |
| | | #keys: '3[415136.0.986844795][415136.0.986844794][415136.0.986844796]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute MqbMlb |
| | | { |
| | | #keys: '3[415136.0.986844798][415136.0.986844797][415136.0.986844799]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Attribute Power |
| | | { |
| | | #keys: '3[415136.0.986844801][415136.0.986844800][415136.0.986844802]' |
| | | ValueType: String |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Generation |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: MqbMlb |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | DefaultValue |
| | | { |
| | | TargetAttribute: Power |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: #DomainModel |
| | | Type CCEngineLogisticsCostSearch |
| | | { |
| | | #keys: '5[415136.0.986844792][415136.0.986844790][0.0.0][415136.0.986844791][415136.0.986844793]' |
| | | BaseType: Object |
| | | Description: 'é¿æ¥å卿ºç©æµææ¬æ¥è¡¨æ¥è¯¢ç±»' |
| | | StructuredName: 'CCEngineLogisticsCostSearchs' |
| | | } |
| | |
| | | isccrent := table.IsInUnit( destisp, ccrent ); |
| | | if( isdlspline and isccrent ){ |
| | | traverse( laneleg, Trip, trip, trip.Arrival() < startofnextyearlead ){ |
| | | periodtime := ( trip.Arrival() - FinancialSalesReport::GetDefaultTripLeadingTime() ).StartOfMonth().Date(); |
| | | // periodtime := ( trip.Arrival() - FinancialSalesReport::GetDefaultTripLeadingTime() ).StartOfMonth().Date(); |
| | | periodtime := trip.Departure().StartOfMonth().Date(); |
| | | periodname := periodtime.Format( "M2/D2/Y" ); |
| | | |
| | | column := selectobject( table, FinancialSalesColumn, column, column.Name() = periodname and column.Period() = periodtime ); |
| | | traverse( trip, ProductInTrip, pit ){ |
| | | quantity := [Number]pit.Quantity();//åèäºå
¥ |
| | | dlrow := table.GetRow( dlunit, pit.Product_MP() ); |
| | | dlrow.Initialize( column, quantity );//æ±æ»æ°é |
| | | |
| | | allrow := table.GetRow( allunit, pit.Product_MP() ); |
| | | allrow.Initialize( column, quantity ); |
| | | if( not isnull( column ) ){ |
| | | traverse( trip, ProductInTrip, pit ){ |
| | | quantity := [Number]pit.Quantity();//åèäºå
¥ |
| | | dlrow := table.GetRow( dlunit, pit.Product_MP() ); |
| | | dlrow.Initialize( column, quantity );//æ±æ»æ°é |
| | | |
| | | allrow := table.GetRow( allunit, pit.Product_MP() ); |
| | | allrow.Initialize( column, quantity ); |
| | | } |
| | | } |
| | | } |
| | | } |
| | |
| | | Taborder: 9 |
| | | ] |
| | | } |
| | | Component ButtonEngineLogisticsCostReport |
| | | { |
| | | #keys: '[415136.0.989557433]' |
| | | BaseType: 'WebButton' |
| | | Children: |
| | | [ |
| | | #child: ContextMenuEngineLogisticsCostReport |
| | | ] |
| | | Properties: |
| | | [ |
| | | Image: 'MONEY2' |
| | | Label: 'engine logistics cost report ' |
| | | Taborder: 10 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component ContextMenuEngineLogisticsCostReport |
| | | { |
| | | #keys: '[415136.0.989557478]' |
| | | BaseType: 'WebContextMenu' |
| | | Children: |
| | | [ |
| | | Component MenuCCEngineLogisticsCostReport |
| | | { |
| | | #keys: '[415136.0.989557479]' |
| | | BaseType: 'WebMenu' |
| | | Properties: |
| | | [ |
| | | Image: 'MONEY2' |
| | | Taborder: 0 |
| | | Title: 'CC engine logistics cost report' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: ContextMenuEngineLogisticsCostReport/MenuCCEngineLogisticsCostReport |
| | | Response OnClick () id:Response_MacroPlanner_ContextMenuEngineLogisticsCostReport_MenuCCEngineLogisticsCostReport_OnClick |
| | | { |
| | | #keys: '[415136.0.989557681]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebMenu_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | ApplicationScope.ViewManager().ResetUserViewById( "CC_engine_logistics_cost_report_view", true); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component MatrixEditorTable id:MatrixEditorTable_358 |
| | | { |
| | | #keys: '[415136.0.989500591]' |
| | | BaseType: 'WebMatrixEditor' |
| | | Children: |
| | | [ |
| | | Component MatrixEditorCellTable |
| | | { |
| | | #keys: '[415136.0.989500592]' |
| | | BaseType: 'WebMatrixEditorCell' |
| | | Children: |
| | | [ |
| | | Component DataExtractorCell |
| | | { |
| | | #keys: '[415136.0.989500593]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'CCEngineLogisticsCostReport' |
| | | Source: 'DataHolderTable' |
| | | Taborder: 0 |
| | | Transformation: 'Row.Cell' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Attributes: 'Value' |
| | | Column: 'FinancialProductionColumn' |
| | | Row: 'FinancialProductionRow' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component MatrixEditorRowsTable |
| | | { |
| | | #keys: '[415136.0.989500594]' |
| | | BaseType: 'WebMatrixEditorHeaderLevel' |
| | | Children: |
| | | [ |
| | | Component DataExtractorRow |
| | | { |
| | | #keys: '[415136.0.989500595]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'CCEngineLogisticsCostReport' |
| | | Source: 'DataHolderTable' |
| | | Taborder: 0 |
| | | Transformation: 'Row' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Legend: 'Name' |
| | | SortCriteria: 'RowNr' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component MatrixEditorColumnsTable |
| | | { |
| | | #keys: '[415136.0.989500596]' |
| | | BaseType: 'WebMatrixEditorHeaderLevel' |
| | | Children: |
| | | [ |
| | | Component DataExtractorColumn |
| | | { |
| | | #keys: '[415136.0.989500597]' |
| | | BaseType: 'WebDataExtractor' |
| | | Properties: |
| | | [ |
| | | DataType: 'CCEngineLogisticsCostReport' |
| | | Source: 'DataHolderTable' |
| | | Taborder: 0 |
| | | Transformation: 'Column' |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Legend: 'Name' |
| | | SortCriteria: 'Index' |
| | | Taborder: 2 |
| | | ] |
| | | } |
| | | #child: matrixEditorActionBarPageTable_1 |
| | | #child: matrixeditorContextMenuTable_1 |
| | | ] |
| | | Properties: |
| | | [ |
| | | AllowMultipleAttributes: true |
| | | Columns: 'MatrixEditorColumnsTable' |
| | | ContextMenu: 'matrixeditorContextMenuTable' |
| | | Rows: 'MatrixEditorRowsTable' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelCCEngineLogisticsCostReportHeader |
| | | { |
| | | #keys: '[415136.0.989500449]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: PanelCCEngineLogisticsCostReportSearch |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelCCEngineLogisticsCostReportSearch |
| | | { |
| | | #keys: '[415136.0.989500450]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: PanelExport_670 |
| | | #child: PanelPower_653 |
| | | #child: PanelMQBMLB_667 |
| | | #child: PanelGeneration_969 |
| | | ] |
| | | Properties: |
| | | [ |
| | | FixedSize: true |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelExport id:PanelExport_670 |
| | | { |
| | | #keys: '[415136.0.989500459]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ButtonExport |
| | | { |
| | | #keys: '[415136.0.989500460]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'EXPORT1' |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | Component ButtonSearch |
| | | { |
| | | #keys: '[415136.0.989500461]' |
| | | BaseType: 'WebButton' |
| | | Properties: |
| | | [ |
| | | Image: 'VIEW' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelGeneration id:PanelGeneration_969 |
| | | { |
| | | #keys: '[415136.0.989500453]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddslGeneration |
| | | { |
| | | #keys: '[415136.0.989500454]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | Label: 'Generation' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 0 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelMQBMLB id:PanelMQBMLB_667 |
| | | { |
| | | #keys: '[415136.0.989500455]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddslMQBMLB |
| | | { |
| | | #keys: '[415136.0.989500456]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | Label: 'MQB/MLB' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 1 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelPower id:PanelPower_653 |
| | | { |
| | | #keys: '[415136.0.989500457]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | Component ddslPower |
| | | { |
| | | #keys: '[415136.0.989500458]' |
| | | BaseType: 'WebDropDownStringList' |
| | | Properties: |
| | | [ |
| | | Label: 'Power' |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | ] |
| | | Properties: |
| | | [ |
| | | Orientation: 'horizontal' |
| | | Taborder: 2 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component PanelTable id:PanelTable_211 |
| | | { |
| | | #keys: '[415136.0.989500590]' |
| | | BaseType: 'WebPanel' |
| | | Children: |
| | | [ |
| | | #child: MatrixEditorTable_358 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component matrixEditorActionBarPageTable id:matrixEditorActionBarPageTable_1 |
| | | { |
| | | #keys: '[415136.0.989500598]' |
| | | BaseType: 'matrixEditorActionBarPage' |
| | | Properties: |
| | | [ |
| | | Taborder: 3 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | Component matrixeditorContextMenuTable id:matrixeditorContextMenuTable_1 |
| | | { |
| | | #keys: '[415136.0.989500599]' |
| | | BaseType: 'matrixeditorContextMenu' |
| | | Properties: |
| | | [ |
| | | Taborder: 4 |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: MatrixEditorTable_358 |
| | | Response OnUpdateValue ( |
| | | CCEngineLogisticsCostRow row, |
| | | CCEngineLogisticsCostColumn column, |
| | | CCEngineLogisticsCostCell cell, |
| | | Number value, |
| | | Number oldvalue |
| | | ) id:Response_MatrixEditorTable_358_OnUpdateValue |
| | | { |
| | | #keys: '[415136.0.989501207]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebMatrixEditor_OnUpdateValue' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | table := selectobject( MacroPlan, CCEngineLogisticsCostReport, report, not report.IsShow() ); |
| | | traverse( table, Row, trow, trow.Name() = row.Name() ){ |
| | | traverse( trow, Cell, tcel, tcel.Column().Name() = column.Name() ){ |
| | | tcel.RentEnterCost( cell.RentEnterCost() ); |
| | | tcel.RentOutCost( cell.RentOutCost() ); |
| | | tcel.FactoryToRentTransCost( cell.FactoryToRentTransCost() ); |
| | | tcel.RentStorageCost( cell.RentStorageCost() ); |
| | | tcel.Coefficient( cell.Coefficient() ); |
| | | } |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: #root |
| | | Response OnCreated () id:Response_FormCCEngineLogisticsCostReport_OnCreated |
| | | { |
| | | #keys: '[415136.0.989500680]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | //åå§å |
| | | //if( not exists( MacroPlan, FinancialProductionSource, source, not source.IsImport() ) ){ |
| | | CCEngineLogisticsCostReport::Initialize( MacroPlan ); |
| | | //} |
| | | //info( '------------------1----------------' ); |
| | | table := selectobject( MacroPlan, CCEngineLogisticsCostReport, table, table.IsShow() ); |
| | | //info( '------------------2----------------', table.IsImport(), table.IsShow() ); |
| | | DataHolderTable.Data( table ); |
| | | |
| | | dhSearch.Data( table.MacroPlan().CCEngineLogisticsCostSearch() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelExport_670/ButtonExport |
| | | Response OnClick () id:Response_PanelExport_670_ButtonExport_OnClick |
| | | { |
| | | #keys: '[415136.0.989500440]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | Precondition: |
| | | [* |
| | | return not isnull( MacroPlan ); |
| | | *] |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | binaryValue := CCEngineLogisticsCostReport::Download( MacroPlan ); |
| | | |
| | | Application.Download( CCEngineLogisticsCostReport::GetDefaultName() + '.xlsx', binaryValue.AsBinaryData() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelExport_670/ButtonSearch |
| | | Response OnClick () id:Response_PanelExport_670_ButtonSearch_OnClick |
| | | { |
| | | #keys: '[415136.0.989500439]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | DataHolderTable.Data().Generate( dhSearch.Data(), DataHolderProduct.Data() ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelGeneration_969/ddslGeneration |
| | | Response OnCreated () id:Response_PanelGeneration_969_ddslGeneration_OnCreated |
| | | { |
| | | #keys: '[415136.0.989500446]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | values := selectuniquevalues( MacroPlan, Product_MP, tempPMP, true, tempPMP.Generation() ); |
| | | |
| | | valueString := values.Concatenate( ";" ); |
| | | valueString := selectuniquevalues( valueString.Tokenize( ";" ), Elements, tempS, true, tempS ).Concatenate( ";" ); |
| | | |
| | | valueString := "<All>" + ifexpr( valueString = "", "", ";" ) + valueString; |
| | | |
| | | this.Strings( valueString ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelGeneration_969/ddslGeneration |
| | | Response OnSelectionChanged () id:Response_PanelGeneration_969_ddslGeneration_OnSelectionChanged |
| | | { |
| | | #keys: '[415136.0.989500445]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDropDownStringList_OnSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( dhSearch.Data().Generation() <> selection ){ |
| | | dhSearch.Data().Generation( selection ); |
| | | // DataHolderTable.Data().Generate( dhSearch.Data(), DataHolderProduct.Data() ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelMQBMLB_667/ddslMQBMLB |
| | | Response OnCreated () id:Response_PanelMQBMLB_667_ddslMQBMLB_OnCreated |
| | | { |
| | | #keys: '[415136.0.989500444]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | values := selectuniquevalues( MacroPlan, Product_MP, tempPMP, true, tempPMP.MQBMLB() ); |
| | | |
| | | valueString := values.Concatenate( ";" ); |
| | | valueString := selectuniquevalues( valueString.Tokenize( ";" ), Elements, tempS, true, tempS ).Concatenate( ";" ); |
| | | |
| | | valueString := "<All>" + ifexpr( valueString = "", "", ";" ) + valueString; |
| | | |
| | | this.Strings( valueString ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelMQBMLB_667/ddslMQBMLB |
| | | Response OnSelectionChanged () id:Response_PanelMQBMLB_667_ddslMQBMLB_OnSelectionChanged |
| | | { |
| | | #keys: '[415136.0.989500443]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDropDownStringList_OnSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( dhSearch.Data().MqbMlb() <> selection ){ |
| | | dhSearch.Data().MqbMlb( selection ); |
| | | // DataHolderTable.Data().Generate( dhSearch.Data(), DataHolderProduct.Data() ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPower_653/ddslPower |
| | | Response OnCreated () id:Response_PanelPower_653_ddslPower_OnCreated |
| | | { |
| | | #keys: '[415136.0.989500442]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | values := selectuniquevalues( MacroPlan, Product_MP, tempPMP, true, tempPMP.Power() ); |
| | | |
| | | valueString := values.Concatenate( ";" ); |
| | | valueString := selectuniquevalues( valueString.Tokenize( ";" ), Elements, tempS, true, tempS ).Concatenate( ";" ); |
| | | |
| | | valueString := "<All>" + ifexpr( valueString = "", "", ";" ) + valueString; |
| | | |
| | | this.Strings( valueString ); |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelPower_653/ddslPower |
| | | Response OnSelectionChanged () id:Response_PanelPower_653_ddslPower_OnSelectionChanged |
| | | { |
| | | #keys: '[415136.0.989500441]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebDropDownStringList_OnSelectionChanged' |
| | | QuillAction |
| | | { |
| | | Body: |
| | | [* |
| | | if( dhSearch.Data().Power() <> selection ){ |
| | | dhSearch.Data().Power( selection ); |
| | | // DataHolderTable.Data().Generate( dhSearch.Data(), DataHolderProduct.Data() ); |
| | | } |
| | | *] |
| | | GroupServerCalls: false |
| | | } |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | #root |
| | | #parent: MacroPlannerWebApp |
| | | OrphanComponent FormCCEngineLogisticsCostReport |
| | | { |
| | | #keys: '[415136.0.989500338]' |
| | | BaseType: 'WebForm' |
| | | Children: |
| | | [ |
| | | Component DataHolderTable id:DataHolderTable_437 |
| | | { |
| | | #keys: '[415136.0.989500367]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'CCEngineLogisticsCostReport' |
| | | Properties: |
| | | [ |
| | | Taborder: 0 |
| | | ] |
| | | } |
| | | Component dhSearch id:dhSearch_902 |
| | | { |
| | | #keys: '[415136.0.989500384]' |
| | | BaseType: 'WebDataHolder' |
| | | Databinding: 'CCEngineLogisticsCostSearch' |
| | | Properties: |
| | | [ |
| | | Taborder: 1 |
| | | ] |
| | | } |
| | | #child: PanelCCEngineLogisticsCostReportHeader |
| | | #child: PanelTable_211 |
| | | ] |
| | | Properties: |
| | | [ |
| | | Image: 'MONEY2' |
| | | Title: 'CC engine logistics cost report' |
| | | ] |
| | | } |
¶Ô±ÈÐÂÎļþ |
| | |
| | | Quintiq file version 2.0 |
| | | { |
| | | viewcontents |
| | | { |
| | | forms |
| | | { |
| | | form_FormCCEngineLogisticsCostReport |
| | | { |
| | | title: 'QMacroPlanner::FormCCEngineLogisticsCostReport' |
| | | shown: true |
| | | componentID: 'QMacroPlanner::FormCCEngineLogisticsCostReport' |
| | | layout |
| | | { |
| | | mode: 'open' |
| | | rowPosition: 1 |
| | | rowSpan: 15 |
| | | columnPosition: 1 |
| | | columnSpan: 13 |
| | | } |
| | | components |
| | | { |
| | | FormCCEngineLogisticsCostReport_PanelCCEngineLogisticsCostReportHeader |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormCCEngineLogisticsCostReport_PanelCCEngineLogisticsCostReportSearch |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormCCEngineLogisticsCostReport_PanelGeneration |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormCCEngineLogisticsCostReport_PanelMQBMLB |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormCCEngineLogisticsCostReport_PanelPower |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormCCEngineLogisticsCostReport_PanelExport |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormCCEngineLogisticsCostReport_PanelTable |
| | | { |
| | | sizeRatio: 1 |
| | | } |
| | | FormCCEngineLogisticsCostReport_MatrixEditorTable |
| | | { |
| | | gridColor: '#c4c4c4' |
| | | totalHeaderWidth: 113 |
| | | attributeHeaderWidthRatio: 0.6 |
| | | nameHeaderWidthRatio: 0.4 |
| | | columnWidth: 100 |
| | | horizontalGrid: true |
| | | verticalGrid: true |
| | | backendState |
| | | { |
| | | componentId: 'QMacroPlanner::FormCCEngineLogisticsCostReport.MatrixEditorTable' |
| | | state |
| | | { |
| | | cells |
| | | { |
| | | attributes |
| | | { |
| | | } |
| | | } |
| | | columns |
| | | { |
| | | sorting |
| | | { |
| | | criteria: "datamember:'Index'" |
| | | } |
| | | } |
| | | rows |
| | | { |
| | | sorting |
| | | { |
| | | criteria: "datamember:'RowNr'" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | userconfigurableinformation |
| | | { |
| | | } |
| | | page: '' |
| | | group: '' |
| | | index: 27 |
| | | image: 'MONEY2' |
| | | description: '' |
| | | } |
| | | formatversion: 2 |
| | | id: 'CC_engine_logistics_cost_report_view' |
| | | name: 'CC engine logistics cost report view' |
| | | isglobal: false |
| | | isroot: true |
| | | } |