project BLF > class PTimeZone > method InitInstance
Description
Set the value of "vcDefaultMfgProgram" before the <ANCESTOR-CODE>.
PreCondition
This method is executed when a new instance of the business class is started, or when a draft instance is opened (in that case a new instance is started which is a copy of the draft instance).
Parameters
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
unused
program code (program/ptimezone.p)
/* ======================================================================================= */
/* For the call to "authenticate" in this component (PAuthentication) we need to skip the */
/* InitInstance logic, as this is failing when we do not have a valid session established.*/
/* ======================================================================================= */
assign vcDefaultMfgProgram = "mfaspl.p":U
vlSkipInitInstanceAncestorCode = true.
<ANCESTOR-CODE>