Ship Confirm Within in a Range

Example Payload

Note: The following payload works only for shipment lines in Ready to Release status. After invoking the Ship Confirm service with the CreateAndConfirm operation, to process this shipment record, run the Perform Shipping Transactions scheduled process. You can select the shipment number from the Shipment drop-down list. After the job completes, the shipment is created and confirmed automatically. The status of the scheduled process is Succeeded if all of the data is valid.

This payload ships serial items within a range.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns1:createAndConfirmAsync xmlns:ns1="http://xmlns.oracle.com/apps/scm/shipping/shipConfirm/deliveries/shipmentService/types/">
         <ns1:shipment xmlns:ship="http://xmlns.oracle.com/apps/scm/shipping/shipConfirm/deliveries/shipmentService/">
            <ship:ShipmentName>S1-Serials</ship:ShipmentName>
            <ship:OrganizationCode>V1</ship:OrganizationCode>
            <ship:ShipmentLine>
               <ship:DeliveryDetailId>3672072</ship:DeliveryDetailId>
               <ship:ItemNumber>CM11911</ship:ItemNumber>
               <ship:ShippedQuantity unitCode="Each">1</ship:ShippedQuantity>
               <ship:Serials>
                  <ship:TransactionQuantity unitCode="Each">1</ship:TransactionQuantity>
                  <ship:FromSerialNumber>MYSER1</ship:FromSerialNumber>
                  <ship:ToSerialNumber>MYSER1</ship:ToSerialNumber>
                  <ship:SubinventoryCode>EB</ship:SubinventoryCode>
               </ship:Serials>
            </ship:ShipmentLine>
         </ns1:shipment>
      </ns1:createAndConfirmAsync>
   </soap:Body>
</soap:Envelope>

This payload ships multiple serial-numbered items that are not within a range.

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns1:createAndConfirmAsync xmlns:ns1="http://xmlns.oracle.com/apps/scm/shipping/shipConfirm/deliveries/shipmentService/types/">
         <ns1:shipment xmlns:ship="http://xmlns.oracle.com/apps/scm/shipping/shipConfirm/deliveries/shipmentService/">
            <ship:ShipmentName>S1-Serials-2</ship:ShipmentName>
            <ship:OrganizationCode>V1</ship:OrganizationCode>
            <ship:ShipmentLine>
               <ship:DeliveryDetailId>3648861</ship:DeliveryDetailId>
               <ship:ItemNumber>CM11911</ship:ItemNumber>
               <ship:ShippedQuantity unitCode="Each">3</ship:ShippedQuantity>
               <ship:Serials>
                  <ship:TransactionQuantity unitCode="Each">1</ship:TransactionQuantity>
                  <ship:FromSerialNumber>MYSER1</ship:FromSerialNumber>
                  <ship:ToSerialNumber>MYSER1</ship:ToSerialNumber>
                  <ship:SubinventoryCode>EB</ship:SubinventoryCode>
               </ship:Serials>
               <ship:Serials>
                  <ship:TransactionQuantity unitCode="Each">1</ship:TransactionQuantity>
                  <ship:FromSerialNumber>MYSER3</ship:FromSerialNumber>
                  <ship:ToSerialNumber>MYSER3</ship:ToSerialNumber>
                  <ship:SubinventoryCode>EB</ship:SubinventoryCode>
               </ship:Serials>
               <ship:Serials>
                  <ship:TransactionQuantity unitCode="Each">1</ship:TransactionQuantity>
                  <ship:FromSerialNumber>MYSER6</ship:FromSerialNumber>
                  <ship:ToSerialNumber>MYSER6</ship:ToSerialNumber>
                  <ship:SubinventoryCode>EB</ship:SubinventoryCode>
               </ship:Serials>
            </ship:ShipmentLine>
         </ns1:shipment>
      </ns1:createAndConfirmAsync>
   </soap:Body>
</soap:Envelope>

