locked
Plug-in development on invoice entity RRS feed

  • Question

  • Hi All,

    I am new to CRM. I am trying to create a plug-in on invoice entity. I need to get the total amount, invoice state and customer values programatically. Can someone pls help me out with the code/logic.

    Thanks in advance.

    Tuesday, October 20, 2015 2:09 PM

All replies

  • Hi All,

    I am new to CRM. I am trying to create a plug-in on invoice entity. I need to get the total amount, invoice state and customer values programatically. Can someone pls help me out with the code/logic.

    Thanks in advance.

    Tuesday, October 20, 2015 2:12 PM
  • Hi,

    There are sample plugins in the SDK so start with those for the basic setup and framework.

    When a plugin is executed in create-mode, all fields are submitted, even blank ones, but when the plugin is executed in update mode only the changed fields are submitted, so if you want to fetch certain fields using a plugin you might need to have a look in the image too.

    I'm sorry about the roughness of the answer but there are a lot of unknowns in you question to be able to answer, have a look at the examples in the SDK and return if there's something that's unclear.

    Regards


    Rickard Norström Developer CRM-Konsulterna
    http://www.crmkonsulterna.se
    Swedish Dynamics CRM Forum: http://www.crmforum.se
    My Blog: http://rickardnorstrom.blogspot.se

    Wednesday, October 21, 2015 11:14 AM