当我尝试通过Suitelet创建销售订单并将shipmethod或Ship Via字段提供给Fedex Ground时,对于那些不合适的客户,它会抛出错误
Could not calculate cost for the selected Realtime rate. The rate for this service is not available for the specified source and destination addresses.
{
type: "error.SuiteScriptError",
name: "USER_ERROR",
message: "Could not calculate cost for the selected Realtime rate. The rate for this service is not available for the specified source and destination addresses.",
stack: [
"anonymous(N/recordService)",
"functionname(/SuiteApps/script name:line number)"
],
cause: {
type: "internal error",
code: "USER_ERROR",
details: "Could not calculate cost for the selected Realtime rate. The rate for this service is not available for the specified source and destination addresses.",
userEvent: null,
stackTrace: [
"anonymous(N/recordService)",
"functionname(/SuiteApps/script name:line number)"
],
notifyOff: false
},
id: "",
notifyOff: false
}
答案 0 :(得分:0)
“不是条款的客户”是什么意思?如果客户地址未正确填充,通常会遇到此错误。