| | |
| | | yearcell.AllCost( yearcell.EstimateTotalCost() * [Real]yearcell.CoefficientValue() ); |
| | | } |
| | | } |
| | | Transaction::Transaction().Propagate( attribute( CCEngineLogisticsCostCell, EstimateTotalCost ) ); |
| | | |
| | | traverse( yearcolumn, Cell, cell ){ |
| | | cell.EstimateTotalCost( cell.CalcEstimateTotalCost() ); |
| | | cell.AllCost( cell.EstimateTotalCost() * [Real]cell.CoefficientValue() ); |
| | |
| | | yearcell.AllCost( yearcell.EstimateTotalCost() * [Real]yearcell.CoefficientValue() ); |
| | | } |
| | | } |
| | | Transaction::Transaction().Propagate( attribute( DLEngineLogisticsCostCell, EstimateTotalCost ) ); |
| | | |
| | | traverse( yearcolumn, Cell, cell ){ |
| | | cell.EstimateTotalCost( cell.CalcEstimateTotalCost() ); |
| | | cell.AllCost( cell.EstimateTotalCost() * [Real]cell.CoefficientValue() ); |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | //åºåå¨éæ°æ® |
| | | traverse( owner, Unit.Lane.LaneLeg, laneleg ){ |
| | | originspid := laneleg.OriginStockingPointID(); |
| | | //èµ·å§å°æ¯é¿æ¥ |
| | | isccorigin := originspid.StartsWith( 'é¿æ¥' ) or originspid.StartsWith( 'CC' ); |
| | | //èµ·å§å°æ¯å¤§è¿ |
| | | isdlorigin := originspid.StartsWith( '大è¿' ) or originspid.StartsWith( 'DL' ); |
| | | if( isccorigin and isdlorigin ){ |
| | | traverse( laneleg, Trip, trip, trip.LeadTime().Days() > 1 ){ |
| | | for( transferdate := trip.Departure() + Duration::Days( 1 ); transferdate < trip.Arrival(); transferdate := transferdate + Duration::Days( 1 ) ){ |
| | | daycolumn := selectobject( table, InventorySummaryColumn, column, column.StartDate() = transferdate.Date(), column.TimeUnit() = Translations::MP_GlobalParameters_Day() ); |
| | | traverse( trip, ProductInTrip, pit, pit.Quantity() <> 0 ){ |
| | | //è·åå·¥åè¡ |
| | | factoryrow := table.GetRow( ifexpr( isccorigin, ccunit, dlunit ), pit.Product_MP() ); |
| | | //è·ååè®¡è¡ |
| | | allrow := table.GetRow( allunit, pit.Product_MP() ); |
| | | quantity := [Number]pit.Quantity(); |
| | | factoryrow.SetCellValue( daycolumn, quantity ); |
| | | allrow.SetCellValue( daycolumn, quantity ); |
| | | } |
| | | } |
| | | } |
| | | } |
| | | } |
| | | |
| | | rows := selectsortedset( table, InventroySummaryRow, row, row.Name() ); |
| | | i := 0; |
| | | traverse( rows, Elements, e ){ |
| | |
| | | actproductionhandle := actproductiontree.GetHandle( actproductionKey ); |
| | | actproductiontree.Root().AddChild( actproductionhandle,i ); |
| | | } |
| | | traverse( noptable, NewOfflinePlanRow, noprow ){ |
| | | traverse( noptable, NewOfflinePlanRow, noprow, noprow.Type() = '1' ){ |
| | | row := table.GetRow( noprow ); |
| | | if( not isnull( row ) ){ |
| | | traverse( noprow, NewOfflinePlanCell, nopcell ){ |
| | |
| | | Properties: |
| | | [ |
| | | DataType: 'FinancialProductionReport' |
| | | FixedFilter: 'not object.FinancialProductionColumn().IsDay()' |
| | | Source: 'DataHolderTable' |
| | | Taborder: 0 |
| | | Transformation: 'FinancialProductionColumn.FinancialProductionCell' |
| | |
| | | Properties: |
| | | [ |
| | | DataType: 'FinancialProductionReport' |
| | | FixedFilter: 'not object.IsDay()' |
| | | Source: 'DataHolderTable' |
| | | Taborder: 0 |
| | | Transformation: 'FinancialProductionColumn' |
| | |
| | | Properties: |
| | | [ |
| | | DataType: 'FinancialSalesReport' |
| | | FixedFilter: 'not object.FinancialSalesColumn().IsDay()' |
| | | Source: 'DataHolderTable' |
| | | Taborder: 0 |
| | | Transformation: 'FinancialSalesColumn.FinancialSalesCell' |
| | |
| | | Properties: |
| | | [ |
| | | DataType: 'FinancialSalesReport' |
| | | FixedFilter: 'not object.IsDay()' |
| | | Source: 'DataHolderTable' |
| | | Taborder: 0 |
| | | Transformation: 'FinancialSalesColumn' |
ÎļþÃû´Ó _Main/UI/MacroPlannerWebApp/Component_FormOfflinePlanArchive/Response_PanelOperation_ButtonSearch_OnCreated.def ÐÞ¸Ä |
| | |
| | | Quintiq file version 2.0 |
| | | #parent: PanelOperation/ButtonSearch |
| | | Response OnCreated () id:Response_PanelOperation_ButtonSearch_OnCreated |
| | | Response OnClick () id:Response_PanelOperation_ButtonSearch_OnClick |
| | | { |
| | | #keys: '[415136.0.1286390995]' |
| | | #keys: '[415136.0.1294002009]' |
| | | CanBindMultiple: false |
| | | DefinitionID: 'Responsedef_WebComponent_OnCreated' |
| | | DefinitionID: 'Responsedef_WebButton_OnClick' |
| | | QuillAction |
| | | { |
| | | Body: |