Comment in object text file
spiky_golden
Member Posts: 44
I Need to add comment in the .txt export file of nav 5.0 objects. I know how to put comments in the code section with the // or {} symbole, but what's the syntax in the field definition section?
The reason I want to do that is that i want to tag every line that has been modified in the objects including field modification. Anyone have a clue?
Thanks
The reason I want to do that is that i want to tag every line that has been modified in the objects including field modification. Anyone have a clue?
Thanks
0
Answers
-
Just add a comment in the FOB export it and see how it is formatted. ](*,)David Singleton0
-
Well in this case can you tell me how to add a comment in the field definition?
I have to do something like this :
{comment here} { 1000000000;TextBox;4048 ;550 ;1700 ;440 ;ParentControl=1;
{comment here} InColumn=Yes;
{comment here} SourceExpr="Order No." }
{comment here} { 1000000001;Label ;0 ;0 ;0 ;0 ;ParentControl=1000000000;
{comment here} InColumnHeading=Yes }0 -
spiky_golden wrote:Well in this case can you tell me how to add a comment in the field definition?
I have to do something like this :
{comment here} { 1000000000;TextBox;4048 ;550 ;1700 ;440 ;ParentControl=1;
{comment here} InColumn=Yes;
{comment here} SourceExpr="Order No." }
{comment here} { 1000000001;Label ;0 ;0 ;0 ;0 ;ParentControl=1000000000;
{comment here} InColumnHeading=Yes }
I don't think what you want is possible, it would ruin the textfile, and you wouldn't be able to import it anymore.0 -
The closest thing that I can think of when you're referring to a field on a table is to modify the description value of that field. As you can see below there is a "Description=" property of field 10, as it looks when it is output from NAV to a text file.
{ 10 ; ;Purch. Document Type;Option ;OptionString=Quote,Order,Invoice,Credit Memo,Blanket Order,Return Order; Description=This is where the PO doc type goesfds ffdsafdsafdsafds }
Unfortunately the NAV text file format is pretty rigid and you should be careful when editing it so that you don't corrupt things. I would recommend that you be very careful when editing properties in text.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K 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
- 327 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
