Purpose
The purpose of this article is to externally store config files and guides for the TechFriends related clients using LightSpeed services. Please see the attached .zip file in the Table of Contents.
The step-by-step instructions are also laid out under the Process section below.
Overview
AutoCredits is an extra paid module. After picking has been completed, this Feature allows LightSpeed to send Credits back to TechFriends for out of stock items on inmate orders.
Please note: If the Client hasn't already settled payment with Sales, they will need to do so before configuration of the tool can begin.
Process
Requirement: LightSpeed version 3.4.10.9 or later.
Create the Directories
Run the batch file to create the directories and copy the file.
Configure the LsProvider Config File
- Navigate to LsProvider.
- Right-click
LsProviderControl.exeand select Edit.
- Verify in 2 locations that the Config file has LightSpeed Resources embedded. If not, the configs will need to be added.
Please see the screenshot below for the first location.
If the config is missing, copy and paste the following into the highlighted area.
<!--resources.lightspeedautomation.com binding uses security - not standard--> <binding name="BasicHttpBinding_ILsServices" closeTimeout="00:20:00" openTimeout="01:20:00" receiveTimeout="23:59:59" sendTimeout="01:20:00" textEncoding="utf-8" maxBufferPoolSize="2147483647" maxReceivedMessageSize="2147483647" useDefaultWebProxy="true" messageEncoding="Text"> <readerQuotas maxDepth="32" maxStringContentLength="2147483647" maxArrayLength="2147483647" maxBytesPerRead="8192" maxNameTableCharCount="167772160" /> <security mode="TransportWithMessageCredential" /> </binding>Please see the screenshot below for the second location.
If the config is missing, copy and paste the following into the highlighted area.
<!--Client for LsResources--> <endpoint address="https://resources.lightspeedautomation.com/" binding="basicHttpBinding" bindingConfiguration="BasicHttpBinding_ILsServices" contract="LsResources.ILsServices" name="BasicHttpBinding_ILsServices" />
Set Up the Script
- Navigate to
C:\Program Files\LightSpeed\Scripts. - Right-click
copy_techfriends_credit_files.ps1and select Edit.
- Update the TechFriends server IP address and login credentials.
- Save and close out.
- Run the script as an administrator.
Import the Task
- Select Start and search for Task Scheduler.
- Right-click Task Scheduler Library and select Import Task.
- In the file picker, open Downloads > TechFriends Automated > Task Scheduler and select
LightSpeed - Send Files to TechFriends.xml. - Select OK in the task creation dialog.
- Confirm that the task has been added.
Set Up Configure the Provider Source
- Log in to the Admin Portal.
- Select Configure Provider Source.
- Enter
C:\TechFriends_Credit_Filesin the Credits File Directory field. - Select Save.