Share via


InvoiceDetail (invoice product) entity messages and methods

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016, Dynamics CRM Online

An invoice product (invoice detail) stores a line item in an invoice. Each invoice can have multiple invoice detail records.

Note

The pricing error code is specified in the InvoiceDetail.PricingErrorCode attribute. The possible values for this attribute are defined in the Pricing Error (qooi_pricingerrorcode) global option set.

The schema name for this entity is InvoiceDetail. To view the entity metadata for your organization, install the Metadata Browser solution described in Browse the metadata for your organization. You can also view the metadata for an uncustomized organization in the Excel file called EntityMetadata.xlsx included in the top-level folder of the SDK download. The following table describes the messages for this entity, which you use with the IOrganizationService.Execute method.

Message

Description

CreateRequest

Creates an invoice detail. You can also call the IOrganizationService.Create method.

DeleteRequest

Deletes an invoice detail. You can also call the IOrganizationService.Delete method.

RetrieveRequest

Retrieves an invoice detail. You can also call the IOrganizationService.Retrieve method.

RetrieveMultipleRequest

Retrieves a collection of invoice details. You can also call the IOrganizationService.RetrieveMultiple method.

UpdateRequest

Updates an invoice detail. You can also call the IOrganizationService.Update method.

See Also

Quote, order, and invoice entities
Privileges by entity
Sample: Set negative prices in opportunities, quotes, and sales orders

Microsoft Dynamics 365

© 2016 Microsoft. All rights reserved. Copyright