Function SET184H

LANSA

Function SET184H
********** COMMENT(=======================================================);
********** COMMENT(Process ........: SET_184);
********** COMMENT(Function .......: SET184H);
********** COMMENT(Created on .....: 26/07/00 at 14:43:32);
********** COMMENT(Description ....: Rearrange Layout of Browselist Row);
********** COMMENT(Version.........: 1);
********** COMMENT();
********** COMMENT(Full Description: The purpose of this function is to);
********** COMMENT(show how the positioning of all fields in the);
********** COMMENT(browselist row can be rearranged.);
********** COMMENT();
********** COMMENT(Disclaimer: The following material is supplied as an);
********** COMMENT(example only. No warranty is expressed or implied.);
********** COMMENT();
********** COMMENT();
********** COMMENT(Receives: nothing);
********** COMMENT();
********** COMMENT(=======================================================);
********** COMMENT(Function control options);
FUNCTION OPTIONS(*DIRECT *WEBEVENT);
********** COMMENT();
********** COMMENT(Group and field definitions);
********** COMMENT();
********** COMMENT(Dummy field for component S_184H to attach to);
DEFINE FIELD(#S_184H) TYPE(*CHAR) LENGTH(001) COLHDG(PRODUCE);
********** COMMENT();
GROUP_BY NAME(#S_GRPPANL) FIELDS((#S_184FDES *INPUT *NOID)(#S_FUNDES *HIDDEN));
********** COMMENT((Field #S_184FDES has a component S_184FDES which);
********** COMMENT(merges in a component with the same name as the);
********** COMMENT(function (in this case component SET184H)));
********** COMMENT();
DEF_LIST NAME(#S_184HFVC) FIELDS((#S_184CDE *HIDDEN)(#S_184DES *HIDDEN)(#S_184QTY *HIDDEN)(#S_184UNIT *HIDDEN)(#S_184UPRC *HIDDEN)(#S_184TPRC *HIDDEN)(#S_184H *INPUT));
DEF_LIST NAME(#S_WRKFVC) FIELDS((#S_184CDE)(#S_184DES)(#S_184QTY)(#S_184UNIT)(#S_184UPRC)(#S_184TPRC)(#S_184IMG)) TYPE(*WORKING) ENTRYS(0000500);
********** COMMENT();
********** COMMENT(Mainline);
********** COMMENT();
********** COMMENT();
CHANGE FIELD(#S_FUNDES) TO(*FUNCTION_DESC);
********** COMMENT();
CLR_LIST NAMED(#S_184HFVC);
********** COMMENT(Function SET184Y populates list #S_WRKFVC with data);
CALL PROCESS(*DIRECT) FUNCTION(SET184Y) PASS_LST(#S_WRKFVC );
SELECTLIST NAMED(#S_WRKFVC);
ADD_ENTRY TO_LIST(#S_184HFVC);
ENDSELECT;
********** COMMENT();
REQUEST FIELDS(#S_GRPPANL) BROWSELIST(#S_184HFVC) EXIT_KEY(*NO) MENU_KEY(*NO) PROMPT_KEY(*NO);
********** COMMENT(The appearance of browselist S_184HFVC is altered);
********** COMMENT(by changing all the fields except #S_184H to hidden);
********** COMMENT(, setting field #S_184H to input, and creating an);
********** COMMENT(input visual component S_184H which links to the field.);
********** COMMENT(Component S_184H positions the fields within the row,);
********** COMMENT(using HTML);
********** COMMENT(To define component S_184H, first create a page);
********** COMMENT(S_184H using the HTML editor.);
********** COMMENT(Then, using the administrator, define a visual);
********** COMMENT(input component of type page called S_184 and linked);
********** COMMENT(to page S_184.);