Current date in a BPM

Correct.

Thanks,
Kunal



----- Original Message ----
From: Muhammad Sarfaraz <advancegrindingvista@...>
To: vantage@yahoogroups.com
Sent: Wednesday, October 15, 2008 9:38:08 AM
Subject: Re: [Vantage] current date in a BPM


Hi Kunal,
In other words what you are trying to acheive is "Not allowing user to have InvoiceDate as some Future Date, you want to make sure that Invoice date is today's Date.
Please correct me, if I didn't get what you are trying to do.


Muhammad Sarfaraz
IT Project Manager
(Vista 8.03.305i - Progress )
Advance Grinding Service, Inc.
Tel: (708) 442 7100 x 313

----- Original Message ----
From: Kunal Ganguly <kunal_vantage@ yahoo.com>
To: vantage@yahoogroups .com
Sent: Wednesday, October 15, 2008 9:22:37 AM
Subject: Re: [Vantage] current date in a BPM

Thanks for the reply Muhammad and Vic. The "Today" reserved word does not seem to work in a BPM. I am not actually writing 4GL code here, I am simply setting up a plain vanilla method directive. In the conditions for pre-processing, I would like to check if the "APInvHed.Invoiceda te" field of "the changed row" "is more than" the "xxxxx" value. It is the "xxxxx" value that I would always like to be evaluated to the current date, when I use Today, i get the error "Row 1: Value should have the following format: DATE (<month>, <day>, <year>).

Thanks,
Kunal

----- Original Message ----
From: Muhammad Sarfaraz <advancegrindingvis t a@...>
To: vantage@yahoogroups .com
Sent: Tuesday, October 14, 2008 4:53:58 PM
Subject: Re: [Vantage] current date in a BPM

IF PayrollDate > TODAY + 0 AND.........

where 0 can be replace with any number of days.
E.g. You dont want user to enter date beyond 1 week.
if PayrollDate > TODAY + 7 AND....

I hope this will help you.
Thanks

Muhammad Sarfaraz
IT Project Manager
(Vista 8.03..305i - Progress )
Advance Grinding Service, Inc.
Tel: (708) 442 7100 x 313

----- Original Message ----
From: Kunal Ganguly <kunal_vantage@ yahoo.com>
To: Vantage Yahoo Group <vantage@yahoogroup s .com>
Sent: Tuesday, October 14, 2008 4:35:51 PM
Subject: [Vantage] current date in a BPM

Hello,

Anyone know what the format for the current date would be for comparison in a BPM? I am trying to set up a BPM which is going to check if a user accidentally entered a date in the future.

Thanks,
Kunal

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]






[Non-text portions of this message have been removed]
Hello,

Anyone know what the format for the current date would be for comparison in a BPM? I am trying to set up a BPM which is going to check if a user accidentally entered a date in the future.

Thanks,
Kunal





[Non-text portions of this message have been removed]
TODAY is the Progress 4GL function to get the current date.



-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Kunal Ganguly
Sent: Tuesday, October 14, 2008 5:36 PM
To: Vantage Yahoo Group
Subject: [Vantage] current date in a BPM

Hello,

Anyone know what the format for the current date would be for comparison
in a BPM? I am trying to set up a BPM which is going to check if a user
accidentally entered a date in the future.

Thanks,
Kunal





[Non-text portions of this message have been removed]


------------------------------------

Useful links for the Yahoo!Groups Vantage Board are: ( Note: You must
have already linked your email address to a yahoo id to enable access. )
(1) To access the Files Section of our Yahoo!Group for Report Builder
and Crystal Reports and other 'goodies', please goto:
http://groups.yahoo.com/group/vantage/files/.
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups.yahoo.com/group/vantage/linksYahoo! Groups Links
IF PayrollDate > TODAY + 0 AND.........
Â
where 0 can be replace with any number of days.
E.g. You dont want user to enter date beyond 1 week.
if PayrollDate > TODAY +Â 7 AND....
Â
I hope this will help you.
Thanks

Â
Muhammad Sarfaraz
IT Project Manager
(Vista 8.03..305i - Progress )Â
Advance Grinding Service, Inc.
Tel: (708) 442 7100 x 313



----- Original Message ----
From: Kunal Ganguly <kunal_vantage@...>
To: Vantage Yahoo Group <vantage@yahoogroups.com>
Sent: Tuesday, October 14, 2008 4:35:51 PM
Subject: [Vantage] current date in a BPM


