|
Runs the ADDFIELD.EXE Utility and adds the current date or desired date to the end of a text file. |
|
|
Copy data from one file to another file & add new text (FieldInfo) to the end of each record. |
|
|
Pay Off all open items (except Credit Memos) on all customers. |
|
|
Print a range of transactions. |
|
|
Bike-alog Link. |
|
|
Reset every customer's Oldest Open Invoice Date. |
|
|
First step to read stored data from a portable barcode data collector into Keystroke. |
|
|
Changes the name of a file to a name representing the current date. |
|
|
Edit Valid Entries List Files. |
|
|
Copy one or more Summary Data files to an ASCII Delimited file. |
|
|
Sort a file of fixed length records. |
|
|
Prints Labels from the Sales Manager. |
|
|
Reformats a number in a text file to have a fixed number of decimal points. |
|
|
Reads entries in the Email Inbox of the specified MAPI server. |
|
|
Run GL Link from the command line. |
|
|
Run Importer from the command line. |
|
|
Reads an ASCII file of transaction information (in an INI format) and creates new purchase transactions from the information provided. |
|
|
Reads an ASCII file of transaction information (in an INI format) and creates new sales transactions from the information provided. |
|
|
Run Exporter from the command line. |
|
|
Copy an ASCII Delimited file to another file while rearranging the order of the fields. |
|
|
Print a range of Sales Transactions. |
|
|
Run Production from the command line. |
|
|
Merge recurring invoice entries from the file KSTRN001.REC into the standard transaction data. |
|
|
Run a Report Cue from the command line. |
|
|
Post a message (with a file attachment) to the Email Outbox of the specified MAPI server. |
|
|
Press [Ctrl][F2] from any database record and write data for the current record to a temporary file. |
|
|
Run Summarize History from the command line. |
The syntax is ADDFIELD FileName1 FileName2 FieldInfo
All parameters must be specified. FileName2 will be overwritten if it already exists.
Example:
ADDFIELD EXPORT.TXT INV22.TXT , "22" will copy EXPORT.TXT to INV22.TXT while adding: , "22" to the end of each record.
ARPAYOFF.EXE:< /p>
/NOP : No Pause - Eliminates warning prompt.
PriorTo= : Only items dated before this date will be paid off. The default is the current date. (PriorTo=6/15/00)
Ref= : Text to be entered in ROA payments Reference Field. Should be enclosed in quotes. Default is Blank. (Ref="Automatic Pay Off Payment")
PayNum= : The payment type to be used to create each ROA payment. This is the Payment's Number as seen in parentheses on the list of Sales Payments in the Configuration Manager or as shown on the Payment Types report. Default is payment type AR Adjustments (PayNum=8).
INIFILE= : Enter the name of the file which holds the parameters to run this program (instead of having to use the command line switches). (INIFILE=DATA\BATCHPRN.INI)
TYPE= : Type of transaction to print (SALESINVOICE, SALESORDER, LAYAWAY)
START= : Starting Date (default=Today)
END= : Ending Date (default=Today)
STARTTIME= : Starting Time (default=Last Midnight)
ENDTIME= : Ending Time (default=Right Now)
BUTTON= : Number of Print Button to use (1,2,3,4)
FORM= : Name of form file (e.g. KSP8X11.NVC)
PRINTER= : Number of the printer to use (1,2,3,...) (e.g. PRINTER=1 for to print to the Report Printer).
COPIES= : Number of copies to print (default is 1)
FILTER= : put the filter to be used after this switch. The format is the filter number (position of field on Sales Transactions report) followed by the condition which is enclosed in quotes. For example, FILTER=2">10440 AND <10449", would print those with a Transaction Number between 10440 and 10449. (Up to 2 filters can be entered).
FILTERJOIN= : Specify how to combine the two filters (AND, OR) (e.g. FILTERS=AND if both filters must match).
1) Item ID (required for updates - 6 digits long)
2) Sequence Number (12 digits long)
3) Department
4) Sub-Department
5) Retail Price (based on BOD markup tables)
6) Wholesale Price
7) Description
8) Extended Description (put in comment field, up to 400 characters)
Supports the standard Keystroke command line switches.
Usage:
DATACAPT [(Port:)[(Baud, Parity, Data Bits, Stop Bits, Buffer Size)] [/C]
Example: DATACAPT COM1:2400,N,8,1,32767
Valid switches for this utility are:
/C : Do not read data from device, only convert data from COUNT.TMP to COUNT.TXT
The syntax is:
DATENAME FileName1 FileName2
Where FileName1 is the file to be renamed and Filename2 is the mask to name the file to. Note that the mask must be entered with an * in it where the * will be replaced with YYMMDD (e.g. DATENAME KSTRN001.MRG *.MRG will rename the file KSTRN001.MRG to 990423.MRG).
Note that a dash and a letter (-A, -B, -C, etc.) may also be added after the date if the filename already exists. The program will make a file called DATENAME.LST that will contain the name of the file created.
This utility can be used in MultiStore polling proceedures to provide a backup for each day's KSTRN001.MRG so that it can be recovered more easily.
DATABASE= : Character that is related to the database "I"=Inventory, "C"=Customer, "V"=Vendor, "X"=Matrix, "O"=Contact, "K"=Clerk, "D"=Department, "G"=Category, "L"=Location.
FIELD= : Field Number that is associated with the database field.A list of field numbers can be found in dblists.pdf.
FILENAME= : The file that will be opened by the program. This overrides the DATABASE= and FIELD= settings.
The inifile is in the standard inifile format and supports the following inifile settings:
TOP= : top position of your main form
LEFT= : left position of your main form
HEIGHT= : height of your grid form
WIDTH= : width of your grid form
FILETYPE= : default file type (BINARY OR XML)
VIEWTOP= : top position of your grid form
VIEWLEFT= : left position of your grid form
The syntax is:
FILESORT FileName RecordLength
Both parameters must be specified.
&C&Joe Smith
Item purchase by: &C&
The above will cause the utility to replace &C& with Joe Smith.
The following switches are supported:
/R - Resident mode, will continuously loop searching and processing files with the .FRM extension.
/S - Stop, will pause before exiting.
/P - Printer output, the converted file will be sent to the device/filename following the /P.
/A - Append Mode - if /P is used to print to a file, /A can be used to add to the end of the file instead of overwriting it each time.
&Q2 1& will be changed to 1.00< /p>
&Q2 1.2& will be changed to 1.20
&Q2 99.999& will be changed to 100.00
Note that the token characters are thrown away. So when creating a form, don't count the spaces taken up by the &Q# or the last &.
The following switches are supported:
/R - Resident mode, will continuously loop searching and processing
files with the .FRM extension
/S - Stop, will pause before exiting.
/P - Printer output, the converted file will be sent to the device/filename following the / P.
The following INI file parameters are supported:
NoPause= - Batch mode, if on (1) then it will not stop to display any messages.
UserName= - Specify the name (or profile) of the MAPI Server to use (e.g UserName = Microsoft Outlook)
Password= - specify if needed for selected UserName
Subject= - A 'Starts With' filter - first characters of email's subject must match whats listed here (leave blank to match all) if AddSubjectToPath switch is on then characters in email's subject following match are used as subdirectory name when saving attachments. (e.g. to save files to STORE1\, STORE2\, etc.)
NoteText= - A 'Starts With' filter - first characters of email's message must match (leave blank to match all). Note: some email programs do not return correct text, in which case this must be left blank.
AddSubjectToPath= - if on (1) then characters on right side of subject line will be included in path to save attachments.
AttachmentPath= - Sub Directory to save attachments to (will be below Program Directory + Right hand characters of email's Subject line (if AddSubjectToPath is On). (e.g. AttachmentPath=HOLD\)
SaveTo= - Full FileName (including path) of where to save attachment to. If this is used then the AddSubjectToPath and AttachmentPath parameters will be ignored. (e.g. SaveTo=C:\KEYSTROK\ORDERS\NEWORDER.TXT)
NOTES:
/NOP : No Pause - Eliminates warning prompts.
Start= : Starting Date - put the date to mark the start of the linked period after this switch. (Start=4/10/94)
End= : Ending Date - put the date to mark the end of the linked period after this switch. (End=05/26/96)
StartTime= : Starting Time - put the time to mark the start of the linked period after this switch. (StartTime=05:30a)
EndTime= : Ending Time - put the time to mark the end of the linked period after this switch. (EndTime=18:15)
Imports data from a specified file.
Supports most of the standard Keystroke command line switches.
It also supports the following special switches:
/C : Customer - Import to Customer database.
/V : Vendor - Import to Vendor database.
/P : Department - Import to Department database.
/T : caTegory - Import to Category database.
/L : Location - Import to Location database.
/X : matriX items - Import to Matrix Item database.
If neither /C, /V, /P, /T, /L or /X is specified then the Inventory database is assumed.
/R : Replace - Delete existing data and replace it with the imported DATA
/A : Append - Append imported data to the end of the existing data.
If neither /R or /A are specified merge is assumed.
/S : Setup File - put the name of the setup file (.KSI) after the switch, ie (/S KSIMPORT). The file must be in the FORMS\ subdirectory.
Note:
Note:
IMPPOR.EXE / WIMPPOR.EXE:
INIFILE= : Enter the name of the file which holds the parameters to run this program (instead of having to use the command line switches). (INIFILE=DATA\IMPPOR.INI)
FILENAME= : The name of the file to be imported. (REQUIRED)
DATE= : Date assigned to transactions if date is not imported.
TIME= : Time assigned to transactions if time is not imported.
CLERKNUM= : Clerknumber assigned to transaction if it's not imported.
NODISPLAY= : If NODISPLAY=ON then the program won't display its status as it imports the transactions. This will enable the program to run faster.
NOPAUSE= : If NOPAUSE=ON then program will not stop at screen that displays info about the file to be imported.
CONFIRM= : If CONFIRM=ON then program will display each transaction and allow you to select whether or not to import it.
ADDNEWVENDOR= ; [ON] If vendor is not found then a new one will be created
UPDATEVENDOR= ; [ON] Vendor fields will be updated if found (default=ON).
UPDATEBY= ; (N|D|V) If this switch is used then the program will first try to locate and update an existing transaction based on the Transction (N)umber (inludes letter), Transaction (D)ate, and/or (V)Vendor. If no match is found then a new transaction will be added.
ADDLINES= ; [OFF] If on then program will add line items to an existing transaction instead of replacing them. **Must also be using UPDATEBY= switch.
MERGELINES= ; [OFF] If on then program will merge multiple lines that contain the same item into one, (The line must NOT have a comment and Stocknumber / Description / Class / Price / Cost must be the same)
BUTTON= ; [0] If set to a valid print button then the program will immediately print the transaction using the form/printer specified by the print button. Valid numbers are 1 to 4 and it must have been set up in the Configuration Manager - Tables - Print Buttons function)
Notes:
UPDATEBY= As with updating vendors, the fields you are updating by should come first since reading in the matching transaction will throw away any information read up to that point. If updating by Date and Time, the TRANSACTION TIME field must precede the TRANSACTION DATE field. To import a transaction with today's date, include the INVOICE DATE= field but just leave it blank.
IMPTRN.EXE / WIMPTRN.EXE:
INIFILE= : Enter the name of the file which holds the parameters to run this program (instead of having to use the command line switches). (INIFILE=DATA\IMPTRN.INI)
FILENAME= : The name of the file to be imported. (REQUIRED)
TYPENAME=: matches with the Short Name entered on the Sales transaction type.
TYPEABBREV=: matches with the abbreviation entered on the Sales transaction type.
DATE= : Date assigned to transactions if date is not imported.
TIME= : Time assigned to transactions if time is not imported.
CLERKNUM= : Clerknumber assigned to transaction if it's not imported.
NODISPLAY= : If NODISPLAY=ON then the program won't display its status as it imports the transactions. This will enable the program to run faster.
NOPAUSE= : If NOPAUSE=ON then program will not stop at screen that displays info about the file to be imported.
CONFIRM= : If CONFIRM=ON then program will display each transaction and allow you to select whether or not to import it.
ADDNEWCUST= ; [ON] If customer is not found then a new one will be created.
UPDATECUST= ; [ON] Customer fields will be updated if found (default=ON).
UPDATEBY= ; (N|D|C) If this switch is used then the program will first try to locate and update an existing transaction based on the Transction (N)umber (includes letter), Transaction (D)ate, and/or (C)ustomer. If no match is found then a new transaction will be added.
ADDLINES= ; [OFF] If on then program will add line items to an existing transaction instead of replacing them. **Must also be using UPDATEBY= switch.
MERGELINES= ; [OFF] If on then program will merge multiple lines that contain the same item into one, (The line must NOT have a comment and Stocknumber/Description/Class/Price/Cost must be the same).
BUTTON= ; [0] If set to a valid print button then the program will immediately print the transaction using the form/printer specified by the print button. Valid numbers are 1 to 4 and it must have been set up in the Configuration Manager - Tables - Print Buttons function).
Notes:
UPDATEBY= As with updating customers, the fields you are updating by should come first since reading in the matching transaction will throw away any information read up to that point. If updating by Date and Time, the INVOICE TIME field must precede the INVOICE DATE field. To import a transaction with todays date, include the Invoice Date= field but just leave it blank.
KSEXPORT.EXE/ WSEXPORT.EXE:
File= : put the name of the file you want to write to after this switch.
File2= : put the name of the file you want to print the line item detail to for transaction exports after this switch.
Type= : put what to export after this switch. The two character variables are determined by the HotKeys (highlighted letter) for each type of data that can be exported using the standard Export function in the Configuration Manager (e.g., Databases/Inventory, Sales ransactions/A-Sales Invoices).
Sort= : put the field you want to sort by after this switch.
Filter= : put the filter to be used after this switch. The format is the filter number followed by the condition which is enclosed in quotes. One or two filters are supported.
FilterJoin= : Specify how to combine the two filters (AND, OR) (e.g. filterJoin=AND if both filters must match).
Tab= : Tab Delimited - put on or off after this flag to toggle tab delimited output.
Start= : When exporting transactions Start=Starting Date - put the date to mark the start of the exported period after this switch. (Start=04/10/00). When exporting databases, Start=Start of range of data (based on Sort setting). Start=90803(a zip code).
End= : When exporting transactions End=Ending Date - put the date to mark the end of the exported period after this switch. (End=05/26/00). When exporting databases, End=End of range of data (based on Sort setting). End=90999(a zip code).
StartTime= : Starting Time - put the time you want to mark as the start of the exported period after this switch. (StartTime=05:30a)
EndTime= : Ending Time - put the time you want to mark as the end of the exported period after this switch. (EndTime=18:15)
Example: KSEXPORT TYPE=SA SORT=5 FILE=MONEY.TXT START=90803 END=90803-9999 FILTER=29">0".
The syntax is:
MAPFILE FileName1 FileName2 MapFile [Delimiter=1]
All parameters (except Delimiter=) must be specified. Other parameters listed below may also be used.
FileName2 will be overwritten if it already exists.
Delimiter= supports the following :
1 = Quote/Comma delimited
2 = Tab delimited
3 = Comma delimited (use for Percon 2000)
NoSpace= the program will not put a space after the comma delimiter.
NoZero= Mapfile will throw out any record where the value of the specified field number is 0.
NoBlank= Mapfile will throw out any record where the specified field number is blank.
Example:
MAPFILE EXPORT.TXT PERCON.TXT PERCON.MAP DELIMITER=3 NOZERO=2
Will copy the data from EXPORT.TXT to PERCON.TXT using the field positions specified in PERCON.MAP. It will not copy any record that has 0 in field number 2.
PERCON.MAP might look like this:
---------------------------------
1
2N
0
48
0, "ea"
1
---------------------------------
PRINTSAL.EXE/ WPRINTSL.EXE:
INIFILE= : Enter the name of the file which holds the parameters to run this program (instead of having to use the command line switches). (INIFILE=DATA\PRINTSAL.INI)
TYPE= : Type of transaction to print (Either Short Name or Abbreviation)
START= : Starting Date (default=Today)
END= : Ending Date (default=Today)
STARTTIME= : Starting Time (default=Last Midnight)
ENDTIME= : Ending Time (default=Right Now)
BUTTON= : Number of Print Button to use (1,2,3,4)
FILTER= : put the filter to be used after this switch. The format is the filter number (position of field on Sales Transactions report) followed by the condition which is enclosed in quotes. For example, FILTER=2">10440 AND <10449", would print those with a Transaction Number between 10440 and 10449. (Up to 2 filters can be entered).
FILTERJOIN= : Specify how to combine the two filters (AND, OR) (e.g. FILTERJOIN=AND if both filters must match).
NOPAUSE= : If NOPAUSE=ON then program will not stop at screen that displays the selected parameters.
CONFIRM= : If CONFIRM=ON then program will display each transaction and allow you to select whether or not to print it.
Run the Auto Produce Function in the Production module.
Supports all the standard Keystroke command line switches.
RECMRG.EXE/ WRECMRG.EXE:
/NOP : No Pause - Eliminates warning prompts.
/M : Merge Directory - put the name of the directory that contains the merge file after this switch. (/M C:\DATA).
/ADD : Do not update the date or transaction number.
DATE= : Merge Date - put the merge date after this switch. (DATE=05/26/96). Set DATE=0 to keep original date.
TIME= : Merge Time - program will automatically assign a new time value to each transaction (and payment) as they are merged in. The times will start with the specified time and will then increment up approximately 9 seconds for each record. Use TIME=N to start with current time.
MERGE= : Use to merge one Transaction Type into another. The Transaction Type can be specified as either a single letter (where the letter is the one use on the menus in Keystroke to select the transaction type), or as the Short Name or the Abbreviation for desired Transaction Type. For example, to merge in the Recurring Transactions from the file KSTRREC.DAT into invoices any of the following commands can be used: MERGE="REC TO NVC" or "J TO A" or "Recurring Charge TO Sales Invoice".
If the /R - Register switch is used then the transactions will be assigned to the specified register number, otherwise they will keep their original register numbers.
Note: If new date or register numbers are being assigned to the transactions, then audit records will not be merged in. (i.e. if the /ADD switch is not used or the DATE= or /R switches are used, the Audit entries will be skipped).
RPT CUE="Cue Name"
[START={Date}] [END={Date}] [Switches]
START= : Follow with the starting date for the report. You can also use the special Midnight option (START=M) to start either last night (if RPT.EXE is run after noon) or the night before (if RPT.EXE is run before noon).
END= : Follow with the ending date for the report. You can also use the special Midnight option (END=M) to end either tonight (if RPT.EXE is run after noon) or last night (if RPT.EXE is run before noon).
UserName= - The name (or profile) of the MAPI Server to use (e.g UserName = Microsoft Outlook)
Password= - If needed for selected UserName
SendTo= - Address to send e-mail to. If it is blank, the program will prompt you for an e-mail address.
Subject= - Text to place on the subject line of the e-mail
NoteText= - Text to place in the body section of the e-mail
Attachment= - Name (including path) of file to attach to e-mail
1. Your Microsoft Mail Profile name. You can locate this information by going to CONTROL PANEL and then clicking on MAIL and then selecting the SHOW PROFILES button. At the bottom of this next page is a line that says "Always Use This Profile" and the profile name we want to use should be listed right below that (May be different in other operating systems besides Windows XP).
2. You will also need to know your profile password if there is one. In none is supplied then you do not need to know this.
Below are the steps necessary to setup the Email capabilities for sending an Invoice/Order from within Sales Manager.
1. CONFIGURATION MANAGER - HARDWARE - PRINTERS - Press INS to create a new printer. Call the printer SENDMAIL and select the driver as PLAIN and select the port and choose FILE and type a filename such as INVOICE.DOC. You will need to remember this filename and type it in later in these steps.
2. CONFIGURATION MANAGER - HARDWARE - PRINTERS - Press INS to create a new
printer. Call the printer EMAIL and select the driver as PLAIN and select
the port and choose FILE and type in the filename SENDMAIL.INI. You will
need to type in the following into the RUN command line:
SENDMAIL.EXE INIFILE=SENDMAIL.INI
3. CONFIGURATION MANAGER - SETTINGS - FORM MESSAGES - Select the Form Message line #30 and enter in your Microsoft Mail Profile name you noted above.
4. CONFIGURATION MANAGER - SETTINGS - FORM MESSAGES - Select the Form Message line #31 and enter in your Microsoft Mail Profile password if there is one.
CONFIGURATION MANAGER - SETTINGS - FORM MESSAGES - Select the Form Message line #32 and enter in the text that will appear in the body of the email when it is sent.
6. CONFIGURATION MANAGER - SETTINGS - FORM MESSAGES - Select the Form Message line #33 and enter in the filename that you choose in the first step #1 above.
7. CONFIGURATION MANAGER - TABLES - PRINT BUTTONS - SM:SALES - Then select ADD NEW BUTTON and call the new button SEND EMAIL. Select the FORM1 button near the bottom of the screen and select FILE and chose whatever Keystroke form file that you want to email (this will control the format of the attached file that is sent with the email. If you want the emailed file to look the same as your printed invoices choose the same form file). Click the PRINTER button on this same screen and choose the printer named SENDMAIL. Select OK and then click on the FORM2 button at the bottom of the screen. Select FILE and choose the form file SENDMAIL.NVC. Click on the printer button and select the printer named EMAIL. Select OK and then OK again to close out of the print button window. You should now have a new print button on the list that is called SEND EMAIL. Press F10 to save the print buttons windows and you are ready to go into Sales Manager and test the new Send Email button.
Valid switches are:
/D : Directory - put the name of the directory that contains the data files after this switch (/D C:\DATA)
/MoveOld : The program will move all Daily files over 7 days old, all Weekly files over 5 weeks old and all Monthly files over 12 months old to the OLD directory below the current Data directory (C:\KEYSTROK\DATA\OLD\ID000501.DAT). Use the Start= parameter to specify the starting date to count back from. If the Period= parameter is used than only files for that type of period file will be moved. If this switch is used then no files will be created.
Period= : Follow with the period code ((D)aily, (W)eekly, (M)onthly).
Database= : Follow with the database code ((I)nventory, (C)ustomer, (V)endor).
Start= : Starting Date - put the date you want to mark as the start of the summarized period after this switch. (Start=12/30/02 or Start=-2D to start 2 days ago).
End= : Ending Date - put the date you to mark as the end of the summarized period after this switch. End=M will cause the program to end at the closest midnight. (End=12/31/02 or End=-1W to end 1 week ago).
/Pause : The program will pause before creating each file to show what the settings of each parameter is.
If no parameters are entered (or any of the skipped) then following defaults will be used:
DATA Directory = DATA\
Period = Daily, Weekly, and Monthly
Database = Inventory, Customer, Vendor, and Clerk
Start = 0:00am on the last day without a summary file or 7 days back for daily, 5 weeks back for weekly and 1 year back for monthly files.
End = 11:59pm on the previous day
END OF LIST
Copyright © 1988 - 2010 Specialized Business Solutions | (800) 359-3458
|