Happy Monday everyone! I have a custom transactio...
# administration
m
Happy Monday everyone! I have a custom transaction field in a Customer Payment that isn't sourcing from the applied to invoice. I tried to set it with a workflow, but I can't seem to join from the invoice. Any tips?
a
What is the type of field from the Invoice? Is it another record? Or a text field? or a date?
m
They're both free-form text fields
n
Is it the same field on the Invoice & on the Customer Payment? Is it Transaction Body Field?
How are you trying to set it with workflow? something like {createdfrom.custbody_this field}
a
You can use a formula to do this as long as it has an after record submit trigger. Use {appliedtotransaction.fieldID} as your formula
It could error out if your payment is applied to more than 1 invoice though
m
Interesting! I will try it out with the formula in a workflow. I was trying it out with the “default And sourcing” setting in the field record. I'm new to NetSuite, as you can tell 😬 The field is shared between the invoice and payment. There's no other invoice, but there are some times journal entries that are applied as credits. Will that be an issue?
a
No the journal will apply to the invoice just like the payment so it will not I nterfere
If that doesn't work there is one other trick we can try with saved searches and stuff that will do it too
n
@al1 is right about the Saved search method. the createdfrom is unlikely to work in all cases.