Good Morning -
User is getting the error "Amount must be positive in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='0" when attempting to financially voiding a customer refund check. I believe it has been fixed somewhere. However, since MS changed their portal, we can no longer search for anything related to Nav / Business Central. There is nowhere that we can find that allows that. If anyone knows how to do that I would be forever grateful!
In the meantime, if anyone knows the fix for the error above, can you please send me info on it? They are on 2013 R2
Thanks,
Diane
Hello,
I too am having a hard time finding KB's. Hopefully Microsoft Support who sees these can provide a link to the KB.
Thanks,
Steve
Steve-
I don't see the code you posted above when I click on the link to that KB. Here is the replacement code from the KB:
Replacement code
GenJnlLine2."System-Created Entry" := TRUE;
GenJnlLine2."Financial Void" := TRUE;
GenJnlLine2."Document No." := CheckLedgEntry."Document No.";
GenJnlLine2."Document Type" := CheckLedgEntry."Document Type"; // Add this line.
GenJnlLine2."Account Type" := GenJnlLine2."Account Type"::"Bank Account";
GenJnlLine2."Posting Date" := ConfirmFinVoid.GetVoidDate;
GenJnlLine2.VALIDATE("Account No.",CheckLedgEntry."Bank Account No.");
Replacement code
GenJnlLine2."System-Created Entry" := TRUE;
GenJnlLine2."Financial Void" := TRUE;
GenJnlLine2."Document No." := CheckLedgEntry."Document No.";
GenJnlLine2."Document Type" := CheckLedgEntry."Document Type"; // Add this line.
GenJnlLine2."Account Type" := CheckLedgEntry."Bal. Account Type";
GenJnlLine2."Posting Date" := ConfirmFinVoid.GetVoidDate;
GenJnlLine2.VALIDATE("Account No.",CheckLedgEntry."Bal. Account No.");
Thanks Steve!
I will have our developer take care of that. BTW, can you tell me how you found that on the MS portal? Ever since the most recent change to the MS site, we cannot figure out where to go to search for Nav/BC issues. If you could give me a step by step of where you went to find this, I would be so grateful. We have an account with MS and I can enter tickets, but can't find where to search for issues. The only search I can find, searches every single MS product available to mankind. Earlier this year, I searched for 2020 1099 info and video games came up!
Thanks,
Diane
Microsoft did a hotfix in KB980359. The fix was:
"Document Type"::Refund:
IF NOT "System-Created Entry" THEN
ErrorIfNegativeAmt(GenJnlLine)
ELSE
ErrorIfPositiveAmt(GenJnlLine);
The KB is here: mbs2.microsoft.com/.../kbdisplay.aspx
Thanks,
Steve
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 290,524 Super User 2024 Season 2
Martin Dráb 228,469 Most Valuable Professional
nmaenpaa 101,148