Hello dear peoplesoft colleagues,

who can tell me what is the difference between these two peoplecode statements:

Component EP_FUNCTIONS:EP_Utilities &EP_Utilities;

and

Local EP_FUNCTIONS:EP_Utilities &EP_Utilities = create EP_FUNCTIONS:EP_Utilities();

Some peoplesoft use a create, sometime not.

Thanks in advance for any help.

Views: 0

Replies to This Discussion

The first statement declares a component-level object, but does not instantiate the object. Therefore, the &EP_Utilities object is either NULL or was previously instantiated in a prior event.

The second statement creates a local-level object and instantiates the object.

RSS

© 2012   Created by PSoftPros.

Badges  |  Report an Issue  |  Terms of Service