in

Dynamics User Group

Since 1995 - The Microsoft Dynamics Online User Community

Sales Order

Last post 08-14-2008 13:57 by girish.joshi. 3 replies.
Page 1 of 1 (4 items)
Write a New Post Sort Posts: Previous Next
  • 08-11-2008 16:02

    • siya10
    • Not Ranked
    • Joined on 04-14-2008
    • Posts 29
    • Points 500

    Sales Order

    When creating a Sales Order i need a button that writes this order to a text file before i post it,please help with a piece of a code that can do this.

    My idea was to create a button that call a dataport that will export the order to a text file,it looks like its a long route to do it,please help with a shortcut to do it.Angry

    • Post Points: 20
  • 08-11-2008 17:18 In reply to

    • girish.joshi
    • Top 75 Contributor
    • Joined on 07-14-2006
    • Atlanta, Georgia
    • Posts 289
    • Points 6,887

    Re: Sales Order

    Does it need to be read programatically?  Here are a few options:

    1. Click SaveAsHtml before running the report.  This can also be done programatically.
    2. If using 5.0 click, Export the report to Word and then when in word save as text.
    3. Save the report as a .pdf file (many examples online).  Then in the .pdf run save as text.
    4. Use an XML Port instead of a dataport.  99008515 Outbound Sales Order Confirm.  is probably pretty close to what you need.  You can use a style sheet to strip out the unwanted XML.

     

    • Post Points: 20
  • 08-14-2008 13:01 In reply to

    • siya10
    • Not Ranked
    • Joined on 04-14-2008
    • Posts 29
    • Points 500

    Re: Sales Order

    Thanks it worked!

    • Post Points: 20
  • 08-14-2008 13:57 In reply to

    • girish.joshi
    • Top 75 Contributor
    • Joined on 07-14-2006
    • Atlanta, Georgia
    • Posts 289
    • Points 6,887

    Re: Sales Order

    You're welcome.  Which option did you go with?

    • Post Points: 5
Page 1 of 1 (4 items)


Copyright Dynamics User Group, 1995-2008, all rights reserved. This website and user group are independent and not affiliated with the Microsoft Corporation.