Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Importing Pictures into a Standalone Dexterity Application

(0) ShareShare
ReportReport
Posted on by 185

We have a set of customers who use our standalone dexterity application.  They would like to place a logo on an invoice that our app generates for them.  It is easy to do one-at-a-time through the development system, but that means that we would have to do it for each customer individually.  It would be much easier if we could give the customer the ability to scan, and place into a directory the logo for their company, and then have Dexterilty, our application, read the logo from that directory so that it would then appear on the invoice as their logo.  In other words, if their is no logo in the particular diectory (stored as a file -- .tif,.jpg...) then no logo would be utilized on the invoice.  If the logo existed in the directory, then the app could use that logo.  The problem is how would Dex read that file and store it in the pictures resource library?

Any comments or ideas would be greatly appreciated.\

Thank you....herb

*This post is locked for comments

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,965 Most Valuable Professional on at
    RE: Importing Pictures into a Standalone Dexterity Application

    Hi Herb

    There is a Datatype called Picture which can be used to store images.

    This functionality was used by the AFA module, in particular the AF_Report_Picture_Access and AF_Report_Picture forms.

    To help you, the script behind the Paste button is below: the rest of the code is fairly standard.

    {
    | call system call to display picture from clipboard
    }
    local boolean l_OK;

    focus field 'FLD Picture';
    system 4155, 'FLD Picture' of window AF_Report_Picture_Access of form AF_Report_Picture_Access, l_OK;
    if l_OK = false then
     call Warning_Dialog,6077,"","","";
    end if;

    Hope this helps

    David

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,430 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans