Originally discussed on this post:
http://www.mibuso.com/forum/viewtopic.php?t=22153
Basically, on the company setup, create a new record and use the standard Navision form to upload you into the BLOB field.
This will eliminate any need for modification (other than the reports)!
Comments
Also If you have multiple companies, You could Do a
CompInfo.ChangeCompany and get the picture from the other company.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Oops... Just fixed the link.
Yeah, but sometimes when a copy sets up a DBA (Doing Business As) to the main corporation, all the transactions is still under one company. But when they invoice the customer, they want to use the information on the DBA.
Just use companyinfo.GET if you want to use the standard logo. And use companyinfo.get('1') if you want logo for the DBA company.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog
It is always better for upgrades and maintenance to ADD logic and not to CHANGE logic.
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
Yes, adding additional picture fields may be clearer, but if the company likes to create a bunch of DBAs for branding purposes, it may be better to just not modify it in the first place.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
So with compinfo solution, You'll have new records for every posting group or dimension and the code will equal the companyInfo. You'll still have to modify the company Info form, so that they can see the code and insert new records with code.
I usually add the field to Posting group or Dimension value table and grab it when you print the reports.
This is really a minuscule that it's not worth talking about.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
Eric Wauters
MVP - Microsoft Dynamics NAV
My blog