Posts

Showing posts with the label regexp

PeopleSoft - PeopleTools Configurations Records or Meta Tables

PeopleSoft - PeopleTools Configurations Records or Meta Tables PeopleSoft records/metadata tables, often referred to as "meta tables," store information about various PeopleSoft objects and configurations.  1. Object Definition Tables: PSRECDEFN : Contains definitions of records (tables) used in the application, including details like record type and description. PSDBFIELD : Stores field definitions, detailing the attributes of each field such as data type and length. PSPNLGROUP : Holds information about components, which are collections of pages that function together. PSPNLDEFN : Contains definitions of pages (interfaces) within the application. PSMENUDEFN : Stores menu definitions, organizing how components are presented to users. 2. Security Tables: PSOPRDEFN : Maintains user profile information, including user IDs and associated roles. PSROLEDEFN : Defines roles that group together permissions for easier security management. PSCLASSDEFN : Holds permission li...

PeopleSoft : Phone Number Validation Using Regular Expressions in Peoplecode

PeopleSoft : Phone Number Validation Using Regular Expressions in Peoplecode Local String &str = "\+{0,1}[0-9\s\-\(\)]+" ; Local JavaObject &oPhoneNumExpression = CreateJavaObject("java.lang.String", ); Local JavaObject &oPhoneNum = CreateJavaObject("java.lang.String", Record.Field.Value );   If &oPhoneNum.matches(&oPhoneNumExpression) = False Then  MessageBox(0, "", 0, 0, "Enter valid phone number"); End-If;  Regular Expression "\+{0,1}[0-9\s\-\(\)]+"    : It allows a number + in starting and - in the middle of the number. Record.Field.Value : Contains the entered phone number value. Keep Learning, Keep sharing. Thank you for visiting by blog, If you like it please share and check out more content.