我最近在连接到新的 NetSuite 实例并尝试创建 SalesOrder 时遇到以下错误:
<platformCore:statusDetail type="ERROR"> <platformCore:code>INVALID_KEY_OR_REF</platformCore:code> <platformCore:message>Invalid orderstatus reference key B.</platformCore:message>
我遇到此错误的原因是:
我没有B
按照订单状态发送,我正在发送_pendingFulfillment
这种相同的调用格式适用于不同的 NetSuite 帐户
有谁知道可能导致此错误的原因是什么?我这边有什么问题,还是 NetSuite 帐户中的某些配置?
我正在使用 NetSuite 的 PHP 库,但发布的原始 XML 看起来像这样:
<?xml version="1.0" encoding="UTF-8"?>
<env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:platformMsgs="urn:messages_2018_2.platform.webservices.netsuite.com" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" xmlns:platformCore="urn:core_2018_2.platform.webservices.netsuite.com" xmlns:platformCommon="urn:common_2018_2.platform.webservices.netsuite.com" xmlns:listRel="urn:relationships_2018_2.lists.webservices.netsuite.com" xmlns:tranSales="urn:sales_2018_2.transactions.webservices.netsuite.com" xmlns:tranPurch="urn:purchases_2018_2.transactions.webservices.netsuite.com" xmlns:actSched="urn:scheduling_2018_2.activities.webservices.netsuite.com" xmlns:setupCustom="urn:customization_2018_2.setup.webservices.netsuite.com" xmlns:listAcct="urn:accounting_2018_2.lists.webservices.netsuite.com" xmlns:tranBank="urn:bank_2018_2.transactions.webservices.netsuite.com" xmlns:tranCust="urn:customers_2018_2.transactions.webservices.netsuite.com" xmlns:tranEmp="urn:employees_2018_2.transactions.webservices.netsuite.com" xmlns:tranInvt="urn:inventory_2018_2.transactions.webservices.netsuite.com"
UYOU