Create an entry in the changelog table beas_aenderung.
tools=changelog=<propertie>=<value><tab> ..
tools=changelog=typ1=typ2=key1=key2=key3=changetyp=table=primarycolumn
tools=changelog=typ1=typ2=key1=key2=key3=&
info:<infotext>=keyfield1=keyfield2=&
keyfield3=keyfield4=keyfield5=keyfield6=keyfield7=keyfield8
type
|
Type of changes
info, del, new, change
|
typ1, typ2
|
Type of item, example typ1=item, typ2=stl
|
key1, key2, key3
|
Key of item, example Workorder bom Position:
key1=<belnr_id>,key2=<belpos_id>, key3=<pos_id>
you can use place holder
|
table
|
The Table
|
primary
|
Primary Key
|
reason
|
The Reason
|
info
|
Information (with place holder)
|
keyfield1
|
don't set
it's info, del or new (same as type)
|
keyfield2....8
|
additional key fields
|
reasonrequirement=1
|
if 1,j,y or true the user must insert a reason
|
|
changetyp
new
|
new entry
|
del
|
delete an entry
|
info:text
|
info
|
[empty] / change
|
documentation about all change of the datawindow dw_1
|
Example workorder-bom
update-script
|
tools=changelog=Workorder=WO=<belnr_id>=<belpos_id> BoM <pos_id>=.=change=beas_ftstl
|
delete-script
|
tools=changelog=Workorder=WO=<belnr_id>=<belpos_id> BoM <pos_id>=.=del
|
Display Protokoll
|
create new Button with name "aenderung:"
insert Script
openchild=system_aenderung_browse.psr=s_parm1:Workorder,s_parm2:%,s_parm3:<belnr_id>,s_parm4:<belpos_id> BoM <pos_id>
|
send info
|
tools=changelog=Workorder=WO=<belnr_id>=<belpos_id> BoM <pos_id>=.=info:info for changelog
|
|