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.
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
Microsoft Dynamics NAV Developer since 1997
MSDynamics.de - German Microsoft Dynamics Community - member of [clip]
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)
thanks
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...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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.
=================
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?
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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.
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...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
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.
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!
If it was hard to write, it should be hard to understand."
how did you spend your weekend Emiel? Been working on a version management system based on your knew knowledge?
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.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
great stuff done here. Any news about updated version of this tool?
Thanks in advance.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.