InvoiceDetail (invoice product) entity messages and methods
Applies To: Dynamics CRM 2013
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 |
---|---|
Creates an invoice detail. You can also call the IOrganizationService.Create method. |
|
Deletes an invoice detail. You can also call the IOrganizationService.Delete method. |
|
Retrieves an invoice detail. You can also call the IOrganizationService.Retrieve method. |
|
Retrieves a collection of invoice details. You can also call the IOrganizationService.RetrieveMultiple method. |
|
Updates an invoice detail. You can also call the IOrganizationService.Update method. |
See Also
Quote, order, and invoice entities
InvoiceDetail entity privileges
Sample: Set negative prices in opportunities, quotes and sales orders