Skip to main content
Solved

Sales Order Import Scenario

  • May 9, 2025
  • 5 replies
  • 105 views

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”

5 replies

Naveen Boga
Captain II
Forum|alt.badge.img+19
  • Captain II
  • May 10, 2025

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.

 


  • Author
  • Freshman II
  • May 10, 2025

Sorry to have caused confusion. I know that I cannot update it. I am trying to read/use it as data to input into another field


  • Author
  • Freshman II
  • May 10, 2025

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

 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • July 3, 2025

Hi ​@emery97 were you able to find a solution? Thank you!


  • Author
  • Freshman II
  • Answer
  • July 3, 2025

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”