Service Connect Customer ShipTo Update

OK - Thanks to all for your suggestions. Here's the deal on how this works:

The CustomerService method, while capable of updating the shipto record doesn't work well for that purpose, in fact, it will not update the default shipto record (shipto=""), there is business logic that forces that record to be updated from updates to the customer table. Not sure which fields are involved, but certainly the address fields, but definitely not the UDF's which is the whole purpose of my workflow. So Epicor created another service that is not in the trace called ShipToService that is designed to update the shipto table. This service allows updates to all shipto records including the default records, so it is possible to get the customer table and the default shipto out of sync. Therefore, I included an update to the customer address when the default shipto is updated to keep it in sync.

Thanks to Ahmed at Epicor for his knowledge and enthusiasm.

Best Regards,

Jim Pratt



--- In vantage@yahoogroups.com, "Charlie Wilson" <foamdesigncsw@...> wrote:
>
> Are you setting the rowmod field?
>
>
>
> ~Charlie
>
> _____
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
> jmpratt7
> Sent: Monday, August 10, 2009 1:22 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Re: Service Connect Customer ShipTo Update
>
>
>
>
>
> Karen,
>
> You are correct that the data can be traced through the conversions and
> various method calls in the inbound documents trace. This it the technique I
> am using, and while I see good data on the conversion side of the call, the
> response side does not reflect the changes I am trying to make. Usually this
> is because there is an undocumented field that needs to be included in the
> call but is not. Normally when this happens, there is an eror message,
> however, I am getting no error message, so I am unclear where to go next.
>
> Thanks,
>
> Jim Pratt
>
> --- In vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com, "Karen
> Schoenung" <kschoenung@> wrote:
> >
> > Jim,
> >
> >
> > You can check the data along the way at each step by viewing the details
> > in Service Connect tracing (inbound documents)...Open each conversion
> > step and look at the dta sections to see what data is sent...This should
> > narrow it down to which step you are missing - before or after the step
> > where you do not see the data for ShortChar01...
> >
> >
> >
> > Karen
> >
> >
> >
> > From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> [mailto:vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com] On
> Behalf
> > Of jmpratt7
> > Sent: Monday, August 10, 2009 6:40 AM
> > To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> > Subject: [Vantage] Service Connect Customer ShipTo Update
> >
> >
> >
> >
> >
> > I am trying to write a workflow to update udf's on the customer shipto
> > table, and so far am unsuccessful.
> >
> > Updates to the customer record work fine. I suspect there's an issue
> > with how I'm specifying the shipto record, but I can't figure out what
> > I'm doing wrong. I've specified the company, custnum, and shipto, as
> > well as the name and address fields. I have tried mapping data to
> > ShortChar01, I've set literals on it and nothing is working. I'm using
> > the CustomerService.Update method. Of course there are no error
> > messages.
> >
> > Any suggestions would be appreciated.
> >
> > Regards,
> >
> > Jim Pratt
> >
> >
> >
> >
> >
> > [Non-text portions of this message have been removed]
> >
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
I am trying to write a workflow to update udf's on the customer shipto table, and so far am unsuccessful.

Updates to the customer record work fine. I suspect there's an issue with how I'm specifying the shipto record, but I can't figure out what I'm doing wrong. I've specified the company, custnum, and shipto, as well as the name and address fields. I have tried mapping data to ShortChar01, I've set literals on it and nothing is working. I'm using the CustomerService.Update method. Of course there are no error messages.

Any suggestions would be appreciated.

Regards,

Jim Pratt
Have you "traced" the process yet? I would do that first to be sure you are using all the correct methods.

Michelle de la Vega
Business Applications Manager
Cold Jet, LLC
455 Wards Corner Road
Loveland, Ohio 45140
USA
+1 513-716-6400 (office)
+1 513-382-3281 (mobile)
+1 513-831-1209 (fax)
www.coldjet.com<http://www.coldjet.com>
[cid:image001.jpg@01CA19A4.C3718C50]

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of jmpratt7
Sent: Monday, August 10, 2009 7:40 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Service Connect Customer ShipTo Update



I am trying to write a workflow to update udf's on the customer shipto table, and so far am unsuccessful.

Updates to the customer record work fine. I suspect there's an issue with how I'm specifying the shipto record, but I can't figure out what I'm doing wrong. I've specified the company, custnum, and shipto, as well as the name and address fields. I have tried mapping data to ShortChar01, I've set literals on it and nothing is working. I'm using the CustomerService.Update method. Of course there are no error messages.

Any suggestions would be appreciated.

Regards,

Jim Pratt



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


