Nexting Vs Physicals
Get value using physical address:
To get the name of the first account type in the bar account type dictionary; you could use a physical get like this: ""^Q,+(&BA[Q],X)^Q,X|1^NAME.
Get value using the NPR Report Writer syntax:
Assuming you have the bar.acct.type.dict segment defined as your detail segment, next on the subscript for that segment. ""^mnemonic,@Next(mnemonic),@name^NAME.
In both examples NAME would then contain the name of the first account type. You might choose to use the physical address if you are tight on the maximum number of character in a MEDITECH CDS attribute for example. But using the NPR Report Writer syntax allows less experienced programmers to maintain the code.
.: Physicals vs Standard NPR Report Writer Syntax :.

0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home