Does anyone have experience accessing the following internal field while importing?
CurrentDocument.CuryUnbilledOrderTotal
I need access to it because I want to remove a cancelled order line, get the new unbilled $ amount, and then enter that number into the “applied to order”
I BELIEVE I can’t simply do math on what I am removing, as there’s an external tax calculation that needs to happen after removing the line and saving the order
Best answer by emery97
Hi @emery97 were you able to find a solution? Thank you!
The official answer from Missy Main at Acumatica Support is that CurrentDocument.CuryUnbilledOrderTotal is NOT readable by the system during an import scenario. This is despite the fact that it is listed in the available “internal” fields.
The workaround suggested was to make the updates that affect the CurrentDocument.CuryUnbilledOrderTotal, enter 0 into the “applied to order”, then in a second pass, use a generic inquiry as a data provider source and include the value CurrentDocument.CuryUnbilledOrderTotal.
enter the new CurrentDocument.CuryUnbilledOrderTotal value into the “applied to order”
Hi @emery97 We cannot update the “CuryUnbilledOrderTotal” field using an import scenario because it is a calculated, non-persisted field in Acumatica.
This field is automatically computed based on the Sales Order lines and the associated payment amounts, and therefore cannot be directly modified or imported.
See below. This scenario works perfectly if I use a static value for example:
= ‘1.99’
So I know that my scenario is working properly otherwise.
I need to read the dollar value of CurrentDocument.CuryUnbilledOrderTotal … when I use it as a source as pictured below, but I get an error when running the import scenario if i set it this way
Hi @emery97 were you able to find a solution? Thank you!
The official answer from Missy Main at Acumatica Support is that CurrentDocument.CuryUnbilledOrderTotal is NOT readable by the system during an import scenario. This is despite the fact that it is listed in the available “internal” fields.
The workaround suggested was to make the updates that affect the CurrentDocument.CuryUnbilledOrderTotal, enter 0 into the “applied to order”, then in a second pass, use a generic inquiry as a data provider source and include the value CurrentDocument.CuryUnbilledOrderTotal.
enter the new CurrentDocument.CuryUnbilledOrderTotal value into the “applied to order”