You can check the data along the way at each step by viewing the details
in Service Connect tracing (inbound documents)...Open each conversion
step and look at the dta sections to see what data is sent...This should
narrow it down to which step you are missing - before or after the step
where you do not see the data for ShortChar01...



Karen



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of jmpratt7
Sent: Monday, August 10, 2009 6:40 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Service Connect Customer ShipTo Update





I am trying to write a workflow to update udf's on the customer shipto
table, and so far am unsuccessful.

Updates to the customer record work fine. I suspect there's an issue
with how I'm specifying the shipto record, but I can't figure out what
I'm doing wrong. I've specified the company, custnum, and shipto, as
well as the name and address fields. I have tried mapping data to
ShortChar01, I've set literals on it and nothing is working. I'm using
the CustomerService.Update method. Of course there are no error
messages.

Any suggestions would be appreciated.

Regards,

Jim Pratt





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

I have indeed run a trace, and as you are probably aware, there are often calls that are present in the trace that are not strictly necessary prior to an update call. This is the assumption I am making here, although it might be flawed. The calls in question validate the length of the data being changed, and do not map easily to the input file, so I am trying to avoid that route. In any event my experience thus far indicates this is not a required step, merely an error checking step if you will.

Thanks for you input.

Jim

--- In vantage@yahoogroups.com, Michelle de la Vega <mdelavega@...> wrote:
>
> Have you "traced" the process yet? I would do that first to be sure you are using all the correct methods.
>
> Michelle de la Vega
> Business Applications Manager
> Cold Jet, LLC
> 455 Wards Corner Road
> Loveland, Ohio 45140
> USA
> +1 513-716-6400 (office)
> +1 513-382-3281 (mobile)
> +1 513-831-1209 (fax)
> www.coldjet.com<http://www.coldjet.com>
> [cid:image001.jpg@...]
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of jmpratt7
> Sent: Monday, August 10, 2009 7:40 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Service Connect Customer ShipTo Update
>
>
>
> I am trying to write a workflow to update udf's on the customer shipto table, and so far am unsuccessful.
>
> Updates to the customer record work fine. I suspect there's an issue with how I'm specifying the shipto record, but I can't figure out what I'm doing wrong. I've specified the company, custnum, and shipto, as well as the name and address fields. I have tried mapping data to ShortChar01, I've set literals on it and nothing is working. I'm using the CustomerService.Update method. Of course there are no error messages.
>
> Any suggestions would be appreciated.
>
> Regards,
>
> Jim Pratt
>
>
>
> [Non-text portions of this message have been removed]
>
One other thing you could do that usually works for me, is to "getbyid" first before running the update statement. You can then map all of the tables and fields and only update the one field in question.

Hope that helps a little.

Michelle de la Vega
Business Applications Manager
Cold Jet, LLC
455 Wards Corner Road
Loveland, Ohio 45140
USA
+1 513-716-6400 (office)
+1 513-382-3281 (mobile)
+1 513-831-1209 (fax)
www.coldjet.com<http://www.coldjet.com>
[cid:image001.jpg@01CA19B1.B1E59780]

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of jmpratt7
Sent: Monday, August 10, 2009 11:55 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Service Connect Customer ShipTo Update



Michelle,

I have indeed run a trace, and as you are probably aware, there are often calls that are present in the trace that are not strictly necessary prior to an update call. This is the assumption I am making here, although it might be flawed. The calls in question validate the length of the data being changed, and do not map easily to the input file, so I am trying to avoid that route. In any event my experience thus far indicates this is not a required step, merely an error checking step if you will.

Thanks for you input.

Jim

--- In vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>, Michelle de la Vega <mdelavega@...> wrote:
>
> Have you "traced" the process yet? I would do that first to be sure you are using all the correct methods.
>
> Michelle de la Vega
> Business Applications Manager
> Cold Jet, LLC
> 455 Wards Corner Road
> Loveland, Ohio 45140
> USA
> +1 513-716-6400 (office)
> +1 513-382-3281 (mobile)
> +1 513-831-1209 (fax)
> www.coldjet.com<http://www.coldjet.com>
> [cid:image001.jpg@...]
>
> From: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com> [mailto:vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>] On Behalf Of jmpratt7
> Sent: Monday, August 10, 2009 7:40 AM
> To: vantage@yahoogroups.com<mailto:vantage%40yahoogroups.com>
> Subject: [Vantage] Service Connect Customer ShipTo Update
>
>
>
> I am trying to write a workflow to update udf's on the customer shipto table, and so far am unsuccessful.
>
> Updates to the customer record work fine. I suspect there's an issue with how I'm specifying the shipto record, but I can't figure out what I'm doing wrong. I've specified the company, custnum, and shipto, as well as the name and address fields. I have tried mapping data to ShortChar01, I've set literals on it and nothing is working. I'm using the CustomerService.Update method. Of course there are no error messages.
>
> Any suggestions would be appreciated.
>
> Regards,
>
> Jim Pratt
>
>
>
> [Non-text portions of this message have been removed]
>



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

