Skip to Content
0
Dec 01, 2006 at 10:38 AM

How can I create the link for the lookup table???

27 Views

Hi MDM guru,

I use JAVA API for MDM 5.5 sp4.

I have this structure;

Main table-> Customer

Main table fields are: Name (string),City (string) and Type (lookup flat)

Lookup table-> Type

Lookup table field is: Name and its possible values are: "A", "B","C"

When I create a new record in Main table I use the following code:

A2iFields flds = new A2iFields();

flds.Add(new A2iField(NAME, new Value(NAME));

flds.Add(new A2iField(CITY, new Value(CITY));

int pos = objCatalodData.AddRecord(<main table>, fields, posParent, 0);

Question: How can I create the link for the <b>Type</b> lookup table???