Hi, all. Some question for Netsuite withholding ta...
# general
m
Hi, all. Some question for Netsuite withholding tax bundle. Our company requires some different logic than Netsuite withholding tax bundle. When the user process partial payment with withholding tax, Netsuite wht bundle calculates the partial withholding tax amount based on the percentage. For example, first line $500, and wht amount 0, and second line $500, wht amount $50, and pay with $700, then Netsuite WHT bundle creates bill credit of $35 = (0+50) * 700/(500+500) But our company requires to calculate wht amount as sequence, so first $500 is applied to the first line, and $200 applied to the second line, so wht amount must be 50 * 200 / 500 = $20 In order to do this, I added a module into Bill payment beforeSubmit, and calculated credit amount $20, and created bill credit for that, and deleted the bill credit generated by Netsuite WHT bundle. But now, Bill payment, Bill, and Bill credits are locked and can't edit or remove them, seems that's conflict with the Netsuite WHT bundle, and that bundle not allows their generated bill credit manual delete. Who has experienced with such issue and resolve ? and without the source of Netsuite WHT bundle, how can we inject our logic into WHT calculation ? Thanks.