You are correct that the data can be traced through the conversions and various method calls in the inbound documents trace. This it the technique I am using, and while I see good data on the conversion side of the call, the response side does not reflect the changes I am trying to make. Usually this is because there is an undocumented field that needs to be included in the call but is not. Normally when this happens, there is an eror message, however, I am getting no error message, so I am unclear where to go next.

Thanks,

Jim Pratt

--- In vantage@yahoogroups.com, "Karen Schoenung" <kschoenung@...> wrote:
>
> Jim,
>
>
> You can check the data along the way at each step by viewing the details
> in Service Connect tracing (inbound documents)...Open each conversion
> step and look at the dta sections to see what data is sent...This should
> narrow it down to which step you are missing - before or after the step
> where you do not see the data for ShortChar01...
>
>
>
> Karen
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
> Of jmpratt7
> Sent: Monday, August 10, 2009 6:40 AM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Service Connect Customer ShipTo Update
>
>
>
>
>
> I am trying to write a workflow to update udf's on the customer shipto
> table, and so far am unsuccessful.
>
> Updates to the customer record work fine. I suspect there's an issue
> with how I'm specifying the shipto record, but I can't figure out what
> I'm doing wrong. I've specified the company, custnum, and shipto, as
> well as the name and address fields. I have tried mapping data to
> ShortChar01, I've set literals on it and nothing is working. I'm using
> the CustomerService.Update method. Of course there are no error
> messages.
>
> Any suggestions would be appreciated.
>
> Regards,
>
> Jim Pratt
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Are you setting the rowmod field?



~Charlie

_____

From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
jmpratt7
Sent: Monday, August 10, 2009 1:22 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Re: Service Connect Customer ShipTo Update





Karen,

You are correct that the data can be traced through the conversions and
various method calls in the inbound documents trace. This it the technique I
am using, and while I see good data on the conversion side of the call, the
response side does not reflect the changes I am trying to make. Usually this
is because there is an undocumented field that needs to be included in the
call but is not. Normally when this happens, there is an eror message,
however, I am getting no error message, so I am unclear where to go next.

Thanks,

Jim Pratt

--- In vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com, "Karen
Schoenung" <kschoenung@...> wrote:
>
> Jim,
>
>
> You can check the data along the way at each step by viewing the details
> in Service Connect tracing (inbound documents)...Open each conversion
> step and look at the dta sections to see what data is sent...This should
> narrow it down to which step you are missing - before or after the step
> where you do not see the data for ShortChar01...
>
>
>
> Karen
>
>
>
> From: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
[mailto:vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com] On
Behalf
> Of jmpratt7
> Sent: Monday, August 10, 2009 6:40 AM
> To: vantage@yahoogroups <mailto:vantage%40yahoogroups.com> .com
> Subject: [Vantage] Service Connect Customer ShipTo Update
>
>
>
>
>
> I am trying to write a workflow to update udf's on the customer shipto
> table, and so far am unsuccessful.
>
> Updates to the customer record work fine. I suspect there's an issue
> with how I'm specifying the shipto record, but I can't figure out what
> I'm doing wrong. I've specified the company, custnum, and shipto, as
> well as the name and address fields. I have tried mapping data to
> ShortChar01, I've set literals on it and nothing is working. I'm using
> the CustomerService.Update method. Of course there are no error
> messages.
>
> Any suggestions would be appreciated.
>
> Regards,
>
> Jim Pratt
>
>
>
>
>
> [Non-text portions of this message have been removed]
>





[Non-text portions of this message have been removed]
There is a ShipToService that you should be using for the update.



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf
Of jmpratt7
Sent: Monday, August 10, 2009 6:40 AM
To: vantage@yahoogroups.com
Subject: [Vantage] Service Connect Customer ShipTo Update





I am trying to write a workflow to update udf's on the customer shipto
table, and so far am unsuccessful.

Updates to the customer record work fine. I suspect there's an issue
with how I'm specifying the shipto record, but I can't figure out what
I'm doing wrong. I've specified the company, custnum, and shipto, as
well as the name and address fields. I have tried mapping data to
ShortChar01, I've set literals on it and nothing is working. I'm using
the CustomerService.Update method. Of course there are no error
messages.

Any suggestions would be appreciated.

Regards,

Jim Pratt





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