I want to put a field "asset lifecycle status". It must be drop-down list in edit list on a change.
As the Status field
I am modifying the form list_nr.htmpland write <PDM_MACRO name=sfLookup hdr="Subestado" attr=asset_lifecycle_status factory=ca_asset_lifecycle_status>
This is error
Exists the table ca_asset_lifecycle_status and the table nr has field asset_lifecycle_staus (SREL to the table ca_asset_lifecycle_status to field name)
How can i do it?
Best regards and thanks
if you want to show dropdown as search filter you need to use sfDropdown tag instead of sfLookup, dont forget to add lookup=no.
<PDM_MACRO name=sfDropdown hdr="Subestado" attr=asset_lifecycle_status lookup=no>
Presented error means that you haven't form to search over that table, other way is to create form for that purposes, you can use list.template (could be found in bopcfg\www\htmpl\web\analyst folder) or any other list_*.htmpl form.
Previously if I had sfDropdown but had not lookup=no
Thank you so much.