If you need to reference a field on a record called "NAME" you'll get errors because peoplesoft gets confused with the reference to name as a property and not a field. To get around this use the GetField method.
&record.NAME.Value = "Dr. Jones";
&record.GetField(Field.NAME).Value = "Dr. Jones";
This space was created to keep track of little tips or tricks and examples of code. At the moment it is mostly PeopleSoft and PeopleCode examples.
Code Style
Labels
- App Engine
- App. Designer
- Application Packages
- Arrays
- Auto Numbering
- Components
- Data Archive Manager
- Dates
- Error Handling
- Evaluate
- Exceptions
- Fields
- File Layouts
- Function
- Grids
- HTTP Requests
- Insert
- Leading Zeros
- messages
- Meta-SQL
- Node
- Oracle
- PeopleCode
- PeopleSoft
- Performance
- Records
- Routing
- Search page
- SHOWTBAR
- SQL
- State Records
- Stylesheets
- Tips
- Translate
- Web App.
Thursday, January 30, 2014
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment