Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

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

Posted on 2011-03-01
1
Medium Priority
?
794 Views
Last Modified: 2012-05-11
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
Comment
Question by:TrialUser
1 Comment
 
LVL 10

Accepted Solution

by:
Abdulmalek_Hamsho earned 2000 total points
ID: 35012165
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

Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part II
Are you ready to place your question in front of subject-matter experts for more timely responses? With the release of Priority Question, Premium Members, Team Accounts and Qualified Experts can now identify the emergent level of their issue, signal…
Look below the covers at a subform control , and the form that is inside it. Explore properties and see how easy it is to aggregate, get statistics, and synchronize results for your data. A Microsoft Access subform is used to show relevant calcul…
Suggested Courses

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question