0

Invoice item button

Hi All,

I am trying to use a button formula to mimic the + add new record. When using the Ninox template invoice, creating a new record opens to a page to enter the article/item. When the + at the bottom is chosen the article/item selected clears and a new item can be entered. 
My current button will create a new invoice but will not mimic the Ninox + create new record button at the bottom of the page. 
A button to create a new article/item opens the option to make a new item but not clear the current item and then choose an existing one.

thanks in advance 

27replies Oldest first
  • Oldest first
  • Newest first
  • Active threads
  • Popular
    • Sam
    • Sam.1
    • 2 mths ago
    • Reported - view

    Thank you very very much for all your time and help!

    here it is:

    let t := this;
    let newappointmentPatient := (create AppointmentPatient);
    closeRecord();
    newappointmentPatient.(Appointment := t.Appointment);
    popupRecord(newappointmentPatient)

    Like
    • Sam
    • Sam.1
    • 2 mths ago
    • Reported - view

    Oops, I copied the wrong one.

    here it is for the template invoice:

    let t := this;
    let newInvoiceItem := (create 'Invoice Item');
    closeRecord();
    newInvoiceItem.(Invoice := t.Invoice);
    popupRecord(newInvoiceItem)

    Like
Like Follow
  • 2 mths agoLast active
  • 27Replies
  • 70Views
  • 2 Following