Business methods

Business Methods are operations on a row or set of rows within a table. A business method is a function that performs a task that involves manipulating or checking one or more tables in the database.

Sessions, object hooks, or property hooks from another table’s DAL can call a business method. See the Infor ES Programmers Guide (Infor Customer Portal KB2924522).

Examples of business methods are as follows:

  • The sales order line session can remove an order line. The object hook for deleting the sales order line calls a business method to also remove the unpaid commissions.
  • In the Purchase Order session, check if it is allowed to change a purchase order header based on the purchase order status and the business partner status.
  • If a purchase order issues components, the object hook for the purchase order line calls a business method to issue the components for the purchase order. The business method inserts items of the bill of material into a purchase order components table.