The Account Generation Extension allows you to provide alternative accounts. The Account Generation Extension has two template functions: one for material and scrap transactions and another for standard cost update transactions.
Note: Although the resulting accounts are provided as default accounts if these extensions are used, it is not recommended to write new extensions. Costing extension hook CSTPSCHK.std_get_account_id is not called for COGS Recognition transaction in the Material Cost Transaction worker. You must use Subledger Accounting (SLA) rules to derive custom accounts. See: Oracle Subledger Accounting Implementation Guide.
Cost Management calls the Account Generation extension each time standard or average costing material or standard cost update transactions are performed.
When this extension is called the system determines whether it has been implemented and returns a value accordingly. The return values are as follows:
- 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.
Other Sources
PL/SQL User's Guide and Reference
Oracle Bills of Material Technical Reference, Release 12