Today, i decided to show two different simple DataModel Script techniques in Entity Object Level to Handle Entity Object's Associations between Dept / Employees in HR Standard Schema.
Two Different Techniques sometimes replace Each other & sometimes complete each other to handle RowSet Collection of Data based on Association.
- First Technique is the standard one which use Accociation Method exposed in Deparment EO composing RowSet, and then looping using hasNext / Next to get Attribute Values From Rows.
- Second Technique to Filter Same RowSet using specified Employee ID in Scope of Association which means inside one department which is currently opened.
regards
No comments:
Post a Comment