Document Generation Context

Discussions related to custom development with Select.
Post Reply
kwesterlage
Posts: 73
Joined: Thu May 21, 2015 2:28 pm

Document Generation Context

Post by kwesterlage »

Is there a generic way to turn the context string for a document (stored in the IDocumentInfo.Tag("ProFormPrimaryContext"), into the actual item it represents (could be from an Order or a Ledger)?
Examples
Simple: {{Order.Title.OwnersPolicy}}
Complex: {{Ledger.Transaction[{{.TransactionTypeDescription}}="Check" and {{.TransactionStatusDescription}}<>"Pending" and {{.OrderContact.ContactType}}="Government"]}}

We are trying to programatically generate several hundred documents and manually coding the logic to pull out the specific order context for each one is not a viable option.
BobRichards
Posts: 1377
Joined: Wed Jan 15, 2014 3:50 pm
Location: Raleigh, NC
Contact:

Re: Document Generation Context

Post by BobRichards »

Sorry but it is not possible.
Bob Richards, Senior Software Developer, SoftPro
ckootg
Posts: 122
Joined: Fri Jan 06, 2012 6:10 pm

Re: Document Generation Context

Post by ckootg »

Hi kwesterlage, were you able to figure out how to parse the context?
Post Reply