Object Documentation lines v1.1

Administrator
Member, Moderator, Administrator Posts: 2,506
Object Documentation lines
Functions to get Documentation lines from binary object.
In attached object you can find functions, which get Documentation lines directly from binary object (exported from Object BLOB). You can use this functions to create some versioning tools or autodocumentation.
http://www.mibuso.com/dlinfo.asp?FileID=343
Discuss this download here.
Functions to get Documentation lines from binary object.
In attached object you can find functions, which get Documentation lines directly from binary object (exported from Object BLOB). You can use this functions to create some versioning tools or autodocumentation.
http://www.mibuso.com/dlinfo.asp?FileID=343
Discuss this download here.
0
Comments
-
Very cool! This does create a few possibilities. Thanx!In a world without Borders or Fences, who needs Windows and Gates?0
-
I know, it is why I upload it there, I am waiting, that someone create some good tools with it. 8)0
-
Thanks for sharing. You see any chance in reading the C/AL coding as well ? Or C/AL comment lines ?In a world without Borders or Fences, who needs Windows and Gates?0
-
If I have free time, I can try to "decompile" objects, but...0
-
janpieter wrote:[...] You see any chance in reading the C/AL coding as well ? [...]Timo Lässer
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]0 -
i have 28 lines in a table and the process failed.
this is the error, my english is poor
It is not left free space in the memory of the C/AL battery to execute this task. There are too many activities you synchronize, produced by recursivas calls of the program. The problem can be solved temporarily closing some of the open activities (but the function follows without being able to execute)
thanks0 -
I tested with more lines... all is OK...
limit is only DocText variable length (in this example object). In normal use the lines are stored in a table.
How much memory do you have on your computer? Which OS :?:
I tested it on Win XP...0 -
hi,
I have WXP / SP1
512 RAM
This test fail me in table 27
thanks
==============
ERS INC-0008
Fecha: 21-Abril-04.
Descripción: Precios de Compra por Almacén.
Objeto: Desactivar los campos de Precio de Compra, se utilizará la nueva tabla 50019 - Precio Compra.
Modificadas funciones para buscar los datos en la nueva tabla.
Campos:
Precio coste - OnValidate()
Precio compra promedio - OnValidate()
Precio compra estándar - OnValidate()
% Bfº bruto - OnValidate()
P. compra promedio div.-adic. - OnValidate()
Ult. fecha calc. precio coste - OnValidate()
Valoración existencias - OnValidate()
% Coste - OnValidate()
Cálculo precio/bfº bruto - OnValidate()
Funciones:
ActlzCostMedioDivAdic()
ActlzrPCoste()
BuscarProdProv(VAR ProvProd : Record "Tarifa compra producto";GuardarUdadMed : Boolean;VAR tCodAlm : Code[10])
Objeto Modificado.
ERS Manufacturing.
1. Two new keys added.
2. Fields above 99000750 added.
3. Calc. fields Sched. need and receipt changed.
=================0 -
Tested with your Doc. lines - all OK.
Please, send me your object exported from Blob (in test object exported into c:\obj.bin). There can be some problem...
(sacekk@seznam.cz)
Which version of NA you are using?0 -
fix. thanks0
-
Hi Kine
I have tested this tool and i have found problems if the documentation has
lines like these
Version 1
// this line causing problem
Added field 1
Added field 2
or
Version 1.01
========== // this line causing problem
Added field 2
Added code to Ondelete
I think the problem is that they start with te but they don't end with either control char and e.Answer the question and wait for the answer.0 -
Sorry for the long response time... ](*,)
I forget that I have no watch for this topic...
The error is repaired in new version of object (1.1) which will be there for download in a short time...0 -
Object Documentation lines v1.1
Functions to get Documentation lines from binary object.
In attached object you can find functions, which get Documentation lines directly from binary object (exported from Object BLOB). You can use this functions to create some versioning tools or autodocumentation.
Marks for finding documentation in binary object I found with comparing some objects.
May be, that it is not exactly, but I did not found case when it will be wrong.
File export was used but Stream can be used too.
Attached object is form 99990 with Object table. You can select some object and use Button "Show documentation" - message with Documentation lines from selected object will be displayed (for example on object Form 99990).
Version 1.1:
Fixed problem with lines like '
' etc.
Fixed forgotten link to some table...
http://www.mibuso.com/dlinfo.asp?FileID=343
Discuss this download here.0 -
Shiiiiiiiiiiiiiiiiiiiiiiit....
I didn't know objects where saved as blob in the object table. Damn, if only...
Dude, You've earned yourself a 4 star rating at least!
Thanks a million for sharing this brilliant info!"Real programmers don't comment their code.
If it was hard to write, it should be hard to understand."0 -
haha,
how did you spend your weekend Emiel? Been working on a version management system based on your knew knowledge?In a world without Borders or Fences, who needs Windows and Gates?0 -
When the Documentation Trigger contains only "This is a test" (without "), the button "Show Documentation" displays "This is a te".
And when the Documentation Trigger contains only "AAA", the button display an empty messagebox.
I used Navision 4.0, and table 3 for this test.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0 -
Ok, I will test it more... problem is to recognize end of the coments, it seems, that last 4bytes are lost sometime...0
-
Indeed, sometimes it doesn't call the end-of-comments code, so I get an overflow error.No support using PM or e-mail - Please use this forum. BC TechDays 2024: 13 & 14 June 2024, Antwerp (Belgium)0
-
I try to update the objects for better syntax analysis. FB sent me some code that can help... I want to public new version in 2 months...0
-
Hi,
great stuff done here. Any news about updated version of this tool?
Thanks in advance.0 -
Sorry, I had no time to update the objects... :-(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
- 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