I am building a GI that needs to be able to pull a user defined field date and perform calculations on it such as dateadd or datediff. When I try to do this I get a virtual field error message coming up on my gi. If this date field was stored in an attribute I know how to get the date value from the CS answers table but it seems that user defined Fields do not store the values in the CS answers table - where are these stored in how can I perform calculations against them?
Hi
Hello
I want to be able to have a column that says the number of days ago that it was scheduled, as in something like Today() - scheduledate . But this will not work as the scheduled date is not accessible to do calculations on
I'm also having to do a slight add on to adjust the dates for our NZ timezone
https://community.acumatica.com/topic/show?tid=7116&postid=22937
=[SOOrder.AttributePCSCHEDDAT] - today() is the formula i have in my GI at present where the scheddat is an attribute connected to the Sales order UDF
this is the message that pops up
Hi
Please find the formula below for your reference.
=DateDiff( 'd', Today(), SOOrder.AttributeNDATE])
Hello
I noticed you had an N in your attribute name, so i added it, but also i tried without and i get the same error
Hello
Hi
Hi
But when I check with GI result, actually it is NOT calculating the Date Difference, where as it is calculating in the Acumatica instance.
This might be the limitation of MYOB, but I’m NOT sure.
I have cracked the code! we will use it in a filter and we use the where scheduled date is less than or equal to @today for the today's schedule and the same formula + 1 for tomorrow's schedule etcetera
argh… now i have another issue…. what about friday… when you want to see monday as “tomorrow”
this now links to another thread on here:
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.