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
Author: Sreelakshmi R
To Make Code Portable
We can create a constants library file like below and add internal ids in objects for different environments.
Autoship: Scheduled 2 pm process
Script 1: Creates Sales Order for auto-ship(custom) record. Script is powered by search which pulls all line records/auto-ship that are created inside the 2 day window ranga Script 2: Creates future auto-ship by copying past auto-ship but the new set will have different shipping dates based on frequency set on the record.
Auto-Ship Second Generation: PYMT Token
Update in script for second generation process https://jobinandjismi.in/autoship-flow-2-autoship-generation/ to incorporate payment card token addition logic as part of https://jobinandjismi.in/auto-ship-payment-card-token-updation/
Auto-Ship: Payment Card Token Updation
When payment card id is used in order, CyberSource initiates tokenization. At that time the script deployed in Payment card token record creation will find the Auto-Ship record by matching the mask value and the credit card look field key set on Auto-Ship record and updates the payment card Token field in line record/Auto-Ship
Edit page for auto-ship Item with a One Time item bundled with it – Solution Design
Requirement Display message “This product is bundled with another. Pausing or canceling this item will cancel all items bundled with it.” When the Next Order date, Shipping Address, or Payment method are changed it also updates for the One Time item Web Add the message on the confirmation popup for Cancel and Pause action buttons.… Continue reading Edit page for auto-ship Item with a One Time item bundled with it – Solution Design
Solution Design for Auto-Ship: Credit Card missing from new Auto-Ship
Preferred Solution For Web Upon line record creation, save a JSON string value of the user’s selected card into a custom field Card info needed: Card Brand Last Four Digits Expiration Date Format of the field: “[CUSTOMER_ID]-[BRAND]-[LAST_FOUR]-[EXP_DATE]” E.g. “0283759-Mastercard-4242-06/25” <<< Line Record will have this on a field like TOKEN LOOKUP KEY Also affects Create,… Continue reading Solution Design for Auto-Ship: Credit Card missing from new Auto-Ship
Autoship (Flow-2): Autoship Generation
Solution documented here: https://jobinandjismi.in/wp-admin/post.php?post=26914&action=edit
Autoship (Flow-2): Order Generation
Solution documented here: https://jobinandjismi.in/wp-admin/post.php?post=26914&action=edit
Solution Design: Auto-Ship Flow
Description: Customers will place an auto-Ship order from the Website. Line records (auto-ship) will create in NS. Map-Reduce Script runs nightly every day and is powered off by a saved search that pulls required line records based on 2 days window logic. Iteration One: Will create Reference Sales Order for line records, grouped based on… Continue reading Solution Design: Auto-Ship Flow