Accounting Apex API Developer Reference

c2g.CODAAPIPurchaseInvoiceLineItemTypes_9_0

global with sharing class CODAAPIPurchaseInvoiceLineItemTypes_9_0

Holds details of product line items on the purchase invoice. See "Purchase Invoice Fields" and "What is a Purchase Invoice" in the Certinia Help for more details.

c2g.CODAAPIPurchaseInvoiceLineItemTypes_9_0.PurchaseInvoiceLineItem

global with sharing class PurchaseInvoiceLineItem

Holds details of product line items on the purchase invoice. See "Purchase Invoice Fields" and "What is a Purchase Invoice" in the Certinia Help for more details.

Properties

Name Type Description
DateFrom date The start date of the period covered by the product line.
DateTo date The end date of the period covered by the product line.
Dimension1 c2g.CODAAPICommon.Reference Name of the Dimension 1 record by which you want to analyze this line item.
Dimension2 c2g.CODAAPICommon.Reference Name of the Dimension 2 record by which you want to analyze this line item.
Dimension3 c2g.CODAAPICommon.Reference Name of the Dimension 3 record by which you want to analyze this line item.
Dimension4 c2g.CODAAPICommon.Reference Name of the Dimension 4 record by which you want to analyze this line item.
EditTaxValue boolean Indicates whether you can edit the tax value once "Complete".
InputVATCode c2g.CODAAPICommon.Reference Reference to the related VAT code.
LineDescription string Description of the line item.
NetValue decimal The unit price multiplied by the quantity.
OwnerCompany c2g.CODAAPICommon.Reference Company to which this line item belongs.
Product c2g.CODAAPICommon.Reference Name of the selected product. Mandatory.
PurchaseInvoice c2g.CODAAPICommon.Reference Reference to the purchase invoice to which this line item belongs. Mandatory.
Quantity decimal Quantity of the product sold, to two decimal places. Mandatory.
TaxRate1 decimal Tax rate for tax code 1.
TaxRateTotal decimal Composite tax rate for this line item.
TaxValue1 decimal Total value of items posted to tax code 1, before tax. Mandatory.
TaxValueTotal decimal Total value of tax relating to this line item, to two decimal places.
UnitPrice decimal Unit price of the selected product. Mandatory.
CreatedById c2g.CODAAPICommon.Reference ID of the user who created the record.
LastModifiedById c2g.CODAAPICommon.Reference ID of the user who last modified the record.
CreatedDate datetime Date and time when the record was created.
Id id Globally unique string that identifies the record.
LastModifiedDate datetime Date and time when the record was last modified by a user.
SystemModstamp datetime Date and time when the record was last modified by a user or by a workflow process (such as a trigger).
Name string Unique number allocated to this line item.
IsDeleted boolean Indicates whether the record has been moved to the Recycle Bin (true) or not (false).
CustomFields List<c2g.CODAAPIPurchaseInvoiceLineItemTypes_9_0.CustomField> Reference to the list of user-defined fields that have been exposed with a type 1 integration rule.

c2g.CODAAPIPurchaseInvoiceLineItemTypes_9_0.PurchaseInvoiceLineItems

global with sharing class PurchaseInvoiceLineItems

Holds the collection of PurchaseInvoiceLineItem objects on this purchase invoice.

Properties

Name Type Description
LineItemList c2g.CODAAPIPurchaseInvoiceLineItemTypes_9_0.PurchaseInvoiceLineItem[] The collection of PurchaseInvoiceLineItem objects.

c2g.CODAAPIPurchaseInvoiceLineItemTypes_9_0.CustomField

global with sharing class CustomField implements CODAAPICommon.IAPICustomField

Holds the information about the user-defined fields that have been exposed with a type 1 integration rule. See "Integration Rules - Type 1" in the Certinia Help for more details.
The same read and write permissions granted for the Certinia application extend to the Certinia API.

Properties

Name Type Description
FieldName string Name of the user-defined field.
Value string Value of the user-defined field.
© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.