Conditionial Functoid - do they work if multiple records

I tried to include a printscreen, but couldn't, but yes - in the trace I
see two order releases (an existing and my new one) and the existing
release has nothing in the Rowmod fields but gets SellingReqQty updated
anyway.

I'll try the link condition though I'm already doing a similar thing by
testing for SellingReqQty=0.


--- In vantage@yahoogroups.com, "bw2868bond" <bwalker@...> wrote:
>
> So when you call the update method in the workflow, other records in
the database are changed? even though the trace shows the rowmod's as
blank? (the field in the trace will be changed but the actual record in
the db should not be touched....)
>
> I would not consider that correct functioning of the product.
>
> You could maybe try a link condition - (right click on the right hand
side of the link) condition is RowMod = A
>
> --- In vantage@yahoogroups.com, "wapnerj" jwapner@ wrote:
> >
> >
> > That's how I thought it would work - only the records with rowmod =
'A
> > 'would update. But the SellingReqQty in my existing order releases
is
> > getting updated as well.
> >
> > I believe what others are suggesting is correct - that I have to go
to
> > another subworkflow. I'm already one subflow level deep (each of my
> > spreadsheet rows is being handled as a subflow) and was hoping to
avoid
> > the extra complexity.
> >
> > This is another case where the trace really doesn't give you the
full of
> > idea of how Vantage is handling things.
> >
> >
> > --- In vantage@yahoogroups.com, "bw2868bond" <bwalker@> wrote:
> > >
> > > Once you have called the 'GetNew' request, the returned dataset
has
> > only one record that has the RowMod value of 'A' ?
> > >
> > > map your incoming values to the appropriate fields. When you call
the
> > Update Method, ony the row with RowMod 'A' will update - all the
other
> > RowMod values should be blank
> > >
> > > test you workflow without calling the Update Method and examine
the
> > Rows in the document tracking screen for the last conversion before
you
> > would call the update....
> > >
> > > --- In vantage@yahoogroups.com, "wapnerj" jwapner@ wrote:
> > > >
> > > > I'm using Service Connect to try to add Order Releases calling
the
> > GetNewOrderRel method. This returns a dataset which include ALL
existing
> > order releases (one would think that it might just include the newly
> > created order release).
> > > >
> > > > I'm trying to use a conditional functoid to update SellingReqQty
> > from my customer's EDI file if SellingReqQty is zero (presuming that
> > zero means it's the new record added by GetNewOrderRel).
> > > >
> > > > My dataset would look something like this
> > > >
> > > > NeedByDate SellingReqQty What to do
> > > > 6/1/9 115 Existing Order Rel (leave as is)
> > > > 6/7/9 0 New Order Rel (update with cust qty)
> > > >
> > > > It seems as if the conditional functoid is not working. I
believe
> > that someone in the recent Service Connect session said that
conditional
> > functoids don't work with multiple records (it returns true for all
of
> > the records if one record is true). Can someone confirm that?
> > > >
> > > > Thanks,
> > > >
> > > > John Wapner
> > > > Bracalente Mfg.
> > > >
> > >
> >
>
I'm using Service Connect to try to add Order Releases calling the GetNewOrderRel method. This returns a dataset which include ALL existing order releases (one would think that it might just include the newly created order release).

I'm trying to use a conditional functoid to update SellingReqQty from my customer's EDI file if SellingReqQty is zero (presuming that zero means it's the new record added by GetNewOrderRel).

My dataset would look something like this

NeedByDate SellingReqQty What to do
6/1/9 115 Existing Order Rel (leave as is)
6/7/9 0 New Order Rel (update with cust qty)

It seems as if the conditional functoid is not working. I believe that someone in the recent Service Connect session said that conditional functoids don't work with multiple records (it returns true for all of the records if one record is true). Can someone confirm that?

Thanks,

John Wapner
Bracalente Mfg.
I'm the one who said that and as far as I can tell it is true. I haven't
found a situation where that isn't true.



The best thing to do is pass each instance off into a sub and process it at
that level.



I'm willing to hear other wise because I have a lot of situations where I
could put the concept to work.



~Charlie

_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
wapnerj
Sent: Tuesday, May 12, 2009 9:01 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Conditionial Functoid - do they work if multiple records








I'm using Service Connect to try to add Order Releases calling the
GetNewOrderRel method. This returns a dataset which include ALL existing
order releases (one would think that it might just include the newly created
order release).

I'm trying to use a conditional functoid to update SellingReqQty from my
customer's EDI file if SellingReqQty is zero (presuming that zero means it's
the new record added by GetNewOrderRel).

