shayota 6/24/2020 4:20:14 PM

eConnect Class taRMApply - Applying Incorrect Dollar Amount

Hello Everyone,

Using Microsft Dynamics GP 2018 / eConnect 2018:

I am an intermediate programmer but have worked really hard to get to this level of understanding and I'm having trouble using the taRMApply Class in a C# .Net Application that imports data from a CSV.

There are no exceptions being caught because it appears I am serializing all the data correctly but when I go into GP to see the results, its applying more money than the value passed in the 'APPTOAMT' node.

Has anyone experienced this type of problem before?

Here is the xml doc being submitted to eConnect:

<?xml version="1.0" encoding="utf-8"?>
<eConnect xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <RMApplyType>
    <eConnectProcessInfo xsi:nil="true" />
    <taRequesterTrxDisabler_Items xsi:nil="true" />
    <taAnalyticsDistribution_Items xsi:nil="true" />
    <taRMApply>
      <APTODCNM>100003</APTODCNM>
      <APFRDCNM>98699-GLCR</APFRDCNM>
      <APPTOAMT>100.00</APPTOAMT>
      <APFRDCTY>7</APFRDCTY>
      <APTODCTY>1</APTODCTY>
      <APPLYDATE>04/30/2020</APPLYDATE>
      <GLPOSTDT>04/30/2020</GLPOSTDT>
    </taRMApply>
  </RMApplyType>
</eConnect>

Any help would be greatly appreciated, I can post the whole code solution too if required for context.

 

 

Version: Unknown or N/A, GP 2015
Section: .NET Development, 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