Announcement

Collapse
No announcement yet.

Best method to select rows from multirecord form

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Best method to select rows from multirecord form

    Hi all,

    I got a multirecord form with a list of products I want to select.

    Question:
    On first column I have the automatic 'selection' flag field.
    I would like to select many products and then, with a button or similar, I need to create a RFQ Request for Quoting or a Customer Order .

    I was thinking to add two image buttons (RFQ-Order) on each row and then, once clicked one of two, to make the add to a order table rows or a RFQ rows table. see image
    Here a problem raise becouse on Ajax Events (using Multirecord form) .. image fields are not available as selectable for on Click event.
    I think it is possible only using a grid .

    Which is the best way to add dinamically rows to RFQ or Order after clicking on row image ??

    How can I show the Rfq/Order form/rows to user in order to give him the possibility to edit o delete same rows ?

    Is there a 'brilliant' solution to that kind of topics (select above and show below...).

    Many thanks
    Giovanni
    Attached Files
    Last edited by giovannino; 10-02-2014, 01:32 PM.

  • #2
    Have you considered using a grid with a run button? After creating runbuttons for both functions you can change it to an image. You get an onrecord event of all selected items which you then can use to build up your RFW and order.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment


    • #3
      Hi Albert,
      I need to enter a Quantity of product to order . If I use a grid how can I insert that value ?

      I never used the Run button.
      Within the code OnRecord area what do you suggest to do/write ?

      Is possible to have a grid on top of the video where I select lines and on bottom area the Order lines that update themself every time I add a row..
      It seems a little complicated...
      Last edited by giovannino; 10-02-2014, 01:40 PM.

      Comment


      • #4
        I've seen shops where you need to select the product and then come into the basket where you can set the amount. Conrad, which is a very big player here does it that way. As far as I understood the problem (but I might be wrong) you need to populate orders or RFW. If you create a button in a grid, then you make that of type 'run'. Then a form will open where you can put the code. This code is triggered for each item that does have the checkbox checked. So you can copy the record into the orders table.
        Albert Drent
        aducom software netherlands
        scriptcase partner, reseller, support and (turn-key) development
        www.scriptcase.eu / www.scriptcase.nl

        Comment

        Working...
        X