Scenario
User with custom role is trying to generate a Bill Payment file in Electronic Payments and receives the following error. This is reproducible when the custom role does not allow access to the Employee's Subsidiary.
Prerequisites:
- Company Bank Details with Subsidiary A
- Vendor in Subsidiary A
- Vendor Prepayment for this Vendor in Subsidiary A
- Employee with Subsidiary B
- Adjust Custom EFT Role - so it can access Subsidiary A (but not Subsidiary B)
Example:
- Login with custom role
- Navigate to Payments > Bank File Generation > Generate Bill Payment File
- EFT Transaction Type: Select Vendor Prepayments
- Company Bank Account: Select Bank Account with Subsidiary A
- Select Transaction Saved Search: Select Search
- Click Generate File
- Result: Notice (SuiteSctipt)
{type":"error.SuiteScriptError","name":"INVALID_FLD_VALUE","message":"You have entered an Invalid Field Value XX for the following field: custrecord_8858_process_user","stack":...
Solution
The possibility to process Bill Payment File using a custom role is limited when the Employee's Subsidiary is different from custom role, Company Bank, Vendor and transaction Subsidiaries.
Whenever user submit a PFA, it will capture the Subsidiary of the Company Bank. So if user does not have the subsidiary access of the Company Bank, the error will be displayed.
This is currently a standard expected behavior.
Solution is to make sure the Subsidiaries assigned on the custom role, Employee, Company Bank, Vendor and transaction are aligned.