Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

<SalesOrders> 
<SalesOrder> 
<Header Operation="Allocate">          
<Company Type="ID">XYZ</Company>         
<User Type="ID">UserA</User>        
<Order Type="ID">12345</Order>   
<OrderType Type="ID">Order</OrderType>
<Status Type="ID">Shipped</Status>              
<Dates>       
<ActualShip>2018-01-11 19:01:02</ActualShip>       
</Dates>     
<Workflow Type="ID" />       
<PurchaseOrder />  
<Carrier Type="ID" />             
</Header>    
<Lines>           
<Line>           
<Item Type="ID">54321</Item>     
<Sequence>101001</Sequence>    
<IsSubstitute />      
<Carrier Type="ID" />           
<Site Type="ID">ABC</Site>             
<Status Type="ID">Shipped</Status>           
<ScheduledShip>2018-01-11 19:01:02</ScheduledShip>      
<Allocations Automatic="False">    
<Allocation>           
<AllocatedUnits UOMID="CASE">1.00000</AllocatedUnits>          
<AllocatedWeight UOMID="LB">10.60000</AllocatedWeight>     
<Lot Type="ID">18000</Lot>      
<Owner>NLP</Owner> 
</Allocation>         
</Allocations>         
</Line>         
      <Line>           
<Item Type="ID">98765</Item>     
<Sequence>102002</Sequence>    
<IsSubstitute>Yes</IsSubstitute>    
<Carrier Type="ID" />           
<Site Type="ID">ABC</Site>             
<Status Type="ID">Shipped</Status>           
<ScheduledShip>2018-01-11 19:01:02</ScheduledShip>      
<Allocations Automatic="False">    
<Allocation>           
<AllocatedUnits UOMID="CASE">1.000000</AllocatedUnits>        
            <AllocatedWeight UOMID=""></AllocatedWeight>            
<Lot Type="ID">18300</Lot>       
</Allocation>         
</Allocations>      
</Line>         
</Lines>         
</SalesOrder>
</SalesOrders>

Example of a unit only item:
      <Line>           
<Item Type="ID">10000</Item>     
<Sequence>102004</Sequence>    
  <IsSubstitute />     
<Carrier Type="ID" />           
<Site Type="ID">ABC</Site>             
<Status Type="ID">Shipped</Status>           
<ScheduledShip>2018-01-11 19:01:02</ScheduledShip>      
<Allocations Automatic="False">    
<Allocation>           
<AllocatedUnits UOMID="CASE">1.000000</AllocatedUnits>            
<Lot Type="ID">18300</Lot>       
</Allocation>         
</Allocations>      
</Line> 

Example of a weight only item:
      <Line>           
<Item Type="ID">10050</Item>     
<Sequence>102005</Sequence>    
<IsSubstitute />         
<Carrier Type="ID" />           
<Site Type="ID">ABC</Site>             
<Status Type="ID">Shipped</Status>           
<ScheduledShip>2018-01-11 19:01:02</ScheduledShip>      
<Allocations Automatic="False">    
<Allocation>           
<AllocatedWeight UOMID="LB">35.000000</AllocatedWeight>            
<Lot Type="ID">18300</Lot>       
</Allocation>         
</Allocations>      
</Line> 

Example of a fixed weight or variable weight item where both units and weight are required:
            <Line>           
<Item Type="ID">10075</Item>     
<Sequence>102006</Sequence>    
<IsSubstitute />         
<Carrier Type="ID" />           
<Site Type="ID">ABC</Site>             
<Status Type="ID">Shipped</Status>           
<ScheduledShip>2018-01-11 19:01:02</ScheduledShip>      
<Allocations Automatic="False">    
<Allocation>           
<AllocatedUnits UOMID="CASE">1.000000</AllocatedUnits>   
<AllocatedWeight UOMID="LB">50.000000</AllocatedWeight>             
<Lot Type="ID">18300</Lot>       
</Allocation>         
</Allocations>      
</Line>