Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleConfiguration
POS Configuration

BonusServiceUrl - Url to BonusService.

CloudBonusWithdrawType - If bonus checks should be added as subtotal discount or tender. Default SubtotalDiscount.


Required existing parameters:

VoyadoGatewayServiceUrl - Must be blank.

CloudAccessServiceUrl - Must be set.

...

Integration with Cloud inventory management

(RTC-28572)

Add new source to StockInfoService in POS Services

POS and POS API can fetch stock information online from the new Inventory Management module in EG cloud.

This is achieved by configuring a new service in POS Services on the POS Server. (There are no changes in POS)


Info
titleRequired

POS Services 7.84.05404

To start using this stock provider see configuration. 

Expand
titleConfiguration
Configuration:

New StockInfo provider StockGateway has been add to the POS Services. The stock returned from this service is based on the response from StockGateway cloud service.

Supported methods in StockInfoService_StockGateway service:

  • GetStockInfoByEan
  • GetStockInfoByItemNum

...

Info
titleRequired

POS Services 7.84.05404

To start using this stock provider see configuration. 

Expand
titleConfiguration
Configuration:


Add new endpoint with proper localhost and port (the same as in the other services) to the POS Services Host config (POSServices.Host.WinService.exe.config file).

<service behaviorConfiguration="serviceBehavior" name="POSServices.Implementation.StockInfo_1_0.StockInfoService_StockGateway"> <endpoint address="" binding="basicHttpBinding" bindingConfiguration="BasicBinding" contract="POSServices.Contracts.StockInfo_1_0.ServiceContracts.IStockInfoService" /> <endpoint address="mex" binding="mexHttpBinding" contract="IMetadataExchange" /> <host> <baseAddresses> <add baseAddress="http://localhost:8000/LindbakPOSServices/StockInfoService_StockGateway/1.0" /> </baseAddresses> </host> </service>

Add StockInfoService_StockGateway value to the EnabledServices parameter in POS Services Host config (POSServices.Host.WinService.exe.config file)

Add those parameters to the POS Services Host config (POSServices.Host.WinService.exe.config file) - fill them with proper StockGateway values, they can be found at https://docs.egretail.cloud/

<!-- Stock information StockGateway -->

<add key="StockGatewayUrl" value="" />

<add key="StockGatewayResourceId" value="" />

To use StockInfoService_StockGateway as stock provider in ChainWeb and InStore App set up stockInfo endpoint in web.config of BackOffice.Web app, it should look similar like this one:

<endpoint name="stockInfo" address="http://bisrv02app:8001/LindbakPOSServices/StockInfoService_StockGateway/1.0" binding="basicHttpBinding" contract="POSServices.Contracts.StockInfo_1_0.ServiceContracts.IStockInfoService" bindingConfiguration="BasicHttpEndpoint" />

To use StockInfoService_StockGateway as stock provider in POS, set up parameter PosServicesStockInfoUri with url to the StockInfoService_StockGateway*, it should look like this.


...