Skip to content

Commit

Permalink
Fix for Postgresql: setSystemDefault and getSystemDefault does not wo…
Browse files Browse the repository at this point in the history
…rk, probably because of transaction.
  • Loading branch information
tpokorra committed May 22, 2021
1 parent 4b4e5a9 commit 938a5d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion csharp/ICT/Petra/Server/lib/MFinance/setup/GL.Setup.cs
Expand Up @@ -4464,7 +4464,7 @@ public static bool GetCurrencyCodes(out ACurrencyTable AResultTable)
ImportDefaultAccountHierarchy(ref MainDS, ANewLedgerNumber, ref AVerificationResult);
ImportDefaultCostCentreHierarchy(ref MainDS, ANewLedgerNumber, ALedgerName);

if (SystemDefaults.GetBooleanDefault(
if (AWithILT || SystemDefaults.GetBooleanDefault(
SharedConstants.SYSDEFAULT_ILTPROCESSINGENABLED, false) == true)
{
ACostCentreRow newCostCentreRow = MainDS.ACostCentre.NewRowTyped();
Expand Down

0 comments on commit 938a5d0

Please sign in to comment.