1099 Processing
2024 issues
The WTHD_BASIS_AMT_ENT field on the PS_PYMNT_VCHR_WTHD record has some withholding amounts double or tripled,
select P.WTHD_TYPE, P.WTHD_BASIS_AMT_ENT, V.GROSS_AMT, V.VENDOR_ID, E.NAME1, V.VOUCHER_ID, V.INVOICE_ID, V.INVOICE_DT from PS_PYMNT_VCHR_WTHD P
join PS_VOUCHER V on P.VOUCHER_ID=V.VOUCHER_ID
join PS_VENDOR E on V.VENDOR_ID=E.VENDOR_ID
where
V.ACCOUNTING_DT>='2024-01-01'
and V.GROSS_AMT=P.ORG_WTHD_BASIS_ENT
and P.WTHD_BASIS_AMT_ENT<>P.ORG_WTHD_BASIS_ENT
order by V.VENDOR_ID
Once the WTHD_BASIS_AMT_ENT amounts are corrected and the AP_WTHD process has been ran, check for any amounts in PS_WTHD_TRXN_TBL that do not match up with the payment table
select * from PS_WTHD_TRXN_TBL W
join PS_PAYMENT_TBL P on W.PYMNT_ID=P.PYMNT_ID
where
W.PROCESS_INSTANCE = 1532843 --process instance from AP_WTHD
and W.WTHD_BASIS_AMT<>P.PYMNT_AMT