【发布时间】:2014-04-15 13:43:51
【问题描述】:
我对 Mule NetSuite 连接器非常陌生。我正在尝试使用 NetSuite 连接器更新 NetSuite 销售订单状态。
我已经编写了如下配置 xml 来更新销售订单。
<flow name="netsuite-create-sales-orderFlow2" doc:name="netsuite-create-sales-orderFlow2">
<http:inbound-endpoint exchange-pattern="request-response" host="localhost" port="8084" path="UpdateSalesOrder" doc:name="HTTP"/>
<netsuite:update-record config-ref="Netsuite" recordType="SALES_ORDER" doc:name="Netsuite">
<netsuite:attributes>
<tranId>299</tranId>
<orderStatus>_pendingFulfillment</orderStatus>
</netsuite:attributes>
</netsuite:update-record>
</flow>
在上面的代码中,“299”是我的销售订单号,我正在尝试将该销售订单状态从“_pendingApproval”更新为“_pendingFulfillment”。但我收到“IllegalArgumentException”。
java.lang.IllegalArgumentException: No enum const class com.netsuite.webservices.transactions.sales_2013_2.types.SalesOrderOrderStatus._pendingFulfillment
谁能纠正我哪里做错了。
【问题讨论】:
标签: mule mule-studio netsuite