On Vendor Bill record Creation, the script will fetch the Tax Amount(VAT AMT) and it will be added to the corresponding Line Amount(AMOUNT) field. Also, it will update the Tax code(TAX CODE) on each line in the Item sublist to a Tax code with a 0 % value. UserEventScript
Tag: user event script
Project Status Field Update by Scripts NCPS-70
Project Status Filed Update Using Map Reduce Script.
Requirement:Encrypted QR code on invoice
Solution
Auto journal creation & application in Payment
Scenario: Create a journal for applying in the credit section of the payment. Ultimate need is to capture the credit info from the custom record, need to create a journal or custom transaction of journal type then apply the same in the payment record.We have seen a limitation of once payment is saved the credit… Continue reading Auto journal creation & application in Payment
Storing Item Receipt number in Bill and Bill number in Item Receipt
Requirement There is a bill button on the IR record and if the user clicks the bill button from the IR record, the IR number should populate to the custom field in the bill record. And once the user saves the bill, the corresponding bill number need to be stored in a custom field in… Continue reading Storing Item Receipt number in Bill and Bill number in Item Receipt
Update Values on Loading Record
In User Event beforeLoad, fields in the record will not get updated. So on loading a record in View or edit context, we can create a new field in the form via script and update it dynamically.
Global Subscription – Update all subscriptions
If the subscription of contact changes then it will change the customer’s subscription status and subscription if the contact and customer have the same email id.It will applicable when we change the Global subscription status and subscription of customer and it will update the subscription of contact with the same email id of the customer.Jira… Continue reading Global Subscription – Update all subscriptions
Reallocate Item Page Restriction
MAR 682 Requirement Restrict the employees from accessing the Reallocate Items page in Netsuite Solution This can be achieved by triggering a user event script on beforeLoad() /*Version : 1.0Script : User event scriptScript Deployment: REALLOCATE ITEMThis script summarises that only allowed employees have access to reallocate items others are being restricted.*///triggers on before loading… Continue reading Reallocate Item Page Restriction
Rounding off Workaround
Rounding off
Allocating Subsidiaries and Currencies
Jira Code: TRS:575 We can allocate all the subsidiaries and currencies to a customer or vendor after get created. This will ensure that all the active subsidiaries (children) and currency will allocate to all of the customers and vendors.This is achieved using a User Event script which will trigger after the record creation. Basically the… Continue reading Allocating Subsidiaries and Currencies