Is there a way to show or filter the sales order l...
# general
l
Is there a way to show or filter the sales order lines that are partially or fully paid already on a Transaction Saved Search with Type = Sales Order?
n
not sure about paid, but you can filter out the lines which are invoiced.
l
Unfortunately, I need the paid ones. I tried the Billing Transaction : Amount Paid field but it's not working when type = Sales Order.
n
You can achieve this using a custom column field and a userevent to update the field when the payment is received against the invoice.
l
Here's what I'm thinking. I'm not actually a script expert. I have a custom transaction body field on the Invoice. I want to update its value to Partially Paid or Fully Paid when a Customer Payment is applied against it. I'll use a user event script for this one.
n
Isn't that already happening? Invoice status changes to "Paid" if it is fully-paid. Otherwise, it remains Open
Also, how do you know which lines were paid partially? Payment is applied on the invoice and not the individual line items. For example, invoice total is $100. You were paid $50, how will you divide it among the line items?
l
If it is PARTIALLY paid, it still says Open.
If it is just a partial payment, all of the lines on that Invoice, and consequently, the related sales order lines will be included in the saved search.
m
Why don’t you make it easier on yourself and do this search on invoices instead of sales orders?
l
I need to get the Item Fulfilment COGS which cannot be retrieved if the type is Invoice. I also need to get something from the PO if it is a drop ship which is only possible if type is SO.