vba code to make Credit Card Deposit as the default Payment type in the Sales Payment Entry window

I want to make the Credit Card deposit as the default Payment type choice in the Sales Payment entry window. Is this possible to do be either changing a setting inside GP or by VBA code. Please suggest.
TrialUserAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Abdulmalek_HamshoConnect With a Mentor Commented:
Using VBA, do the following:

1- Add the Cash Receipt window to VBA

2- Add the Radio Area (Cash, Check, Credit Card) to VBA, and Customer ID field.

3- In the event CustomerID_AfterUserChanged put this code:
CashReceiptType = 2

Done!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.