• Understanding Peoplecode – Part I

    Posted on September 20, 2012 by in Other Programming, People Soft

    PeopleCode is an (ool) object-oriented proprietary (case-insensitive) language used to express business logic for PeopleSoft applications. In its fundamentals, PeopleCode syntax resembles other programming languages. Some aspects of the PeopleCode language, however, are specifically related to the PeopleTools environment. However, the fundamentals of objects and classes are the same as in Java language. Definition name references, for example, enable you to refer to PeopleTools definitions, such as record definitions or pages, without using hard-coded string literals. Other language features, such as PeopleCode data types and metastrings, reflect the close interaction of PeopleTools and Structured Query Language (SQL). Dot notation, classes and methods in PeopleCode are similar to other object oriented languages, like Java.

    Peoplecode can be used for the following…

    • For validations
    • Implement Business Logic
    • Update DB and Buffer
    • Use Functions & reuse code.

    Peoplecode can be written on record, page, component or Menu level. Listed below are different events in peoplesoft.

    Record Events

    Field Level

    Search Level

    • Field Default
    • Field Edit
    • Field Change
    • Field Formula
    • Search Init
    • Search Save

    Row Level

    Save Level

    • Row Init
    • Row Select
    • Row Insert
    • Row Delete
    • Save Edit
    • Save Prechange
    • Workflow
    • Save Postchange
    Component Events

    Component Level

    Component Record Field Level

    • Pre Build
    • Post Build
    • Save Prechange
    • Workflow
    • Save Postchange
    • Field Default
    • Field Edit
    • Field Change
    • Prepopup

    Component Record Level

     

    • Search Init
    • Search Save
    • Row Init
    • Row Select
    • Row Insert
    • Row Delete
    • Search Edit
    • Search Prechange
    • Search Postchange

    Page Events

    • Activate

    Menu Events

    • Item Selected

    In the next article we will see Event Execution Sequence.

    Be Sociable, Share!
      Post Tagged with ,

    Written by

    Vanamali Juvvadi is a Web enthusiast and loves all things design and technology. Founded qnownow with a group of friends to share anything/everything they know/find on the internet.

    View all articles by

    Email : [email protected]

    Leave a Reply