UpdateProductionOrderLines
UpdateProductionOrderLines is used to update reported number items on production order lines.
The use cases of this function is described on the page Reported number of items.
Request XML
POST /xxx/service.asmx HTTP/1.1
Host: xxx.ongoingsystems.se
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ongoingsystems.se/WSI/UpdateProductionOrderLines"
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateProductionOrderLines xmlns="http://ongoingsystems.se/WSI">
<GoodsOwnerCode>string</GoodsOwnerCode>
<UserName>string</UserName>
<Password>string</Password>
<UpdateProductionOrderLines>
<UpdateProductionOrderIdentification>
<ProductionOrderIdentificationType>ProductionOrderNumber or ProductionOrderId</ProductionOrderIdentificationType>
<ProductionOrderNumber>string</ProductionOrderNumber>
<ProductionOrderId>int</ProductionOrderId>
</UpdateProductionOrderIdentification>
<ProductionOrderLines>
<UpdateProductionOrderLine>
<UpdateProductionOrderLineIdentification xsi:nil="true" />
<UpdateReportedNumberOfItems xsi:nil="true" />
</UpdateProductionOrderLine>
<UpdateProductionOrderLine>
<UpdateProductionOrderLineIdentification xsi:nil="true" />
<UpdateReportedNumberOfItems xsi:nil="true" />
</UpdateProductionOrderLine>
</ProductionOrderLines>
</UpdateProductionOrderLines>
</UpdateProductionOrderLines>
</soap:Body>
</soap:Envelope>
Request specification
UpdateProductionOrderLines | |||
---|---|---|---|
GoodsOwnerCode | str(400) | Req. | The name/code of your client |
UserName | str(50) | Req. | Your username |
Password | str(50) | Req. | Your password |
UpdateProductionOrderLines | object | Req. | The UpdateProductionOrderLines object |
UpdateProductionOrderLines (2) | |||
---|---|---|---|
UpdateProductionOrderIdentification | object | Req. | Specifies the order identification |
ProductionOrderLines | object | Req. | Contains elements of UpdateProductionOrderLines |
UpdateProductionOrderIdentification | |||
---|---|---|---|
ProductionOrderIdentificationType | enum | Req. |
Defines what you want to identify the production order by - ProductionOrderNumber - ProductionOrderId |
ProductionOrderNumber | str | Production order number. Required if ProductionOrderIdentificationType = ProductionOrderNumber | |
ProductionOrderId | int | Production order id. Required if ProductionOrderIdentificationType = ProductionOrderId |
UpdateProductionOrderLine | |||
---|---|---|---|
UpdateProductionOrderLineIdentification | object | Req. |
Specifies the production order line identification
- ProductionOrderLineNumber - ProductionOrderLineId |
UpdateReportedNumberOfItems | object | Use to set new reported number of items | |
>UpdateReportedNumberOfItems | decimal | Req. | The new ReportedNumberOfItems value for the order line |
Response XML
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<UpdateProductionOrderLinesResponse xmlns="http://ongoingsystems.se/WSI">
<UpdateProductionOrderLinesResult>
<Success>boolean</Success>
<Message>string</Message>
<ProductionOrderId>int</ProductionOrderId>
<UpdateProductionOrderLinesResults>
<UpdateProductionOrderLineResult>
<Message>string</Message>
<Success>boolean</Success>
<ProductionOrderLineId>int</ProductionOrderLineId>
<ProductionOrderLineNumber>string</ProductionOrderLineNumber>
</UpdateProductionOrderLineResult>
<UpdateProductionOrderLineResult>
<Message>string</Message>
<Success>boolean</Success>
<ProductionOrderLineId>int</ProductionOrderLineId>
<ProductionOrderLineNumber>string</ProductionOrderLineNumber>
</UpdateProductionOrderLineResult>
</UpdateProductionOrderLinesResults>
</UpdateProductionOrderLinesResult>
</UpdateProductionOrderLinesResponse>
</soap:Body>
</soap:Envelope>
Response specification
UpdateProductionOrderLinesResponse | ||
---|---|---|
Success | bool | True if success |
Message | str(*) | Process message |
ProductionOrderId | int | Ongoing WMS system id of the order |
UpdateProductionOrderLinesResults | object | Array of UpdateProductionOrderLineResult |
UpdateProductionOrderLineResult | ||
---|---|---|
Success | bool | True if success |
Message | str(*) | Process message |
ProductionOrderLineId | int | Production order line id |
ProductionOrderLineNumber | string | Production order line number |