How to Create Reference App Attributes in Invoices App?

Updated on October 8, 2021 06:48AM by Admin

The Invoices App Master Layout allows you to link the Invoices App with other apps. This lets you have the preferred custom fields from the other apps to be made visible in your invoices.

For instance, Consider a Superuser who, while generating invoices, would like to view the commission rate of a particular employee associated with the sales. Now in that case, the reference app attributes can be made use of. Let's have a quick look at the following steps to understand better.

Steps to Create Reference App Attributes

  • Go to the Invoices App.
  • Click on “More (...)” icon → “Settings” → “Customize App” → “Master Layout”.
Invoices
 
  • Drag and drop the “Ref App” attribute under the “Palette” tab.
Settings
 
  • Click on it and rename it as “Employee” under the "Inspector" tab.
Inspector Tab
 
  • Scroll down till you reach the “Reference Object Details” section.
  • Now, select “Employees” in the “App” drop-down present.
Reference Object
 
  • Similarly, drag and drop the “Ref App Field” attribute from under the “Palette” tab.






Ref App Field
 
  • Click on it and rename it as “Commission Rate”. Scroll down till you reach the “Reference Field Details” section.
  • Now, select “Employees” from the “Reference Object” drop-down and “Commission Rate” from the “Reference Field” drop-down.
  • Click on “Save”.






Save
 
  • Now, while creating an invoice, you can search and select the employee associated with that invoice. The Commission Rate of that employee will be auto-filled as shown below.






Create Invoice
 

Related Links