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 financialforce 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 financialforce help for more details.
The same read and write permissions granted for the FinancialForce application extend to the FinancialForce 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–2022 FinancialForce.com, inc. All rights reserved. Various trademarks held by their respective owners.