The shipping method is a combination of carrier, service level, and mode of transportation. Consequently, all three values need to be passed. The values passed in the ServiceLevel and ModeOfTransport tags are the lookup code values, not the meaning. To determine the correct code value for Service level and Mode of Transport, navigate to the Manage Carrier Lookups setup user interface and query for following lookups: WSH_MODE_OF_TRANSPORT and WSH_SERVICE_LEVELS.

Here’s an example of the tags you can use for the shipping method, which includes the name of the carrier, service level, and mode of transportation:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns1:createAndConfirmAsync xmlns:ns1="http://xmlns.oracle.com/apps/scm/shipping/shipConfirm/deliveries/shipmentService/types/">
         <ns1:shipment xmlns:ship="http://xmlns.oracle.com/apps/scm/shipping/shipConfirm/deliveries/shipmentService/">
            <ship:ShipmentName>S1-DEC29-1</ship:ShipmentName>
            <ship:OrganizationCode>V1</ship:OrganizationCode>
            <ship:CarrierName>DHL</ship:CarrierName>
            <ship:ServiceLevel>2DA</ship:ServiceLevel>
            <ship:ModeOfTransport>AIR</ship:ModeOfTransport>
            <ship:ShipmentLine>
               <ship:DeliveryDetailId>3654860</ship:DeliveryDetailId>
               <ship:ItemNumber>CM11911</ship:ItemNumber>
               <ship:ShippedQuantity unitCode="Each">3</ship:ShippedQuantity>
               <ship:Serials>
                  <ship:TransactionQuantity unitCode="Each">3</ship:TransactionQuantity>
                  <ship:FromSerialNumber>XD100100</ship:FromSerialNumber>
                  <ship:ToSerialNumber>XD100102</ship:ToSerialNumber>
                  <ship:SubinventoryCode>EB</ship:SubinventoryCode>
               </ship:Serials>
            </ship:ShipmentLine>
         </ns1:shipment>
      </ns1:createAndConfirmAsync>
   </soap:Body>
</soap:Envelope>

For routing instructions, shipping marks, and shipping instructions:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Body>
      <ns1:createAndConfirmAsync xmlns:ns1="http://xmlns.oracle.com/apps/scm/shipping/shipConfirm/deliveries/shipmentService/types/">
         <ns1:shipment xmlns:ship="http://xmlns.oracle.com/apps/scm/shipping/shipConfirm/deliveries/shipmentService/">
            <ship:ShipmentName>151839</ship:ShipmentName>
            <ship:OrganizationCode>CM_3PL_UPS</ship:OrganizationCode>
            <ship:CarrierName>UPS Ground</ship:CarrierName>
            <ship:ServiceLevel>GND</ship:ServiceLevel>
            <ship:ModeOfTransport>TRUCK</ship:ModeOfTransport>
            <ship:Waybill>WB152017</ship:Waybill>
            <ship:RoutingInstructions>RI152017</ship:RoutingInstructions>
            <ship:ShippingMarks>SM152017</ship:ShippingMarks>
            <ship:ShipmentLine>
               <ship:DeliveryDetailId>9013</ship:DeliveryDetailId>
               <ship:ItemNumber>1000324</ship:ItemNumber>
               <!--Optional:-->
               <ship:ShippingInstructions>SI152017</ship:ShippingInstructions>
               <ship:ShippedQuantity unitCode="Each">1</ship:ShippedQuantity>
               <ship:Serials>
                  <ship:TransactionQuantity unitCode="Each">1</ship:TransactionQuantity>
                  <ship:FromSerialNumber>SL000082</ship:FromSerialNumber>
                  <ship:ToSerialNumber>SL000082</ship:ToSerialNumber>
                  <ship:SubinventoryCode>STOCK</ship:SubinventoryCode>
               </ship:Serials>
            </ship:ShipmentLine>
         </ns1:shipment>
      </ns1:createAndConfirmAsync>
   </soap:Body>
</soap:Envelope>