script error on purchase order entry

Hi, we’re getting an error when we try to manually create new purchase orders:

An unexpected error occured in a script running on this page

customform (postSourcing)

js_exception

sss_missing_reqd_argument CurrentRecord.setCurrentSublistValue: missing a required argument: value

I’ve turned off any deployed scripts for the Purchase Order record but we keep getting the same error.

How can we find out what sublist field and value is missing? And how can we know which script is running?

Rookie Asked on November 18, 2022 in Order Management.
Add Comment
1 Answer(s)

Check the “Custom Code” tab of the Custom Form definition; there may be a script attached to the Form itself, which is what I am inferring from the `customform (postSourcing)` line of the error message.

Whatever that script is doing during the postSourcing event, it is attempting to set a sublist column with a nullish value.

Beginner Answered on November 18, 2022.

thanks, I was able to track down the issue and the field source for the script is now mandatory and has a default value as added insurance

on November 24, 2022.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.
  • This site made possible by our sponsors:   Tipalti   Celigo   Limebox   Become a Sponsor   Become a Sponsor