The Get Absorption Account (CSTPACHK.get_absorption_account_id) client extension lets you specify alternative resource absorption account based on resource instance and charge department for eAM jobs. This client extension is valid for all costing organizations. The value returned by the function is the absorption account which is used to create the resource absorption accounting for the resource or outside processing transactions in eAM jobs.
Cost Management calls the Get Absorption Account extension each time a resource or outside processing transaction is processed.
When this extension is called, the application determines if it has been implemented and returns a value accordingly. The return values are:
-1 The extension was not used and the normal default accounts should be used.
>0 The extension was used and the user specified accounts should be used. The return value should be a valid code_combination_id from the GL_CODE_COMBINATIONS table for the ledger associated with the organization.