Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Report with different designs

6 views
Skip to first unread message

Bart

unread,
Sep 5, 2010, 4:29:03 PM9/5/10
to
Hey,

For our packing slip I want to have 2 designs. 1 default design and 1 other
design for a specific customer. The thing that differs from the two design is
the header with the company logo. For a specific customer I print the packing
slip with his logo.

Can anybody tell me whats the best way to do this? I searched and saw that
you can have multiple designs in a report, but how can I tell ax to choose
always design 1 except for that customer.

xie Jimmy

unread,
Sep 6, 2010, 2:33:08 AM9/6/10
to

this.design(designName);

Submitted via EggHeadCafe - Software Developer Portal of Choice
ObjectDumper LINQ To Export Collection Via .NET Reflection
http://www.eggheadcafe.com/tutorials/aspnet/21737599-5a63-4672-a32c-a36cca282a3f/objectdumper-linq-to-export-collection-via-net-reflection.aspx

Bart

unread,
Sep 6, 2010, 4:35:03 AM9/6/10
to
Thanks but could you please be more specific.

Gr,

"xie Jimmy" wrote:

> .
>

SysProg

unread,
Sep 7, 2010, 9:38:03 AM9/7/10
to
Hi Bart,

Here's one way to do it:

1) Create a copy of the SalesPackingSlip Report.
2) Create a new output menu item that calls the new report.
3) Modify CustPackingSlipJour.printJournal method to call the second report
based off of the current company you are in:

salesPackingSlipMenu = new
MenuFunction(menuitemoutputstr(salesPackingSlip),MenuItemType::Output);

if(curext() == 'xxx')
{
salesPackingSlipMenu = new
MenuFunction(menuitemoutputstr(SalesPackingSlip2),MenuItemType::Output);
}
...
...
...

0 new messages