Edit Create Document Link
p crtdoclnk B export
d crtdoclnk PI
D key 100A value varying
d idfield 30a value varying
D idno 13p 0 value
D putname 30a value varying
D fieldname 30a value varying
Used to create a link, that holds the key to a document. (text created on the iSeries). Normally used in conjunction with ajax calls.
Edit Example
- Code is from a soon comming demo/Example application.
- Run the main part
/free
fs_disabled = disabled;
callfunc('acon001_soa':'display':'SOA');
crtDocLnk('acon001_doc':'con001id':0::); callfunc('atre001_soa':'list':'SOA');
// general link strip
callfunc('agen001_wrk_soa':'':'SOA');
return;
This program is used to generate a screen that uses the link to display and update a text (note) document on a customer.(And other customer information.
The HTLM is described in the
Ajax section.