report generation

suri
Member Posts: 123
hi one and all,
i am generating a report
i have taken four data items as shown below
DataItem Name
Purchase Requisition Header <Purchase Requisition Header>
Purchase Requisition Line <Purchase Requisition Line>
Customer Bank Account <Customer Bank Account>
Approval Processing Line <Approval Processing Line>
i not getting any error while generating the report...
i am sharing the sections and as well as output what i have generated...
i am generating a report
i have taken four data items as shown below
DataItem Name
Purchase Requisition Header <Purchase Requisition Header>
Purchase Requisition Line <Purchase Requisition Line>
Customer Bank Account <Customer Bank Account>
Approval Processing Line <Approval Processing Line>
i not getting any error while generating the report...
i am sharing the sections and as well as output what i have generated...
0
Comments
-
here where
i am generating the date and approved by is generating no of times ,
how can we stop the repetation ..
is it possible
i asked my superiors he adviced me to write the code in pre section()
of Approval Processing Line
i dont know how to write the code can you suggest me i have tried this code
Approval Processing Line pre section()
Approver := "Approval Processing Line"."Action ID";
"Approval Processing Line".SETRANGE("Approval Processing Line"."Document No.","Purchase Requisition Header"."No.");
IF "Approval Processing Line"."Action ID" <> Approver THEN
Approver := "Approval Processing Line"."Action ID"
ELSE
Approver1 := Approver;0 -
Move the fields to Footer section..0
-
ya mohana sir
what you suggested me i have tried it was working
when i am writing in footer section it was displaying only ones
but here i am getting the problem when
approved persons are more than one then i am not getting all the names
in output section
reputation is not coming but,it was displaying only single approval name
thanks for giving reply0 -
You need to use Integer dataitem and loop through the no. of approvals..0
-
in the following screen shot
where approved by name
is runnam is repeated four times(for this we have taken in footer section...it was working fine )
but in my table 5 persons are approved but i am not getting remaining 4 persons ...
in this case we have to write the code
thanks for giving reply0 -
i have written this code in
Approval Processing Line, Body (2) - OnPreSection()
Approver1 := "Approval Processing Line"."Action ID";
IF Approver1 = Approver2 THEN
CurrReport.SHOWOUTPUT(FALSE);
Approver2 := Approver1;
it was working thank you for giving reply sir0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions