Custom attributes extraction from EDI doc

Hi,

I have some question. My outbound file will be EDI 820 and in the bizdoc I will mention some custom attributes. In response to that 820 I will get 824. I need to extract some data from that 824 and assign that data to predefined custom attributes (in 820).
Can anybody suggest some way, how I can achieve this.

Thanks
Kris

Kris,

Your service should locate the corresponding 820 bizdoc (perhaps via Original Transaction ID from 824 OTI segment) and set/updateAttributes with the values from the 824.

Mary