Blanket Purchase Order Report and Purchase Order Report
Markandey_Pandey
Member Posts: 178
Hi experts,
Can i use (i.e link) Blanket Order Form with "Purchase Order Report" and Purchase Order Form with Blanket Order Report. If this is done i can save myself from lots of customization.
Can anybody help me, actually what i had tried is, i had made some changes to the codeunit
"Document-Print" to achieve what i want but it didn't worked,
here is the code:
CASE PurchHeader."Document Type" OF
PurchHeader."Document Type"::Quote:
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Quote");
PurchHeader."Document Type"::"Blanket Order":
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Blanket");
PurchHeader."Document Type"::Order:
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Order");
PurchHeader."Document Type"::"Return Order":
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Return");
ELSE
EXIT;
END;
here i had made the following changes:
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Order");
and
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Blanket");
can anybody suggest me the solution.
Thanx in advance
Can i use (i.e link) Blanket Order Form with "Purchase Order Report" and Purchase Order Form with Blanket Order Report. If this is done i can save myself from lots of customization.
Can anybody help me, actually what i had tried is, i had made some changes to the codeunit
"Document-Print" to achieve what i want but it didn't worked,
here is the code:
CASE PurchHeader."Document Type" OF
PurchHeader."Document Type"::Quote:
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Quote");
PurchHeader."Document Type"::"Blanket Order":
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Blanket");
PurchHeader."Document Type"::Order:
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Order");
PurchHeader."Document Type"::"Return Order":
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Return");
ELSE
EXIT;
END;
here i had made the following changes:
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Order");
and
ReportSelection.SETRANGE(Usage,ReportSelection.Usage::"P.Blanket");
can anybody suggest me the solution.
Thanx in advance
Markandey Pandey
0
Comments
-
Did u see whether u can use report selection or not ?Kapil Khanna0
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions