Using GP 2010 and Web services
I am trying to create a sales invoice using CreateSalesInvoice() of web service. I get error and looking server event log has following information.
Exception message:
Error Number = 9386 Stored Procedure taSopLineIvcInsert Error Description = No price level was found for the originating currency and DEFPRICING was set to 1 for a multi-currency transaction. eConnect does not currently support this configuration.
I understand that eConnect has a limitation (web service uses eConnect). But my question is how to get around this problem? Should I supply any parameter? Am I missing or passing something incorrectly? I have set PriceLevelKey on the invoice line to something other than DEFAULT.
More details or error from windows event log
Node Identifier Parameters: taSopLineIvcInsert
SOPNUMBE = INV0808526
SOPTYPE = 3
Related Error Code Parameters for Node : taSopLineIvcInsert
DEFPRICING = 1
<taSopLineIvcInsert>
<SOPTYPE>3</SOPTYPE>
<CUSTNMBR>SAI15MAY0110593</CUSTNMBR>
<DOCDATE>2015-05-01T00:00:00+10:00</DOCDATE>
<ITEMNMBR>CCOL0AD1M</ITEMNMBR>
<AutoAssignBin>1</AutoAssignBin>
<TOTALQTY>1</TOTALQTY>
<PRCLEVEL>DIRECT</PRCLEVEL>
<DOCID>STDINV</DOCID>
<AUTOALLOCATESERIAL>0</AUTOALLOCATESERIAL>
<AUTOALLOCATELOT>0</AUTOALLOCATELOT>
<RequesterTrx>0</RequesterTrx>
<ALLOCATE>0</ALLOCATE>
<UpdateIfExists>0</UpdateIfExists>
<KitCompMan>0</KitCompMan>
<DEFPRICING>1</DEFPRICING>
<DEFEXTPRICE>1</DEFEXTPRICE>
<CURNCYID>Z-AUD</CURNCYID>
<IncludePromo>0</IncludePromo>
<CKCreditLimit>0</CKCreditLimit>
<QtyShrtOpt>2</QtyShrtOpt>
<QTYTBAOR>0</QTYTBAOR>
<QUANTITY>1</QUANTITY>
<QTYCANCE>0</QTYCANCE>
<RecreateDist>0</RecreateDist>
<SOPNUMBE>INV0808526</SOPNUMBE>
</taSopLineIvcInsert>
*This post is locked for comments