Hi all
I am getting following error when posting a sales order in 6.0sp1 IN version 29626 build
Gen. Posting Type must not be in Gen. Journal Line Journal Template Name='',Journal Batch Name='',Line No.='1000'.
I wrote message to know what the gl account as show below
Codeunit 11 Gen. Jnl.-Check Line\RunCheck(GenJnlLine,JnlLineDim)
IF "Account No." <> '' THEN BEGIN
CASE "Account Type" OF
"Account Type"::"G/L Account":
BEGIN
IF ("Gen. Bus. Posting Group" <> '') OR ("Gen. Prod. Posting Group" <> '') OR
("VAT Bus. Posting Group" <> '') OR ("VAT Prod. Posting Group" <> '')
THEN
Message('%1 %2',"Account No.","Gen. Posting Type");
TESTFIELD("Gen. Posting Type");
I note that GL account no and checked but I found that "Gen. Posting type " is not null. I changed to Null also I am getting same error.
am I missing some thing or is it a bug
*This post is locked for comments