This script is used to auto populate the transit time details in item fulfillment record based on the change in the shipping carrier. The deatils are fetched from FedEx and UPS API. function (https, log, record, search) { /** * Function to be executed when field is changed. * * @param {Object} scriptContext * @param {Record}… Continue reading Client script to auto populate the transit time details in item fulfillment record based on the change in the shipping carrier.
Tag: fedex and ups
User event script to auto populate the transit time details in item fulfillment record.
This script is used to auto populate the transit time details in item fulfillment record. The details are fetched from FedEx and UPS API. While clicking the Fulfill button the transit time details are populated below the Shipping Subtab. (https, log, record, search) => { /** * Defines the function definition that is executed before record… Continue reading User event script to auto populate the transit time details in item fulfillment record.
Script to auto populate the access token in FedEx and UPS Integration custom record in NetSuite.
A map reduce script to auto populate the access token in FedEx and UPS Integration custom record in NetSuite. This script can be scheduled to execute in 1 hour for getting access token from FedEx and UPS API. define([‘N/https’, ‘N/record’, ‘N/search’, ‘N/log’, ‘N/encode’], /** * @param{https} https * @param{record} record * @param{search} search * @param{log}… Continue reading Script to auto populate the access token in FedEx and UPS Integration custom record in NetSuite.
Script to get the transit time details from FedEx and UPS API to Item fulfillment record in NetSuite.
Userevent script to get the transit time details from FedEx and UPS. The requested transit time details can be displayed in a tabular format in Item Fulfillment record. const beforeLoad = (scriptContext) => { try { if (scriptContext.type === scriptContext.UserEventType.CREATE) { let newRecord = scriptContext.newRecord; let shippingCarrier = newRecord.getValue({ fieldId: ‘shipcarrier’ }); let transactionDateObject =… Continue reading Script to get the transit time details from FedEx and UPS API to Item fulfillment record in NetSuite.
Map Reduce script to set Access Token in Custom record from FedEX/UPS
A map reduces script that sets access token value from FedEx and UPS to a custom record in NetSuite. (https, record, search, log, encode) => { /** * @description Get the configuration details of the FedEx and UPS from the custom record. * @returns {Object} configObj */ const getConfigDetails = (recordId) => { try {… Continue reading Map Reduce script to set Access Token in Custom record from FedEX/UPS