Function SET178H Product

LANSA

Function SET178H Product

********** COMMENT(=======================================================);
********** COMMENT(Process ........: SET_178);
********** COMMENT(Function .......: SET178H);
********** COMMENT(Created on .....: 18/05/00 at 14:43:32);
********** COMMENT(Description ....: Generate a page for a product);
********** COMMENT(Version.........: 1);
********** COMMENT();
********** COMMENT(Full Description: The purpose of this function is to);
********** COMMENT(generate one page per product);
********** COMMENT();
********** COMMENT(Disclaimer: The following material is supplied as an);
********** COMMENT(example only. No warranty is expressed or implied.);
********** COMMENT();
********** COMMENT(Receives: Product (#S_178PRD));
********** COMMENT( Device Type (#S_178DVTP));
********** COMMENT( Sub-Type (#S_178SBTP));
********** COMMENT(=======================================================);
********** COMMENT(Function control options);
FUNCTION OPTIONS(*DIRECT *WEBEVENT);
********** COMMENT();
********** COMMENT(<RDML ONCONDITION> field.);
********** COMMENT(Group and field definitions);
********** COMMENT();
GROUP_BY NAME(#S_GRPPANL) FIELDS((#S_178FDES *HIDDEN)(#S_178PRD *HIDDEN)(#S_178DVTP *HIDDEN)(#S_178SBTP *HIDDEN)(#S_178PDES *HIDDEN)(#S_178BRND *HIDDEN)(#S_178PRCE *HIDDEN)(#S_178PIMG *HIDDEN)(#S_178PTEC *HIDDEN)(#S_178PPG *HIDDEN));
********** COMMENT();
********** COMMENT();
********** COMMENT(Mainline);
********** COMMENT();
FETCH FIELDS(#S_GRPPANL) FROM_FILE(SETPRD) WITH_KEY(#S_178PRD #S_178DVTP #S_178SBTP);
********** COMMENT();
USE BUILTIN(TCONCAT) WITH_ARGS(#S_IFSPATH '/') TO_GET(#S_IFSPATH);
USE BUILTIN(WEB_STATIC_PAGE) WITH_ARGS(#S_178PPG '*NO' #S_IFSPATH);
********** COMMENT();
********** COMMENT();
********** COMMENT();
REQUEST FIELDS(#S_GRPPANL) EXIT_KEY(*NO) MENU_KEY(*NO) PROMPT_KEY(*NO);