Need help with custom rounding using AP_CUSTOM_WITHHOLDING_PKG.AP_SPECIAL_WITHHELD_AMT
Hi,
I need help with the seeded customizable package AP_CUSTOM_WITHHOLDING_PKG.AP_SPECIAL_WITHHELD_AMT. I modified the package to force withholding tax to be rounded off to zero decimal. The problem is, the code only affects the Entered Credit amount for withholding tax, not the base Credit amount -- which causes discrepancies during journal import. Upon further checking, I found that the BASE_AMOUNT in AP_INVOICE_DISTRIBUTIONS_ALL still retains the unrounded amount. The reason for this is that AP_CALC_WITHHOLDING_PKG.Insert_Temp_Distribution overrides BASE_AMOUNT (base_WT_amount := Ap_Utilities_Pkg.ap_round_currency