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
767 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
Abdulmalek_Hamsho earned 500 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

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.

Question has a verified solution.

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

Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
Desired Skill Set for Microsoft Dynamics CRM Technical Resources – Part I
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

749 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