Adding GBPG, GPPG, VATPG

How do i add General Business Posting Group, General Product Posting Group and VAT Posting Group to Purchase invoice line. we are using Navision 5