1 Reply Latest reply on Jun 5, 2015 9:15 AM by AndrewJudd

    Add records directly to portal on another layout (add directly to invoice)

    AndrewJudd

      Title

      Add records directly to portal on another layout (add directly to invoice)

      Post

      hi all, any ideas on how I would have a button that runs a script from my main layout (ARTWORK) and adds a record (in my case an artwork) directly to an invoice (in layout INVOICES). At this moment this is being achieved fine with a popover in invoices where you can search the main inventory (ARTWORK) and choose to add records to an invoice with my script (see attached).

      To make life easier for a user it would be good to be able to just click a button while going through the inventory and have it say something like "Invoice Artwork" and this button creates a new record in INVOICES and adds the artwork directly to my portal. I know it would be something like - go to layout invoices - new record/request - set field Artwork::_fkinvoiceID; INVOICES::_pkinvoiceID. But i needs more work...

      thank you!

      Screen_Shot_2015-06-05_at_17.09.05.png