Accounting Apex API Developer Reference

c2g.CODAAPICreditNoteLineItemTypes_10_0

global with sharing class CODAAPICreditNoteLineItemTypes_10_0

The service class relating to Sales Credit Note Line Items.

c2g.CODAAPICreditNoteLineItemTypes_10_0.CreditNoteLineItem

global with sharing class CreditNoteLineItem

Holds the line items on the sales credit note. They must be created in the context of a sales credit note. See "Sales Credit Note Fields" and "What is a Sales Credit Note" in the Certinia Help for more details.

Properties

Name Type Description
Id id Globally unique string that identifies the record.
IsDeleted boolean Indicates whether the record has been moved to the Recycle Bin (true) or not (false).
Name string Unique number allocated to this sales credit note line item.
CreatedDate datetime Date and time when this record was created.
CreatedById c2g.CODAAPICommon.Reference ID of the user who created this record.
LastModifiedDate datetime Date and time when this record was last modified by a user.
LastModifiedById c2g.CODAAPICommon.Reference ID of the user who last updated this record.
SystemModstamp datetime Date and time when this record was last modified by a user or by a workflow process (such as a trigger).
CreditNote c2g.CODAAPICommon.Reference Reference to the sales credit note to which this line item belongs. Mandatory.
CalculateTaxValue2FromRate boolean For internal use only.
CalculateTaxValue3FromRate boolean For internal use only.
CalculateTaxValueFromRate boolean For internal use only.
DeriveTaxRate2FromCode boolean For internal use only.
DeriveTaxRate3FromCode boolean For internal use only.
DeriveTaxRateFromCode boolean For internal use only.
DeriveUnitPriceFromProduct boolean For internal use only.
Dimension1 c2g.CODAAPICommon.Reference Reference to the Dimension 1 record by which you want to analyze this line item.
Dimension2 c2g.CODAAPICommon.Reference Reference to the Dimension 2 record by which you want to analyze this line item.
Dimension3 c2g.CODAAPICommon.Reference Reference to the Dimension 3 record by which you want to analyze this line item.
Dimension4 c2g.CODAAPICommon.Reference Reference to the Dimension 4 record by which you want to analyze this line item.
GeneralLedgerAccount c2g.CODAAPICommon.Reference Reference to a related general ledger account.
LocalGLA c2g.CODAAPICommon.Reference Reference to a Local Gla associated with Corporate GLa through COA.
LineDescription string Description of the line item.
NetValue decimal The unit price multiplied by the quantity.
OwnerCompany c2g.CODAAPICommon.Reference Reference to the Company to which this line item belongs.
Product c2g.CODAAPICommon.Reference Reference to the selected product. Mandatory.
Quantity decimal Quantity of the product sold, to two decimal places. Mandatory.
SetTaxCode2ToDefault boolean For internal use only.
SetTaxCode3ToDefault boolean For internal use only.
SetTaxCodeToDefault boolean For internal use only.
TaxCode1 c2g.CODAAPICommon.Reference Tax Code 1.
TaxCode2 c2g.CODAAPICommon.Reference Tax Code 2.
TaxCode3 c2g.CODAAPICommon.Reference Tax Code 3.
TaxRate1 decimal Tax rate for tax code 1.
TaxRate2 decimal Tax rate for tax code 2.
TaxRate3 decimal Tax rate for tax code 3.
TaxRateTotal decimal Composite tax rate for this line item.
TaxValue1 decimal Total value of items posted to tax code 1, before tax. Mandatory.
TaxValue2 decimal Total value of items posted to tax code 2, before tax.
TaxValue3 decimal Total value of items posted to tax code 3, before tax.
TaxValueTotal decimal Total value of tax relating to this line item, to two decimal places.
UnitPrice decimal Unit price of the product. Mandatory.
CustomFields List<c2g.CODAAPICreditNoteLineItemTypes_10_0.CustomField> Reference to the list of user-defined fields that have been exposed with a type 1 integration rule.

c2g.CODAAPICreditNoteLineItemTypes_10_0.CreditNoteLineItems

global with sharing class CreditNoteLineItems

Holds the collection of CreditNoteLineItem objects on this credit note.

Properties

Name Type Description
LineItemList c2g.CODAAPICreditNoteLineItemTypes_10_0.CreditNoteLineItem[] The collection of CreditNoteLineItem objects.

c2g.CODAAPICreditNoteLineItemTypes_10_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.

c2g.CODAAPICreditNoteLineItemTypes_10_0.CreditNoteLineItemForAmend

global with sharing class CreditNoteLineItemForAmend

Represents information that allows you to amend the line items on a posted credit note.

Properties

Name Type Description
CreditNoteLineItem c2g.CODAAPICommon.Reference Reference to the sales credit note line item to be amended. Mandatory.
LineDescription String Description of the credit note line item.
Dimension1 c2g.CODAAPICommon.Reference Reference to the Dimension1 record by which you want to analyze this account. Mandatory if Dimension1Specified is true.
Dimension1Specified Boolean If Dimension1Specified is true, the value in Dimension1 is applied to the Dimension1 on the line item. If Dimension1 is null, the value in the Dimension1 field on the line is deleted. If Dimension1Specified is false, the Dimension1 value on the line is not updated.
Dimension2 c2g.CODAAPICommon.Reference Reference to the Dimension2 record by which you want to analyze this account. Mandatory if Dimension2Specified is true.
Dimension2Specified Boolean If Dimension2Specified is true, the value in Dimension2 is applied to the Dimension2 on the line item. If Dimension2 is null, the value in the Dimension2 field on the line is deleted. If Dimension2Specified is false, the Dimension2 value on the line is not updated.
Dimension3 c2g.CODAAPICommon.Reference Reference to the Dimension3 record by which you want to analyze this account. Mandatory if Dimension3Specified is true.
Dimension3Specified Boolean If Dimension3Specified is true, the value in Dimension3 is applied to the Dimension3 on the line item. If Dimension3 is null, the value in the Dimension3 field on the line is deleted. If Dimension3Specified is false, the Dimension3 value on the line is not updated.
Dimension4 c2g.CODAAPICommon.Reference Reference to the Dimension4 record by which you want to analyze this account. Mandatory if Dimension4Specified is true.
Dimension4Specified Boolean If Dimension4Specified is true, the value in Dimension4 is applied to the Dimension4 on the line item. If Dimension4 is null, the value in the Dimension4 field on the line is deleted. If Dimension4Specified is false, the Dimension4 value on the line is not updated.
© Copyright 2009–2023 Certinia Inc. All rights reserved. Various trademarks held by their respective owners.