Customer Ship To Territory Select

Terry,

Thanks - your suggestion worked great.

I don't think that the second set of BO Methods showed up in the Trace Logging that I did. All the Customer BO's were shown but I don't think any of the ShipTo BO's were in the results.

NB

--- In vantage@yahoogroups.com, "Terry S. Ellis" <tse@...> wrote:
>
> You have to:
>
>
>
> Set the TerrSelectFlag = "SYNC"
>
> Set TerritorySelect = "SYNC"
>
> Set TerritorySelectDescription = "Synchronize to Customer"
>
> AND you have to populate the fields by executing 4GL Code:
>
>
>
> /* Set Territory ID */
>
>
>
> for each ttShipTo where ttShipTo.RowMod = 'A' no-lock , each Customer where
> (ttShipTo.Company = Customer.Company and ttShipTo.CustNum =
> Customer.CustNum) no-lock , each SalesTer where (Customer.Company =
> SalesTer.Company and Customer.TerritoryID = SalesTer.TerritoryID) no-lock .
>
>
>
> IF Avail ttShipTo then do:
>
>
>
> Assign ttShipTo.TerritoryID = Customer.TerritoryID.
>
> Assign ttShipto.TerritoryTerritoryDesc = SalesTer.TerritoryDesc.
>
>
>
> End.
>
>
>
> END.
>
>
>
> ****NOTE: You have to set up two BPMS. On the GetNewShipTo method of the
> ShipTo BO and one on the GetNewShipTo of the Customer BO.
>
>
>
> THIS WORKS in 8.03.408A
>
>
>
> Terry S. Ellis
>
> Tri Gem Co. - Business Solutions
>
> <http://trigemco.com/images/3diamonds.jpg>
> http://TriGemCo.com/images/3diamonds-150x115.jpg
>
> Phone: (914) 827-5665
>
> Fax: (914) 827-5640
>
> Mobile: (716) 983-8827
>
> TSE@...
>
>
>
> From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
> bonner.nathan
> Sent: Wednesday, December 02, 2009 4:18 PM
> To: vantage@yahoogroups.com
> Subject: [Vantage] Customer Ship To Territory Select
>
>
>
>
>
> Running Vantage 8.03.408B
>
> When a user creates a new Customer ShipTo record would like to have
> ShipTo.TerritorySelect load with a value of 'SYNC'. I have tried Pre- and
> Post-Process BPM's on every bo.method related to Customer ShipTo and can't
> seem to change this field on the UI or the TempTable for love or money.
>
> Any suggestions?
>
> Thanks,
>
> NB
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
Running Vantage 8.03.408B

When a user creates a new Customer ShipTo record would like to have ShipTo.TerritorySelect load with a value of 'SYNC'. I have tried Pre- and Post-Process BPM's on every bo.method related to Customer ShipTo and can't seem to change this field on the UI or the TempTable for love or money.

Any suggestions?

Thanks,

NB
There is something very weird with the way Epicor handles Shipto records. I tried to do something similiar to the ShipTo table, but it wasn't the TerritorySelect field. Anyway, I couldn't get it to work reliably. I found that the business objects are executed in different orders depending on how a shipto record is created or selected, and the BPM triggers may or may not work. I have an SCR created for this and its suppose to be fixed in 409. Off the top of my head, I can't remember the SCR number.

Bottom line is that you may be doing everything right, but Epicor isn't working the way you expect it to work.




________________________________
From: bonner.nathan <bonner.n@...>
To: vantage@yahoogroups.com
Sent: Wed, December 2, 2009 4:17:31 PM
Subject: [Vantage] Customer Ship To Territory Select

Â
Running Vantage 8.03.408B

When a user creates a new Customer ShipTo record would like to have ShipTo.TerritorySel ect load with a value of 'SYNC'. I have tried Pre- and Post-Process BPM's on every bo.method related to Customer ShipTo and can't seem to change this field on the UI or the TempTable for love or money.

Any suggestions?

Thanks,

NB







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

Let me know if you come up with the SCR; I'd like to see if Epicor can produce a fix for our current patch level without upgrading once 409A hits.

NB

--- In vantage@yahoogroups.com, Steven Gotschall <sgotschall@...> wrote:
>
> There is something very weird with the way Epicor handles Shipto records. I tried to do something similiar to the ShipTo table, but it wasn't the TerritorySelect field. Anyway, I couldn't get it to work reliably. I found that the business objects are executed in different orders depending on how a shipto record is created or selected, and the BPM triggers may or may not work. I have an SCR created for this and its suppose to be fixed in 409. Off the top of my head, I can't remember the SCR number.
>
> Bottom line is that you may be doing everything right, but Epicor isn't working the way you expect it to work.
>
>
>
>
> ________________________________
> From: bonner.nathan <bonner.n@...>
> To: vantage@yahoogroups.com
> Sent: Wed, December 2, 2009 4:17:31 PM
> Subject: [Vantage] Customer Ship To Territory Select
>
> ÂÂ
> Running Vantage 8.03.408B
>
> When a user creates a new Customer ShipTo record would like to have ShipTo.TerritorySel ect load with a value of 'SYNC'. I have tried Pre- and Post-Process BPM's on every bo.method related to Customer ShipTo and can't seem to change this field on the UI or the TempTable for love or money.
>
> Any suggestions?
>
> Thanks,
>
> NB
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
You have to:



Set the TerrSelectFlag = "SYNC"

Set TerritorySelect = "SYNC"

Set TerritorySelectDescription = "Synchronize to Customer"

AND you have to populate the fields by executing 4GL Code:



/* Set Territory ID */



for each ttShipTo where ttShipTo.RowMod = 'A' no-lock , each Customer where
(ttShipTo.Company = Customer.Company and ttShipTo.CustNum =
Customer.CustNum) no-lock , each SalesTer where (Customer.Company =
SalesTer.Company and Customer.TerritoryID = SalesTer.TerritoryID) no-lock .



IF Avail ttShipTo then do:



Assign ttShipTo.TerritoryID = Customer.TerritoryID.

Assign ttShipto.TerritoryTerritoryDesc = SalesTer.TerritoryDesc.



End.



END.



****NOTE: You have to set up two BPMS. On the GetNewShipTo method of the
ShipTo BO and one on the GetNewShipTo of the Customer BO.



THIS WORKS in 8.03.408A



Terry S. Ellis

Tri Gem Co. - Business Solutions

<http://trigemco.com/images/3diamonds.jpg>
http://TriGemCo.com/images/3diamonds-150x115.jpg

Phone: (914) 827-5665

Fax: (914) 827-5640

Mobile: (716) 983-8827

TSE@...



From: vantage@yahoogroups.com [mailto:vantage@yahoogroups.com] On Behalf Of
bonner.nathan
Sent: Wednesday, December 02, 2009 4:18 PM
To: vantage@yahoogroups.com
Subject: [Vantage] Customer Ship To Territory Select





Running Vantage 8.03.408B

When a user creates a new Customer ShipTo record would like to have
ShipTo.TerritorySelect load with a value of 'SYNC'. I have tried Pre- and
Post-Process BPM's on every bo.method related to Customer ShipTo and can't
seem to change this field on the UI or the TempTable for love or money.

Any suggestions?

Thanks,

NB





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