Options

Codeunit 80 - Assistance Needed

ljlj Member Posts: 3
Hi,
I have calculated a tax amount that is post VAT. The application of this tax % is subject to the customer criteria. I would have considered using the customer VAT option, but this is overridden by the Item VAT.

I am trying to find a entry point in the CU80 to where I can replace the Amount Incl. VAT with Amount Incl. VAT + tax amount. Thus also posting the tax amount to its own account.

Therefore the posting would look like this (basic concept):
Debtors Account: DR (full amount including VAT and additional tax)
Sales Account: CR (amount excl VAT and additional tax)
VAT Account: CR (VAT amount)
Tax Account: CR (additional Tax amount)

Naturally the equation would be DR = CR + CR + CR

Any assistance would be greatly appreciated.

Thnx
Kind Regards,

LJ

Comments

  • Options
    KowaKowa Member Posts: 918
    The G/L Journal line is filled from the InvPostingBuffer, try modifying the function

    FillInvPostingBuffer(SalesLine : Record "Sales Line";SalesLineACY : Record "Sales Line")
    Kai Kowalewski
  • Options
    KowaKowa Member Posts: 918
    lj wrote:
    customer VAT option, but this is overridden by the Item VAT.
    The item VAT does not override the customer VAT, it is always the combination of the two VAT Codes that determines the tax % and accounts.
    If you provide the VAT Posting Setup for every possible combination maybe there is be no need for customizing.

    See also this post ( vendors or customers VAT Calculation follow the same principles)
    http://www.mibuso.com/forum/viewtopic.p ... highlight=
    Kai Kowalewski
  • Options
    ljlj Member Posts: 3
    Thanks Kowa,

    I will check into this.

    [/list][/quote]
    Kind Regards,

    LJ
Sign In or Register to comment.