locked
updating salesorder when Invoice created RRS feed

  • Question

  • Hi All,

    I need to copy the Invoice Number generated by the System (when a new invoice is generated) back to the corresponding sales order and also change its status to Invoiced. How can I do that?


    AM
    Thursday, January 13, 2011 10:41 AM

Answers

All replies

  • Either with workflow or a plugin.
    MSCRM Bing'd - http://bingsoft.wordpress.com
    Check out the CRM 4 to CRM 2011 JavaScript Converter Tool
    CRM Forum Guidance on how to Help Us Help You
    • Marked as answer by Jhelumi786 Thursday, January 13, 2011 12:25 PM
    Thursday, January 13, 2011 10:52 AM
    Moderator
  • I might be wrong but I think keeping in view the nature of relationship this is not possible because one order can have multiple invoices. Therefore whenever an invoice is created it will overright the invoicenumber on order. This senario is only possible if you have 1 to 1 relationship between order and invoice.


    Regards Faisal
    Thursday, January 13, 2011 11:07 AM
  • Hi Faisal,

    In my senario it will be 1:1 relationship.

    I did manage to do it using Workflows.

    Thanks Guys


    AM
    • Edited by Jhelumi786 Thursday, January 13, 2011 12:25 PM Edit
    Thursday, January 13, 2011 11:52 AM