The Import Transaction function works the same as ImpTRN.EXE (a stand-alone executable - refer to Doc\ImpTRN.txt for details) and is located under the Special Menu.
The file from which the data is imported is defined by the Import File Name setting in Transaction, Parameters, Dataport. Before the function runs, it checks the TrnMrg.INI file located in the Data folder which is used to control how the import works (see Doc\ImpLines.txt for more info).
The Import Transaction function will alternately read in an input file with "MI" (for Manual Import) added to the beginning of the filename if the standard Dataport-Import file is not found. In other words: If "C:\Keystroke\Data\Trn1.kfi" is not found but "C:\Keystroke\Data\MITrn1.kfi" already exists, then the "M1Trn1.kfi" file is be read in instead. This is to be used when a file created by another program is to be imported and the Dataport Export parameter is also being used since the Export function always deletes the standard import file ("Trn1.kfi") when it runs.
Below is a sample file that includes the fields supported by Import Transactions:
**START TRANSACTION
Clerk Number=
Clerk Initials=
Comment=
Customer Number=
Customer Code=
Customer Name=
Customer Phone=
Customer Birth Date=
Customer Exp Date=
Customer Business Name=
Customer First Name=
Customer Last Name=
.**Customer First+Last Name=
Customer Alternate Name/Address=
Customer Mailing Address=
Customer Mailing City=
Customer Mailing State=
Customer Mailing Zip=
.**Customer Mailing City/State/Zip=
Customer Phone #2=
Customer Salutation=
Customer Shipping Address=
Customer Shipping City=
Customer Shipping State=
Customer Shipping Zip=
.**Customer Shipping City/State/Zip=
Customer Tax Number=
Invoice Date=
Invoice Discount=
Invoice Letter=
Invoice Number=
Invoice Time=
Layaway/Order=
Order Date=
Order Number=
Price Table=
Register Number=
Sales Person Number=
Sales Person Initials=
.**Sales Tax Amount or .EXEMPT.=
Shipping Charge=
Store Number=
Tax Table=
**START LINE ITEM
Stock Number=
Product Code=
Class=
Description=
Manufacturer=
Quantity Ordered=
Quantity Shipped=
Price=
Cost=
Sale Unit=
Tax Code=
Price Code=
Department=
Comment=
Commission Code=
Base Price=
List Price=
Sales Person Number=
Flags=
**END LINE ITEM
**END TRANSACTION