My dataset would look something like this

NeedByDate SellingReqQty What to do
6/1/9 115 Existing Order Rel (leave as is)
6/7/9 0 New Order Rel (update with cust qty)

It seems as if the conditional functoid is not working. I believe that
someone in the recent Service Connect session said that conditional
functoids don't work with multiple records (it returns true for all of the
records if one record is true). Can someone confirm that?

Thanks,

John Wapner
Bracalente Mfg.





[Non-text portions of this message have been removed]
Is there a case when you actually want to process multiple records without a sub-process? You can't do any error-handling without a sub-process, and in general I expect it would lead to unexpected results.

Sub-processes are the way to iterate over and input document that contains multiple sub-documents.

-bws

--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix / Picometrix
    bspolarich@... ~ 734-864-5618 ~ www.advancedphotonix.com


-----Original Message-----
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of Charlie Wilson
Sent: Tuesday, May 12, 2009 9:07 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Conditionial Functoid - do they work if multiple records

I'm the one who said that and as far as I can tell it is true. I haven't
found a situation where that isn't true.



The best thing to do is pass each instance off into a sub and process it at
that level.



I'm willing to hear other wise because I have a lot of situations where I
could put the concept to work.



~Charlie

_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
wapnerj
Sent: Tuesday, May 12, 2009 9:01 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Conditionial Functoid - do they work if multiple records








I'm using Service Connect to try to add Order Releases calling the
GetNewOrderRel method. This returns a dataset which include ALL existing
order releases (one would think that it might just include the newly created
order release).

I'm trying to use a conditional functoid to update SellingReqQty from my
customer's EDI file if SellingReqQty is zero (presuming that zero means it's
the new record added by GetNewOrderRel).

My dataset would look something like this

NeedByDate SellingReqQty What to do
6/1/9 115 Existing Order Rel (leave as is)
6/7/9 0 New Order Rel (update with cust qty)

It seems as if the conditional functoid is not working. I believe that
someone in the recent Service Connect session said that conditional
functoids don't work with multiple records (it returns true for all of the
records if one record is true). Can someone confirm that?

Thanks,

John Wapner
Bracalente Mfg.





[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
They are also a way to iterate when you have multiple instances of a node
you need to deal with.



The instance I have is when I know there is only a limited number of records
and I want to do something different with each one.



~Charlie

_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
Brian W. Spolarich
Sent: Tuesday, May 12, 2009 9:24 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Conditionial Functoid - do they work if multiple
records








Is there a case when you actually want to process multiple records without a
sub-process? You can't do any error-handling without a sub-process, and in
general I expect it would lead to unexpected results.

Sub-processes are the way to iterate over and input document that contains
multiple sub-documents.

-bws

--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix
bspolarich@advanced <mailto:bspolarich%40advancedphotonix.com>
photonix.com ~ 734-864-5618 ~ www.advancedphotonix.com

-----Original Message-----
From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
[mailto:vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com] On
Behalf Of Charlie Wilson
Sent: Tuesday, May 12, 2009 9:07 AM
To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
Subject: RE: [Vantage] Conditionial Functoid - do they work if multiple
records

I'm the one who said that and as far as I can tell it is true. I haven't
found a situation where that isn't true.

The best thing to do is pass each instance off into a sub and process it at
that level.

I'm willing to hear other wise because I have a lot of situations where I
could put the concept to work.

~Charlie

_____

From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
[mailto:vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com] On
Behalf Of
wapnerj
Sent: Tuesday, May 12, 2009 9:01 AM
To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
Subject: [Vantage] Conditionial Functoid - do they work if multiple records

I'm using Service Connect to try to add Order Releases calling the
GetNewOrderRel method. This returns a dataset which include ALL existing
order releases (one would think that it might just include the newly created
order release).

I'm trying to use a conditional functoid to update SellingReqQty from my
customer's EDI file if SellingReqQty is zero (presuming that zero means it's
the new record added by GetNewOrderRel).

