Build your own custom StockLevelProvider

Prev Next

Create an apex class that implements the welisacommerce.IStockLevelProvider interface. How to do this you can find here. To configure the new apex class:

  1. Go to Salesforce setup -> Custom Metadata Types -> Plugin Registrations -> 'Manage Records'.

  2. Click 'New' and enter the name of the custom implementation.

  3. 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