RemotePriceProvider can contact an ERP system to get prices for one or more products.
To request prices from ERP, you must provide customer and optional contact number.
If the ERP system does not provide information about VAT, the VAT can be determined in the shop.
In that case the shop uses VatService to get the
vatPercent by the
Using customer and contact numbers¶
RemotePriceProvider uses customer and contact numbers from the price request.
If they are not set, it uses the numbers set in the Buyer Party.
If neither customer nor contact number are set, and template debitor is enabled in the configuration, StandardTemplateDebitorService determines the customer and/or contact number to use.
Using a template debitor only works if price requests without customer number are enabled for the
They can be enabled/disabled in the shop configuration settings.
When this setting is disabled, an exception is thrown in the
remotePriceProvider and fallback is used.