This function is given the Amount plus the VAT amount (which may be NULL). It calculates the ex VAT amount taking into account nulls and assuming the sign convention of icvFeesPostingVAT.
pAmount |
The fees posting amount |
pVATAmount |
The VAT amount of the posting |
Returns |
The ex VAT amount |