普通存储过程 [taSopLineIvcInsert] 错误 5313

Great Plain Stored Procedure [taSopLineIvcInsert] Error 5313

Sql 返回的过程错误代码: 错误号 = 5313 存储过程 taSopLineIvcInsert 错误说明 = 正在使用的计量单位计划不存在计量单位 节点标识符参数:taSopLineIvcInsert
SOPNUMBE = FXINV17-0183253 类型 = 3 节点的相关错误代码参数:taSopLineIvcInsert
NONINVEN = 注意:此参数未传入,不会返回参数值。 UOFM = EA

<taSopLineIvcInsert>
   <SOPTYPE>3</SOPTYPE>
   <SOPNUMBE>FXINV17-0183253</SOPNUMBE>
   <CUSTNMBR>CCT-136</CUSTNMBR>
   <DOCDATE>26/9/2017</DOCDATE>
   <ITEMNMBR>DVG-013</ITEMNMBR>
   <UNITPRCE>30.00000</UNITPRCE>
   <QUANTITY>1.00000</QUANTITY>
   <ITEMDESC>DRIED MUSHROOM</ITEMDESC>
   <DOCID>STDINV         </DOCID>
   <DEFEXTPRICE>1</DEFEXTPRICE>
   <UOFM>EA</UOFM>
</taSopLineIvcInsert>

The error message is coming from the Microsoft Dynamics GP eConnect API. eConnect stored procedure taSopLineIvcInsert, performs validation on the data to ensure the imported transaction complies with the Dynamics GP business rules.

The 5313 error is indicating that the UOM Schedule assigned to item DVG-013 does not contain the Unit of Measure value of "EA" that was passed in with the SOP transaction.

Please login to Dynamics GP, open the Item Maintenance window, select item DVG-013, and then check the UOM Schedule ID assigned to that item. Then click on the UOM Schedule ID link and review the list of acceptable values for that UOM Schedule. You may see a value of "Each", but not "EA".