You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ofbiz.apache.org by nashrul <an...@yahoo.com> on 2007/10/02 09:42:46 UTC

Inserting look up values in simple method

I have a table Hl_Sourcecode_Map. This is a mapping table.
In this table, there are 4 fields, los_code,sm_code, los_desc, and sm_desc.
>From the screen/form, I made 2 drop down lists that will insert the los_code
and sm_code values 
to the table, while the other 2 fields (los_desc and sm_desc) are left
empty.
Input of these 2 empty fields come from another tables, namely Hl_Sm table
for sm_desc value
and Hl_Los for los_desc.

How can I do this in simple method ??
Thanks..
-- 
View this message in context: http://www.nabble.com/Inserting-look-up-values-in-simple-method-tf4553464.html#a12994307
Sent from the OFBiz - User mailing list archive at Nabble.com.


Re: Inserting look up values in simple method

Posted by BJ Freeman <bj...@free-man.net>.
 search for lookups and use them as examples.


nashrul sent the following on 10/2/2007 12:42 AM:
> I have a table Hl_Sourcecode_Map. This is a mapping table.
> In this table, there are 4 fields, los_code,sm_code, los_desc, and sm_desc.
>>>From the screen/form, I made 2 drop down lists that will insert the los_code
> and sm_code values 
> to the table, while the other 2 fields (los_desc and sm_desc) are left
> empty.
> Input of these 2 empty fields come from another tables, namely Hl_Sm table
> for sm_desc value
> and Hl_Los for los_desc.
> 
> How can I do this in simple method ??
> Thanks..