ranjankool
13th February 2010, 09:08
Dear All,

Greetings!!!

We required to open a standard session (whwmd2515m000) Warehouse Item Inventory in Synchronized child based on Item, but problem is that session (whwmd2515m000) is on 1st index of table whwmd215 i.e. warehouse/Item, so naturally session opens warehouse wise not Item wise.

I want to open this session on 2nd Index i.e. Item/warehouse wise so that I can get data as per Item not according to warehouse.

I am using below code but its not working by default session opens on 1st index
start.synchronized.child("whwmd2515m000","tdxxx205.item","whwmd215.item")

kindly suggest if you have some Suggestions

toolswizard
15th February 2010, 15:25
I have few suggestions.

1. Copy the session to an alternate session like whwmd2515m001. Change the default index on the session.

2. Put a wrapper around whwmd2515m000 and change the index when starting the session. If you don't have source code. This can also be conditional by checking the parent session.

3. Change the index in whwmd2515 if you have source.

Normally the start.synchronized.child function uses the primary index of the table. Have you tried start.synchronized.child.with to issue a find command based on index values?