Below is a complete list of all PeopleTools object types with value number and description.
Today, I had my first 'Data Integrity Error (124,85)' in PeopleSoft.
It occured while I was trying to run a QA external check on the careers page for my client. I was not the only consultant who received this error - one of the others who I work alongside received the same error.
Use function
SetSaveWarningFilter( True);
Breadcrumb SQL:
The indexes generated by the Application Designer have the following naming convention:
INDEX_NAME = 'PS '||{index_id}||{peoplesoft record name}
Index ID : Description
_ : PeopleSoft key index. Implied from the record definition.
1–9 : Alternate search key indexes. Implied from the record definition.
# : List index. Implied from the record definition. Only applicable in PeopleTools 7.5 and earlier; not used in PeopleTools 8.
A–Z : User-specified index.
Follow the below steps to create the trigger for the tables
1.Create the Sequence
Syntax
Create Sequence G02491P.TRIGGER_SEQ1 as INTEGER
Start With 1
Increment by 1
MinValue 1
MaxValue 2147483647
Cache 24
2.Create the function
[code]
Syntax
Create Function G02491P.get_next ()
Returns INTEGER
Specific get_next
Language SQL
Deterministic
External Action
Reads SQL Data
Hi Friends,
For scenario like i want to increase Emplid value when am click search page automatically.
It is possible in Rowinit Peoplecode.
Sample Code:
If %mode = "A" then /*A Means add mode */
SQLExec("Select max(Emplid) from ps_abc",&a); /* &a is a variable */
&a=&a+1;
PS_ABC.Emplid.value=&a;
gray(PS_ABC.Emplid);
end-if;
Regards,
Mahendra
Hi Friends.
Instead of Print command, by using String.So that we can get each and every row one time in either CSV/HTML/XML output format.
Example:
Print $Name(,)
Print $Name (,)
Print $Address2(,)
Print $State (,)
Print $Country(,) /* Use Strings here to remove multiple duplicate rows of data*/
STRING $Name $Address1 $Address2 $State $Country BY ',' INTO $ST1
STRING $N ,............................................................ BY ',' INTO $ST2
STRING $ST1 $ST2 BY ',' INTO $ST3
PRINT $ST3 (+1,1)
Regards,
Mahendra
Hi Friends,
Calling Dynamic Sction Dynamically:
Open Application engine program and insert the section with action(action like call section).Here select the Dynamic Calling check box,then open Peoplecode action with OnExecute event and write the Dynamic calling section Peoplecode like....
Evaluate Recrod.Field ----- Evaluate PS_JOB.EMPLID
WHEN "N"
PS_JOB.AE_SECTION.Value="VALIDALL" /*Call here which sction is required to retrieve the data*/
Break;
WHEN = "Y"
PS_JOB.AE_SECTION.Value = 'LOADDATA' /*Call here loading data sction*/
Break;
End-Evaluate;
Regards,
Mahendra
Hi Friends,
Yes,we can write multiple SQL Statements by using %Execute Function.(Pls refer in Peoplbooks if required).
Example: Scenario1:
Open one SQL Action.............
%EXECUTE (/)
UPDATE PS_JOB SET NAME='PEOPLESOFT' WHERE NAME1='HRMS';
/
INSERT INTO PS_JOB VALUES('NAME','EMPID','HOME',................);
/
DELETE PS_JOB WHERE ROWNUM=10;
Note: Here forwardslash is optional to commit the statment.
Scenario2:
%EXECUTE()
UPDATE PS_JOB SET NAME='PEOPLESOFT' WHERE NAME1='HRMS';
COMMIT;
INSERT INTO PS_JOB VALUES('NAME','EMPID','HOME',................);
COMMIT;
| Title | Under | Posted on |
|---|---|---|
| Required Peoplesoft HRMS Functional Training | PeopleSoft Functional | 05/07/2013 - 10:29pm |
| Error while saving Voucher | PeopleSoft Functional | 05/02/2013 - 1:55am |
| santosh asking que | PeopleSoft Technical | 04/30/2013 - 10:22am |
| How can i implement Email functionality to alerts in peoplesoft. | PeopleSoft Technical | 04/30/2013 - 5:01am |
Recent comments
3 weeks 16 hours ago
3 weeks 6 days ago
3 weeks 6 days ago
4 weeks 5 hours ago
4 weeks 1 day ago
4 weeks 1 day ago
5 weeks 5 hours ago
5 weeks 2 days ago
5 weeks 4 days ago
6 weeks 9 hours ago