Example Payloads: Project Unprocessed Labour Transaction
The example payload in this topic demonstrates how to create and validate a project timecard, 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:validateTimecardTransaction xmlns:ns1="http://xmlns.oracle.com/apps/projects/costing/transactions/transactionServiceV3/types/">
<ns1:list xmlns:ns2="http://xmlns.oracle.com/apps/projects/costing/transactions/transactionServiceV3/">
<!--User can enter BU Name/ID -->
<ns2:BusinessUnitName>Vision College</ns2:BusinessUnitName>
<ns2:BatchName>Batch_Vision_Corp</ns2:BatchName>
<!--Batch description is optional and is for user reference -->
<ns2:BatchDescription>Creation of timecard</ns2:BatchDescription>
<!--Enter third party transaction source, doc and doc entry -->
<ns2:SourceName>Time Entry System</ns2:SourceName>
<ns2:DocumentName>Timecards</ns2:DocumentName>
<ns2:DocumentEntryName>Straight Time</ns2:DocumentEntryName>
<!--Expenditure item date should be in the project active window -->
<ns2:ExpenditureItemDate>2014-08-08</ns2:ExpenditureItemDate>
<!--User can enter the Person Number/Name/ID against whom the hours are to be charged-->
<ns2:PersonNumber>53</ns2:PersonNumber>
<!--User can enter the Project/task Number/Name/ID -->
<ns2:ProjectName>Project_Vision_Corp_2017</ns2:ProjectName>
<ns2:TaskNumber>Task_Project_Vision_Corp_2017</ns2:TaskNumber>
<ns2:ExpenditureTypeName>Carpenter</ns2:ExpenditureTypeName>
<ns2:ExpenditureOrganizationName>Vision College</ns2:ExpenditureOrganizationName>
<ns2:Quantity>15</ns2:Quantity>
<!--Transaction reference is user defined -->
<ns2:OrigTransactionReference>Vision College_TimeCard</ns2:OrigTransactionReference>
</ns1:list>
</ns1:validateTimecardTransaction>
</soap:Body>
</soap:Envelope>
<!--Response-->
<ns2:DocumentEntryName>Straight Time</ns2:DocumentEntryName>
<!--Expenditure item date should be in the project active window -->
<ns2:ExpenditureItemDate>2015-08-08</ns2:ExpenditureItemDate>
<!--User can enter Person Number or Person Name -->
<ns2:PersonNumber>53</ns2:PersonNumber>
<!--User can enter the Project/task Number/Name/ID -->
<ns2:ProjectName>Project_Vision_Corp_2017</ns2:ProjectName>
<ns2:TaskNumber>2.2</ns2:TaskNumber>
<ns2:ExpenditureTypeName>Carpenter</ns2:ExpenditureTypeName>
<ns2:ExpenditureOrganizationName>Vision College</ns2:ExpenditureOrganizationName>
<ns2:Quantity>15</ns2:Quantity>
<!--Transaction reference is user defined -->
<ns2:OrigTransactionReference>Vision College_TimeCard</ns2:OrigTransactionReference>
</ns1:list>
<ns1:partialFailureAllowed>TRUE</ns1:partialFailureAllowed>
<ns1:fullConfirmation>FALSE</ns1:fullConfirmation>
</ns1:receiveTimecardTransaction>
</soap:Body>
</soap:Envelope>