Adding configurable report header

Description

Allowing to have print format for financial report header, So can create nicer report header.

Environment

None

Activity

Show:
Anna Fadeeva
August 23, 2020, 8:06 AM

Hello, !

I saw in the task you already have this functionality implemented.
Can you post a patch?

Deepak Pansheriya
September 7, 2020, 10:21 AM

/ I needs your advise here. Code from Adaxa suite is working as it changes exiting print format with target value before executing printing. This works but if two reports using same print format header run simultaneously, both report may print same header.

I wish our layout engine was using in memory print format item, but currently not. it queries from DB and so we I can’t see alternative approach to improve this code.

Carlos Ruiz
September 7, 2020, 10:47 AM

Hi , in LayoutEngine I see code that manages the following variables:
@*ReportName@
@*Page@
@*PageCount@
@*Header@
@*CurrentDateTime@

I'm not sure how that works, but I think it can be the solution for your problem?

Carlos Ruiz
September 7, 2020, 10:52 AM

Hi , in LayoutEngine I see code that manages the following variables:
@*ReportName@
@*Page@
@*PageCount@
@*Header@
@*CurrentDateTime@

I'm not sure how that works, but I think.

To expand a bit more on the idea - maybe you can add a column AD_PInstance.Header - and use that for a variable replacement.

Deepak Pansheriya
September 7, 2020, 11:16 AM

Yes, there may be solution using this. may we have to add support on print format item to specify variable.

Assignee

Deepak Pansheriya

Reporter

Deepak Pansheriya

Labels

Tested By

Anna Fadeeva

Components

Affects versions

Priority

Major