Clarity Service Management

Expand all | Collapse all

Not found form search_ca_asset_lifecycle_status.htmpl

Jump to Best Answer
  • 1.  Not found form search_ca_asset_lifecycle_status.htmpl

    Posted 03-03-2016 04:56 AM

    Good morning,

    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



  • 2.  Re: Not found form search_ca_asset_lifecycle_status.htmpl
    Best Answer

    Posted 03-03-2016 05:03 AM

    Hi,

    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.

     

    Regards,

    Timur



  • 3.  Re: Not found form search_ca_asset_lifecycle_status.htmpl

    Posted 03-03-2016 06:19 AM

    Now works.

    Previously if I had sfDropdown but had not lookup=no

    Thank you so much.