web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

eConnect - creating distribution item for foreign currency rounding error (SOP)

(0) ShareShare
ReportReport
Posted on by 5

Hi all,

I have some C# code that takes invoice data (headers, items and distributions) from a database, format the data into eConnect SOP transaction XML docs (SOP invoice header, line items and distributions), and send them over to eConnect. I found an issue when I started using foreign currency.

In some of the invoices created, the account distribution debits and credits are off by a cent in the functional currency (but those in the originating currency always add up). Here's an example:
CAD (Originating): Credits 145.45 + 144 + 153.68 + 146.4 + 145.48 (735.01 total) = 735.01 Debit
USD (Functional): Credits 138.89 + 137.5 + 146.75 + 139.8 + 138.92 (701.86 total) = 701.85 Debit
Exchange rate = 1.0472458

If I create this invoice in GP manually or if I open this invoice in Edit mode, GP will automatically add an "Exchange Rate (Gains)/Losses" distribution item for me, but I don't open the invoice in GP, that penny isn't accounted for.

Is there anyway to tell eConnect to create that exchange rate gain/loss item for me?

Thanks.
Felix.

*This post is locked for comments

I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
talty09 Profile Picture

talty09 2

#1
Anthony Beatty Profile Picture

Anthony Beatty 2

#3
CP04-islander Profile Picture

CP04-islander 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans