NAP

Contents


Nap is used to open a new window on the client workstation.

Syntax

Nap contexte

Parameters

Element

Description

Restrictions

context

Context mentioned in one of the following forms:
Alphanumerical expression of the context
' = '  expression
The result of the expression is the context.

Examples

   

$ESSAI1
# positionning on the main menu
Nap
End

$ESSAI2
# positionning on the BP management
# no automatic closing of the session
Nap "GESBPR/2"
End

$ESSAI3
# positionning on the BP management, BP = EB
Nap "GESBPR/2/OBJBPR/M/EB"
End

$ESSAI4
# positionning on the miscellaneous table management
# recording whose 2-component key is: 8 RET ( table OBJect)
Nap "GESADI/1/OBJADI/M/RET~8"
End

$ESSAI5
# positionning on the payment terms management
# on recording whose 2-component key is: DOM 2 (combined OBJect )
Nap "GESTPT/1/OBJTPT/M/DOM~2"
End

$ESSAI6
# other way to write
# positionning on the payment terms management
# recording whose 2-component key is: 8 RET (table OBJect)
PARAM = "GESADI/1/OBJADI/M/RET~8"
Nap =PARAM
End

Description and comments

The Nap instruction is used to open a new window on the client workstation. This allows a new X3 session to be opened.

It is possible to position onself directly on a function or even a recording. This is defined within a given context.

If nothing is defined in the context, on opening the new session, the user will be positioned on the main menu.

The context is defined in the following fashion: Function/Fin/Object/M/Key

Function: used by the user to position themselves directly on a function

End :          1    on exiting the function, the X3 session is closed.
                  2   on exiting the function, the user returns to the main menu

Object :      only an OBJect management will enable the user to position themselves on a particular recording.

Modif:      M   the user positions himself in recording modification mode
                  C   the user positions himself in creation (but this is not exploited)

Key :          to be entered by the user to be positioned on a specific recording.
                  for a key with 2 parts, part 2 then part 1 are specified in simple OBJect and grid management
                  (see ESSAI4)
                  conversely, part 1 then part 2 are specified in combined OBJect management (see ESSAI5)
                  each element of the key is separated by the character "~"

New to version 130

This is a new instruction.

Associated keywords

Reb


CONTENTS

Copyright © Sage 1999 - 2007