DC orders in VGR

14 views
Skip to first unread message

Sébastien Cassan

unread,
Jan 6, 2017, 8:36:00 AM1/6/17
to HEO iForms

Hi.

I'm working on a VGR iform.
Some of the orders have an a start date and a duration in days.
When the order expire, it put itself on the old orders category. 
But if I want to lauch my iform, it will charge the old order until it disapear from HEO. 
So I would like to test if my order is DC or not.

Is there any way to do that ? 

I tried many things, but I can't do what i want. 

Is there a prompt with the information that the order is DC ?  I tested with end_time, but HEO send me "not available" every time.

Sébastien Cassan

unread,
Jan 17, 2017, 4:07:29 AM1/17/17
to HEO iForms
It would be great if someone has any answer to my question. Nobody can help me please ? It's the second times I ask something and i have not any answer ... 

Scott Morris

unread,
Jan 17, 2017, 9:06:05 AM1/17/17
to heo-i...@googlegroups.com
I've reached out to McKesson and here's what they've had to say: "The order shouldn't be active if it's end time is met"

I guess then that the follow-up question is whether the order has really expired (it met the end date, but maybe not the end time?)  Are you saying that it hasn't fully discontinued when you open your form later?

Vicki Dibble

unread,
Jan 17, 2017, 9:06:51 AM1/17/17
to heo-i...@googlegroups.com
Sébastien,

Take a look at the attached documentation.  I believe if you use the @DC command in your VGR, you will be 
able to discontinue the order.  Put the @DC VGR command line before your VGR code to launch the new iform code.  
Remember, VGR code reads from the top down and then repeats.  So put the DC command before you try to launch the 
new iform.

I hope this helps you.

Vicki J. Dibble


--
You received this message because you are subscribed to the Google Groups "HEO iForms" group.
To unsubscribe from this group and stop receiving emails from it, send an email to heo-iforms+unsubscribe@googlegroups.com.
To post to this group, send email to heo-i...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/heo-iforms/725459e2-140b-4cd9-9211-cd116f02e3c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Order+Awareness+Documentation.doc

Michael Hudson

unread,
Jan 17, 2017, 11:04:56 AM1/17/17
to heo-i...@googlegroups.com
Sebastien,

You could also check to see if there is an active order ui, if the UI returns "???" no active order exists or has been discontinued.

INIT,MAP,LOCAL,order1,TO,get_order.ui.10007418.1
INIT,IF,,fs_1,NE,"???", THEN

One caveat is if you have more then one of the same order, you will need to make it sequential...

INIT,MAP,LOCAL,order1,TO,get_order.ui.10007418.1
INIT,MAP,LOCAL,order2,TO,get_order.ui.10007418.2
INIT,MAP,LOCAL,order3,TO,get_order.ui.10007418.3

And the biggest caveat is that orders that are "ONCE" cant bee seen using this method.


Hope this helps!


Michael


On Tue, Jan 17, 2017 at 4:07 AM, Sébastien Cassan <sebc...@gmail.com> wrote:

--

Michael Hudson

unread,
Jan 17, 2017, 11:07:31 AM1/17/17
to heo-i...@googlegroups.com
Sebastien,

Sorry, had a typo in my email.

Should have been:

INIT,MAP,LOCAL,order1,TO,get_order.ui.10007418.1
INIT,IF,,order1,NE,"???", THEN

On Tue, Jan 17, 2017 at 4:07 AM, Sébastien Cassan <sebc...@gmail.com> wrote:

--

Sébastien Cassan

unread,
Jan 18, 2017, 3:01:58 AM1/18/17
to HEO iForms
Hello all and thx for answers.

I try to explain what prob I have.

I made a LOAD_ORDER with a fixed duration (1 DAYS for example). It starts on 01/06/2017 08:00, so ends on 01/07/2017 08:00. 
The order stays on HEO until 01/08/2017 08:00 on old order section. Its UI is set, then, when i load my iform, it reload.
I can't get the end_time (i don't know why, but end_time returns me "Not Available"). 
So I would like to know if there is another way to know if an orders has expired. 


Le vendredi 6 janvier 2017 14:36:00 UTC+1, Sébastien Cassan a écrit :
Reply all
Reply to author
Forward
0 new messages