Build your own custom StockLevelProvider
- 26 Nov 2024
- 1 Minute to read
- Print
- DarkLight
Build your own custom StockLevelProvider
- Updated on 26 Nov 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
Create an apex class that implements the welisacommerce.IStockLevelProvider interface. How to do this you can find here. To configure the new apex class:
Go to Salesforce setup -> Custom Metadata Types -> Plugin Registrations -> 'Manage Records'.
Click 'New' and enter the name of the custom implementation.
Save.
Field label | Type | Description |
---|---|---|
Label | Text | The user friendly name of the registration |
Plugin Registration Name | Text | The technical name of the registration |
Class Name | Text | The class name of the custom implementation class |
Plugin | Reference | The specific plugin which the custom class implements |