To populate the code dynamically

shibily
Member Posts: 89
Hi .
In my form i have a " No: " field . And if i push the print button another filteration screen will appear. But i need to populate the " No:" field in the "No:" filter field. Currently it is not coming dynamically .
ex:- If i type '1234' in the Form and then if i click the print button, i want to populate the same '1234' in the filteration screen dynamically.
How can i solve this.
Thanks in advance
shibily
In my form i have a " No: " field . And if i push the print button another filteration screen will appear. But i need to populate the " No:" field in the "No:" filter field. Currently it is not coming dynamically .
ex:- If i type '1234' in the Form and then if i click the print button, i want to populate the same '1234' in the filteration screen dynamically.
How can i solve this.
Thanks in advance
shibily
0
Answers
-
Depends which Form it is if its a purchase order then the print button will have the following code behind
DocPrint.PrintPurchHeader(Rec);
where DocPrint is codeunit 229 and has the following functions
PrintSalesHeader
PrintPurchHeader
PrintBankAccStmt
PrintCheck
PrintTransferHeader
PrintServiceContract
PrintServiceHeader
All you have to do is supply the Record (Rec) as Paramater and call any of these functions or just create a new function based on the above mentioned funcionsRegards,
GD0 -
Thanks GD,
I am using Purchase Order Report itself. Bu i made some customizations by saving the same report to a new report (Just to keep the original report safe) . I am planning to connect the new report with the Purchase order form.
This is where i am facing the problem of populating the No: filter filed dynamically.
Thanks
Shibily0 -
-
Ok go to table 77 report selections
replace the existing record:
Usage Sequence Report ID Report Name
P.Order 1 405 Order
with this one:
P.Order 1 your ID Order
or you can change the formatting of your 405 report to your new report but be carefulRegards,
GD0 -
gulamdastagir wrote:Ok go to table 77 report selections
replace the existing record:
Usage Sequence Report ID Report Name
P.Order 1 405 Order
with this one:
P.Order 1 your ID Order
or you can change the formatting of your 405 report to your new report but be careful
Thank you GD, I am getting populated the No: in the filter field. Now a small problem is there. In the preview button click i am getting the original report. I then close and click again then i am getting my customized report. Why is it lke that. any idea??
Thanks
shibily0 -
Hi,
No actually by mistake i have added 2 rows in table 77 . Thats why i got 2 different reports.
Its working fine now..
Thank you all for your support.
Shibily0
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