...
"G/L Account"."Account Type" <> "G/L Account"."Account Type"::Posting,FALSE,FALSE,CurrFormat)
ELSE
ExcelBuf.AddColumn(
'',FALSE,'',"G/L Account"."Account Type" <> "G/L Account"."Account Type"::Posting,FALSE,FALSE,'');
END;
-
// Delete the following line.
IF GLAcc2."Debit Amount" + OpenDebitAmtEnd + CloseDebitAmt +
GLAcc2."Credit Amount" + OpenCreditAmtEnd + CloseCreditAmt = 0 THEN BEGIN
ExcelBuf.AddColumn(
'',FALSE,'',GLAcc2."Account Type" <> GLAcc2."Account Type"::Posting,FALSE,FALSE,'');
ExcelBuf.AddColumn(
'',FALSE,'',GLAcc2."Account Type" <> GLAcc2."Account Type"::Posting,FALSE,FALSE,'');
ExcelBuf.AddColumn(
...
...
"G/L Account"."Account Type" <> "G/L Account"."Account Type"::Posting,FALSE,FALSE,CurrFormat)
ELSE
ExcelBuf.AddColumn(
'',FALSE,'',"G/L Account"."Account Type" <> "G/L Account"."Account Type"::Posting,FALSE,FALSE,'');
END;
// Add the following line.
IF ((GLAcc2."Debit Amount" + OpenDebitAmtEnd + CloseDebitAmt +
GLAcc2."Credit Amount" + OpenCreditAmtEnd + CloseCreditAmt = 0) AND NOT AcumBalance) THEN BEGIN
ExcelBuf.AddColumn(
'',FALSE,'',GLAcc2."Account Type" <> GLAcc2."Account Type"::Posting,FALSE,FALSE,'');
ExcelBuf.AddColumn(
'',FALSE,'',GLAcc2."Account Type" <> GLAcc2."Account Type"::Posting,FALSE,FALSE,'');
ExcelBuf.AddColumn(
...