Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • sProcLogParams - either manually set or set by Apliqo template

  • Code Block
    cUserName = TM1User();
    If( DIMIX( '}Clients', cUserName ) = 0 );
        cUserName = 'Admin';
    EndIf;
  • cThisProcName = GetProcessName();

Prolog:

Code Block
### Messaging Global Variables
StringGlobalVariable('sProcessReturnCode');
NumericGlobalVariable('nProcessReturnCode');
nProcessReturnCode= 0;

cMsgErrorLevel = 'ERROR';
cMsgErrorContent = 'User:%cUserName% Process:%cThisProcName% ErrorMsg:%sMessage%';
# Uncomment for thread enabled processes
#cMsgErrorContent = 'User:%cUserName% Process:%cThisProcName% (ThreadID: %pThreadID%) ErrorMsg:%sMessage%';
nErrors = 0;
sMessage = '';

cCubMsg = '}APQ Process Response Message';
sMultiMsg = '';
nMultiMsgJSON = 0;
sDetailMsg = '';
nSubProcessNumber = 0;

...