First Buyer

Discussions related to ReadyDoc development.
Post Reply
MJA-99
Posts: 33
Joined: Fri Apr 08, 2011 2:41 pm

First Buyer

Post by MJA-99 »

I have a request to modify a couple of ReadyDoc Forms that use Order.Buyer as Primary Context for Form. The problem is that if Order has multiple buyers, the client only wants the "First Buyer" to be able to be chosen when running ReadyDoc from Order. Is this possible to do using settings for Form, or would this require Report Context to have to change. Is there already a "First Buyer" Context available that N288 or 8288 could use and still work yet only show 'First Buyer"?

Thanks,

MJA
Mark McKenna

Re: First Buyer

Post by Mark McKenna »

The Primary Context of a ReadyDoc identifies which entities inside an Order "qualify" for the execution of that document. In your case, you can set the Primary Context to Order.Buyer[1] such that only the first buyer qualifies. Further, since only one entity will qualify when that document is executed, the user will not be prompted to choose one.
Post Reply