Hello all. There is a customer payment record and ...
# suitescript
n
Hello all. There is a customer payment record and there are invoices under apply sublist and credit memos under credit memos sublist. In the script, when I load this payment record, I can only see/get Invoices but not the credit memos. Any idea how to tackle this? what am I missing? Record browsers shows both of the sublists: apply and credit
@battk any help?
b
customer payments are weird that way
you can set the sublist on create, but its not available on edits
that behavior is seen when you edit the customer payment from the ui
n
so what's the solution? I need this in a custom report built using Suitelet.
b
depends on what data you are trying to get, my guess is a search
n
I tried the search. I can only get the Invoices the payment is applied too. But not the credit memos.
b
the credit memos are applied to the invoices
n
Yes, but I would like to find those credit memos only which are listed on the specific payment.
b
'im not sure that you can get that
n
Oh..