Custom Code to copy PO Number to Invoice Header Description
I have a requirement to write a custom code on the Invoice Workbench that will populate the Invoice Header Description field with the PO numbers that have been coded to.
So far, I've only been able to populate the Invoice Header Description field with just the first PO number. But I'm also getting an APP-SQLAP-10108 error.
Below is the setup I'm using so far:
CONDITION:
Trigger Event: WHEN-VALIDATE-RECORD
Trigger Object: INV_SUM_FOLDER
Condition: :INV_SUM_FOLDER.DESCRIPTION IS NULL
Processing Mode: Not in Enter-Query Mode
ACTIONS:
Seq: 10
Type: Property
Object Type: Item
Target Object: INV_SUM_FOLDER.DESCRIPTION