Pending attestations mit delegation

Hello to all, 

i hope you can help to undetstand how this works.

I (person A) delegate the role "Manger of person" from Person X to another person B.

After this, an attestation process runs and both persons (A and B) gets the pending attestations from person X.

In which table (AttestationCase, Helper, etc) is set which pending attestation comes from a delegation? 

As i can see both persons (A and B) can the pending attestations from Person X approve or deny but in DB which one is the delgation?

It must be a flag anywhere where is saved this information.


Thank you in advance!