• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 797
  • Last Modified:

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.
0
TrialUser
Asked:
TrialUser
1 Solution
 
Abdulmalek_HamshoCommented:
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

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now