Understanding BOM Report Implementation
Copy
The high-level flow of the BOM Report implementation is as follows:
- When a user executes a BOM Report, its corresponding client method is called.
- The server method PE_ExecuteQdReportMethod is run through the client method.
- PE_ExecuteQdReportMethod calls the Query Definition (QD) for the selected BOM Report.
- The QD provides queries to retrieve report-specific data from the database.
- PE_ExecuteQdReportMethod parses results from the QD execution, and performs report specific logic, such as quantity roll-up. The resulting data in XML format includes level property and is in its final order so it can be transformed into HTML in a hierarchical view.
- The report stylesheet parses data in XML format into HTML using XSLT.
Table 3: Client Methods and Query Definitions for BOM Reports
| BOM Report | Client Method | Query Definition |
| BOM Costing Report | PE_executeCostingRepAndApplyXslt | PE_costingReport |
| Multilevel BOM Report | PE_execMultilevelRepAndApplyXslt | PE_multilevelReport |
| BOM Quantity Rollup Report | PE_execQuantityRepAndApplyXslt | PE_quantityReport |
The standard BOM Reports can be customized to add, remove, replace, and reorder columns. To customize a standard BOM report, configure its:
- Query Definition (QD) to retrieve necessary properties.
- Stylesheet to display these properties.
Note
Customization examples are provided in the Appendix.