Tim Purcell Posted August 6 Posted August 6 When creating an APBILL using the below, the billable flag is not being set on the bill when created, even though this is set in the API. What logic would prevent this? <ApBill> <whenCreated>2024-07-30</whenCreated> <whenPosted>08/05/2024</whenPosted> <vendorId>VENDOR</vendorId> <recordId>EXP-0013656</recordId> <docNumber>DOC1</docNumber> <description>Some notes</description> <recPaymentDate>2024-07-30</recPaymentDate> <whenDue>2024-07-30</whenDue> <currency>USD</currency> <baseCurr>USD</baseCurr> <action>Submit</action> <taxSolutionId /> <apBillItems> <ApBillItem> <accountNo>123.45</accountNo> <trx_amount>296.81</trx_amount> <entryDescription>Description</entryDescription> <billable>true</billable> <locationId>0000</locationId> <departmentId /> <projectId>2139000</projectId> <taskid>TRAVEL</taskid> <customerid>CUST1</customerid> <itemid>TRAVEL</itemid> <vendorId>VENDOR</vendorId> </ApBillItem> </apBillItems> </ApBill>
Members Sterio, Louis Posted August 7 Members Posted August 7 The first thing I would do is see if you can create this same exact bill manually in the UI. Does the UI do the same thing or does it actually work? Also check for line item smart events or triggers that may be updating the line, clearing this flag.
Tim Purcell Posted August 13 Author Posted August 13 I think that this may have been user error. We've not changed anything and apparently it is working... 1
Recommended Posts