Inventory

Get Involved. Join the Conversation.

Topic

    Divya Panuganti
    Webservice for subinventory transferAnswered
    Topic posted September 15, 2019 by Divya PanugantiGreen Ribbon: 100+ Points, tagged Inventory Cloud 
    43 Views, 6 Comments
    Title:
    Webservice for subinventory transfer
    Summary:
    Please provide a webservice that can be used for subinventory transfer
    Content:

    Is there a webservice that can be used for subinventory transfer - either SOAP or REST

    Best Comment

    Prateek Parasar

    Inventory transaction is used for all of the things such as receipt, issue , transfer. 

    Transactionmanagerv2 is the service. I am pasting a payload where I am moving serialised item with specific serial number. Incase of non serialised you just remove that node 

     

    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:stag="http://xmlns.oracle.com/apps/scm/inventory/materialTransactions/pendingTransactions/stagedInventoryTransactionServiceV2/" xmlns:typ="http://xmlns.oracle.com/apps/scm/inventory/materialTransactions/pendingTransactions/transactionManagerServiceV2/types/">

    <soapenv:Header>

    <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">

    <wsu:Timestamp wsu:Id="TS-89AE0EC87764F8838015512663260584">

    <wsu:Created>2019-02-27T11:18:46.058Z</wsu:Created>

    <wsu:Expires>2019-02-27T14:05:26.058Z</wsu:Expires>

    </wsu:Timestamp>

    <wsse:UsernameToken wsu:Id="UsernameToken-89AE0EC87764F8838015512663214283">

    <wsse:Username></wsse:Username>

    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText"></wsse:Password>

    <wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary"><wsu:Created>2019-02-27T11:18:41.428Z</wsu:Created>

    </wsse:UsernameToken>

    </wsse:Security>

    </soapenv:Header>

    <soapenv:Body>

    <typ:insertAndProcessInterfaceRows>

    <!--Zero or more repetitions:-->

    <typ:interfaceRows>

    <!--Optional:-->

    <stag:TransactionInterfaceId>999</stag:TransactionInterfaceId>

    <!--Optional:-->

    <stag:TransactionHeaderId>999</stag:TransactionHeaderId>

    <!--Optional:-->

    <stag:SourceCode>999</stag:SourceCode>

    <!--Optional:-->

    <stag:SourceLineId>999</stag:SourceLineId>

    <!--Optional:-->

    <stag:SourceHeaderId>999</stag:SourceHeaderId>

    <!--Optional:-->

    <stag:ProcessCode>1</stag:ProcessCode>

    <!--Optional:-->

    <stag:TransactionMode>3</stag:TransactionMode>

    <!--Optional:-->

    <stag:InventoryItemId>300000014718431</stag:InventoryItemId>

    <stag:OrganizationId>300000014712458</stag:OrganizationId>

    <!--Optional:-->

    <stag:TransactionQuantity unitCode="zzI">1</stag:TransactionQuantity>

    <stag:TransactionUnitOfMeasure>zzI</stag:TransactionUnitOfMeasure>

    <!--Optional:-->

    <!--Optional:-->

    <stag:TransactionDate>2019-02-27T11:13:02</stag:TransactionDate>

    <!--Optional:-->

    <stag:SubinventoryCode>Main</stag:SubinventoryCode>

    <stag:TransactionSourceId/>

    <stag:TransactionActionId>2</stag:TransactionActionId>

    <stag:TransactionSourceTypeId>13</stag:TransactionSourceTypeId>

    <stag:TransactionTypeId>2</stag:TransactionTypeId>

    <stag:TransactionReference/>

    <stag:TransferSubinventory>Rented</stag:TransferSubinventory>

    <stag:UseCurrentCost>Y</stag:UseCurrentCost>

    <stag:StagedInventoryTransactionSerial>

    <!--Optional:-->

    <stag:TransactionInterfaceId>999</stag:TransactionInterfaceId>

    <!--Optional:-->

    <stag:SourceCode>999</stag:SourceCode>

    <!--Optional:-->

    <stag:SourceLineId>999</stag:SourceLineId>

    <!--Optional:-->

    <stag:VendorSerialNumber/>

    <!--Optional:-->

    <stag:VendorLotNumber/>

    <!--Optional:-->

    <stag:FmSerialNumber>SNX011</stag:FmSerialNumber>

    <!--Optional:-->

    <stag:ToSerialNumber>SNX011</stag:ToSerialNumber>

    <!--Optional:-->

    <stag:ErrorCode/>

    <!--Optional:-->

    <stag:ProcessCode>1</stag:ProcessCode>

    <!--Optional:-->

    </stag:StagedInventoryTransactionSerial>

    <!--Optional:-->

    <!--Optional:-->

    <!--Optional:-->

    </typ:interfaceRows>

    <!--Zero or more repetitions:-->

    <typ:headerId>999</typ:headerId>

    <typ:validationLevel>1</typ:validationLevel>

    <typ:tableType>1</typ:tableType>

    </typ:insertAndProcessInterfaceRows>

    </soapenv:Body>

    </soapenv:Envelope>

     

    Prateek Parasar 

     

     

     

    Comment