Application Development 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: 

Recursion question (custom doc flow)

Former Member
0 Kudos

I would like to pick the brains of the SDN hive as to what is the best approach to building a recursive doc flow. The program in question will be passed a Source Document and then have to retrieve both Destination and Source documents where x = source document. The program will then have to "spider" until it reaches no more source or destination documents.

A push in the right direction would greatly be appreciated!

Example of table:

Source Document Source Type Destination Document Destination Type

10002488        YY          10002489             ZY
10002489        ZY          30000920             CLM1
30000920        CLM         10002489             Y1
30000920        CLM         5000047697           Y2
30000920        CLM         5000047698           Y3
30000920        CLM         5000047699           Y4

1 REPLY 1

Former Member
0 Kudos

Hi

Note 185530 is a good reference when it comes to the correct way to read SD tables.

Cheers

Dom