ottawa guy
Paulius Cerniauskas <[EMAIL PROTECTED]> wrote:
hi,
you get an caller object in the report, then extract
some variables that determine entry and then try use
design()method in report's init() method:
<..>
if (ProfLoss)
element.design(firstDesign)
if (BalanceSheet)
element.Design(secondDesign)
else <..>
--- ottawa_m2003 <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Here is my situation and can't go further.
>
> I have a report called "LedgerAccountSched".
> And I have the financial statements under "General
> Ledger/Reports/Financial statement rows (name)"
>
> I have two rows under this Financial Statemnt
> rows(name)
> 1. Profit and Loss
> 2. BalanceSheet
>
> These two are using data from tables "LedgerTable,
> LedgerTableALternative and
> LedgerTableAlternativeTrans"
>
> My design requirement is to have a seperate template
> for each entry,
> i.e, " profit and loss" and Balance sheet.
>
> When I try to screen print the financial statemtn
> rows each entry, I
> am getting same template . But my requirement is to
> have some
> columns added in one template and some columns
> deleted in another
> template.
>
> Is there any way, to trigger different design
> templates for
> different entries using " entryname ( chart of
> accounts )"
>
> Any samples??. I tried to use a sample in
> developer's guide "
> creating multiple designs'
>
>
> From X++ use the design method on the ReportRun
> object to select the
> design you want to use:
>
> Args ArgList = new
> Args(reportStr(AReportWithMultipleDesigns));
>
> ReportRun rr = new ReportRun (ArgList);
>
> rr.design('Report Design1'); //Select the design to
> be used
>
> rr.run();
> but, it seems I couldn't be able to execute it.
>
> Any one has any idea of this scenario?.
>
>
>
>
>
>
>
>
=====
Paulius Cerniauskas
Phone: +37065923155
ICQ: 280959446
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Yahoo! Groups SponsorADVERTISEMENT
---------------------------------
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.
---------------------------------
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
[Non-text portions of this message have been removed]
| 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.