My dataset would look something like this

NeedByDate SellingReqQty What to do
6/1/9 115 Existing Order Rel (leave as is)
6/7/9 0 New Order Rel (update with cust qty)

It seems as if the conditional functoid is not working. I believe that
someone in the recent Service Connect session said that conditional
functoids don't work with multiple records (it returns true for all of the
records if one record is true). Can someone confirm that?

Thanks,

John Wapner
Bracalente Mfg.

[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.
<http://groups.yahoo.com/group/vantage/files/>
yahoo.com/group/vantage/files/.
(2) To search through old msg's goto: http://groups.
<http://groups.yahoo.com/group/vantage/messages>
yahoo.com/group/vantage/messages
(3) To view links to Vendors that provide Vantage services goto:
http://groups. <http://groups.yahoo.com/group/vantage/linksYahoo>
yahoo.com/group/vantage/linksYahoo! Groups Links





[Non-text portions of this message have been removed]
That's been my experience as well FWIW.



Rob Bucek

Manufacturing Engineer

PH: 715-284-5376 ext 311

FAX: 715-284-4084

<http://www.dsmfg.com/>

(Click the logo to view our site)



________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of Brian W. Spolarich
Sent: Tuesday, May 12, 2009 8:24 AM
To: vantage@yahoogroups.com
Subject: RE: [Vantage] Conditionial Functoid - do they work if multiple
records





Is there a case when you actually want to process multiple records
without a sub-process? You can't do any error-handling without a
sub-process, and in general I expect it would lead to unexpected
results.

Sub-processes are the way to iterate over and input document that
contains multiple sub-documents.

-bws

--
Brian W. Spolarich ~ Manager, Information Services ~ Advanced Photonix /
Picometrix
bspolarich@...
<mailto:bspolarich%40advancedphotonix.com> ~ 734-864-5618 ~
www.advancedphotonix.com

-----Original Message-----
From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of Charlie Wilson
Sent: Tuesday, May 12, 2009 9:07 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: RE: [Vantage] Conditionial Functoid - do they work if multiple
records

I'm the one who said that and as far as I can tell it is true. I haven't
found a situation where that isn't true.

The best thing to do is pass each instance off into a sub and process it
at
that level.

I'm willing to hear other wise because I have a lot of situations where
I
could put the concept to work.

~Charlie

_____

From: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
[mailto:vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ] On
Behalf Of
wapnerj
Sent: Tuesday, May 12, 2009 9:01 AM
To: vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com>
Subject: [Vantage] Conditionial Functoid - do they work if multiple
records

I'm using Service Connect to try to add Order Releases calling the
GetNewOrderRel method. This returns a dataset which include ALL existing
order releases (one would think that it might just include the newly
created
order release).

I'm trying to use a conditional functoid to update SellingReqQty from my
customer's EDI file if SellingReqQty is zero (presuming that zero means
it's
the new record added by GetNewOrderRel).

My dataset would look something like this

NeedByDate SellingReqQty What to do
6/1/9 115 Existing Order Rel (leave as is)
6/7/9 0 New Order Rel (update with cust qty)

It seems as if the conditional functoid is not working. I believe that
someone in the recent Service Connect session said that conditional
functoids don't work with multiple records (it returns true for all of
the
records if one record is true). Can someone confirm that?

Thanks,

John Wapner
Bracalente Mfg.

