Select Multiple Products

Is there anyway to select multiple products[ Quoted Line Items] in custom module.

or in Multi select field can we get the related module quoted line items. so that user can choose what items to be wanted in another module.

Help me to solve this ..

Thanks in Advance..

hats Alex Nassi

Parents
  • We had implemented something like that before.

    Find the steps:

    • create a text area field, inside which you can save a lots of records' IDs (note that SugarCRM's ID is a hash md5 containing 36 characters).
    • create an endpoint which will fetch QLIs from db, eventually based on a parameter to be sent to endpoint.
    • create a field template which will fetch data from such endpoint.
    • Update the record view making such text area field to be rendered as its custom field template.

    We had created some field templates which are very useful for scenarios like that:

    • enum-api (which renders a dropdown based on an endpoint without additional parameter)
    • enum-parent-api (which renders a dropdown based on an endpoint with one parameter from current view)
    • enum-mult-parent-api (which renders a dropdown based on an endpoint with two or more parameters from current view)

    This is it!

    André Lopes
    Lampada Global
    Skype: andre.lampada
Reply
  • We had implemented something like that before.

    Find the steps:

    • create a text area field, inside which you can save a lots of records' IDs (note that SugarCRM's ID is a hash md5 containing 36 characters).
    • create an endpoint which will fetch QLIs from db, eventually based on a parameter to be sent to endpoint.
    • create a field template which will fetch data from such endpoint.
    • Update the record view making such text area field to be rendered as its custom field template.

    We had created some field templates which are very useful for scenarios like that:

    • enum-api (which renders a dropdown based on an endpoint without additional parameter)
    • enum-parent-api (which renders a dropdown based on an endpoint with one parameter from current view)
    • enum-mult-parent-api (which renders a dropdown based on an endpoint with two or more parameters from current view)

    This is it!

    André Lopes
    Lampada Global
    Skype: andre.lampada
Children