You can also use the sort and unique options as a possibility...Sort by Company?, Customer?, then PO?...Then get a list of unique POs...
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of simstrak
Sent: Tuesday, February 12, 2013 10:51 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Service Connect Process Variables in subworkflows
Rob,
That's one way to git'r'done.
Here's my problem. I've got a file that I need to create sales orders from. There's a customer PO number on the file, and every time it changes, I need to create a new PO. The way I've done it in the past is ran the file through a script outside of Service Connect to break it into one file for each sales order. I'm trying to eliminate the front-end script.
Kevin
From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of simstrak
Sent: Tuesday, February 12, 2013 10:51 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Service Connect Process Variables in subworkflows
Rob,
That's one way to git'r'done.
Here's my problem. I've got a file that I need to create sales orders from. There's a customer PO number on the file, and every time it changes, I need to create a new PO. The way I've done it in the past is ran the file through a script outside of Service Connect to break it into one file for each sales order. I'm trying to eliminate the front-end script.
Kevin
--- In vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>, Rob Bucek wrote:
>
> Kevin,
>
> I've hit that same challenge in the past as well.. I haven't found a cool or sophisticated solution yet either... but instead just to gain traction I jammed the value into an user defined field in the company table and just did a quick query to grab it and go...when it changes I overwrite the last value.. not sure if that's helpful, but it worked for me..
>
> Rob Bucek
> Production Control Manager
> PH: (715) 284-5376 ext 311
> Mobile: (715)896-4832
> FAX: (715)284-4084
> [cid:1.234354861@...]
> (Click the logo to view our site)
>
> From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf Of Kevin Simon
> Sent: Tuesday, February 12, 2013 7:10 PM
> To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Service Connect Process Variables in subworkflows
>
>
>
> I'm using Service Connect, and I've got a challenge I've never been able to
> solve. I'm trying to set the value of a process variable from within the
> sub-workflow, and have that new value be available to the next time a record
> is processed through the sub-workflow.
>
> It appears that the process variable takes the value it was set to in the
> main workflow and uses that value for each subworkflow it calls, even if the
> sub-workflow changes it. I am running my sub-workflows synchronously.
>
> So, say I have a process variable and I set it to a value of "1" in the main
> workflow, then call the subworkflow where I'm going to process three records
> through. When the first record is getting processed in the sub-workflow, I
> then set the value of that process variable to "2". Service Connect
> finishes processing that record, then runs the second record through the
> sub-workflow. At this point, the value of the process variable is again set
> to "1". Is there any way I can pick up that value of "2" that the first
> sub-workflow was setting?
>
> Thanks.
>
> Kevin Simon
>
> [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]