Restrict the adding of address in customer Record

Create suite script to restrict the adding of address in customer Record. “Address Lock” so if the customer has 30 addresses in the address book, he won’t be able to edit/delete/add the address. The user should not be allowed to edit, create or delete when the customer has 30 addresses on the address book in… Continue reading Restrict the adding of address in customer Record

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

Sublist Line Item not Committing via SuiteScript 2.0 Client Script

Sometimes the user is not able to commit a line item via SuiteScript 2.0 Client Script. The reason why the line item is not committed on the script is because the forceSyncSourcing parameter retains its default value is false.We can resolve this by making forceSyncSourcing true. The forceSyncSourcing parameter indicates whether to perform field sourcing synchronously. If set to… Continue reading Sublist Line Item not Committing via SuiteScript 2.0 Client Script