美国常见快递的Parcel Service Type Codes

Carrier SCAC Service Carrier Service Type Code FedEx Express (Parcel) FDEN FedEx 1Day Freight FEDEX_1_DAY_FREIGHT FedEx Express (Parcel) FDEN FedEx 2Day FEDEX_2_DAY FedEx Express (Parcel) FDEN FedEx 2Day A.M. FEDEX_2_DAY_AM FedEx Express (Parcel) FDEN FedEx 2Day Freight FEDEX_2_DAY_FREIGHT FedEx Express (Parcel) FDEN FedEx 3Day Freight FEDEX_3_DAY_FREIGHT FedEx Express (Parcel) FDEN FedEx Express Saver FEDEX_EXPRESS_SAVER FedEx... » read more

nlapiSubmitField and record.submitFields(options) are not Setting the Value of Custom Fields on Inbound Shipment Records

Scenario As per Issue: 505122, the SuiteScript API nlapiSubmitField does not set the value on custom fields applied to the Inbound Shipment record. However, the following workaround can be used to overcome this limitation till the issue is resolved. Solution 1. Load the required Inbound Shipment record;2. Set the value of the custom field;3. Submit the... » read more

在NetSuite中用SuiteScript脚本创建Inbound Shipment Record

你可能看到这样的错误: 根据NetSuite提供的数据结构,必填字段是purchaseorder, shipmentitem。一般来说purchaseorder是PO的internalid,而shipmentitem如果填写item的internalid则会报错,因为这里实际指的是PO的lineuniquekey 分享一个例子,请替换ID、适当添加字段。

Create Inbound Shipment Record using SuiteScript in NetSuite

You may find these errors According to the Schema, the mandatory fields are purchaseorder, shipmentitem. Yes, that purchaseorder refers the internalid of purchase order, but the shipmentitem does not mean the item ids of the item on the PO – it’s actually lineuniquekey of PO items! Here is a working example and all you need... » read more

如何设置NetSuite高级PDF模板/Freemarker的地区

问题 默认的模板地区是en_US也就是美国英文,如何改变设置以适应其他地区的货币格式等信息? 解答 在 <head>中把<#setting locale="xzy"> 放在<#if .locale> 上面。 模板的区域设置定义了货币格式、日期格式等。当区域设置为日本时,以下是价格表的样子: Qty SKU Rate Amount 1 Battery ¥26,000 ¥26,000

How to Set Locale for NetSuite Advanced PDF Template / Freemarker

Question By default the locale of Advanced PDF Template is en_US. How to set local for NetSuite Advanced PDF Template? Answer It works for me by placing <#setting locale="xzy"> above <#if .locale> statements within <head>. The locale defines currency format, date format, etc for this template. Below is how the price table looks like when... » read more

时间已定Scheduled脚本没有log直接状态变成错误

问题: 一个预定的脚本无法按照其执行计划执行。当手动触发脚本时,执行状态会变为失败,并且即使在第一行中放置了log.debug(),也不会记录执行日志。 解决方案: 可能是因为文件名缺少扩展名导致的。当在文件名末尾添加*.js时,它可以正常工作。