Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Get events

Former Member
0 Likes
493

Hello there,

I am kind of confused by the way Get works.

Say for example, there are two lines of code here:

get pernr
get payroll
some processing logic...

is this equivalent to say:

I loop around the pernr table, for each pernr, I get the payroll data corresponding to that payroll, and then perform some processing logic for that payroll, and then go to the next pernr and repeat the whole process?

If not, what would be the correct version of the flow of events?

Thanks a lot!

Regards,

Anyi

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
466

HI Anyi,

What you have understood is correct.

Its as good as looping through a table of pernrs

and for eaxh pernr, get the payrolles.

for each payroll do some processing.

Regards,

Ravi

Hello there,

I am kind of confused by the way Get works.

Say for example, there are two lines of code here:

get pernr
get payroll
some processing logic...

is this equivalent to say:

I loop around the pernr table, for each pernr, I get the payroll data corresponding to that payroll, and then perform some processing logic for that payroll, and then go to the next pernr and repeat the whole process?

If not, what would be the correct version of the flow of events?

Thanks a lot!

Regards,

Anyi

2 REPLIES 2
Read only

Former Member
0 Likes
467

HI Anyi,

What you have understood is correct.

Its as good as looping through a table of pernrs

and for eaxh pernr, get the payrolles.

for each payroll do some processing.

Regards,

Ravi

Read only

Former Member
0 Likes
466

Hi,

Your understanding is correct.

When coded in between Start-of-selection event and end-of-selection event the get event behaves a loop.

Hope this helps.