Hi All,
I am a little confused about what controls the scope of an IF statement. I
thought that the curly brackets { and } controlled the scope but there are
no curly brackets following the IF in some Axapta code. For example: What
is the scope of the first IF in the code below taken from the fetch in
SalesInvoiceUS? It appears that only element.execute(1) is controlled by
the first IF.
}
if (custInvoiceJour.SumMarkup) // print freight/misc charges
element.execute(1);
element.printBackorders();
taxSpecPrintLevel = CustFormletterParameters::Find
().TaxSpecPrintLevel;
if (taxSpecPrintLevel != TaxSpecPrintLevel::None)
{
Thanks,
Bob
Bob Brinker
Oakdene Group, Inc.
2625 Butterfield Rd. (Suite 212E)
Oak Brook, IL 60523-1261
(630)368-1046 x/230
(630)368-1050 (Fax)
[EMAIL PROTECTED]
| Yahoo! Groups Sponsor | |
|
|
Yahoo! Groups Links
- To visit your group on the web, go to:
http://groups.yahoo.com/group/development-axapta/
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

