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 

27 replies

null
    • Sam.1
    • 1 yr 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)

    • Sam.1
    • 1 yr 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)

Content aside

  • 1 yr agoLast active
  • 27Replies
  • 231Views
  • 2 Following