[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/.
<http://groups.yahoo.com/group/vantage/files/>
(2) To search through old msg's goto:
http://groups.yahoo.com/group/vantage/messages
<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
<http://groups.yahoo.com/group/vantage/linksYahoo> ! Groups Links





[Non-text portions of this message have been removed]
Once you have called the 'GetNew' request, the returned dataset has only one record that has the RowMod value of 'A' ?

map your incoming values to the appropriate fields. When you call the Update Method, ony the row with RowMod 'A' will update - all the other RowMod values should be blank

test you workflow without calling the Update Method and examine the Rows in the document tracking screen for the last conversion before you would call the update....

--- In vantage@yahoogroups.com, "wapnerj" <jwapner@...> wrote:
>
> I'm using Service Connect to try to add Order Releases calling the GetNewOrderRel method. This returns a dataset which include ALL existing order releases (one would think that it might just include the newly created order release).
>
> I'm trying to use a conditional functoid to update SellingReqQty from my customer's EDI file if SellingReqQty is zero (presuming that zero means it's the new record added by GetNewOrderRel).
>
> My dataset would look something like this
>
> NeedByDate SellingReqQty What to do
> 6/1/9 115 Existing Order Rel (leave as is)
> 6/7/9 0 New Order Rel (update with cust qty)
>
> It seems as if the conditional functoid is not working. I believe that someone in the recent Service Connect session said that conditional functoids don't work with multiple records (it returns true for all of the records if one record is true). Can someone confirm that?
>
> Thanks,
>
> John Wapner
> Bracalente Mfg.
>
That's how I thought it would work - only the records with rowmod = 'A
'would update. But the SellingReqQty in my existing order releases is
getting updated as well.

I believe what others are suggesting is correct - that I have to go to
another subworkflow. I'm already one subflow level deep (each of my
spreadsheet rows is being handled as a subflow) and was hoping to avoid
the extra complexity.

This is another case where the trace really doesn't give you the full of
idea of how Vantage is handling things.


--- In vantage@yahoogroups.com, "bw2868bond" <bwalker@...> wrote:
>
> Once you have called the 'GetNew' request, the returned dataset has
only one record that has the RowMod value of 'A' ?
>
> map your incoming values to the appropriate fields. When you call the
Update Method, ony the row with RowMod 'A' will update - all the other
RowMod values should be blank
>
> test you workflow without calling the Update Method and examine the
Rows in the document tracking screen for the last conversion before you
would call the update....
>
> --- In vantage@yahoogroups.com, "wapnerj" jwapner@ wrote:
> >
> > I'm using Service Connect to try to add Order Releases calling the
GetNewOrderRel method. This returns a dataset which include ALL existing
order releases (one would think that it might just include the newly
created order release).
> >
> > I'm trying to use a conditional functoid to update SellingReqQty
from my customer's EDI file if SellingReqQty is zero (presuming that
zero means it's the new record added by GetNewOrderRel).
> >
> > My dataset would look something like this
> >
> > NeedByDate SellingReqQty What to do
> > 6/1/9 115 Existing Order Rel (leave as is)
> > 6/7/9 0 New Order Rel (update with cust qty)
> >
> > It seems as if the conditional functoid is not working. I believe
that someone in the recent Service Connect session said that conditional
functoids don't work with multiple records (it returns true for all of
the records if one record is true). Can someone confirm that?
> >
> > Thanks,
> >
> > John Wapner
> > Bracalente Mfg.
> >
>
That's what I assumed the structure might look like when you have a
Parent (like orderhead), then multiple records for a child (say
orderdtl) and multiple records for another child (orderrelease) that you
would need a main work flow that goes to a sub for processing multiple
details on the order detail, then from that sub to another for order
release...



Rob Bucek

Manufacturing Engineer

PH: 715-284-5376 ext 311

FAX: 715-284-4084

<http://www.dsmfg.com/>

(Click the logo to view our site)



________________________________

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of wapnerj
Sent: Tuesday, May 12, 2009 10:48 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Conditionial Functoid - do they work if multiple
records






That's how I thought it would work - only the records with rowmod = 'A
'would update. But the SellingReqQty in my existing order releases is
getting updated as well.

I believe what others are suggesting is correct - that I have to go to
another subworkflow. I'm already one subflow level deep (each of my
spreadsheet rows is being handled as a subflow) and was hoping to avoid
the extra complexity.

