Hey yall,
I want the Receipt No. in a report to increment by itself every time a report is run (The first time the report run, the Receipt No. should be 1. The second time, it should be 2 and so on). Therefore, I created a No. Series (called CLERP) to keep track of the Receipt No.
I went to Administration => Application Setup => Financial Management => Sales & Receivables Setup => Numbering => ( I am not sure about this step) Order No. => CLERP.
I am not sure what to do next. How do I assign this Order No. (CLERP - No. series) to the Receipt No. field I created in the report, so that it will increment by itself.
Any Help will be greatly appreciated.
0
Answers
And you want the same no.series to be incremented in report for receipt No?
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
I am not sure what to do next. After I assigned it to Order No.
How do I set it up so the recepit No. uses this CLERP to increment???
If you want to do so then create a new field and do it but dont use existing fields like Order No..etc...
Check how Sales Order No. are incremented...
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Even if I create a new text and lable in that card. How will I assign the Receipt No. to this new field I will create??
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
The confusing part is when you say Reciept No.
It sounds more like a Print No. by your description.
Is that all you are trying to do is figure out how many times a report has been printed?
Or would you rather log the reports being printed as seen here:
http://blogs.msdn.com/b/nav/archive/201 ... usage.aspx
http://www.BiloBeauty.com
http://www.autismspeaks.org
Check the sales header table. Search for Testnoseries for a bunch of examples
& do you want to use NoSeriesManagement CU396.
So you want to just save a value in the sales & rec setup table?
What just not make an integer field in sales setup
OnPreReport()
salesetup.GET;
salesetup.RunNo := salesetup.RunNo +1;
salesetup.MODIFY;
if multiple reports you want to keep track of create a new table (which i prefer).
I'm just trying to figure out the use other than trying to find which reports are being run and which are not. What's the main goal?
what are you trying to achieve and how will it be used?
Why does it matter?
As the post above - at least that logged the user, day & time in a seperate table. Then you can use that table to run reports about reports.
http://www.BiloBeauty.com
http://www.autismspeaks.org
First time around, I will set my "ReceiptNo." to 1. If it is printed. I will Increment my "ReceiptNo." variable for next time. If it is not printed, the ReceiptNo. will stay the same.
Actually, I have been doing some research about the preview function and this wont work.
See choices:
http://msdn.microsoft.com/en-us/library/dd338596.aspx
Preview Function Details:
http://msdn.microsoft.com/en-us/library/dd301398.aspx
http://www.BiloBeauty.com
http://www.autismspeaks.org