if (custInvoiceJour.SumMarkup)  // print freight/misc charges
    {
        element.execute(1);
    }

    element.printBackorders();

    taxSpecPrintLevel =
    CustFormletterParameters::Find().TaxSpecPrintLevel;

    if (taxSpecPrintLevel != TaxSpecPrintLevel::None)
    {
    }

Best regards
Erik


________________________________

Fra: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sendt: s� 07-11-2004 16:54
Til: [EMAIL PROTECTED]
Emne: [development-axapta] What determines the Scope of an IF Statement




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     
ADVERTISEMENT
click here <http://us.ard.yahoo.com/SIG=129h9h1hc/M=294855.5468653.6549235.3001176/D=groups/S=1705006764:HM/EXP=1099930692/A=2376776/R=0/SIG=11ldm1jvc/*http://promotions.yahoo.com/ydomains2004/index.html>      
     

________________________________

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] <mailto:[EMAIL PROTECTED]>
       
*      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> .




[Non-text portions of this message have been removed]





Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to