Hello,
Someone before me edited the General Journal template so that when a user enters a GL Number into the Account No field, it automatically populates the Description field with the Name field from the Chart of Accounts. Is there a way I can turn this off?
Thanks!
John
Hi John,
don’t you mean the General Journal Line? If yes then take a look at the code in feld “Account No.” in table 81. There should be code-lines like
If glacc.get(“account no.”) then
description := glacc.description;
Just modify the lines with a leading double slash “//” and you’re good to go.
Regards Jan
PS: If you mean general journal template then the steps would be basically the same - just in case I’ve got you wrong
Thanks!
Do I need a Developer’s license to see the code?
John
yes - to change it -
Note: mine does that by default - what makes you think it was changed to do that?
The code on table 81…
Code
CASE “Account Type” OF
“Account Type”::“G/L Account”:
BEGIN
GLAcc.GET(“Account No.”);
CheckGLAcc;
ReplaceInfo := “Bal. Account No.” = ‘’;
IF NOT ReplaceInfo THEN BEGIN
GenJnlBatch.GET(“Journal Template Name”,“Journal Batch Name”);
ReplaceInfo := GenJnlBatch.“Bal. Account No.” <> ‘’;
END;
IF ReplaceInfo THEN BEGIN
Description := GLAcc.Name;
END;
…etc