Hi Friends,
We had problem with applying cash discount to customer's payment. Cash discount setup looks right, the table 'custtranscashdisc' has the discount amount recorded, I guess it's populated after sales order invoiced?
when coming to payment, it didn't show up. User has to manually adjust it.
Our process is this, user upload file to create sales order, then manually invoice them, then, user will upload file to create payment, if there is no invoice information for SO, then user will manually put in, then, manually create payment journal.
My question are, if I do everything manually, the discount should apply when I pick invoice for payment, right? For uploading payment file, there must be code to applying discount when find invoice matching, right? or, discount created when payment journal created.
I am new to this process, any help is greatly appreciated.