I learned a cool trick recently when it comes to getting a column to display both the Date and the Time in a generic inquiry.
The Problem
I create a simple Generic Inquiry like this.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
The problem is that I only see the Date (not the Time) in the second column when I run it.
Image may be NSFW.
Clik here to view.
The Solution
In order to get the Time to display, we can use a trick by adding the CRCase table without any relationships like this.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Then we put CRCase.CreatedDateTime in the Schema Field column of our already existing row. We’re basically “hijacking” the format from CRCase.CreatedDateTime and using it to get the format that we want on our SOOrder.CreatedDateTime field.
Image may be NSFW.
Clik here to view.
Now the column shows both the Date and the Time.
Image may be NSFW.
Clik here to view.
The only problem left is that it took the column title from CRCase.CreatedDateTime and gave the column an incorrect name of Date Reported, but we can fix this by overriding the caption on the Generic Inquiry.
You might have to add the Caption column to your grid using the icon to the left of the paper clip in the grid.
Image may be NSFW.
Clik here to view.
Image may be NSFW.
Clik here to view.
Pretty cool huh?
The post Acumatica Generic Inquiry Date and Time appeared first on Tim Rodman.