| | |
| | | showrow := selectobject( this, FinancialProductionRow, fprow, fprow.Name() = factory.Format( 'S(Len(10))' ).Concat( row.Name() ) and fprow.Unit() = factory and factory = factory ); |
| | | if( isnull( showrow ) ){ |
| | | showrow := this.FinancialProductionRow( relnew, Name := factory.Format( 'S(Len(10))' ).Concat( row.Name() ), Unit := factory, Factory := factory ); |
| | | row.Product_MP().FinancialProductionRow( relinsert, showrow ); |
| | | // row.Product_MP().FinancialProductionRow( relinsert, showrow ); |
| | | } |
| | | yearcell := selectobject( yearcolumn, FinancialProductionCell, fpcell, fpcell.FinancialProductionRow() = showrow ); |
| | | if( isnull( yearcell ) ){ |
| | |
| | | createtime := guard( item.Get( "create_time").GetString(),""); |
| | | dday := guard( item.Get( "dday").GetString(),""); |
| | | fourcode := guard( item.Get( "four_code").GetString(),""); |
| | | quantity := guard( item.Get( "qty").GetReal(), 0); |
| | | quantity := [Real]guard( item.Get( "qty").GetString(), ""); |
| | | fac := guard( item.Get( "fac").GetString(),""); |
| | | id := guard( item.Get( "id").GetNumber(),0); |
| | | |
| | |
| | | traverse( sadatalist, Elements, e ){ |
| | | row := selectobject( owner, ShippingActualRow, row, row.Name() = e.FourCode() ); |
| | | if( isnull( row ) ){ |
| | | owner.ShippingActualRow( relnew, Name := e.FourCode() ); |
| | | row := owner.ShippingActualRow( relnew, Name := e.FourCode() ); |
| | | } |
| | | |
| | | cell := row.ShippingActualCell( relnew, Quantity := e.Quantity() ); |