|
|
DataMuseum.dkPresents historical artifacts from the history of: CP/M |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about CP/M Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 102656 (0x19100)
Types: TextFile
Names: »D92«
└─⟦5dbd6b396⟧ Bits:30005867/disk12.imd Dokumenter (RCSL m.m.)
└─⟦this⟧ »D92«
\f
T_a_b_l_e_ _o_f_ _C_o_n_t_e_n_t_s_ P_a_g_e_
V_o_l_u_m_e_ _I_I_:_
5.5 Order Entry 4
5.6 Invoicing 107
\f
5_._5_ _ _O_r_d_e_r_ _E_n_t_r_y_
L_i_s_t_ _o_f_ _C_o_n_t_e_n_t_s_ P_a_g_e_
Introduction 5
Outline of Transactions 9
Tables 10
5.5.0 Main Control - an Outline 17
5.5.1 Create Order 18
5.5.2 Update Order 24
5.5.3 Order Head Amendment 28
5.5.4 Voucher End 30
5.5.5 Erase Order 33
5.5.6 Create Line 43
5.5.7 Update Line 66
5.5.8 Erase Line 71
5.5.9 Cancellation 73
\f
5.5 O_r_d_e_r_ _E_n_t_r_y_
I_n_t_r_o_d_u_c_t_i_o_n_
The order entry includes a sequence of transactions for cre-
ation, updating, and deletion of orders. The transactions,
which the Skeleton Program makes available for the adaption,
are explained briefly in the following passages.
C_r_e_a_t_e_ _O_r_d_e_r_ _(_A_A_,_ _A_B_,_ _A_C_)_ is a voucher start transaction
that creates a new order, i.e. an order whose number has not
already been used in the order logical file. The order num-
ber can either be given automatically from the user record
by increasing the last given used order number by 1, or it
can be read from the transaction. The three SKP line codes
point out a customer - , a supplier - or a department record,
respectively, in the deb-cred logical file and result in a
creation of a sales-, a purchase- or a production order re-
cord, respectively, in the order logical file. By a transac-
tion the order - and deb-cred record are protected against
other terminals as long as the voucher is unfinished - i.e.
until the voucher end transaction has been accomplis- hed.
U_p_d_a_t_e_ _O_r_d_e_r_ _(_A_D_,_ _A_E_,_ _A_F_)_ refers to a previously created or-
der (the record type is pointed out by the line code) and
works like a voucher start transaction. By the transaction a
voucher start transaction and a sequence of voucher line re-
cords are made, corresponding to the already existing order
lines, in the terminal area.
O_r_d_e_r_ _H_e_a_d_ _A_m_e_n_d_m_e_n_t_ _(_A_G_)_ is a voucher line transaction which
makes it possible to change the user>s information in the
order master record for the order in question (the running
order).
\f
5_._5_ _ _O_r_d_e_r_ _E_n_t_r_y_
V_o_u_c_h_e_r_ _E_n_d_ _(_A_J_)_. By the transaction the order is calculated
(compare with the description in section 5.7, voucher calcu-
lation), the protection of the deb-cred - and order record
is cancelled and the voucher is delivered for print out
(compare with section 5.11). The order - and deb-cred - re-
cord is fetched for a possible updating with the calculated
balances (adaption). In addition a reference record (deb
cred order list) is created between the deb cred - and the
order records.
E_r_a_s_e_ _O_r_d_e_r_ _(_A_K_,_ _A_L_,_ _A_M_)_ is a single transaction which enab-
les the deletion of a whole, previously created order by de-
leting the order lines of the order during a scan. The dele-
tion means that the record continues to exist in the data-
base but it can be removed physically by running a clearing
program (batch). The killing can be deviated on the order
line level in the adaption, which results in the survival of
a part of the order. It is possible (adaption) to print the
killed order lines in connection with the transaction.
C_r_e_a_t_e_ _L_i_n_e_ _(_A_N_,_ _A_O_,_ _A_P_,_ _A_Q_)_ is a voucher line transaction
which - dependent of the SKP line code - results in the cre-
ation of an item - an addition -, a comment - or a discount
line, respectively. Each line (= the creation transaction)
is assigned with a line number and a serial number. If a
transaction results in the creation of several order line
records - e.g. as a result of a part-list breakdown - all
the delivered order line records are given the same line
number as the creation transaction, while the serial number
is counted for each inserted order line record.
Concerning item - or additions lines (AN, AO) 3 lines are
distinguishable: neutral -, parent - and part lines. The pa-
rent - and part lines are part of a parts-list structure
within the voucher, while the neutral lines are independent\f
5_._5_ _ _O_r_d_e_r_ _E_n_t_r_y_
of all other voucher lines. Concerning item-/addition lines
the Skeleton Program makes it possible:
Manually to establish a one-level parts-list structure
between the order lines. It is necessary that the part
order lines are created later in the voucher than the
parent order line and that the creation transaction
contains the serial number of the parent order line as
a reference.
Automatically to establish a one-level parts-list
structure between the order lines by using the parts-
list of the item.
Automatically to form one back order line as a supple-
ment to the keyed in (neutral or parent) order line.
Only for item lines.
To make a scan of the previously created order lines
with a connection to a certain (parent) item. Only for
item lines.
A cancellation of created lines from the same transac-
tion (e.g. in case of shortage).
The above mentioned Skeleton Program functions are partly
controlled by the adaption through the communication vari-
ables.
U_p_d_a_t_e_ _L_i_n_e_ _(_A_R_,_ _A_S_,_ _A_T_,_ _A_U_)_ is used for correcting the pre-
viously created lines (item-, addition-, comment- or dis-
count line, respectively) within the running voucher. The
transaction must contain the serial number of the line which
is to be corrected. If the pointed out line is a parent item
- or addition line the correction can be made for all the
part lines (controlled by the adaption). \f
5_._5_ _ _O_r_d_e_r_ _E_n_t_r_y_
E_r_a_s_e_ _L_i_n_e_ _(_A_V_,_ _A_V_1_)_ is used for deletion of previously cre-
ated lines (item-, addition-, comment- or discount lines)
within the running voucher. For each line type the transac-
tion exists in two forms: one is a deletion transaction with
reference to the serial number (AV) and the other is a
transaction with reference to the line number (AV1). The
transaction uses the general cancellation process (compare
with the passage below) and the main part of the code is
therefore placed together with this process in block 12. De-
letion is done by killing (compare with Erase Order).
C_a_n_c_e_l_l_a_t_i_o_n_ is a general process used in connection with
different deleting and creating transactions:
- Create Line (in orders, cf. the passage above).
- Erase Line (do.)
- Create Line (in invoice, cf. section 5.6).
- Erase Line (do.)
- Erase Account Entry Line (cf. section 5.9).
The process presupposes a correct sorting of the terminal
area and a correct assignment of restrictions on the termi-
nal area records - this is done by the adaption. The Skele-
ton Program performs a scan of the sorted terminal file con-
sidering the mentioned restrictions and makes certain that
the database records in question are available for the re-
version of information from the cancelled voucher records.
All deletion is done by killing.
\f
5_._5_ _ _O_r_d_e_r_ _E_n_t_r_y_
In connnection with the order entry the general transactions,
D_i_s_p_l_a_y_ _V_o_u_c_h_e_r_ and C_a_l_c_u_l_a_t_e_ _a_n_d_ _D_i_s_p_l_a_y_ _V_o_u_c_h_e_r_ (cf. section
5.7.2), can be used on voucher line level, i.e. before the
Voucher End transaction.
O_u_t_l_i_n_e_ _o_f_ _T_r_a_n_s_a_c_t_i_o_n_s_
s_k_p_ _l_i_n_e_ _c_o_d_e_ T_r_a_n_s_a_c_t_i_o_n_ _n_a_m_e_ V_a_r_i_a_n_t_
AA Create Order sales order
AB do. purchase order
AC do. production order
AD Update Order sales order
AE do. purchase order
AF do. production order
AG Order Head Amendment
AJ Voucher end
AK Erase Order sales order
AL do. purchase order
AM do. production order
AN Create Line item line
AO do. addition line
AP do. commment line
AQ do. discount line
AR Update Line item line
AS do. addition line
AT do. comment line
AU do. discount line
AV Erase Line item line with serial
number
AV1 do. do. with line no.
\f
5_._5_ _ _O_r_d_e_r_ _E_n_t_r_y_ _-_ _T_a_b_l_e_s_
T_a_b_l_e_ _1_ _C_r_e_a_t_e_ _o_r_d_e_r_
D5
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
skp _ DUET deb _ od _ rec _type 1
line-code instr. cred _type type _in _ta comment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.AA. D10 501 701 7501 create sales order
.AB. D11 502 702 7502 - purchase order
.AC. D12 503 703 7503 - production order
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
501: Customer 701: Sales order 7501: Voucher start
502: Supplier 702: Purchase order 7502: - -
503: Department 703: Production Order 7503: --
T_a_b_l_e_ _2_ _U_p_d_a_t_e_ _o_r_d_e_r_
D5
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
skp _ DUET od _ rec _type 1
line-code instr. type _in _ta comment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.AD. D15 701 7501 Voucher start update sales order
.AE. D16 702 7502 Voucher start update purchase order
.AF. D17 703 7503 Voucher start update production order
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
T_a_b_l_e_ _3_ _ _U_p_d_a_t_e_ _O_r_d_e_r_
D150
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
od _ DUET deb _
type instr. cred _type deb _cred _ident comment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
701 D175 501 od _dc _reference
702 D176 502 -
703 D177 503 -
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
\f
5_._5_ _ _O_r_d_e_r_ _E_n_t_r_y_ _-_ _T_a_b_l_e_s_
T_a_b_l_e_ _4_ _U_p_d_a_t_e_ _O_r_d_e_r_
M_
D155
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
odl _rec DUET rec _type2
_type instr. _in _ta fetch
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2101 D160 7505 item S3
2102 D161 7506 item S3
2103 D162 7507
2104 D163 7508
2111 D164 7509 item S3
2112 D165 7510 item S3
2113 D166 7511
2114 D167 7512
2121 D168 7513 item S3
2122 D169 7514 item S3
2123 D170 7515
2124 D171 7516
P_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
T_a_b_l_e_ _5_ _ _O_r_d_e_r_ _H_e_a_d_ _A_m_e_n_d_m_e_n_t_
D120
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
curr _skp _ DUET od _
voucher _type instr. type comment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.AA. or .AD. D21 701 sales order
.AB. or .AE. D22 702 purchase order
.AC. or .AF. D23 703 production order
P_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \f
5_._5_ _ _O_r_d_e_r_ _E_n_t_r_y_ _-_ _T_a_b_l_e_s_
T_a_b_l_e_ _6_ _E_r_a_s_e_ _O_r_d_e_r_
D5
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
skp _ DUET od _
line _code instr. type comment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.AK. D27 701 sales order
.AL. D28 702 purchase order
.AM. D29 703 production order
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
T_a_b_l_e_ _7_ _ _E_r_a_s_e_ _O_r_d_e_r_
D250
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
od _ DUET deb _cred _ rec _type2
type instr. type deb _cred _ident _in _ta
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
701 D265 501 od _dc _reference 7501
702 D266 502 - - - 7502
703 D267 503 - - - 7503
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
\f
5_._5_ _ _O_r_d_e_r_ _E_n_t_r_y_ _-_ _T_a_b_l_e_s_
T_a_b_l_e_ _8_ _E_r_a_s_e_ _O_r_d_e_r_ _S_u_b_f_u_n_c_t_i_o_n_
D315
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
odl _rec rec _type1
_type _in _ta
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2101 7505
2102 7506
2103 7507
2104 7508
2111 7509
2112 7510
2113 7511
2114 7512
2121 7513
2122 7514
2123 7515
2124 7516
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
\f
5_._5_ _ _O_r_d_e_r_ _E_n_t_r_y_ _-_ _T_a_b_l_e_s_
T_a_b_l_e_ _9_ _C_r_e_a_t_e_ _L_i_n_e_
D5
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
skp _ skp _ skp _
skp _ DUET curr _skp DUET rec _ line _ ta _
line _code instr voucher _type instr type type type comment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
? ? := := :=
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.AN. D35 .AA. or .AD. D36 2101 2 7505 item line S
.AN. D35 .AB. or .AE. D37 2111 2 7509 - - P
.AN. D35 .AC. or .AF. D38 2121 2 7513 - - Pr
.AO. D40 .AA. or .AD. D41 2102 3 7506 addition line S
.AO. D40 .AB. or .AE. D42 2112 3 7510 - - P
.AO. D40 .AC. or .AF. D43 2122 3 7514 - - Pr
.AP. D45 .AA. or .AD. D46 2103 0 7507 comment line S
.AP. D45 .AB. or .AE. D47 2113 0 7511 - - P
.AP. D45 .AC. or .AF. D48 2123 0 7515 - - Pr
.AQ. D50 .AA. or .AD. D51 2104 1 7508 discount line S
.AQ. D50 .AB. or .AE. D52 2114 1 7512 - - P
.AQ. D50 .AC. or .AF. D53 2124 1 7516 - - Pr
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
S: Sales order, P: purchase order, Pr: Production order
?: part of condition
:= assignment of the variable
\f
5_._5_ _ _O_r_d_e_r_ _E_n_t_r_y_ _-_ _T_a_b_l_e_s_
T_a_b_l_e_ _1_0_ _C_r_e_a_t_e_ _L_i_n_e_ _(_o_r_d_e_r_ _l_i_n_e_ _s_c_a_n_)_
M_
D460
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
odl _rec DUET copy _
_type instr. rec _type comment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2101 D461 7550 item - sale
2102 D462 7551 addition - sale
2111 D463 7552 item - purchase
2112 D464 7553 addition - purchase
2121 D465 7554 item - production
2122 D466 7555 addition production
P_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
T_a_b_l_e_ _1_1_ _ _C_r_e_a_t_e_ _L_i_n_e_ _(_p_a_r_t_s_-_l_i_s_t_ _s_c_a_n_)_
M_ D490
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
it _part DUET od _ DUET part _od part _
item _type instr. type instr. line _type voucher _type
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
? ? := :=
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
601 D496 701 D500 2101 7505
601 D496 702 D501 2111 7509
601 D496 703 D502 2121 7513
602 D497 701 D503 2102 7506
602 D497 702 D504 2112 7510
602 D497 703 D505 2122 7514
P_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
? part of the condition
:= assignment of the variable
\f
5_._5_ _ _O_r_d_e_r_ _E_n_t_r_y_ _-_ _T_a_b_l_e_s_
T_a_b_l_e_ _1_2_ _E_r_a_s_e_ _L_i_n_e_
D5
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
skp _ DUET line _
line _code instr. kind comment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.AV. D60 0 erase order line by serial no
.AV1. D65 1 erase order line by line no
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
\f
5.5.0 O_r_d_e_r_ _E_n_t_r_y_ _-_ _M_a_i_n_ _C_o_n_t_r_o_l_
(tegning)
\f
5.5.1 C_r_e_a_t_e_ _O_r_d_e_r_
(tegning)
\f
5_._5_._1_ _ _C_r_e_a_t_e_ _O_r_d_e_r_
(tegning)
\f
5_._5_._1_ _ _C_r_e_a_t_e_ _O_r_d_e_r_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 1
Designation : Read the deb _cred keys (general key rea-
ding)
Reading : From input buffer
Writing :
Conditions
for activa-
tion : After interpretation of the line code
(adp 0)
Comm. vari-
ables : read _set (call):
16 deb-cred master
deb _cred _type (call):
indicates the record type for the
deb-cred master
Use : Reading of the record identifier to the key
in question
Block refe-
rence : B(adp _block _2,3)
Next adap-
tion point : Adp 2
\f
5_._5_._1_ _ _C_r_e_a_t_e_ _O_r_d_e_r_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 2
Designation : Check the deb-cred information
Reading : From input buffer
Writing :
Conditions
for activa-
tion : After fetching the deb-cred master
comm. vari-
ables : order _no _in _trans
= 0: the order number is assigned au-
tomatically.
= 1: the order number is read into the
variable od _ident
call: 0
answer: 0, 1
admin _vouch _ident _idx
call: .AA.: 5
.AB.: 6
.AC.: 7
answer: optional
Use : Reading of a possible order number in the
transaction.
Control of the deb-cred information (rejec-
tion of order).
Block refe-
rence : B(adp _block 6,1)
Next adap-
tion point : Adp 3 \f
5_._5_._1_ _ _C_r_e_a_t_e_ _o_r_d_e_r_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 3
Designation : Read the order information
Reading : From input buffer
Writing :
Conditions
for activa-
tion : After assignment of the order number.
After create of the order master and
voucher start records
Comm. vari-
ables : parent _dc _wanted
= 0: false
= 1: parent deb-cred will be fetched
and adp4 executed
call: 0
answer: 0,1
Use : Reading of common information for the
order.
Block refe-
rence : B(adp _block 6,2)
Next adap-
tion point : Adp 4 or exit
\f
5_._5_._1_ _ _C_r_e_a_t_e_ _O_r_d_e_r_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 4
Designation : Process parent deb-cred record
Reading :
Writing :
Conditions
for activa-
tion : After fetching the parent deb _cred master
record
Comm. vari-
ables :
Use : Getting information from parent deb-cred
record
Block refe-
rence : B(adp _block _6,3)
Next adap-
tion point : Exit
\f
5.5.2 U_p_d_a_t_e_ _o_r_d_e_r_
(tegning)
\f
5_._5_._2_ _ _U_p_d_a_t_e_ _o_r_d_e_r_
(tegning)
\f
5_._5_._2_ _ _U_p_d_a_t_e_ _O_r_d_e_r_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 1
Designation : Read keys (general key reading)
reading : From input buffer
writing :
Conditions
for activa-
tion : After interpretation of the line code
(adp 0)
Comm. vari-
ables : read _set (call):
17 - order master
od _type (call):
indicates the record type for the or-
der master
Use : Reading of the record identifier to the key
variable in question.
Block refe-
rence : B(adp _block _2,3)
Next adap-
tion point : Adp 2 or exit (errors)
\f
5_._5_._2_ _ _U_p_d_a_t_e_ _O_r_d_e_r_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 2
Designation : Read the information and control the deb-
cred information.
Reading : From input buffer
Writing :
Conditions
for activa-
tion : After fetching the order master and the
deb-cred master.
After creation of the voucher start.
Comm. vari-
ables : Control of deb-cred - and order informa-
tion.
Reading in of common information for the
order updating.
Block refe-
rence : B(adp _block _6, 5)
Next adap-
tion point : Exit
\f
5.5.3 O_r_d_e_r_ _H_e_a_d_ _A_m_e_n_d_m_e_n_t_
(tegning)
\f
5_._5_._3_ _ _O_r_d_e_r_ _h_e_a_d_ _A_m_e_n_d_m_e_n_t_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 1
Designation : Read the information
Reading : From input buffer
Writing :
Conditions
for activa-
tion : After fetching the order master.
After fetching the order voucher start re-
cord
Comm. vari-
ables :
Use : Reading in of information to the order head
amendment.
Block refe-
rence : B(adp _block _6, 20)
Next adap-
tion point : Exit
\f
5.5.4 V_o_u_c_h_e_r_ _E_n_d_
(tegning)
\f
5_._5_._4_ _ _V_o_u_c_h_e_r_ _E_n_d_
(tegning)
\f
5_._5_._4_ _ _V_o_u_c_h_e_r_ _E_n_d_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 1
Designation : Update deb-cred - and order information
Reading :
Writing :
Conditions
for activa-
tion : After fetching the order and deb-cred re-
cord.
After the voucher calculation (cf. section
5.7.1).
After fetching the order voucher start re-
cord.
Comm. vari-
ables : error _in _trans, call: 0
answer: 0 or 1
credit _ok, call: 1
answer: 0 or 1
Use : Updating of user information in the deb-
cred - and order master (normally balance
information) after voucher calculation.
Block refe-
rence : B(adp _block _17,5)
Next adap-
tion point : Adp 1 in print output (cf. section 5.11)
\f
5.5.5 E_r_a_s_e_ _O_r_d_e_r_
(tegning)
\f
5_._5_._5_ _ _E_r_a_s_e_ _O_r_d_e_r_
(tegning)
\f
5_._5_._5_ _ _E_r_a_s_e_ _O_r_d_e_r_
(tegning)
\f
5_._5_._5_ _ _E_r_a_s_e_ _O_r_d_e_r_
(tegning)
\f
5_._5_._5_ _ _E_r_a_s_e_ _O_r_d_e_r_
S_u_b_f_u_n_c_t_i_o_n_:_ _K_i_l_l_ _O_r_d_e_r_ _L_i_n_e_s_
(tegning)
\f
5_._5_._5_ _ _E_r_a_s_e_ _O_r_d_e_r_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 1
Designation : Read the order key (general key reading)
Reading : From input buffer
Writing :
Conditions
for activa-
tion : After the interpretation of the line code
(adp 0)
Comm. vari-
ables : read _set (call):
21 - order master
order _type (call):
indicates the record type for the or-
der master
Use : Reading in of the record identifier to the
key variable in question
Block refe-
rence : B(adp _block 2,3)
Next adap-
tion point : Adp 2
\f
5_._5_._5_ _ _E_r_a_s_e_ _O_r_d_e_r_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 2
Designation : Read information
Reading : From input buffer
Writing :
Conditions
for activa-
tion : After fetching the order record and the
deb-cred record
Comm. vari-
ables : fill _voucher _lines
call: 0
answer: 0, 1
Use : Reading of information (normally control
parameters) for the use of order deletion
with the adjoining back dating of the order
information
Block refe-
rence : B(adp _block _6,10)
Next adap-
tion point : Adp 3 or adp 5
\f
5_._5_._5_ _ _E_r_a_s_e_ _O_r_d_e_r_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 3
Designation : Check the order line
Reading :
Writing :
Conditions
for activa-
tion : After a possible filling in of the voucher
start record.
After fetching the order line
Comm. vari-
ables : kill _order _line
call: 1
answer: 0, 1
Use : Selection of order lines for killing on the
basis of the user>s killing criteria.
Block refe-
rence : B(adp _block _6,11)
Next adap-
tion point : Adp 3, adp 4, or adp 5
\f
5_._5_._5_ _ _E_r_a_s_e_ _O_r_d_e_r_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 4
Designation : Update the item
Reading :
Writing :
Conditions
for activa-
tion : After fetching the item record
Comm. vari-
ables :
Use : Back dating of the item information from a
(killed) order line to the item record
Block refe-
rence : B(adp _block _6,12)
Next adap-
tion point : Adp 5
\f
5_._5_._5_ _ _E_r_a_s_e_ _O_r_d_e_r_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 5
Designation : Update the deb-cred record
Reading :
Writing :
Conditions
for activa-
tion : After scanning the order lines
Comm. vari-
ables :
Use : Back dating of the order information in
the deb-cred record
Block refe-
rence : B(adp _block _6,13)
Next adap-
tion point : Adp 1 in print output (section 5.11) or
exit
\f
5.5.6 C_r_e_a_t_e_ _L_i_n_e_
O_u_t_l_i_n_e_ _o_f_ _t_h_e_ _S_u_b_f_u_n_c_t_i_o_n_s_
(tegning)
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
S_u_b_f_u_n_c_t_i_o_n_:_ _R_e_a_d_ _P_o_s_s_i_b_l_e_ _I_t_e_m_/_A_d_d_i_t_i_o_n_ _K_e_y_
(tegning)
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
S_u_b_f_u_n_c_t_i_o_n_:_ _I_n_s_e_r_t_ _t_h_e_ _O_r_d_e_r_ _L_i_n_e_ _-_ _O_u_t_l_i_n_e_
(tegning)
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
S_u_b_f_u_n_c_t_i_o_n_:_ _I_n_s_e_r_t_ _t_h_e_ _O_r_d_e_r_ _L_i_n_e_ _-_ _R_e_a_d_ _T_r_a_n_s_a_c_t_i_o_n_,_ _F_i_n_d_ _
P_o_s_i_t_i_o_n_
(tegning)
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
S_u_b_f_u_n_c_t_i_o_n_:_ _I_n_s_e_r_t_ _t_h_e_ _O_r_d_e_r_ _L_i_n_e_ _-_ _C_r_e_a_t_e_ _L_i_n_e_s_
(tegning)
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
S_u_b_f_u_n_c_t_i_o_n_:_ _I_n_s_e_r_t_ _t_h_e_ _O_r_d_e_r_ _L_i_n_e_ _-_ _S_c_a_n_ _I_t_e_m_ _O_r_d_e_r_ _L_i_n_e_s_
(tegning)
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
S_u_b_f_u_n_c_t_i_o_n_:_ _I_n_s_e_r_t_ _t_h_e_ _O_r_d_e_r_ _L_i_n_e_ _-_ _S_c_a_n_ _I_t_e_m_ _O_r_d_e_r_ _L_i_n_e_s_
(tegning)
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
S_u_b_f_u_n_c_t_i_o_n_:_ _I_n_s_e_r_t_ _t_h_e_ _O_r_d_e_r_ _L_i_n_e_ _-_ _S_c_a_n_ _P_a_r_t_s_-_L_i_s_t_
(tegning)
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
S_u_b_f_u_n_c_t_i_o_n_:_ _B_a_c_k_-_o_r_d_e_r_i_n_g_
(tegning)
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
S_u_b_f_u_n_c_t_i_o_n_:_ _P_u_t_ _P_a_r_e_n_t_ _I_t_e_m_
(tegning)
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
S_u_b_f_u_n_c_t_i_o_n_:_ _C_a_n_c_e_l_l_a_t_i_o_n_ _o_f_ _t_h_e_ _T_r_a_n_s_a_c_t_i_o_n_
(tegning)
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 1
Designation : Read the item key (general key reading)
Reading : From input buffer
Writing :
Conditions
for activa-
tion : After interpretation of the line code
(adp 0)
Comm. vari-
ables : read set (call):
3 - parent item master
item _type
indicates the record type from the
item master
Use : Reading of the record identifier to the key
variable in question
Block refe-
rence : B(adp _block _2,3)
Next adap-
tion point : Adp 2
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 2
Designation : Read the information
Reading : From input buffer
Writing : After a possible fetch of the item master
Comm. vari-
ables : ref _parent _orderline
call: 0
answer: 0, 1
Use : Reading of the information to the order
line.
Block refe-
rence : B(adp _block _7,1)
Next adap-
tion point : Adp 3
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 3
Designation : Check on the item information and
assignment to the order line.
Reading :
Writing :
Conditions
for activa-
tion : After filling in the order line and the
voucher order line
Comm. vari-
ables : no _ref _parent _ol
call: 1
cancel _wanted
call: 0
parts _list _wanted
call: 0
back _order _wanted
call: 0
it _ol _scanning
call: 0
Use : Calculation of the user information in the
order item line.
Check on item information
Block refe-
rence : B(adp _block _7,2)
Next adap-
tion point : Adp 4, adp 5, adp 8, adp 10, adp 11, adp 12
or exit \f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 4
Designation : Selection of the order line copy
Reading :
Writing :
Conditions
for activa-
tion : If it _ol _scanning = 1
After fetching the previously created order
line
Comm. vari-
ables : copy _wanted _in _ta
call: 0
answer: 0,1
Use : Selection of the previously created order
line, fetched from the item side, for fil-
ling in the copy record in the terminal a-
rea.
Block refe-
rence : B(adp _block _7,3)
Next adap-
tion point : Adp 4 or adp 5
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 5
Designation : Sorting
Reading :
Writing :
Conditions
for activa-
tion : After chain end in the item order line
scan.
Comm. vari-
ables :
Use : Code adaption after selecting the copy re-
cords in the item order line scan.
Sorting of the copy records.
Block refe-
rence : B(adp _block _7,4)
Next adap-
tion point : Adp 6 or adp 7
Comment : In the adaption the general sorting pro-
cedure (algol 1) is available through
TELEOP
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 6
Designation : Calculation on the copy record
Reading :
Writing :
Conditions
for activa-
tion : After fetching the copy record in the
sorted terminal area.
Comm. vari-
ables :
Use : Code adaption on the basis of the copy
record (normal: contribution to the stock
profile)
Block refe-
rence : B(adp _block _7,5)
Next adap-
tion point : Adp 6 or adp 7
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 7
Designation : Terminate calculation on the copy records
Reading :
Writing :
Conditions
for activa-
tion : After terminating the scan of the copy re-
cords.
Comm. vari-
ables :
Use : Updating of the order line - and the item
information on the basis of the item order
line scan.
Block refe-
rence : B(adp _block _7,6)
Next adap-
tion point : Adp 8, adp 10, adp 11, adp 12 or exit
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 8
Designation : Processing the parts-list element
Reading :
Writing :
Conditions
for activa-
tion : After terminating a possible item order
line scan.
If parts _list _wanted = 1.
After fetching the parts-list record.
After fetching the part item.
Comm. vari-
ables : create _orderlines
call: 0
answer: 0,1
Use : Code adaption with information from the
parts-list record and the part item on
hand.
Block refe-
rence : B(adp _block _7,7)
Next adap-
tion point : Adp 8, adp 9 or adp 10
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 9
Designation : Fill in the part order line
Reading :
Writing :
Conditions
for activa-
tion : If gen _orderlines = 1.
After filling in the part order line and
the voucher order line
Comm. vari-
able :
Use : Assignment of information in the part order
line
Block refe-
rence : B(adp _block _7,8)
Next adap-
tion point : Adp 8 or adp 10
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 10
Designation : Updating the parent order line
Reading :
Writing :
Conditions
for activa-
tion : After the chain end in the parts-list.
After fetching the parent order line and
the voucher order line
Comm. vari-
ables : Updating information in the parent order
line on the basis of processing the part
item (in the parts-list scan)
Block refe-
rence : B(adp _block _7,9)
Next adap-
tion point : Adp 11, adp 12 or exit
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 11
Designation : Fill in the back-order line
Reading :
Writing :
Conditions
for activa-
tions : After terminating a possible item order
line scan and/or a parts-list scan.
If back _order _wanted = 1.
After filling in the (back-)order line and
the voucher order line
Comm. vari-
ables :
Use : Assignment of information to the back-order
line (only from the parent item).
Block refe-
rence : B(adp _block _7,10)
Next adap-
tion point : Adp 12 or exit
\f
5_._5_._6_ _ _C_r_e_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 12
Designation : Assign of restrictions
Reading :
Writing :
Conditions
for activa-
tion : If cancel _wanted = 1
Comm. vari-
ables :
Use : Assign of restrictions on S23 (TA) before
call of the cancellation to delete all re-
cords created in the current transaction.
Block refe-
rence : B(adp _block _16,1)
Next adap-
tion point : Adp 1 in cancellation
\f
5.5.7 U_p_d_a_t_e_ _L_i_n_e_
(tegning)
\f
5_._5_._7_ _ _U_p_d_a_t_e_ _L_i_n_e_
(tegning)
\f
5_._5_._7_ _ _U_p_d_a_t_e_ _L_i_n_e_
(tegning)
\f
5_._5_._7_ _ _U_p_d_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 1
Designation : Read the transaction
Reading : From input buffer
Writing :
Conditions
for activa-
tion : After interpretation of the line code
(adp 0).
After reading of the wanted position (se-
rial no.)
After fetching the order line and the
voucher line.
After fetching the (parent) item.
Comm. vari-
ables : change _part _item
call: 0
answer: 0 or 1
Use : Reading of corrections
Block refe-
rence : B(adp _block _7,20)
Next adap-
tion point : Adp 2 or exit
\f
5_._5_._7_ _ _U_p_d_a_t_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 2
Designation : Update the part item and the order line
Reading :
Writing :
Conditions
for activa-
tion : After delivering the parent order line and
the voucher order line.
If the parent line exist.
If change _part _item = 1.
After fetching the part order line and the
voucher order line.
After fetching the part item
Comm. vari-
ables :
Use : Updating of the part order line and
updating of the part item.
Block refe-
rence : B(adp _block _7,21)
Next adap-
tion point : Adp 2 or exit
\f
5.5.8 E_r_a_s_e_ _L_i_n_e_
(tegning)
\f
5_._5_._8_ _ _E_r_a_s_e_ _L_i_n_e_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 1
Designation : Read the information
Reading : From input buffer
Writing :
Conditions
for activa-
tion : After interpretation of the line code
(adp 0).
After reading the wanted position (serial
no. or line no.).
Comm. vari-
ables : line _kind, call: 0 - serial number as
restriction
1 - line no as restric-
tion
2 - all lines
answer: should not be altered
Use : Reading of information used for deletion
(normal: deletion criteria)
Block refe-
rence : B(adp _block _16,1)
Next adap-
tion point : Adp 1 in cancellation
\f
5.5.9 C_a_n_c_e_l_l_a_t_i_o_n_ _-_ _O_u_t_l_i_n_e_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
T_a_b_l_e_ _1_
D871
_ ______________________________________________________________
ta _rec _type DUET instr. Flow Diagram Name
_ ______________________________________________________________
m_7501-7503D874Order Voucher Start
7505-7508D880Voucher Order Line
7509-7512D880 -
7513-7516D880 -
7520-7528D875Invoice Voucher Start
7530-7541D873Invoice Line
7563-7565D877Order Head Copy
7560-7562D878Deb-Cred Copy
7571-7573D962Account Entry Line
p_restD872fetch the next scan set (S23)
_ ______________________________________________________________\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _O_r_d_e_r_ _V_o_u_c_h_e_r_ _S_t_a_r_t_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _V_o_u_c_h_e_r_ _O_r_d_e_r_ _L_i_n_e_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _V_o_u_c_h_e_r_ _O_r_d_e_r_ _L_i_n_e_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _V_o_u_c_h_e_r_ _O_r_d_e_r_ _L_i_n_e_ _-_ _F_e_t_c_h_ _O_r_d_e_r_ _L_i_n_e_ _a_n_d_ _K_i_l_l_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _I_n_v_o_i_c_e_ _V_o_u_c_h_e_r_ _S_t_a_r_t_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _I_n_v_o_i_c_e_ _L_i_n_e_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _I_n_v_o_i_c_e_ _L_i_n_e_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _I_n_v_o_i_c_e_ _L_i_n_e_ _-_ _F_e_t_c_h_ _O_r_d_e_r_ _L_i_n_e_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _I_n_v_o_i_c_e_ _L_i_n_e_ _-_ _P_o_s_s_i_b_l_e_ _O_r_d_e_r_ _R_e_a_c_t_i_v_a_t_i_o_n_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _O_r_d_e_r_ _H_e_a_d_ _C_o_p_y_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _D_e_b_-_C_r_e_d_ _C_o_p_y_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _A_c_c_o_u_n_t_ _E_n_t_r_y_ _L_i_n_e_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _A_c_c_o_u_n_t_ _E_n_t_r_y_ _L_i_n_e_ _-_ _L_i_n_e_ _D_e_l_e_t_i_o_n_,_ _N_e_w_
V_e_r_s_i_o_n_._
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _A_c_c_o_u_n_t_ _E_n_t_r_y_ _L_i_n_e_ _-_ _L_i_n_e_ _D_e_l_e_t_i_o_n_,_ _N_e_w_
V_e_r_s_i_o_n_._
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _A_c_c_o_u_n_t_ _E_n_t_r_y_ _L_i_n_e_ _-_ _L_i_n_e_ _D_e_l_e_t_i_o_n_,_ _N_e_w_
V_e_r_s_i_o_n_ _-_ _P_o_s_s_i_b_l_e_ _E_n_t_r_y_ _S_c_a_n_n_i_n_g_
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
S_u_b_f_u_n_c_t_i_o_n_:_ _A_c_c_o_u_n_t_ _E_n_t_r_y_ _L_i_n_e_ _-_ _L_i_n_e_ _D_e_l_e_t_i_o_n_,_ _O_l_d_
V_e_r_s_i_o_n_._
(tegning)
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 1
Designation : Assign sorting variables and the scan set.
Reading :
Writing :
Conditions
for activa-
tion : Cf. the adaption point descriptions for the
original transactions.
Comm. vari-
ables :
Use : Assignment of the sorting variables to the
sorting procedure.
Assignment of the scan set
Block refe-
rence : B(adp _block _16,11)
Next adap-
tion point : All adp>s except adp 1 (are dependent on
the mode of sorting).
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 2
Designation : Update the deb-cred record and the order
record
Reading :
Writing :
Conditions
for activa-
tion : When ta _rec _type = order voucher start.
After fetching the deb-cred record and the
order record.
After cancelling the protection of the
deb-cred - and order records
Comm. vari-
ables :
Use : Back dating the order information in the
deb-cred - and the order record.
Block refe-
rence : B(adp _block _16,12)
Next adap-
tion point : All adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 3
Designation : Update the item information.
Reading :
Writing :
Conditions
for activa-
tion : When ta _rec _type = voucher order line
After fetching the order record.
After fetching the correct order line re-
cord (wanted _pos = odl _ser _no).
If the order line is an item line.
After fetching the item record
Comm. vari-
ables :
Use : Back dating of the order line information
to the item record.
Block refe-
rence : B(adp _block _16,13)
Next adap-
tion point : All adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 4
Designation : Update the information
Reading :
Writing :
Conditions
for activa-
tion : Like adp 3, but if the order line is not an
item line (no item record is fetched).
Comm. vari-
ables :
Use : A possible updating of the order informa-
tion that does not originate from the order
item lines.
Block refe-
rence : B(adp _block _16,14)
Next adap-
tion point : All adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 5
Designation : Update the deb-cred record
Reading :
Writing :
Conditions
for activa-
tion : When ta _rec _type = invoice voucher start.
After fetching the deb-cred record.
After cancelling the deb-cred protection.
Comm. vari-
ables :
Use : Back dating of invoice information in the
deb-cred record
Block refe-
rence : B(adp _block _16,15)
Next adap-
tion point : All adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 6
Designation : Update the item information
Reading :
Writing :
Conditions
for activa-
tion : When ta _rec _type = invoice line.
If od _ident = 0 (no order reference).
If the invoice line is an item line.
After fetching the item record
Comm. vari-
ables :
Use : Back dating the invoice line information to
the item record
Block refe-
rence : B(adp _block _16,16)
Next adap-
tion point : All adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 7
Designation : Update the information
Reading :
Writing :
Conditions
for activa-
tion : Like adp 6, but if the invoice line is not
an item line (no fetching of the item
record)
Comm. vari-
ables :
Use : A possible updating of invoice information
that does not originate from the invoice
item lines.
Block refe-
rence : B(adp _block _16,17)
Next adap-
tion point : All adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 8
Designation : Update the item information
Reading :
Writing :
Conditions
for activa-
tion : When the ta _rec _type = invoice line.
If od _ident ' 0.
After fetching the order record.
After fetching the correct order line
(wanted _pos = odl _ser _no).
If the order line is an item line.
After fetching the item record.
Comm. vari-
ables :
Use : Back dating of the information in the item
record and the order item line.
Block refe-
rence : B(adp _block _16,18)
Next adap-
tion line : All adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 9
Designation : Update the information
Reading :
Writing :
Conditions
for activa-
tion : Like adp 8 but if the order line is not an
item line (no fetching of the item record)
Comm. vari-
ables :
Use : A possible updating of invoice information
that does not originate from the invoice
item lines.
Block refe-
rence : B(adp _block _16,19)
Next adap-
tion point : All adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 10
Designation : Update the order
Reading :
Writing :
Conditions
for activa-
tion : If ta _rec _type = order head copy.
After fetching the order.
After cancelling the order protection.
Comm. vari-
ables :
Use : Back dating of the invoice information in
the order record.
Occurs in connection with the order invoi-
cing and the deb _cred invoicing.
Block refe-
rence : B(adp _block _16,20)
Next adap-
tion point : All adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 11
Designation : Update the deb-cred record
Reading :
Writing :
Conditions
for activa-
tion : If ta _rec _type = deb-cred copy.
After fetching the deb-cred record.
After cancelling the deb-cred protection.
Comm. vari-
ables :
Use : Back dating invoice information in the
deb-cred record.
Occurs in connection with the deb-cred in-
voicing.
Block refe-
rence : B(adp _block _16,21)
Next refe-
rence : All adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 12
Designation : Update the deb-cred record
Reading :
Writing :
Conditions
for activa-
tion : If ta _rec _type = account entry.
After fetching the deb-cred record and the
account entry record
Comm. vari-
ables : entry _scanning, call: 0
answer: 0, 1
Use : Back dating the account entry information
in the deb-cred record.
Possible killing of voucher line.
Select scanning of the list file for fur-
ther updating of the deb-cred record.
Block refe-
rence : B(adp _block _16,22)
Next adap-
tion point : Adp 13 or all adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 13
Designation : Update the deb-cred record
Reading :
Writing :
Conditions
for activa-
tion : If ta _rec _type = account entry.
After fetching the next account entry re-
cord, which is attached to the current
voucher.
Comm. vari-
ables :
Use : Back dating of account entry information in
the deb-cred record.
Block refe-
rence : B(adp _block _16,23)
Next adap-
tion point : Adp 13 or all adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 14
Designation : Check account entry record
Reading :
writing :
Conditions
for activa-
tion : If ta _rec _type = account entry
After fetching the next account entry re-
cord.
Comm. vari-
ables : entry _scanning, call: 1
answer: 0 or 1
Use : Old version: Check of the account entry re-
cords - possible stop of the entry scan-
ning
New version: Updating of the account entry
record,
Select scanning of account entries for fur-
ther updating of the deb-cred.
Block refe-
rence : B(adp _block _16,24)
Next adap-
tion point : Adp 13, adp 14 or all adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 15
Designation : Update deb _cred (only used in the new SKP-
version)
Reading :
Writing :
Conditions
for activa-
tion : If ta _rec _type = account entry.
If entry _scanning = 1.
After fetching the next account entry re-
cord.
Comm. vari-
ables :
Use : Check account entry record, update the
deb-cred record.
Block refe-
rence : B(adp _block _16,25)
Next adap-
tion point : All adp>s except adp 1
\f
5_._5_._9_ _ _C_a_n_c_e_l_l_a_t_i_o_n_
A_d_a_p_t_i_o_n_ _P_o_i_n_t_ _D_e_s_c_r_i_p_t_i_o_n_
Number : 16
Designation : Select old/new SKP-version
Reading :
Writing :
Conditions
for activa-
tion : If ta _rec _type = account entry
Comm. vari-
ables : Gen _before _scan,
call: 1 - old SKP-version
answer: 1 or 0 - new SKP-version
Use : Select which part of SKP to be used in con-
nection with the current adaption
Block refe-
rence : B(adp _block _16,27)
Next adap-
tion point : Adp 12
\f
5.6 I_n_v_o_i_c_i_n_g_
T_a_b_l_e_ _o_f_ _C_o_n_t_e_n_t_s_ P_a_g_e_
Introduction 108
Outline of the Transactions 111
Tables 114
5.6.1 Voucher Start (in Invoicing) 120
5.6.2 Voucher End (in Invoicing) 125
5.6.3 Create Invoice Line 134
5.6.4 Order Invoicing 148
5.6.5 Debtor/Creditor Invoicing 164
5.6.6 Erase Invoice Line/Invoice Voucher 168
5.6.7 Invoice Head Amendment 170
5.6.8 Compound Order Invoicing 172
5.6.9 Compound Deb/Cred Invoicing 174
\f
5_._6_ _ _I_n_v_o_i_c_i_n_g_
I_n_t_r_o_d_u_c_t_i_o_n_
The invoice treatment covers three types of administrative
operations:
- entering of item movement to and from stock without
simultaneous debiting/crediting of any amount - in
short called >delivery>
- debiting/crediting of item movement - in short called
>accounting>
- invoicing = simultaneous entering of item movement
and debiting/crediting of the amount
In all three cases the operation can be attached to a cus-
tomer (sale), a supplier (purchase) or a department (pro-
duction), which gives a total of nine invoicing variations.
The differentation between the variations takes place on
voucher level assisted by the line code.
V_o_u_c_h_e_r_ _S_t_a_r_t_ _-_ _I_n_v_o_i_c_i_n_g_ _(_F_A_ _-_ _F_I_)_._ By the transactions a
voucher start record is created in the terminal area and the
selected debtor/creditor record is protected against upda-
ting from other terminals, while the voucher is being crea-
ted.
I_n_v_o_i_c_e_ _H_e_a_d_ _A_m_e_n_d_m_e_n_t_ _(_F_U_)_ is a voucher line transaction,
which makes it possible to change user information in the
voucher start record.
V_o_u_c_h_e_r_ _E_n_d_ _-_ _I_n_v_o_i_c_e_ _(_F_J_)_._ By the transaction, the invoice
is calculated (see section 5.7.1, voucher calculation). If
the voucher contains (back-) orderlines, created in connec-
tion with the invoice line creation (see below), then the
central part of the order voucher end is executed (see sec-
tion 5.5). \f
5_._6_ _ _I_n_v_o_i_c_i_n_g_
An account entry record may be created, and it can be at-
tached either to a debtor/creditor record, selected in the
voucher start transaction or to a parent debtor/creditor re-
cord, selected with assistence of the debtor/creditor struc-
ture list. If an order - or debtor/creditor invoicing is
made in connection with the voucher creation (see below)
then the order records are updated. The protection of the
debtor/creditor record is cancelled and the voucher is prin-
ted (see section 5.11).
C_r_e_a_t_e_ _I_n_v_o_i_c_e_ _L_i_n_e_ _(_F_L_,_ _F_M_,_ _F_N_,_ _F_O_)_ is a voucher line tran-
saction which - dependent of the skp _line _code - results in
the creation of item-, addition-, comment- and discount li-
nes, respectively. As by creation of order lines (see sec-
tion 5.5) the voucher lines are given a line number and a
serial number and it is possible to establish a 1 - level
parts-list structure between the invoice lines by using the
parts-list, but it is not possible to establish the corre-
sponding structure manually. Furthermore, the results of the
transaction keyed in, may be cancelled and back-orders can
be created automatically. The transaction is controlled by
the adaption, with the aid of communication variables.
O_r_d_e_r_ _I_n_v_o_i_c_i_n_g_ _(_F_P_)_ is a voucher line transaction which, on
the basis of order lines of a specified order, makes it pos-
sible to create a succession of invoice lines; as long as
the order is not protected by another terminal. If the order
is unprotected then it will be protected. The protection is
cancelled by the voucher end. The Skeleton Program makes all
the order lines available for the adaption; which for the
single order lines decides, if an invoice line is to be
created or not. Invoiced order lines are killed by the
adaption.
\f
5_._6_ _ _I_n_v_o_i_c_i_n_g_
D_e_b_t_o_r_/_C_r_e_d_i_t_o_r_ _I_n_v_o_i_c_i_n_g_ _(_F_V_)_ is a voucher line transaction
which on the basis of orders attached to a specific debtor/
creditor record makes it possible to create a succession of
invoice lines; on the condition that the debtor/creditor re-
cord and the orders are not protected by other terminals. If
the debtor/creditor record and the orders are unprotected,
they will be protected - the protection is cancelled by the
voucher end transaction. The Skeleton Program makes all
attached orders available for the adaption, which for each
order decides whether the order is to be invoiced or not. If
yes, the same process is executed as by order invoicing (see
above).
E_r_a_s_e_ _L_i_n_e_ _(_F_T_1_,_ _F_T_2_,_ _F_T_3_)_ is used for erasure of earlier
created invoice lines within the current invoice voucher.
The erasure may happen either with reference to the serial
number or to the line number. The transaction uses the gene-
ral cancelling process (described in section 5.5.9) and era-
ses records by killing. The FT3-transaction will delete the
whole voucher.
C_o_m_p_o_u_n_d_ _O_r_d_e_r_ _I_n_v_o_i_c_i_n_g_ _(_F_Q_1_ _-_ _F_Q_9_)_ is a single transaction
which executes
- voucher start (invoice)
- order invoicing
- voucher end (invoice)
C_o_m_p_o_u_n_d_ _D_e_b_/_C_r_e_d_ _I_n_v_o_i_c_i_n_g_ _(_F_R_1_ _-_ _F_R_9_)_ is a single transac-
tion which executes
- voucher start (invoice)
- debtor/creditor invoicing
- voucher end (invoice)
In connection with the invoicing transactions the general
transactions d_i_s_p_l_a_y_ _v_o_u_c_h_e_r_ and c_a_l_c_u_l_a_t_e_ _a_n_d_ _d_i_s_p_l_a_y_
v_o_u_c_h_e_r_ (see section 5.7) may be used on voucher line
level, which means before the voucher end transaction.
\f
5_._6_ _ _I_n_v_o_i_c_i_n_g_
O_u_t_l_i_n_e_ _o_f_ _t_h_e_ _T_r_a_n_s_a_c_t_i_o_n_
skp _ transaction Variant
line- name
code
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
FA Voucher Start (invoice) Customer, delivery
FB do. do. accounting
FC do. do. invoicing
FD do. Supplier, delivery
FE do. do. accounting
FF do. do. invoicing
FG do. Department, delivery
FH do. do. accounting
FI do. do. invoicing
FJ Voucher End (invoice)
FK (free)
FL Create Invoice Line Item line
FM do. Addition line
FN do. Comment line
FO do. Discount line
FP Order Invoicing
FQ1 Compound Order Invoicing Customer, delivery
FQ2 do. do. accounting
FQ3 do. do. invoicing
FQ4 do. Supplier, delivery
FQ5 do. do. accounting
FQ6 do. do. invoicing
FQ7 do. Department, delivery
FQ8 do. do. accounting
FQ9 do. do. invoicing
\f
5_._6_ _ _I_n_v_o_i_c_i_n_g_
O_u_t_l_i_n_e_ _(_C_o_n_t_n_d_._)_
skp _ Transaction Variant
line _ Name
code
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
FR1 Compound Deb/Cred Invoicing Customer, delivery
FR2 do. do. accounting
FR3 do. do. invoicing
FR4 do. Supplier, delivery
FR5 do. do. accounting
FR6 do. do. invoicing
FR7 do. Department, delivery
FR8 do. do. accounting
FR9 do. do. invoicing
FS (free)
FT1 Erase Line by the serial number
FT2 do. by the line number
FT3 Erase Voucher
FU Invoice Head Amendment
FV Debtor/Creditor Invoicing
\f
5_._6_ _ _I_n_v_o_i_c_i_n_g_ _-_ _O_u_t_l_i_n_e_ _(_c_o_n_t_n_d_._)_
(tegning 108)
\f
5_._6_ _ _I_n_v_o_i_c_i_n_g_
T_a_b_l_e_ _1_ _ _I_n_v_o_i_c_e_ _V_o_u_c_h_e_r_ _S_t_a_r_t_
M_
D5
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
skp_DUETdeb_invoice
line-instr.cred_type_in_
codetypetacomment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.FA. D10 501 7520customer voucher start delivery
.FB. D11 501 7521 - - - accounting
.FC. D12 501 7522- - - invoicing
.FD. D13 502 7523 supplier voucher start delivery
.FE. D14 502 7524- - - accounting
.FF.D155027525- - - invoicing
.FG.D165037526department voucher start delivery
.FH.D175037527-- - accounting
.FI.D185037528- - - invoicing
P__ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
T_a_b_l_e_ _2_ _ _I_n_v_o_i_c_e_ _V_o_u_c_h_e_r_ _E_n_d_
M_
D417
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
ta_recentry_
_typetype
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
75202301
75212301
75222301
75232302
75242302
75252302
75262303
75272303
75282303
P__ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
\f
5_._6_ _ _I_n_v_o_i_c_i_n_g_
T_a_b_l_e_ _3_ _ _C_r_e_a_t_e_ _I_n_v_o_i_c_e_ _L_i_n_e_
M_
D5
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
skp_DUETcontinue
line-codeinstr.with
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.FL.D30table 3A
.FM.D35table 3B
.FN.D40table 3C
.FO.D45table 3D
P_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
T_a_b_l_e_ _3_A_ _-_ _3_D_
M_
D30, D35,
D40, D45
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
curr_skp_DUETinvoice_skp_skp_od_rec_typel
voucher_instr.type_in_ta_record_type_in_ta
typetatypetype
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.FA.-.FC.D317530750521017017501
.FD.-.FF.D327534750921117027502Table 3A
.FG.-.FI.D337538751321217027503
.FA.-.FC.D367531750621027017501
.FD.-.FF.D377535751021127027502Table 3B
P_.FG.-.FI.D387539751421227037503
.FA.-.FC.D417532750721037017501
.FD.-.FF.D427536751121137027502Table 3C
.FG.-.FI.D437540751521237037503
.FA.-.FC.D467533750821047017501
.FD.-.FF.D477537751221147027502Table 3D
.FG.-.FI.D487541751621247037503
P_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
\f
5_._6_ _ _I_n_v_o_i_c_i_n_g_
T_a_b_l_e_ _4_ _ _C_r_e_a_t_e_ _I_n_v_o_i_c_e_ _L_i_n_e_
S_u_b_f_u_n_c_t_i_o_n_:_ _P_a_r_t_s__l_i_s_t_ _s_c_a_n_
D194
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
it_DUETadmin_dc_invc_item_
typeinstr.typetype
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
601D1985017530
601D1985027534
601D1985037538
602D1995017531
602D1995027535
602D1995037539
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
T_a_b_l_e_ _5_ _ _O_r_d_e_r_ _I_n_v_o_i_c_i_n_g_
D60
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
curr_skp_DUETod_order_copy
voucherinstr.type _in_tacomment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.FA.-.FC.D617017563sales order
.FD.-.FF.D627027564purchase order
.FG.-.FI.D637037565prod. order
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
\f
5_._6_ _ _I_n_v_o_i_c_i_n_g_
T_a_b_l_e_ _6_ _ _O_r_d_e_r_ _I_n_v_o_i_c_i_n_g_
S_u_b_f_u_n_c_t_i_o_n_:_ _O_r_d_e_r_ _L_i_n_e_ _s_c_a_n_
M_
D315
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
odl_recDUETinvc_itemskp_line_
_typeinstr.typetype
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
2101D32075302
2102D32175313
2103D32275320
2104D32375331
2111D32475342
2112D32575353
2113D32675360
2114D32775371
2121D32875382
2122D32975393
2123D33075400
2124D33175411
P_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
T_a_b_l_e_ _7_ _ _O_r_d_e_r_ _I_n_v_o_i_c_i_n_g_
S_u_b_f_u_n_c_t_i_o_n_:_ _P_a_r_t_ _O_r_d_e_r_ _L_i_n_e_
D381
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
odl_recinvc_
_typeitem_type
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
21017530
21027531
21117534
21127535
21217538
21227539
P_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ \f
5_._6_ _ _I_n_v_o_i_c_i_n_g_
T_a_b_l_e_ _8_ _ _D_e_b_t_o_r_/_C_r_e_d_i_t_o_r_ _I_n_v_o_i_c_i_n_g_
D76
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
curr_skp_DUETdeb_creddeb_cred
voucher_typeinstr._typecopy_in_tacomment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.FA.-.FC.D765017560customer
.FD.-.FF.D775027561supplier
.FG.-.FI.D785037562department
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
T_a_b_l_e_ _9_ _ _D_e_b_t_o_r_/_C_r_e_d_i_t_o_r_ _I_n_v_o_i_c_i_n_g_
D615
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
od_order_
typecopy_in_tacomment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
7017563sales order
7027564purchase order
7037565production order
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
\f
5_._6_ _ _I_n_v_o_i_c_i_n_g_
T_a_b_l_e_ _1_0_ _ _C_o_m_p_o_u_n_d_ _O_r_d_e_r_ _I_n_v_o_i_c_i_n_g_
M_
D5
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
skp _ DUET deb _ invoice _ od _
line- instr. cred _ type _in _ type
code type ta comment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.FQ1. D50 501 7520 701 customer delivery sales order
.FQ2. D51 501 7521 701 - accounting - -
.FQ3. D52 501 7522 701 - invoicing - -
.FQ4. D53 502 7523 702 supplier delivery purchase order
.FQ5. D54 502 7524 702 - accounting - -
.FQ6. D55 502 7525 702 - invoicing - -
.FQ7. D56 503 7526 703 department delivery prod.-order
.FQ8. D57 503 7527 703 - accounting - -
.FQ9. D58 503 7528 703 -invoicing --
P_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
T_a_b_l_e_ _1_1_ _ _C_o_m_p_o_u_n_d_ _D_e_b_/_C_r_e_d_ _I_n_v_o_i_c_i_n_g_
M_
D5
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
skp_DUETdeb_deb_credinvoice_
line_instr.cred_copy_in_type_
codetypetain _tacomment
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
.FR1. D65 501 75607520customer, compounddelivery
.FR2.D6650175607521 - - accounting
.FR3.D6750175607522 - - invoicing
.FR4.D6850275617523supplier, compounddelivery
.FR5.D6950275617524 - - accounting
.FR6.D7050275617525 - - invoicing
.FR7.D7150375627526department, compound delivery
.FR8.D7250375627527 - - accounting
.FR9.D7350375627528 - - invoicing
P_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
\f
5.6.1 V_o_u_c_h_e_r_ _S_t_a_r_t_
(tegning 115)\f
«eof»