Error When Accessing Child Records in Sublist via Client Script with Limited Permissions

Issue When a client script attempts to access or manipulate a child record on a sublist (e.g., line items on a transaction), an error occurs if the user’s role has only “Create” permission for the child record type and “Edit” permission for the parent record. The error typically indicates a permission violation, such as: “You… Continue reading Error When Accessing Child Records in Sublist via Client Script with Limited Permissions

How to set suite let select field options in client script.

Here we have set the puchase order list for the selecting vendor. //this is the list of vendors with their related purchase order  let poList = JSON.parse(currentRecord.getValue({                         fieldId: ‘custpage_polist’                     }));      … Continue reading How to set suite let select field options in client script.

Project Task Auto Population In Timesheet

Requirement We need to populate the corresponding project task in the timesheet when the user selects the project. The population will only take place if the project has one project task. Solution We can create a client script and a suitelet script to populate the project task. When a project is selected in a time… Continue reading Project Task Auto Population In Timesheet