Printing systemparts (Notes) in a report? RTC
dleroux
Member Posts: 87
I have sales orders with notes (the systempart) and would like to print those notes on the sales order document. I have found the record link table, but that will only give me a URL that opens the Sales Order Page. Can anyone tell me where I find the actual text entered in the note - or how to get it into the printed document?
Alternatively, is this just something that these notes were never intended for - even though it seems they mimic the function of the classic comments table?
Thanks
Alternatively, is this just something that these notes were never intended for - even though it seems they mimic the function of the classic comments table?
Thanks
0
Comments
-
Have you looked into the blob field which is in the table? ;-)0
-
That did the trick.
Thanks, I've not done much with blobs so it did not occur to me to look in there.0 -
Hi guys,
How do you print the Note field in Record Link, which is a blob on a RTC? Do you have to convert it to text?
Thanks0 -
Well this is what I used when i was playig with it, but the client turned out not to need it after all - they wanted the comments not the notes...
RecIDString := 'Sales Header: ' + FORMAT("Document Type") +',' +FORMAT("No."); EVALUATE(RecID, RecIDString); RecLink.SETFILTER("Record ID", RecIDString); RecLink.SETFILTER(Company, Company.Name); RecLink.SETRANGE(Type, RecLink.Type::Note); IF RecLink.FIND('+') THEN Notefield := ''; RecLink.CALCFIELDS(Note); RecLink.Note.CREATEINSTREAM(ReadBlob); // ReadBlob is an Instream variable and remember a blob can overflow a text variable ReadBlob.READTEXT(TempNote); Notefield := COPYSTR(TempNote, 2);
Hope you find that helpful - it is probably pretty messy but I was only making sure I could extract the information.0
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
- 323 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
