Payment Method Code is not set on Sales Credit Memos
-
Payment Method Code is not set on Sales Credit Memos
Hello BC/NAV Fans!
I have discovered that for sales orders, purchase orders, and purchase credits the documents the PAYMENT METHOD CODE is populated with the value from the customer or vendor card. This is not the case however with Sales Credit Memos where the PAYMENT METHOD CODE is set to an empty value. (I tested this on our BC14 system and also on a Cronus BC22 database)
We’re thinking of letting the system set the PAYMENT METHOD CODE from the customer card value for Credit Memos for the purpose of filtering open transactions.
Can anyone think of a reason that we should not do this?
Here’s the code in table 36 (Sales Header) that clears the field for credit and return orders but sets the field for sales orders and quotes:
IF “Document Type” IN [“Document Type”::”Credit Memo”,”Document Type”::”Return Order”] THEN BEGIN
“Payment Method Code” := ”;
IF PaymentTerms.GET(“Payment Terms Code”) THEN
IF PaymentTerms.”Calc. Pmt. Disc. on Cr. Memos” THEN
“Payment Method Code” := BillToCustomer.”Payment Method Code”
END ELSE
“Payment Method Code” := BillToCustomer.”Payment Method Code”;
The discussion ‘Payment Method Code is not set on Sales Credit Memos’ is closed to new replies.