Site Search:
Sign in | Join | Help

How to load a sales transaction from an add-in.

Last post 06-30-2008 11:30 AM by Seth Abady. 6 replies.
Page 1 of 1 (7 items)
Sort Posts: Previous Next
  • 06-27-2008 12:18 PM

    How to load a sales transaction from an add-in.

    Is it possible to load an existing document from a VS Tools add-in. I'd like to be able to load an existing sales transaction from an add-in to the Sales Transaction window. I think it can be done using the Dynamics.Forms.SopEntry.Procedures.DisplayDocument form procedure, but I'm not sure where to find the description of the parameters. Any help is welcome.

    Thanks.

    • 72.67.101.206
  • 06-27-2008 1:11 PM In reply to

    Re: How to load a sales transaction from an add-in.

    Let me be sure of the question:

    You'd like to open the Sales Transaction Entry window, and have it populate with an existing document?

    Steve Gray, MCDBA
    Technical Editor
    steve@VSToolsForum.com
    • 216.64.79.2
  • 06-27-2008 1:21 PM In reply to

    Re: How to load a sales transaction from an add-in.

    The requirement is to import/create a sales transaction from an external document (spreadsheet). I'll be using eConnect from the Add-In to create the transaction. The next requirement is to display the newly created sales transaction for the user to verify.

     

    • 72.67.101.206
  • 06-27-2008 1:49 PM In reply to

    Re: How to load a sales transaction from an add-in.

    Be sure that you separate these two tasks in your mind. The eConnect piece is totally separate from the design piece.

    I'll skip the eConnect part, that should be covered on that forum anyway. The challenge is how to open that form. I have code to open the Sale Transaction Entry (STE) form here http://vstoolsforum.com/forums/p/63/121.aspx#121, but we have to have some place to put that code.

     You also have to have some place to initiate the import from.

    Could we have the use open the STE form and push a button to do the import, that button would open up a custom form and from there we could do the import? Then when the form closes we could navigate the STE form to the new doc?

    Steve Gray, MCDBA
    Technical Editor
    steve@VSToolsForum.com
    • 216.64.79.2
  • 06-27-2008 2:02 PM In reply to

    Re: How to load a sales transaction from an add-in.

    The user experience is:

    1) From the GP STE form, open the Add-In.

    2) From the Add-In, initiate the import. The Add-In will allow the user to select the appropriate document to import.

    3) Once the import has completed, display the new ST on the STE form. The STE form remains open throughout the process.

     

    • 72.67.101.206
  • 06-30-2008 9:56 AM In reply to

    Re: How to load a sales transaction from an add-in.

    Yep, that should work just fine.

     

    Steve Gray, MCDBA
    Technical Editor
    steve@VSToolsForum.com
    • 216.64.79.2
  • 06-30-2008 11:30 AM In reply to

    Re: How to load a sales transaction from an add-in.

    Thanks. Your code example using the OpenWindow function was just what I needed.

    • 72.67.101.206
Page 1 of 1 (7 items)