My problem is that i have a new button on the Sales Quote Page “Create Project”, this button invokes a Report with a Request Page, on this Request page i want to type in the name of the Project. That works, but i want to preassign the field with the “No.” of the Quote and the name of the Customer.
My Question is how can I make it that the request page knows that it belongs to the current data set ?
By the sound of it and assuming the report does not belong to the sales header table you need to pass this data to the report before running. You can do this via function call you create in the report which you then call from the Sales Quote page.
So in this example, create a function call in the report called PassData with 2 feed fields quote number and customer name.Create globals for each and add in code to assign local feeds to globals. Then call the report function and pass the data and then call the report.
It doesn´t work [:’(]…it just shows " - " and not the No. and the Customer Name… i think the request Page doesn´t know that it belongs to the current dataset ?
Can I write my Global Variable Value into to an field in the Table “Job” ?
Problem :
I have an Codeunit which inserts a new Project and it also insert the given Fields in the Sales Quote/Order, but how can i manage that the value of the Field "Project Description "in the Request Page fills the Field Job.Description in the Codeunit .
What is Link Between Codeunit and Report …how those interact with each other…
If you want job description from Report then Create a Global Funtion in Codeunit. which takes 2 parameter 1st is Sales Header nO and Other is jobdescription …
So when you call codeunit from report you would Pass them as Parameter So directly you can get jobdescription…
No Setrange for your sales No or whatever you want insert those values to Destined fields …