<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — re-saving an existing allocation posts its FX difference a second time]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=10746</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=10746&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in re-saving an existing allocation posts its FX difference a second time.]]></description>
		<lastBuildDate>Mon, 02 Nov 2026 14:00:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: re-saving an existing allocation posts its FX difference a second time]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43898#p43898</link>
			<description><![CDATA[<p>Files modified:</p><p>includes/ui/allocation_cart.inc — write() now removes the previous FX before re-posting</p>]]></description>
			<author><![CDATA[null@example.com (andijani)]]></author>
			<pubDate>Mon, 02 Nov 2026 14:00:56 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43898#p43898</guid>
		</item>
		<item>
			<title><![CDATA[re-saving an existing allocation posts its FX difference a second time]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=43897#p43897</link>
			<description><![CDATA[<p>Reproduction steps</p><p>Setup. Home currency CAD. Create a test supplier in USD.</p><p>Exchange rates. In Banking and General Ledger → Exchange Rates, set USD to 1.30 on 11/01/2026 and 1.40 on 11/02/2026.<br />Invoice. Enter a supplier invoice dated 11/01/2026 for 1,000.00 USD. This books AP at 1,300 CAD.<br />Payment. Enter a supplier payment dated 11/02/2026 for 1,000.00 USD and allocate the full amount to the invoice on the payment screen. The payment debits AP at 1,400 CAD.<br />Check. Open the payment’s GL view. You should see one FX pair of 100.00 between AP and Foreign Exchange Gain/(Loss), memo “Supplier Invoice N”. That pair is correct.<br />Trigger. Go to Purchases → Allocate Supplier Payments or Credit Notes and tick Show Settled Items. Click Allocate on the payment. It shows 1,000 already allocated. Click Process without changing anything.<br />Result. Open the payment’s GL view again. There are now two identical 100.00 FX pairs, and each extra Process adds another. Supplier Inquiry still shows everything settled, but GL AP for that supplier is now off by 100 for each extra pair.</p><p>Files modified:</p><p>includes/banking.inc — new remove_exchange_variation() helper<br />includes/ui/allocation_cart.inc — write() now removes the previous FX before re-posting</p>]]></description>
			<author><![CDATA[null@example.com (andijani)]]></author>
			<pubDate>Mon, 02 Nov 2026 13:59:41 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=43897#p43897</guid>
		</item>
	</channel>
</rss>
