Herunterladen Inhalt Inhalt Diese Seite drucken

Example 3: Assisted Sales - Datalogic F732 WIZARD Bedienungsanleitung

Inhaltsverzeichnis

Werbung

A
A.3

EXAMPLE 3: ASSISTED SALES

This example shows how all EasyGen™ options work.
The idea is to assist sales by referring to an item database inside the Formula
terminal. Thanks to a customized menu, it is possible to organize the client
management and get an on-line total cost for him.
Two ASCII files must be created (with any DOS-Windows ASCII compatible text
editor). The first file is INPUT.DAT, which contains the article codes of the warehouse
and gives them an item description and unit price. The second one is CLIENT.DAT,
which contains a reference table with a Client Code and a Client Description.
The program starts by offering a personalized menu through the MENU function,
which allows the creation of a series of customizable items associated with a
keyboard character (see par. 5.5).
Two choices are available: the client setting and the cost setting. If the client setting
is selected, the program will refer to the CLIENT.DAT table. In this way all the
following "cost" readings will refer to that particular client and a client code field
appears in the output table.
The code scanning allows to verify the presence or lack of the code in the warehouse
and get the item description, its unit price, and (after entering the item "quantity
found") its total cost.
The "search functions" are used in the example to search for the code in the internal
database, while the "mathematical functions" allow to calculate the total costs.
There are two exceptions. The first one occurs when the article is requested. In this
case the program goes back to the main menu by pressing F1. This allows to close
the cost for a client and to go on with a new client's setting.
The second exception regards the progressive calculation of the total. The Increase
variable sums all the separate costs Then, by pressing F2 instead of Enter to
continue, it is possible to see on the display a client total cost up to that moment. This
does not mean that the sale is closed, rather that it can be displayed (check) at all
times.
There are three Tables:
INPUT TABLE: contains the field structure of the code reference table (created
with DOS edit command) with the item description and its price. The file should
be called INPUT.DAT and its fields are: ARTICLE - DESCRIPTION - PRICE.
CLIENT TABLE: contains the field structure of the client reference table (created
with DOS edit command) with the client code and the client description. Its fields
are: CLIENT CODE - CLIENT DESCRIPTION.
OUTPUT TABLE: contains the field structure of the output table (data
downloading): DATE, TIME, CODE, QUANTITY, TOTAL.
86
EASYGEN™

Quicklinks ausblenden:

Werbung

Kapitel

Inhaltsverzeichnis
loading

Inhaltsverzeichnis