This is a sample of mine that works
<Transactions>
<Transaction actualCostRate="2.33" billRate="0" chargeable="1" chargeCode="Design" externalID="lw" importStatus="N" projectID="PR2036" resourceID="lw" transactionDate="2022-04-08" transactionType="L" units="3" taskID="5080460" inputTypeCode="Billable" groupId="4567" voucherNumber="tt_liz_pac" transactionClass="INTLABOR"/>
<Transaction actualCostRate="2.33" billRate="0" chargeable="1" chargeCode="Design" externalID="lw" importStatus="N" projectID="PR2036" resourceID="lw" transactionDate="2022-04-07" transactionType="L" units="1" taskID="5080460" inputTypeCode="Billable" groupId="4567" voucherNumber="tt_liz_pac" transactionClass="INTLABOR"/>
</Transactions>
I believe you need all the fields that are required for a transaction:
chargeCode
nputTypeCode
My experience is that I need
groupId and
voucherNumber
I have always xogged in with the costs and rates but these may get picked up from the rate matrix if they are not defined. I have not tested that part.
------------------------------
Liz Williamson
Principal Support Engineer - Clarity
Broadcom
------------------------------
Original Message:
Sent: May 20, 2022 04:33 AM
From: Jaya Santosh Kumar Patchipulusu
Subject: Premature END of file error while loading actuals via XOG client
When I tried Xogging-in 2500 actuals(transactions) at a time - it throwed "Premature EOF" error - what does that mean.
If I Xog 2000 records, then its not throwing any error.
Below is the XML Skeleton im using
Please help me - How can i put more records and Xog in quickly.
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_inboundTransaction.xsd">
<Header action="write" externalSource="NIKU" objectType="transaction" version="6.0.11"/>
<Transactions>
<Transaction
externalID=" " importStatus="N" projectID=" "
resourceID=" " transactionDate="2022-04-25" transactionType="L" units="8" taskID=" " />
</Transactions>
</NikuDataBus>