Object Actions provide a way to quickly access common tasks related to a specific object. In this module, you create an Object Action for the Expense Report object. The action allows the user to create a new expense for the current expense report.
In Setup, select Build > Create > Objects and click the Expense Report link
In the Buttons, Links, and Actions section, click New Action, and define the Action as follows:
Click Save
Drag the Category field to the Layout (before Amount)
Click Save (upper left)
In Setup, select Build > Create > Objects and click the Expense Report link
In the Page Layouts section, click the Edit link to the left of Expense Report Layout
In the Publisher Actions section, click the override the global publisher layout link
Click Actions, drag the Add Expense action to the Publisher Actions section (before Post), and click Save
Tap the menu icon (upper left corner)
In the menu, tap Expense Reports under Recent
Tap an expense report in the list
Tap the publisher button (lower right corner)
Tap Add Expense
Enter an expense
Notice that Expense Report is automatically populated.
Click Submit (upper right corner)
On the Expense Report details screen, swipe left
Tap Expenses
Pull to refresh the list