Showing posts with label syntax for call section in appengine using peoplecode. Show all posts
Showing posts with label syntax for call section in appengine using peoplecode. Show all posts

Call Sections through PeopleCode in Application Engine

Call Sections through PeopleCode in Application Engine
Syntax for calling Sections through PeopleCode in Application Engine

/*This code is used to call different section in Application Engine based on conditions*/


If (RecordName.FieldName= " ") And
      (RecordName.FieldName = 0) Then
   RecordName.AE_SECTION = "Something";
End-If;

If (RecordName.FieldName <> " ") And
      (RecordName.FieldName = 0) Then
   RecordName.AE_SECTION = "Something";
End-If;

If (RecordName.FieldName = " ") And
      (RecordName.FieldName <> 0) Then
   
   RecordName.AE_SECTION = "Something";
End-If;
If (RecordName.FieldName <> " ") And
      (RecordName.FieldName<> 0) Then
   RecordName.AE_SECTION = "Something";
End-If;