Tuesday, November 23rd, 2010

PeopleTools 8.50 Hints & Tips: PeopleCode Compile Error

PeopleCode compile error after a Tools-only upgrade to PeopleTools 8.50

This posts is a part of the PeopleTools 8.50 Hints & Tips series on BAOA regarding PeopleSoft 8.50 tools upgrade.

Five new keywords have been introduced in PeopleTools 8.50:

  • Primitive
  • Compound
  • Collection
  • Document
  • DocumentKey

Some applications released before 9.1 use the word “collection” as class name what result in a PeopleCode compiler error such as:

PeopleCode compiler error.(The create operator can only be used for application classes(2,96)) for program xxxx.yyyy.OnExecute(2,405).


We have experienced this problem in FSCM8.9 with Application Package SAC_VERTY.

PeopleSoft is working on the solution for this problem.

Workaround:

Fully qualify the Collection class in the PeopleCode when instantiating objects of this type so as in our case:

class eProItemCatalogCollection extends SAC_VERITY:Collection

%Super = create SAC_VERITY:Collection(&indexname, &mkvdk_dir, &path_entered, &style_dir, &language, &locale, &run_cntl_id);

 Viewed 2706 times by 653 visitors


Category: Technical
You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.