Software (include version): Epicor IDC
Use Case: Epicor IDC cannot enforce at the line level unless there is at least 1 line of data. So it is possible for the user to not enter any lines and the document would be considered valid and able to be submitted. Below is a way to force that there is at least 1 line and then it will force line fields that are required.
Screenshot of output after implemented.
Customer: N/A
Prerequisites: N/A
Instructions:
Add the following header field and settings:
Format expression of - ^(valid{1})$
Formula of - IF(EQ(SUM(LINEAMOUNT:#),TOTAL),"valid","invalid")
Above "LINEAMOUNT" and "TOTAL" are reference to the line ext amount and invoice total fields - adjust this formula to match your corresponding fields.
Helpful Links: [Enter links to documentation or videos]