By default I see that the Promised Date is set to today's date. I would like to change the default date to 0/0/0000 so that it will more meaningful when a user actually puts in a real date.
*This post is locked for comments
By default I see that the Promised Date is set to today's date. I would like to change the default date to 0/0/0000 so that it will more meaningful when a user actually puts in a real date.
*This post is locked for comments
You could try a form load event or after(leave) the PO number since they need to leave that field to get to the vendor ID. I am not sure of any events happening under the hood on that screen so you will need to test.
Try adding this to the VBA code. I added the Date Detail button to VBA.
Private Sub Window_AfterActivate()
PromisedDate = RequisitionDate
End Sub
I placed your code but the date still defaults to today's date.
I put this on the PurchaseOrderEntry(Window)
Private Sub Window_BeforeOpen(OpenVisible As Boolean)
PromisedDate = RequisitionDate
End Sub
Since RequisitionDate defaults to "0/0/0000" I use this value.
Hi Richard, I can't figure out which event to place the code to default the Promised Date. Keep in mind that the user may not even open the Purchase Date Entry window. I am able to set default if they open the window but if they just save the PO from the Purchase Order Entry window, how do I set the default. Thanks.
Thanks Richard, much appreciated!
When you are on the purchase order screen, if you go to Tools->Customize are the Visual Basic options active or dim? If they are active you will add this form and the date field to the VBA project. This will create a file called DYNAMICS.VBA. You can then copy it from computer to computer. You do need to be licensed for the Customization Suite to access these tools.
Thank you Richard. We do have people that can do that, we just need to know where to put it. We are new to GP.
A small piece of VBA code could handle that. Do you have anyone there who can do that?
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156