Jump to content

Billable flag on APBILLTEM not always being set


 Share

Recommended Posts

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>

Link to comment
Share on other sites

  • Members

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.

Link to comment
Share on other sites

 Share

×
×
  • Create New...