| | |
| | | traverse( product,DispatchShiftSchedulingDetail,detail ){ |
| | | detail_Json := JSON::Object(); |
| | | detail_Json.Add( "ShiftName",detail.SingleShiftName() ); |
| | | detail_Json.Add( "Quantity",detail.ShiftVolume() ); |
| | | detail_Json.Add( "Quantity",detail.ShiftVolume().Format( "N(Dec)" ) ); |
| | | detail_Json.Add( "ProductNo",detail.DispatchShiftSchedulingProduct().ProductID() ); |
| | | |
| | | details_Json.Add( detail_Json ); |
| | |
| | | traverse( product,DispatchShiftSchedulingDetail,detail ){ |
| | | detail_Json := JSON::Object(); |
| | | detail_Json.Add( "ShiftName",detail.SingleShiftName() ); |
| | | detail_Json.Add( "Quantity",detail.ShiftVolume() ); |
| | | detail_Json.Add( "Quantity",detail.ShiftVolume().Format( "N(Dec)" ) ); |
| | | detail_Json.Add( "ProductNo",detail.DispatchShiftSchedulingProduct().ProductID() ); |
| | | |
| | | details_Json.Add( detail_Json ); |
| | |
| | | offlinePlanCell := offlinePlanCells.Element( offlinePlanCellIndex.GetValueAsNumber() ); |
| | | offlinePlanCellQuantity := offlinePlanCell.Quantity(); |
| | | } |
| | | |
| | | if( element.NewSupply( relsize ) = 1 ){ |
| | | traverse( element,NewSupply,newSupply ){ |
| | | newSupply.Update( offlinePlanCellQuantity ); |