There is a client script entry point called SublistChanged() and it will trigger on sublist change button action. Each trigger can be identified by using context.operation method.
Tag: Clientscript
Restricting users to add items to sales order records.
Requirement The requirement is to either allow or disallow items to be selected on a sales order based on the user’s certifications and the items being chosen.If a user does not meet the criteria for selling an item when it is added to the Sales Order through the UI, a popup needs to notify the… Continue reading Restricting users to add items to sales order records.
Update line level location of SO
Update line level location of SO
Adding Freezing Header for Sales Orders
Scenario: Sales Orders have item sublist Table, which lists items in each SO. If the number of items becomes too large, we need to scroll the table down, which will also scrolls the table header too. Make this table header freeze and make other details scrollable. Solution: It needs a User Event script. In it’s… Continue reading Adding Freezing Header for Sales Orders
Adding Loading symbol while processing
Scenario: When some process is processing if you need to show any kind of loading symbol for representing the process may take some time. For this you need to add a loading symbol on the page Solution: For this you need to add a jQuery section with a HTML code block. The HTML code block… Continue reading Adding Loading symbol while processing
Restrict customers to buy quantity more than the available quantity
Requirement: Restrict customers to buy quantity more than the available quantity.If the user tries to add the quantity more than the available one,then the value should be updated to the available value of an item. Solution: Update the client script that applies to ‘sales order’.And if the user adds value greater than the available value,then… Continue reading Restrict customers to buy quantity more than the available quantity
Setting Pop-up message Using Client Script
Problem: How to set pop-up message using client script when the PO number is already used in a Sales order Solution
Validate/Update Case pack quantity with the sales order line quantity
Scenario: In the sales orders, we can enter any number of item line quantities. But from the client business perspective, they need to control the quantity based on the item case pack. The quantity should be multiples of the case pack number and if the quantity is not a case pack multiple we need to… Continue reading Validate/Update Case pack quantity with the sales order line quantity
Override System preference of Tax Setup
Based on another Event Address “Trade Show Location” rather than the Address of the customer all tax rate calculations in the Cash sale record should take place.
Custom form to track blood donor details and store them in database
Requirement The form must contain a data entry form for the company employees to track down the blood donor details. They should be able to store Name (First Name, Last Name), Gender, Phone Number, Blood Group, Last Donation Date. Another form should be available to search for the eligible blood donors, based on the filters… Continue reading Custom form to track blood donor details and store them in database