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.

Tags: UpdateProductionOrderLines, UpdateProductionOrderLines, UpdateProductionOrderIdentification, UpdateProductionOrderLine, UpdateProductionOrderLineIdentification, UpdateProductionOrderLineReportedNumberOfItems, UpdateProductionOrderLinesResponse, UpdateProductionOrderLinesResult, UpdateProductionOrderLineResult

Request XML

POST /xxx/Service.asmx HTTP/1.1
Host: api.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>
              <ProductionOrderLineIdentificationType>ProductionOrderLineNumber or ProductionOrderLineId</ProductionOrderLineIdentificationType>
              <ProductionOrderLineNumber>string</ProductionOrderLineNumber>
              <ProductionOrderLineId>int</ProductionOrderLineId>
            </UpdateProductionOrderLineIdentification>
            <UpdateReportedNumberOfItems>
              <ReportedNumberOfItems>decimal</ReportedNumberOfItems>
            </UpdateReportedNumberOfItems>
          </UpdateProductionOrderLine>
          <UpdateProductionOrderLine>
            <UpdateProductionOrderLineIdentification>
              <ProductionOrderLineIdentificationType>ProductionOrderLineNumber or ProductionOrderLineId</ProductionOrderLineIdentificationType>
              <ProductionOrderLineNumber>string</ProductionOrderLineNumber>
              <ProductionOrderLineId>int</ProductionOrderLineId>
            </UpdateProductionOrderLineIdentification>
            <UpdateReportedNumberOfItems>
              <ReportedNumberOfItems>decimal</ReportedNumberOfItems>
            </UpdateReportedNumberOfItems>
          </UpdateProductionOrderLine>
        </ProductionOrderLines>
      </UpdateProductionOrderLines>
    </UpdateProductionOrderLines>
  </soap:Body>
</soap:Envelope>

Request specification

UpdateProductionOrderLines
GoodsOwnerCode string(400) Req. The name/code of your client
UserName string(50) Req. Your username
Password string(50) Req. Your password
UpdateProductionOrderLines UpdateProductionOrderLines Req.
UpdateProductionOrderLines
UpdateProductionOrderIdentification UpdateProductionOrderIdentification An element of type UpdateProductionOrderIdentification.
ProductionOrderLines UpdateProductionOrderLine[]
UpdateProductionOrderIdentification
ProductionOrderIdentificationType enum Req. Defines what you want to identify the production order by
 - ProductionOrderNumber
 - ProductionOrderId
ProductionOrderNumber string Production order number. Required if ProductionOrderIdentificationType = ProductionOrderNumber
ProductionOrderId int Production order id. Required if ProductionOrderIdentificationType = ProductionOrderId
UpdateProductionOrderLine
UpdateProductionOrderLineIdentification UpdateProductionOrderLineIdentification Specifies how you want to identify the production order line
UpdateReportedNumberOfItems UpdateProductionOrderLineReportedNumberOfItems Use to set new reported number of items
UpdateProductionOrderLineIdentification
ProductionOrderLineIdentificationType enum Specifies the production order line identification
 - ProductionOrderLineNumber
 - ProductionOrderLineId
ProductionOrderLineNumber string Production order line number, required if ProductionOrderLineIdentificationType = ProductionOrderLineNumber
ProductionOrderLineId int Ongoing WMS internal production order line ID, required if ProductionOrderLineIdentificationType = ProductionOrderLineId
UpdateProductionOrderLineReportedNumberOfItems
ReportedNumberOfItems decimal Use to set new reported number of items

Response XML

<?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
UpdateProductionOrderLinesResult UpdateProductionOrderLinesResult
UpdateProductionOrderLinesResult
Success boolean True if success
Message string Process message
ProductionOrderId int Ongoing WMS system id of the order
UpdateProductionOrderLinesResults UpdateProductionOrderLineResult[] Array of UpdateProductionOrderLineResult
UpdateProductionOrderLineResult
Message string Process message
Success boolean True if success
ProductionOrderLineId int Production order line id
ProductionOrderLineNumber string Production order line number