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
Tag: cleintscript
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.
Creating child sales order from a sales order
Requirement We need to create a child sales order from parent sales order. The child sales order must open in new tab when clicked on a button in parent sales order. And should populate with basic body fields. Solution
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
Add Button and Update the sub customers.
Create a Button on the Customer Record . On that Button Click Update the Group Pricing and Item Pricing to the Sub Customers to that respective Customer .