Codeunit 90--where is the matching of posting gps present??

aliennavaliennav Member Posts: 449
Hi
I want to know that in CU 90 where it is decided that which account would be hit on the basis of Business & Product posting gps.--which we define in the general posting setup.??


Thanks in advance.

Comments

  • matteo_montanarimatteo_montanari Member Posts: 189
    aliennav wrote:
    Hi
    I want to know that in CU 90 where it is decided that which account would be hit on the basis of Business & Product posting gps.--which we define in the general posting setup.??


    Thanks in advance.

    Hi

    Function:

    FillInvPostingBuffer(PurchLine : Record "Purchase Line";PurchLineACY : Record "Purchase Line")

    Bye

    Matteo
    Reno Sistemi Navision Developer
  • aliennavaliennav Member Posts: 449
    I know the function but what code selects the account according to Gen. Business posting Gp. & Gen. Prod. posting gp (From setup).??
  • aliennavaliennav Member Posts: 449
    aliennav wrote:
    I know the function but what code selects the account according to Gen. Business posting Gp. & Gen. Prod. posting gp (From setup).??

    Is This the code..??

    IF ("Gen. Bus. Posting Group" <> GenPostingSetup."Gen. Bus. Posting Group") OR
    ("Gen. Prod. Posting Group" <> GenPostingSetup."Gen. Prod. Posting Group")
    THEN
    GenPostingSetup.GET("Gen. Bus. Posting Group","Gen. Prod. Posting Group");
  • vijay_gvijay_g Member Posts: 884
    As defined all inventory related accounts are check and assigned in CU 5802(Inventory Posting To G/L) and "purchase acc" and "purch. credit memo acc" are defined in last of this function(fillinvpostingbuffer) in CU 90.
  • neellotusneellotus Member Posts: 18
    Hi aliennav ,

    Your question/query ressolved or not becuase i m also looking for same
Sign In or Register to comment.