| | |
| | | Date enddate, |
| | | String executor, |
| | | String feedback, |
| | | Boolean isPush |
| | | Boolean isPush, |
| | | Product_MPs products |
| | | ) as InterfaceLoginfo |
| | | { |
| | | TextBody: |
| | |
| | | traverse( owner, OfflinePlanArchiveVersion, table, not table.IsShow() ){ |
| | | traverse( table, Column, column, column.StartDate() >= startdate and column.StartDate() <= enddate ){//column.TimeUnit() = Translations::MP_GlobalParameters_Day() and |
| | | traverse( column, Cell, cell, ( werk = 'All' or cell.Row().Unit().FindString( werk, 0 ) > -1 ) |
| | | and ( cell.Row().ProductionLine() <> 'DL_MOMO' or cell.Row().ProductionLine() <> 'CC_MOMO' ) ){ |
| | | and ( cell.Row().ProductionLine() <> 'DL MoMo' and cell.Row().ProductionLine() <> 'CC MoMo' and cell.Row().ProductionLine() <> 'DL ZKM' ) ){ |
| | | row := cell.Row(); |
| | | rowwerk := ifexpr( row.ProductionLine().FindString( "CC", 0 ) > -1, AOnlineAndMOfflinePlanPIR::GetWerk( FinancialProductionReport::GetDefaultCCUnit() ), AOnlineAndMOfflinePlanPIR::GetWerk( FinancialProductionReport::GetDefaultDLUnit() ) ); |
| | | if( not exists( productids, Elements, e, e = row.ProductID() ) ){ |
| | |
| | | loginfo.TotalRow( pir.PIRData( relsize ) ); |
| | | |
| | | if ( isPush ) { |
| | | feedback := AOnlineAndMOfflinePlanPIR::Publish( owner, loginfo ); |
| | | feedback := AOnlineAndMOfflinePlanPIR::Publish( owner, loginfo, products ); |
| | | } |
| | | |
| | | return loginfo; |