This is another case where the trace really doesn't give you the full of
idea of how Vantage is handling things.

--- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
"bw2868bond" <bwalker@...> wrote:
>
> Once you have called the 'GetNew' request, the returned dataset has
only one record that has the RowMod value of 'A' ?
>
> map your incoming values to the appropriate fields. When you call the
Update Method, ony the row with RowMod 'A' will update - all the other
RowMod values should be blank
>
> test you workflow without calling the Update Method and examine the
Rows in the document tracking screen for the last conversion before you
would call the update....
>
> --- In vantage@yahoogroups.com <mailto:vantage%40yahoogroups.com> ,
"wapnerj" jwapner@ wrote:
> >
> > I'm using Service Connect to try to add Order Releases calling the
GetNewOrderRel method. This returns a dataset which include ALL existing
order releases (one would think that it might just include the newly
created order release).
> >
> > I'm trying to use a conditional functoid to update SellingReqQty
from my customer's EDI file if SellingReqQty is zero (presuming that
zero means it's the new record added by GetNewOrderRel).
> >
> > My dataset would look something like this
> >
> > NeedByDate SellingReqQty What to do
> > 6/1/9 115 Existing Order Rel (leave as is)
> > 6/7/9 0 New Order Rel (update with cust qty)
> >
> > It seems as if the conditional functoid is not working. I believe
that someone in the recent Service Connect session said that conditional
functoids don't work with multiple records (it returns true for all of
the records if one record is true). Can someone confirm that?
> >
> > Thanks,
> >
> > John Wapner
> > Bracalente Mfg.
> >
>





[Non-text portions of this message have been removed]
So when you call the update method in the workflow, other records in the database are changed? even though the trace shows the rowmod's as blank? (the field in the trace will be changed but the actual record in the db should not be touched....)

I would not consider that correct functioning of the product.

You could maybe try a link condition - (right click on the right hand side of the link) condition is RowMod = A

--- In vantage@yahoogroups.com, "wapnerj" <jwapner@...> wrote:
>
>
> That's how I thought it would work - only the records with rowmod = 'A
> 'would update. But the SellingReqQty in my existing order releases is
> getting updated as well.
>
> I believe what others are suggesting is correct - that I have to go to
> another subworkflow. I'm already one subflow level deep (each of my
> spreadsheet rows is being handled as a subflow) and was hoping to avoid
> the extra complexity.
>
> This is another case where the trace really doesn't give you the full of
> idea of how Vantage is handling things.
>
>
> --- In vantage@yahoogroups.com, "bw2868bond" <bwalker@> wrote:
> >
> > Once you have called the 'GetNew' request, the returned dataset has
> only one record that has the RowMod value of 'A' ?
> >
> > map your incoming values to the appropriate fields. When you call the
> Update Method, ony the row with RowMod 'A' will update - all the other
> RowMod values should be blank
> >
> > test you workflow without calling the Update Method and examine the
> Rows in the document tracking screen for the last conversion before you
> would call the update....
> >
> > --- In vantage@yahoogroups.com, "wapnerj" jwapner@ wrote:
> > >
> > > I'm using Service Connect to try to add Order Releases calling the
> GetNewOrderRel method. This returns a dataset which include ALL existing
> order releases (one would think that it might just include the newly
> created order release).
> > >
> > > I'm trying to use a conditional functoid to update SellingReqQty
> from my customer's EDI file if SellingReqQty is zero (presuming that
> zero means it's the new record added by GetNewOrderRel).
> > >
> > > My dataset would look something like this
> > >
> > > NeedByDate SellingReqQty What to do
> > > 6/1/9 115 Existing Order Rel (leave as is)
> > > 6/7/9 0 New Order Rel (update with cust qty)
> > >
> > > It seems as if the conditional functoid is not working. I believe
> that someone in the recent Service Connect session said that conditional
> functoids don't work with multiple records (it returns true for all of
> the records if one record is true). Can someone confirm that?
> > >
> > > Thanks,
> > >
> > > John Wapner
> > > Bracalente Mfg.
> > >
> >
>