Finance Charge Memo Question

headley27
headley27 Member Posts: 188
I am attempting to use Finance Charge Memos but am running across an error message that I don't quite understand: ](*,)

When I run Report 192 (Suggest Fin. Charge Memo Lines) from Form 477 (Finance Charge Memo), the code breaks with:
    You must specify Gen. Prod. Posting Group in G/L Account No.='xxxx'.
    The error message has been traced to the CalcFinChrg() function in Table 303 (Finance Charge Memo Line).
    IF Amount <> 0 THEN BEGIN
      CustPostingGr.GET(FinChrgMemoHeader."Customer Posting Group");
      CustPostingGr.TESTFIELD("Interest Account");
      GLAcc.GET(CustPostingGr."Interest Account");
    
      GLAcc.TESTFIELD("Gen. Prod. Posting Group");   //<< Breaks Here
    
      VALIDATE("Gen. Prod. Posting Group",GLAcc."Gen. Prod. Posting Group");
      VALIDATE("VAT Prod. Posting Group",GLAcc."VAT Prod. Posting Group");
    END;
    

    So what I see is that Navision gets the appropriate Customer Posting Group and looks for an Interest Account. In the G/L Account table a General Product Posting group is also expected.

    Why must an Interest Account have an attached General Product Posting Group? I am using a G/L Account called 'Other Income' that has nothing to do with product (other that the fact that I sold a product to a customer and they are late paying the bill).

    To resolve the issue I could attach any General Product Posting Group to the G/L Account (which is the same as pulling a number out of a hat) or I could comment the line.
    IF Amount <> 0 THEN BEGIN
      CustPostingGr.GET(FinChrgMemoHeader."Customer Posting Group");
      CustPostingGr.TESTFIELD("Interest Account");
      GLAcc.GET(CustPostingGr."Interest Account");
    
      //GLAcc.TESTFIELD("Gen. Prod. Posting Group");
    
      VALIDATE("Gen. Prod. Posting Group",GLAcc."Gen. Prod. Posting Group");
      VALIDATE("VAT Prod. Posting Group",GLAcc."VAT Prod. Posting Group");
    END;
    

    This requirement makes no sense to me.

    Can someone please explain this to me?

    Thank you,
    headley27