Example Payloads: Project Unprocessed Inventory Transaction

The example payload in this topic demonstrates how to create and validate an inventory transaction, and then associate it to an existing project and project task.

Before you use this payload, ensure that a project is created from the Projects work area.
<!--Request-->
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <soap:Body>
        <ns1:validateInventoryTransaction xmlns:ns1="http://xmlns.oracle.com/apps/projects/costing/transactions/transactionServiceV2/types/">
            <ns1:list xmlns:ns2="http://xmlns.oracle.com/apps/projects/costing/transactions/transactionServiceV2/">

<!--User can enter BU Name or ID -->			
            <ns2:BusinessUnitName>Vision College</ns2:BusinessUnitName>
            <ns2:BatchName>Batch_Vision_Corp</ns2:BatchName>

<!--Enter third party transaction source, doc and doc entry -->				
            <ns2:SourceName>PennyPack Systems Inventory Reporting System</ns2:SourceName>
            <ns2:DocumentName>Miscellaneous Inventory</ns2:DocumentName>
            <ns2:DocumentEntryName>Item Cost</ns2:DocumentEntryName>

<!--Expenditure item date should be in the project active window -->				
            <ns2:ExpenditureItemDate>2010-12-12</ns2:ExpenditureItemDate>
            <ns2:ExpenditureComment>test</ns2:ExpenditureComment>
            <ns2:AccountingDate>2009-07-17</ns2:AccountingDate>

<!--User can enter the Project/task Number/Name/ID -->				
            <ns2:ProjectName>Project_Vision_Corp_2017</ns2:ProjectName>
            <ns2:TaskName>Network Cable Wiring</ns2:TaskName>
            <ns2:ExpenditureTypeName>Material</ns2:ExpenditureTypeName>
            <ns2:ExpenditureOrganizationId>204</ns2:ExpenditureOrganizationId>
            <ns2:Quantity unitCode="Hour">10</ns2:Quantity>

<!--Transaction reference is user defined -->				
            <ns2:OrigTransactionReference>Project_Vision_City_Corp_Invoices</ns2:OrigTransactionReference>
            <ns2:TransactionCurrency>USD</ns2:TransactionCurrency>
            <ns2:InventoryItemName>PennyPack Inventory</ns2:InventoryItemName>
            <ns2:UOMName>Each</ns2:UOMName>
            </ns1:list>
        </ns1:validateInventoryTransaction>
    </soap:Body>
</soap:Envelope>
<!--Response-->
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
   <soap:Header></soap:Header>
   <soap:Body>
      <ns1:receiveInventoryTransaction xmlns:ns1="http://xmlns.oracle.com/apps/projects/costing/transactions/transactionServiceV2/types/">
         <ns1:list xmlns:ns2="http://xmlns.oracle.com/apps/projects/costing/transactions/transactionServiceV2/">

<!--User can enter BU Name or ID -->			 
            <ns2:BusinessUnitName>Vision College</ns2:BusinessUnitName>
            <ns2:BatchName>Batch_Vision_Corp</ns2:BatchName>

<!--Enter third party transaction source, doc and doc entry -->				
            <ns2:SourceName>PennyPack Systems Inventory Reporting System</ns2:SourceName>
            <ns2:DocumentName>Miscellaneous Inventory</ns2:DocumentName>
            <ns2:DocumentEntryName>Item Cost</ns2:DocumentEntryName>

<!--Expenditure item date should be in the project active window -->			
            <ns2:ExpenditureItemDate>2010-12-12</ns2:ExpenditureItemDate>
            <ns2:ExpenditureComment>test</ns2:ExpenditureComment>
            <ns2:AccountingDate>2009-07-17</ns2:AccountingDate>

<!--User can enter the Project/task Number/Name/ID -->				
            <ns2:ProjectName>Project_Vision_Corp_2017</ns2:ProjectName>
            <ns2:TaskName>Network Cable Wiring</ns2:TaskName>
            <ns2:ExpenditureTypeName>Material</ns2:ExpenditureTypeName>
            <ns2:ExpenditureOrganizationId>204</ns2:ExpenditureOrganizationId>
            <ns2:Quantity unitCode="Hour">10</ns2:Quantity>

<!--Transaction reference is user defined -->					
            <ns2:OrigTransactionReference>Project_Vision_City_Corp_Invoices</ns2:OrigTransactionReference>
            <ns2:TransactionCurrency>USD</ns2:TransactionCurrency>
            <ns2:InventoryItemName>PennyPack Inventory</ns2:InventoryItemName>
            <ns2:UOMName>Each</ns2:UOMName>
         </ns1:list>
         <ns1:partialFailureAllowed>false</ns1:partialFailureAllowed>
         <ns1:fullConfirmation>true</ns1:fullConfirmation>
      </ns1:receiveInventoryTransaction>
   </soap:Body>
</soap:Envelope>