Jump to content

Recommended Posts

Posted

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
Posted

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.

×
×
  • Create New...