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.
Document Generation Context
-
- Posts: 1377
- Joined: Wed Jan 15, 2014 3:50 pm
- Location: Raleigh, NC
- Contact:
Re: Document Generation Context
Sorry but it is not possible.
Bob Richards, Senior Software Developer, SoftPro
Re: Document Generation Context
Hi kwesterlage, were you able to figure out how to parse the context?