Sandy Guenette 10/12/2017 4:05:03 PM

Error Number = 670 Stored Procedure= taRMApply Error Description = Payment/Return is already applied to the invoice

Want to apply a $7,888 credit memo to a $78,900 invoice that I applied $10 previously now I want to apply $100.

Using GP2016(R2)

 

Input parameters:

 

Exception type:

Microsoft.Dynamics.GP.eConnect.eConnectException

 

Exception message:

Sql procedure error codes returned:

 

Error Number = 670  Stored Procedure= taRMApply  Error Description = Payment/Return is already applied to the invoice

 

 

<taRMApply>

  <APTODCNM>SMART0032384</APTODCNM>

  <APFRDCNM>EARNFY2016-0180</APFRDCNM>

  <APPTOAMT>100</APPTOAMT>

  <APFRDCTY>7</APFRDCTY>

  <APTODCTY>1</APTODCTY>

</taRMApply>

 

 

Stack Trace:

   at Microsoft.Dynamics.GP.eConnect.ServiceProxy.CreateEntity(String connectionString, String xml)

   at Microsoft.Dynamics.GP.eConnect.eConnectMethods.EntityImportImplementation(String connectionString, String sXML, Boolean isTransaction)

   at Microsoft.Dynamics.GP.eConnect.eConnectMethods.ProcessEntityImport(String connectionString, String sXML, Boolean isTransaction)

   at Microsoft.Dynamics.GP.eConnect.eConnectMethods.CreateEntity(String connectionString, String sXML)

 

Event Xml:

<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">

  <System>

    <Provider Name="Microsoft.Dynamics.GP.eConnect" />

    <EventID Qualifiers="0">0</EventID>

    <Level>2</Level>

    <Task>0</Task>

    <Keywords>0x80000000000000</Keywords>

    <TimeCreated SystemTime="2017-10-12T19:26:02.377539200Z" />

    <EventRecordID>112</EventRecordID>

    <Channel>eConnect</Channel>

    <Computer>BSCHRAMM-7040.usbc.lan</Computer>

    <Security />

  </System>

  <EventData>

    <Data>Action:

Create

Version: GP 2015
Section: Dynamics GP, eConnect


Table Definition Quick Links
All Tables
SOP Tables
RM Tables
GL Tables
POP Tables
HR Tables
PM Tables
UPR Tables
IV Tables
Olympic Tables
3