116 lines
3.4 KiB
Groff
116 lines
3.4 KiB
Groff
.TH sale "" "" "/act/sales Command"
|
|
.PC "Enter sale order, and item, update customer"
|
|
.B sale
|
|
.PP
|
|
.II "sales order"
|
|
The command
|
|
.B sale
|
|
is part of the accounting/sales system included with
|
|
.BR /rdb .
|
|
It enters a sales order into table
|
|
.B saleorder
|
|
and items into table
|
|
.BR saleitem .
|
|
It also permits an order-taker to add a new customer to
|
|
the customer-information table
|
|
.BR customer ,
|
|
or to update information on an existing customer.
|
|
.SH Example
|
|
.B sale
|
|
is interactive, to allow you to confirm each action.
|
|
First, it asks for customer number.
|
|
If you give it a number, it looks the number up in table
|
|
.BR customer .
|
|
If it finds a customer with that number, it displays information
|
|
on that customer for you to confirm.
|
|
If you do not have the customer's number, you can search with
|
|
the slash string option or enter the question mark to enter
|
|
.BR customer .
|
|
There, you can search for the customer or add a new customer.
|
|
.PP
|
|
The following gives an example order-entry session:
|
|
.DM
|
|
MakeaPile, Inc. saleorder
|
|
Enter Customer Number (? for new, /string search, Return to exit) \fB1\fP
|
|
Vendor Number 1
|
|
Mr. Luke Skywalker CEO
|
|
.sp \n(pDu
|
|
Rebel Enterprises
|
|
123 Lea Street
|
|
Space Port City, Far Side 123456789 Tatooy
|
|
.DE
|
|
.DM
|
|
Code Qty
|
|
------- -------
|
|
\fBrdb 1\fP
|
|
Order Number Code Backord Qty Price Total Name
|
|
------- ------- ------- ------- ------- ------- ------- -------
|
|
1 1 rdb 10 1 1500 1500.00 /rdb
|
|
Number Cust Date Shipped Gross Tax Total
|
|
------ ---- ------- ------- ------- ------- -------
|
|
1 2 850723 0 1500.00 75.00 1575.00
|
|
.DE
|
|
.DM
|
|
Is this correct? (y, n) \fBy\fP
|
|
.DE
|
|
.PP
|
|
After you have confirmed the order, table
|
|
.B sale
|
|
modifies table
|
|
.BR salesorder ,
|
|
as follows:
|
|
.DM
|
|
Number Cust Date Shipped Gross Tax Total
|
|
------ ---- ------- ------- ------- ------- -------
|
|
1 2 850723 860525 1500.00 75.00 1575.00
|
|
2 2 850724 860525 3000.00 150.00 3150.00
|
|
3 3 850902 860525 22500.00 1125.00 23625.00
|
|
4 3 850902 0 36000.00 1800.00 37800.00
|
|
5 3 850902 0 21000.00 1050.00 22050.00
|
|
.DE
|
|
.PP
|
|
It also modifies table
|
|
.BR salesitem ,
|
|
as follows:
|
|
.DM
|
|
Order Number Code Backord Qty Price Total Name
|
|
------- ------- ------- ------- ------- ------- ------- ----
|
|
1 1 rdb 10 1 1500 1500.00 /rdb
|
|
2 1 rdb 10 2 1500 3000.00 /rdb
|
|
3 1 rdb 10 5 1500 7500.00 /rdb
|
|
3 2 act 10 10 1500 15000.00 /act
|
|
4 1 rdb 10 5 1500 7500.00 /rdb
|
|
4 2 rdb 10 19 1500 28500.00 /rdb
|
|
5 1 rdb 10 5 1500 7500.00 /rdb
|
|
5 2 act 10 9 1500 13500.00 /act
|
|
.DE
|
|
.PP
|
|
Once you enter the correct customer number,
|
|
.B sale
|
|
gives you a table of items to enter.
|
|
Type in
|
|
.B Code
|
|
and
|
|
.BR Qty ,
|
|
and the program looks up the other information in the inventory.
|
|
Verify that the information is correct and make sure
|
|
that you have enough in inventory to satisfy the order.
|
|
Continue entering items until you are through.
|
|
Pressing \fB<Return>\fR indicates that you are finished;
|
|
.B sale
|
|
then calculates the totals for the order, including tax.
|
|
.PP
|
|
This program uses the commands
|
|
.B cursor
|
|
and
|
|
.B termput
|
|
to maneuver about the screen.
|
|
.SH "See Also"
|
|
.B
|
|
cursor,
|
|
invoice,
|
|
postar,
|
|
termput
|
|
.R
|
|
.SO sale
|