Home › Forums › Knowledge Base › Legacy Applications › Coleman Oil Interface Module Coleman 1.01
- This topic has 0 replies, 1 voice, and was last updated 19 years ago by
Rob.
-
AuthorPosts
-
April 14, 2006 at 4:06 pm #1517
Rob
MemberColeman Oil Interface Module Coleman 1.01
Last edited: December 15, 2003 08:07 AMThe Coleman Oil Interface allows a restaurant to use the Coleman Oil card single user card. It approves the card, applies it to the appropriate media, and posts it to a transaction file for export to Coleman Oil. Also include is an overring function and a batch report. The module consists of a set of version 6 application files that can be styled into an application using Editnet, batch files that hold the configuration information, executables that should be moved to the Tools directory, and a sample lockout file that can be used for initial testing. The Coleman Oil dual card is not supported by this module.
Styling
If the application is not set up to use the Coleman Oil card, it must be styled in using Editnet. The following actions are needed:
1. Unzip the module into the application directory. Move Coleman.Exe and ColeRpt.Exe to the Tools directory or another directory in the workstations path. Move the sample Lockout.Aco file to the Data subdirectory.
2. In Media Definitions, define media 8 as Coleman Oil. If a media number other than 8 is used, the Media command in the ColeTend chain must be changed to reflect the new media.
3. Style a Coleman Oil media button onto the Tender page and give it the command Chain to ColeInit.
4. Edit the ColeTend chain as needed after the AcceptIt label to reflect the printing and file updating needs of that application.
5. Style a Coleman Oil media button onto the Overring page and give it the command Chain to ColeCred.
6. Edit the ColeOver chain as needed at the Do Other Stuff comment to reflect the printing and file updating needs of that application.
7. Optional – A Debugging button can be placed on the Manager Functions page, TraPr Functions page, or some similar restricted access screen. Label the button Analyze Coleman Oil Card and give it the Chain to ColeDbg command.
8. The module was written specifically for a keyboard wedge mag stripe reader and would need restyling if some other type of reader were used.At this point, the application will support the Coleman Oil card, and subsequent stores should only need to have the steps listed in the Configuration section performed.
ConfigurationConfiguration will need to be performed for each store and assumes that the Coleman Oil module has already been styled into the application.
1. In the application directory, edit Cole-Bat.Bat.
2. Change the /SITENUM= command line switch to reflect the site number for that store. Add leading zeros as necessary to assure that this is a four digit number. For many stores it is expected that this is the only switch that will need to be set.
3. If the store uses other than the standard participant ID code 094, change the /PARTCODE= command line switch as needed. Add leading zeros as necessary to assure that this is a three digit number.
4. If the store uses other than the standard codes shown on the /AUTHCODE= command line switches, change them as needed. Note that this switch is unique in that there can be more than one occurrence of the switch and it has two different forms. See the Executable Syntax section for more details.
5. Save and Exit the file, then repeat these steps for Cole-Dbg.Bat.
6. If you have a more current copy of the Lockout.Aco file, replace the existing one in the DATA subdirectory.
7. After training and prior to going live, be sure to erase the Coleman.Txt file in the reports subdirectory.Operation
After an order has been rung, the Coleman Oil button is pressed. The user is then prompted to swipe the card after which a window pops up confirming approval, or giving a reason for rejection. Reasons for rejection are explained in the Variable Usage section. After approval the check is closed and a new order can be started. After rejection, control returns to the tender screen.
Optionally, an amount can be entered prior to pressing the Coleman Oil button. If the amount entered is less than the amount due, an error window will inform the user that this is not allowed. The reason for this being that leaving the check open after an amount was posted to the batch allows for events that would cause the Media reports not to balance with the actual batch deposited.
If the amount entered is more than the amount due, a window will offer the user one of three choices. They can accept the amount they entered, they can change the amount entered to the amount due, or they can cancel and return to the tender screen.
The Overring function works similar to the regular authorization except that it posts to the batch as a credit. Note that the card must still be swiped as part of the overring process.
There is no manual entry of a Coleman Oil card. This is because the batch requires information only encoded on the mag stripe and not visible to the cardholder.
The Analyze Coleman Oil Card button runs the interface with a dummy amount using the /DEBUG and /NOPOST command line switches. It causes the executable to display internal information to the screen and not post it to the batch. This can be useful when debugging a new application or determining how a particular card is being read.
The ColeRpt executable is not currently linked into any styling. When run from the application directory it creates ColeRpt.Rp in the Reports subdirectory containing an image of a batch detail report. This can then be copied to a printer or exported to other software as desired.
Executable SyntaxCOLEMAN /SITENUM=xxxx /PARTCODE=xxx /AUTHCODE=xx {optional switches}
* /SITENUM=site number – This is a unique number for each restaurant and must be four digits in length.
* /PARTCODE=participant ID code – All Coleman Oil cards currently use code 094, but this may change in the future. This number must be three digits in length.
* /AUTHCODE=authorization code or authorization code range – This command line switch is a little different in that it can occur on the command line as many times as necessary, only limit being that the total command line can not have more than 127 characters. A single two digit code can be specified or a range can be defined by separating the low end and high end of the range with a dash(-).
Ex: /AUTHCODE=00-02 /AUTHCODE=44
* /DEBUG – Causes the program to display internal information to the screen and can be useful in troubleshooting. The program still executes and posts data normally.
* /NOPOST – Prevents output to the transaction file. This can be useful when debugging or testing where you don’t actually want to submit a test transaction.Sample Report
*** Coleman Oil Detail Report ***
Site 1234
Fri, Sep 22, 2000 5:53pm
Seq Date Time Check
Account Card Amount
1 000821 1452 2123456 1234567 3.56
2 000823 0953 0
123456 1234567 1.23
3 000823 1044 16
123456 1234567 2.30
4 000824 1053 17
123456 1234567 2.40
5 000824 1506 19
123456 1234567 2.40
6 000922 1744 22
123456 1234567 -5.33
7 000922 1753 23
123456 1234567 -5.00
==================================
7 Charges for $ 1.56
Variable Usage
Read From Touchnet
* Amount – Amount to be posted
* Check Number
* Decimal Time – Posting time
* Decimal Date – Posting date
* TraPr:Track2 – Contains raw swipe imageWritten To Touchnet
* Memo1 – Reason for refusal. Blank if card accepted. See table for possible values.
* Index – Contains result number of executable. See table for possible values.
* TraPr:Account – Returns the account number. This is not currently used by the styling module.Status(Index) Reason(Memo1) Explanation
0 (blank) Transaction was approved.
1 Could not read card Data read did not conform to a valid Coleman Oil format.
2 Invalid Participant ID code Participant ID code on card did not agree with ID code used for this application.
3 Invalid product authorization code Product authorization code did not match one of the allowable codes for this application.
4 Card number rejected Card is on the lockout list supplied by Coleman Oil.
5 No amount to process Can not process an amount of zero.
8 Authorization file missing Lockout.ACO file is missing from the Data directory. Contact Coleman Oil.
9 (blank) This value is reserved for a shell failure. The styling module sets index to this value. If the shell fails to run, or Coleman errors out, this value will be retained and the module will report an Internal Error has occurred.
TechnicalThe Coleman executable reads only Z:Variable.Txt to get the information passed from Touchnet, and DataLockout.Aco to get a list of bad cards. It identifies the card as a Coleman Oil card by identifying the signature(=1220=) somewhere in the first seven characters of the card, and by the total number of characters in the swipe. The exact number can vary depending on the card format. Coleman currently has 7 card formats, of which five can potentially be accepted by the restaurant.
Once the card is accepted, it is checked for a valid amount, participant ID, and authorization code. Then the Lockout.Aco file is scanned for the card and account numbers. If found, the card is rejected. Otherwise it is approved and posted to the ReportsColeman.Txt file.A negative amount is handled as a credit, and is identical to a regular posting with the exception of a minus sign as the first character in the amount field.
The ColeRpt module reads only the ReportsColeman.Txt file and creates a ReportsColeRpt.Rp file. The created file is suitable for printing on a 40 column printer, but can be printed to an 80 column printer or exported. It contains no control codes that would make it printer specific.
FormatsColeman Oil Card Track 2
* =1220=CCCCCCIIIAAAAAAVVVV=EEEELPP5M 6 digit card numbers
* =1220=CCCCCCIIIAAAAAAVVVV=EEEELPP5MX 7 digit card numbersColeman.Txt
Fixed Width format with blanks and numbers padded with leading zeros.
Description Length Comments
Date 6 YYMMDD Format
Time 4 Military time
Account Number 6
Card Number 7
Vehicle Number 4
Product Authorization Code 2
Transaction Number 4 Check Number
Site Number 4
Dollar Amount 8 No decimal pointSample File
000821145212345612345671234120002123400000356
000823095312345612345671234000000123400000123
000823104412345612345671234000016123400000230
000824105312345612345671234000017123400000240
0008241506123456123456712340000191234-0000240
Lockout.Aco
Description Length
Account Number 6
Card Number 7
Reserved For Future Use 7Sample File
00094555828740000000
00152500000000000000
00220000000000000000
01297415170230000000
Revisions
8/24/00 Version 1.00 rw
1. Initial Release
9/25/00 Version 1.01 rw
1. Enhanced the batch report to include the date, time, and account number.
2. Added ability to overring a Coleman Oil media and post it as a credit. -
AuthorPosts
- You must be logged in to reply to this topic.