English
bom.parseAddBomData.before
About 96 wordsLess than 1 minute
2026-05-08
Execution Timing
Before data is added and before the BOM plugin logic runs
Parameters
| Parameter | Description | Type |
|---|---|---|
| param | Low-level API collection | Object |
Return Result
| Parameter | Description | Type |
|---|---|---|
| parseData | Low-level API collection | Object |
Notes
- This hook is triggered before entering the main BOM plugin logic and can be used to validate or supplement input parameters.
objApiNameandrecordTypeare used to determine the target object and business branch.
Code Example
export default class Plugin {
apply() {
return [{
event: "bom.parseAddBomData.before",
functional: this.parseAddBomData.bind(this)
},
];
}
parseAddBomData(context){
let { param} = context;
return{
parseData
}
}
}