I have a problem with my grid script. I want to compare a date (@ABCDATE - a part attribute of type Date) with the current date to decide if an item is “in effect” or not.
最佳答案
S
SystemWeaver Support
说
超过2年 以前
Thanks for your question. Below is a simple example of this in a Report configuration.
Stacey Hwasser
I have a problem with my grid script. I want to compare a date (@ABCDATE - a part attribute of type Date) with the current date to decide if an item is “in effect” or not.
Thanks for your question. Below is a simple example of this in a Report configuration.
<Report> <Text>#{? isEffective(@DDAT, @SA0073 )}</Text> <Function name="isEffective" as="Boolean"> <Parameter name="date1" as="Date"/> <Parameter name="date2" as="Date"/> <Value select="if $date1 < $date2 then true else false "/> </Function> </Report>SystemWeaver Support
Thanks for your question. Below is a simple example of this in a Report configuration.
<Report> <Text>#{? isEffective(@DDAT, @SA0073 )}</Text> <Function name="isEffective" as="Boolean"> <Parameter name="date1" as="Date"/> <Parameter name="date2" as="Date"/> <Value select="if $date1 < $date2 then true else false "/> </Function> </Report>2 人 点赞
-
Comparing two versions of a structure
-
Context and path language
-
Overview of meta model
-
Importing old data
-
Cannot find multiple version items
-
Accumulated bar chart
-
Cannot remove part - is referenced
-
View of non accessable data
-
Path: How to check if an attribute is empty?
-
List and path language
查看所有 33 个话题