G-d willing
Hello,
I have an issuer that has a list of offers he received from his customers. On every offer, the issuer is an observer.
I would like to have a choice where the issuer accepts or rejects all the available offers he has. But I don’t know how to fetch the list of the relevant contracts in a single command.
template A
with
issuer: Party
where
signatory issuer
choice DoBulk: ()
controller issuer
do
-- get all the contracts of type B that the issuer is an observer
template B
with
customer: Party
issuer: Party
where
signatory customer
observer issuer