Map reduce script powered by saved search, to set RX Status in line record based on date range set.
Author: Sreelakshmi R
Script to Update payment card token
Description: MR script that runs every day, searches for payment card tokens created on that day and load & save the line records (custom record) which holds the MASK value in the payment card Lookup Key field (custom field).
Working with ES6
ES6 functions are only detected in the version 2.1 suite script.Eg: filter(), find() etc. So, while writing library scripts maximum avoid using ES6 functions to avoid errors in other scripts which use this library.
Solution Proposed to Tackle CyberSource Enhancement
For more details on Enhancement https://jobinandjismi.in/wp-admin/post.php?post=32777&action=edit Solution Notes : We need an MR script that runs every day, searches for payment card tokens created on that day, and load & save the line records (a custom record) which hold the MASK value in the “payment card Lookup Key” custom field. We need to modify the… Continue reading Solution Proposed to Tackle CyberSource Enhancement
CyberSource bundle – Enhancement
Case: Why User-Event Scripts deployed in Payment Card Token is not triggered, on its Creation event?Note: CyberSouce Bundle is handling payment card token generation. Enhancement: case number 5033375 SCMA > Invoices > Make Payment using Payment Card Token > User Event Script or Workflow not triggered that is currently attached to Enhancement # 638357.
Make Field Mandatory – Client Script
Server Side Scripts will be blocked when the field is made from the Form/Field setup mandatory. So we will make the field mandatory through the script only for those required times.
Add Prescription Table in Customer Record
A prescription is a custom record available in the system we want to show all available prescriptions for that customer. The following script creates a prescription HTML table in the customer record. The Prescription Table shows all essential data like the quantity of prescription items used in Transactions, Auto-ships, Pet & Vet details, etc. Also… Continue reading Add Prescription Table in Customer Record
Auto-Ship: Link Prescription to Auto-ship and Sales Order (Real Time)
Script handles linking prescription to line records/Auto-Ship (custom record) both with/without SO reference upon approval of prescription record(custom record); Similarly to Sales Order item Lines.
Maximum Number of Values That Would Show up on a List/Record Custom Field When Using Inline Editing
Scenario User uses Inline Editing to edit a List/Record Custom Field. User wants to know the maximum number of selections that would show up when clicking the dropdown list. Solution The limit of the number of values that would show up from the dropdown list is set in Home > Set Preferences > Maximum Entries in… Continue reading Maximum Number of Values That Would Show up on a List/Record Custom Field When Using Inline Editing
Remove Values in Custom Lists While Preserving Data Referenced in Existing Records
Scenario There are cases when a custom list value must be removed. For Custom List/Record Fields using a Custom List as its source, it is not possible to remove obsolete values that are referenced by existing records. The best practice is to set the obsolete values to inactive. To prevent data integrity issues, the system… Continue reading Remove Values in Custom Lists While Preserving Data Referenced in Existing Records