Updating a field value from another field on the save of the record

Requirement Update the values in a new custom field from another field in the custom record for newly creating custom records and on the edit and save of the custom record. Solution There is a custom field named Runtime (Internal id : custrecord_au_production_runtime ) of free form type. Created another field named “Runtime Numeric“ (Internal… Continue reading Updating a field value from another field on the save of the record

How to create Customer Deposit from Sales Order using script

Creating customer Deposit automatically whenever a sales order is created. Note: If we create a sales order in currency other than the primary currency of the customer, by default the script will take the primary currency of the customer as the currency in customer deposit. This will throw an error while running the script. That… Continue reading How to create Customer Deposit from Sales Order using script

Masking Amounts in PA and Invoices

Requirement The amount shown in transactional lines in all Invoice/PA(sales order)  needs to be masked so no one can change it. If a user attempts to change the amount of an invoice or payment agreement record when it is created or edited, the amount value must not be changed through the user interface. Solution