Hello,

Anyone know what the format for the current date would be for comparison in a BPM? I am trying to set up a BPM which is going to check if a user accidentally entered a date in the future.

Thanks,
Kunal

[Non-text portions of this message have been removed]






[Non-text portions of this message have been removed]
Thanks for the reply Muhammad and Vic. The "Today" reserved word does not seem to work in a BPM. I am not actually writing 4GL code here, I am simply setting up a plain vanilla method directive. In the conditions for pre-processing, I would like to check if the "APInvHed.Invoicedate" field of "the changed row" "is more than" the "xxxxx" value. It is the "xxxxx" value that I would always like to be evaluated to the current date, when I use Today, i get the error "Row 1: Value should have the following format: DATE (<month>, <day>, <year>).

Thanks,
Kunal



----- Original Message ----
From: Muhammad Sarfaraz <advancegrindingvista@...>
To: vantage@yahoogroups.com
Sent: Tuesday, October 14, 2008 4:53:58 PM
Subject: Re: [Vantage] current date in a BPM


IF PayrollDate > TODAY + 0 AND.........

where 0 can be replace with any number of days.
E.g. You dont want user to enter date beyond 1 week.
if PayrollDate > TODAY + 7 AND....

I hope this will help you.
Thanks


Muhammad Sarfaraz
IT Project Manager
(Vista 8.03..305i - Progress )
Advance Grinding Service, Inc.
Tel: (708) 442 7100 x 313

----- Original Message ----
From: Kunal Ganguly <kunal_vantage@ yahoo.com>
To: Vantage Yahoo Group <vantage@yahoogroups .com>
Sent: Tuesday, October 14, 2008 4:35:51 PM
Subject: [Vantage] current date in a BPM

Hello,

Anyone know what the format for the current date would be for comparison in a BPM? I am trying to set up a BPM which is going to check if a user accidentally entered a date in the future.

Thanks,
Kunal

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]






[Non-text portions of this message have been removed]
Hi Kunal,
In other words what you are trying to acheive is "Not allowing user to have InvoiceDate as some Future Date, you want to make sure that Invoice date is today's Date.
Please correct me, if I didn't get what you are trying to do.

Â
Muhammad Sarfaraz
IT Project Manager
(Vista 8.03.305i - Progress )Â
Advance Grinding Service, Inc.
Tel: (708) 442 7100 x 313



----- Original Message ----
From: Kunal Ganguly <kunal_vantage@...>
To: vantage@yahoogroups.com
Sent: Wednesday, October 15, 2008 9:22:37 AM
Subject: Re: [Vantage] current date in a BPM


Thanks for the reply Muhammad and Vic. The "Today" reserved word does not seem to work in a BPM. I am not actually writing 4GL code here, I am simply setting up a plain vanilla method directive. In the conditions for pre-processing, I would like to check if the "APInvHed.Invoiceda te" field of "the changed row" "is more than" the "xxxxx" value. It is the "xxxxx" value that I would always like to be evaluated to the current date, when I use Today, i get the error "Row 1: Value should have the following format: DATE (<month>, <day>, <year>).

Thanks,
Kunal

----- Original Message ----
From: Muhammad Sarfaraz <advancegrindingvist a@...>
To: vantage@yahoogroups .com
Sent: Tuesday, October 14, 2008 4:53:58 PM
Subject: Re: [Vantage] current date in a BPM

IF PayrollDate > TODAY + 0 AND.........

where 0 can be replace with any number of days.
E.g. You dont want user to enter date beyond 1 week.
if PayrollDate > TODAY + 7 AND....

I hope this will help you.
Thanks

Muhammad Sarfaraz
IT Project Manager
(Vista 8.03..305i - Progress )
Advance Grinding Service, Inc.
Tel: (708) 442 7100 x 313

----- Original Message ----
From: Kunal Ganguly <kunal_vantage@ yahoo.com>
To: Vantage Yahoo Group <vantage@yahoogroup s .com>
Sent: Tuesday, October 14, 2008 4:35:51 PM
Subject: [Vantage] current date in a BPM

Hello,

Anyone know what the format for the current date would be for comparison in a BPM? I am trying to set up a BPM which is going to check if a user accidentally entered a date in the future.

Thanks,
Kunal

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]

[Non-text portions of this message have been removed]






[Non-text portions of this message have been removed]