jaycee99
9th April 2008, 09:36
I have added one customize TAB to a session. Was it possible to retrieve field from standard TAB to the customize TAB in the session. If yes, how to do it? Any idea about this?
mark_h
10th April 2008, 08:56
Not sure what you are asking. Does this additional form contain fields from the main table or main form? What type of forms are these(multi-occurance, single)? If this additional form contains fields from another table(assuming a single occurance) then you can use one of the events from form 1 to look up the data. Really more info is needed.
dharam.dv
10th April 2008, 09:18
Hello,
In LN for normal session we are not required to create any TAB if table fields are not taking place in form then it will automatically go to another form. or we can use Groups for it. otherwise if you want to use MMT session then that is the different thing. get into the MMT session then you will come to know this thing.
Regards
Dharam
jaycee99
10th April 2008, 10:55
Hi Mark_h,
FYI, this session actually contains 5 TAB page which is Inbound Lines, Outbound Lines, Activities, Receipt Lines and Shipment Lines. The "Internal Jobbing Reference" is the added customize TAB. Now, i want to get the field "Order Line" and "Item" from the Outbound Lines and put it automatically in the "Internal Jobbing Reference" everytime when user maintain it at the "Outbound Lines" TAB. That means when user key in 3 Item at the Outbound Lines TAB, then when i click at the Internal Jobbing Reference, i will get all the 3 items exactly same like what the user key in. Any idea on how to do this. Please have a look at the attachment. Thanks.
jaycee99
10th April 2008, 11:05
Hi dharam,
I'm using MMT Satellite Sessions, i add a new satellite sessions (Internal Jobbing Reference) which using a table (whinh888) that i created to store the values. The problem is that i could not get all the data from the whinh200 table for example pono and item field and save it to whinh888 (this table also contain pono and item field). Any solution for this?
dharam.dv
11th April 2008, 08:10
Hello,
if you are not able to get the value then use Import & Export. but when ever we are using MMT session. Their key field should be set in Header section.
Regards
Dharam
jaycee99
11th April 2008, 08:34
Hi dharam,
Can you give some example of this? thanks.
dharam.dv
11th April 2008, 08:43
Hello,
Whenever we are working with MMT session so whatever fields are in the Header part of session are giving Form Fields(not table fields). whenever child session is invoking and saving data into that so in the child session we are putting those Key fields data(which are form fields in our session). we are directly setting values to them and inserting record in the child session.
Regards
Dharam
jaycee99
11th April 2008, 10:25
Hi dharam,
Really complicated. I still not understand. Now i'm using whinh2100m100 session. The Outbound Lines (whinh2120m000) pono field, i want it to be available at the Customize TAB (MMT Session) that created, whereby also contain pono field. For this case, how will the coding will be look like?
wiggum
14th April 2008, 13:06
Check your field mapping for the mmt satelite sessions.
jaycee99
15th April 2008, 06:26
Hi Wiggum,
Field mapping?? Can u pls give me some example for this?
wiggum
16th April 2008, 16:43
When you assign a subsession to a MMT session you have to assign the key fields of the main session to the key fields of your subsession. With this field mapping baan imports the fields of the main session into the key fields of the subsession.
NvpBaaN
16th April 2008, 20:20
When you add a customized tab (satellite) to the MMT, you need to define a field mapping - field in main session (MMT controller) should be mapped to a corresponding field on the satellite. Then the satellite fetches the data for the matching fields.
Satellite session field being specified for mapping has to be index field. If your index has fields aaaa,bbbb and cccc, then you need to use it in that sequence (for example, you cannot use aaaa and cccc for mapping). It does not give compilation error but gives a runtime error!
Hope this helps.