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
761 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 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: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

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

Suggested Solutions

This is a walkthrough guide I wrote whilst upgrading my on-premise MS Dynamics CRM 3.0 deployment to 4.0. This covers the actual installation of the product to a working level for my system, I ran into a lot of issues that the steps below fixed so h…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

856 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