Click or drag to resize

InvoiceDetail Class

Line item in an invoice containing detailed billing information for a product.
Inheritance Hierarchy
SystemObject
  Entity
    Crm.MSCrmServiceInvoiceDetail

Namespace: Crm.MSCrmService
Assembly: Scripting (in Scripting.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public class InvoiceDetail : Entity, 
	INotifyPropertyChanging, INotifyPropertyChanged

The InvoiceDetail type exposes the following members.

Constructors
 NameDescription
Public methodInvoiceDetail Default Constructor.
Top
Properties
 NameDescription
Public propertyActualDeliveryOn Enter the date when the invoiced product was delivered to the customer.
Public propertyAttributes
(Inherited from Entity)
Public propertyBaseAmount Shows the total price of the invoice product, based on the price per unit, volume discount, and quantity.
Public propertyBaseAmount_Base Shows the Amount field converted to the system's default base currency. The calculation uses the exchange rate specified in the Currencies area.
Public propertyCreatedBy Shows who created the record.
Public propertyCreatedOn Shows the date and time when the record was created. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyCreatedOnBehalfBy Shows who created the record on behalf of another user.
Public propertyDescription Type additional information to describe the product line item of the invoice.
Public propertyEntityState
(Inherited from Entity)
Public propertyExchangeRate Shows the conversion rate of the record's currency. The exchange rate is used to convert all money fields in the record from the local currency to the system's default currency.
Public propertyExtendedAmount Shows the total amount due for the invoice product, based on the sum of the unit price, quantity, discounts, and tax.
Public propertyExtendedAmount_Base Shows the Extended Amount field converted to the system's default base currency. The calculation uses the exchange rate specified in the Currencies area.
Public propertyExtensionData
(Inherited from Entity)
Public propertyFormattedValues
(Inherited from Entity)
Public propertyHasLazyFileAttribute
(Inherited from Entity)
Public propertyId
(Overrides Entity.Id)
Public propertyImportSequenceNumber Unique identifier of the data import or data migration that created this record.
Public propertyinvoice_details N:1 invoice_details
Public propertyInvoiceDetail_AsyncOperations 1:N InvoiceDetail_AsyncOperations
Public propertyInvoiceDetail_BulkDeleteFailures 1:N InvoiceDetail_BulkDeleteFailures
Public propertyInvoiceDetail_Dynamicpropertyinstance 1:N InvoiceDetail_Dynamicpropertyinstance
Public propertyinvoicedetail_principalobjectattributeaccess 1:N invoicedetail_principalobjectattributeaccess
Public propertyInvoiceDetail_ProcessSessions 1:N InvoiceDetail_ProcessSessions
Public propertyInvoiceDetail_SyncErrors 1:N InvoiceDetail_SyncErrors
Public propertyInvoiceDetailId Unique identifier of the invoice product line item.
Public propertyInvoiceId Unique identifier of the invoice associated with the invoice product line item.
Public propertyInvoiceIsPriceLocked Information about whether invoice product pricing is locked.
Public propertyInvoiceStateCode Status of the invoice product.
Public propertyIsCopied Select whether the invoice product is copied from another item or data source.
Public propertyIsPriceOverridden Select whether the price per unit is fixed at the value in the specified price list or can be overridden by users who have edit rights to the invoice product.
Public propertyIsProductOverridden Select whether the product exists in the Microsoft Dynamics CRM product catalog or is a write-in product specific to the parent invoice.
Public propertyItem
(Inherited from Entity)
Public propertyKeyAttributes
(Inherited from Entity)
Public propertyLazyFileAttributeKey
(Inherited from Entity)
Public propertyLazyFileAttributeValue
(Inherited from Entity)
Public propertyLazyFileSizeAttributeKey
(Inherited from Entity)
Public propertyLazyFileSizeAttributeValue
(Inherited from Entity)
Public propertyLineItemNumber Type the line item number for the invoice product to easily identify the product in the invoice and make sure it's listed in the correct order.
Public propertylk_invoicedetail_createdonbehalfby N:1 lk_invoicedetail_createdonbehalfby
Public propertylk_invoicedetail_modifiedonbehalfby N:1 lk_invoicedetail_modifiedonbehalfby
Public propertylk_invoicedetailbase_createdby N:1 lk_invoicedetailbase_createdby
Public propertylk_invoicedetailbase_modifiedby N:1 lk_invoicedetailbase_modifiedby
Public propertyLogicalName
(Inherited from Entity)
Public propertyManualDiscountAmount Type the manual discount amount for the invoice product to deduct any negotiated or other savings from the product total.
Public propertyManualDiscountAmount_Base Shows the Manual Discount field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyModifiedBy Shows who last updated the record.
Public propertyModifiedOn Shows the date and time when the record was last updated. The date and time are displayed in the time zone selected in Microsoft Dynamics CRM options.
Public propertyModifiedOnBehalfBy Shows who last updated the record on behalf of another user.
Public propertyOverriddenCreatedOn Date and time that the record was migrated.
Public propertyOwnerId Unique identifier of the user or team who owns the invoice detail.
Public propertyOwningBusinessUnit Unique identifier of the business unit that owns the invoice product line item.
Public propertyOwningUser Unique identifier of the user who owns the invoice product line item.
Public propertyParentBundleId Choose the parent bundle associated with this product
Public propertyPricePerUnit Type the price per unit of the invoice product. The default is the value in the price list specified on the parent invoice for existing products.
Public propertyPricePerUnit_Base Shows the Price Per Unit field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyPricingErrorCode Pricing error for the invoice product line item.
Public propertyproduct_invoice_details N:1 product_invoice_details
Public propertyproductAssociation_invoice_details N:1 productAssociation_invoice_details
Public propertyProductAssociationId Unique identifier of the product line item association with bundle in the invoice
Public propertyProductDescription Type a name or description to identify the type of write-in product included in the invoice.
Public propertyProductId Choose the product to include on the invoice.
Public propertyProductTypeCode Product Type
Public propertyPropertyConfigurationStatus Status of the property configuration.
Public propertyQuantity Type the amount or quantity of the product included in the invoice's total amount due.
Public propertyQuantityBackordered Type the amount or quantity of the product that is back ordered for the invoice.
Public propertyQuantityCancelled Type the amount or quantity of the product that was canceled for the invoice line item.
Public propertyQuantityShipped Type the amount or quantity of the product that was shipped.
Public propertyReferencedinvoicedetail_parent_invoicedetail 1:N invoicedetail_parent_invoicedetail
Public propertyReferencinginvoicedetail_parent_invoicedetail N:1 invoicedetail_parent_invoicedetail
Public propertyRelatedEntities
(Inherited from Entity)
Public propertyRowVersion
(Inherited from Entity)
Public propertySalesRepId Choose the user responsible for the sale of the invoice product.
Public propertySequenceNumber Shows the ID of the data that maintains the sequence.
Public propertyShippingTrackingNumber Type a tracking number for shipment of the invoiced product.
Public propertyShipTo_City Type the city for the customer's shipping address.
Public propertyShipTo_Country Type the country or region for the customer's shipping address.
Public propertyShipTo_Fax Type the fax number for the customer's shipping address.
Public propertyShipTo_FreightTermsCode Select the freight terms to make sure shipping orders are processed correctly.
Public propertyShipTo_Line1 Type the first line of the customer's shipping address.
Public propertyShipTo_Line2 Type the second line of the customer's shipping address.
Public propertyShipTo_Line3 Type the third line of the shipping address.
Public propertyShipTo_Name Type a name for the customer's shipping address, such as "Headquarters" or "Field office", to identify the address.
Public propertyShipTo_PostalCode Type the ZIP Code or postal code for the shipping address.
Public propertyShipTo_StateOrProvince Type the state or province for the shipping address.
Public propertyShipTo_Telephone Type the phone number for the customer's shipping address.
Public propertysystem_user_invoicedetail N:1 system_user_invoicedetail
Public propertyTax Type the tax amount for the invoice product.
Public propertyTax_Base Shows the Tax field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyTimeZoneRuleVersionNumber For internal use only.
Public propertytransactioncurrency_invoicedetail N:1 transactioncurrency_invoicedetail
Public propertyTransactionCurrencyId Choose the local currency for the record to make sure budgets are reported in the correct currency.
Public propertyunit_of_measurement_invoice_details N:1 unit_of_measurement_invoice_details
Public propertyUoMId Choose the unit of measurement for the base unit quantity for this purchase, such as each or dozen.
Public propertyuserentityinstancedata_invoicedetail 1:N userentityinstancedata_invoicedetail
Public propertyUTCConversionTimeZoneCode Time zone code that was in use when the record was created.
Public propertyVersionNumber Version number of the invoice product line item.
Public propertyVolumeDiscountAmount Shows the discount amount per unit if a specified volume is purchased. Configure volume discounts in the Product Catalog in the Settings area.
Public propertyVolumeDiscountAmount_Base Shows the Volume Discount field converted to the system's default base currency for reporting purposes. The calculation uses the exchange rate specified in the Currencies area.
Public propertyWillCall Select whether the invoice product should be shipped to the specified address or held until the customer calls with further pick up or delivery instructions.
Top
Methods
 NameDescription
Public methodContains
(Inherited from Entity)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetAttributeValue``1
(Inherited from Entity)
Protected methodGetFormattedAttributeValue
(Inherited from Entity)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodGetRelatedEntities``1
(Inherited from Entity)
Protected methodGetRelatedEntity``1
(Inherited from Entity)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Protected methodSetAttributeValue
(Inherited from Entity)
Protected methodSetRelatedEntities``1
(Inherited from Entity)
Protected methodSetRelatedEntity``1
(Inherited from Entity)
Public methodToEntity``1
(Inherited from Entity)
Public methodToEntityReference
(Inherited from Entity)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodTryGetAttributeValue``1
(Inherited from Entity)
Top
Events
Fields
See Also