Discussions
Is there a field for Unbilled/Uninvoiced Amount on a sales order?
I am trying to find the unbilled amount of a sales order....
Essentially, in a custom record I have a list/record field of sales orders. I am trying to find the amount of "that" sales order that has been invoiced...
I know that I can do a search in a javascript that will take all invoices, add a filter "created from" equal to the sales order in my list record, then cycle through them and add up the amounts (slow and cumbersome). This needs to be dynamic and be able to be shown in a list view (with real time values). Really, an SQL "formula" such as {custrecord_parentsalesorder.amountremaining}, however "amountremaining" only works with invoices to find the amount that has not been paid... I am looking for the amount that has not been invoiced (or that has been invoiced).