Accounting

c2g.CODAAPIPurchaseCreditNoteTypes_7_0

global with sharing class CODAAPIPurchaseCreditNoteTypes_7_0

Represents information that applies to the whole purchase credit note and acts as a container for a number of purchase credit note line items. See "Payable Credit Note Fields" and "What is a Payable Credit Note" in the FinancialForce Help for more details.

Enums

enumCreditNoteStatus

Possible purchase invoice statuses.

Value Description
InProgress The document has been saved, but has not been posted.
Complete The document has been posted.
Discarded The document is no longer required, but evidence needs to be retained. You must provide a discard reason.

enumIncomeTaxType

Category of 1099 income tax. These types relate to the boxes on Form 1099-MISC.

c2g.CODAAPIPurchaseCreditNoteTypes_7_0.PurchaseCreditNote

global with sharing class PurchaseCreditNote

Represents information that applies to the whole purchase credit note and acts as a container for a number of purchase credit note line items. See "Payable Credit Note Fields" and "What is a Payable Credit Note" in the FinancialForce Help for more details.

Properties

Name Type Description
Id id Globally unique string that identifies the record.
OwnerId c2g.CODAAPICommon.Reference ID of the user who owns 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 the purchase credit note.
CreatedDate datetime Date and time when the record was created.
CreatedById c2g.CODAAPICommon.Reference ID of the user who created the record.
LastModifiedDate datetime Date and time when the record was last modified by a user.
LastModifiedById c2g.CODAAPICommon.Reference ID of the user who last modified the record.
SystemModstamp datetime Date and time when the record was last modified by a user or by a workflow process (such as a trigger).
AccountCreditNoteNumber string Credit note number shown on the vendor's credit note.
AccountInvoiceNumber string Invoice number on the credit note delivered by the vendor.
Account c2g.CODAAPICommon.Reference Vendor account for this purchase credit note. Mandatory.
CreditNoteCurrency c2g.CODAAPICommon.Reference Currency in which monetary values are expressed on this purchase credit note. Mandatory.
CreditNoteRate decimal The exchange rate for document to home currency.
DualRate decimal The exchange rate for home to dual currency.
CreditNoteDate date Date that appears on the sales credit note sent by the vendor. Mandatory.
CreditNoteDescription string Description of the purchase credit note that can be used to include comments.
CreditNoteReason string Reason for the credit note, such as "Goods Returned" or "Incorrect Shipment".
CreditNoteStatus c2g.CODAAPIPurchaseCreditNoteTypes_7_0.enumCreditNoteStatus Current status of the purchase credit note. Mandatory.
CreditNoteTotal decimal Total credit note value, including the tax.
Dimension1 c2g.CODAAPICommon.Reference Reference to a Dimension by which you want to analyze this account.
Dimension2 c2g.CODAAPICommon.Reference Reference to a Dimension by which you want to analyze this account.
Dimension3 c2g.CODAAPICommon.Reference Reference to a Dimension by which you want to analyze this account.
Dimension4 c2g.CODAAPICommon.Reference Reference to a Dimension by which you want to analyze this account.
DiscardReason string Reason why the purchase credit note was discarded.
DueDate date Date the purchase credit note is due for payment. Mandatory.
IncomeTaxTypeRef c2g.CODAAPIPurchaseCreditNoteTypes_7_0.enumIncomeTaxType Default category of 1099 income tax withheld for this account or Not Reportable. These types relate to the boxes on Form 1099-MISC.
InvoiceDate date Date of the related purchase invoice, if relevant.
NetTotal decimal Total value of items on the purchase credit note, before tax.
OutstandingValue decimal Amount still owed on this document in document currency.
OwnerCompany c2g.CODAAPICommon.Reference Reference to the Company to which this document belongs.
PaymentStatus string Is this document "Unpaid", "Part Paid", or "Paid"?
Period c2g.CODAAPICommon.Reference Reference to the accounting Period in which this document falls. Mandatory.
Reference1 string The vendor's order number, your organization or company's order number, the buyer's name, or any other reference detail.
Reference2 string The vendor's order number, your organization or company's order number, the buyer's name, or any other reference detail.
RegisteredDate date Date the purchase credit note was entered.
TaxCode1 c2g.CODAAPICommon.Reference Reference to the (VAT) tax code to use, along with the credit note date, to derive the tax for this line.
TaxTotal decimal Total value of tax on the purchase credit note.
TransactionRef c2g.CODAAPICommon.Reference Reference to the Transaction created when the purchase credit note was posted.
Year string Name of the year.
ExpensesNetTotal decimal Total value of expense line items on the credit note, before tax.
ExpensesTax1Total decimal Total value of tax on expense lines items posted to (VAT) tax code 1.
ItemsNetTotal decimal Total value of product items on the credit note, before tax.
ItemsTax1Total decimal Total value of tax on product line items posted to (VAT) tax code 1.
LineItems c2g.CODAAPIPurchaseCreditNoteLineTypes_7_0.PurchaseCreditNoteLineItems Reference to the associated purchase credit note line items (product lines). Mandatory.
ExpLineItems c2g.CODAAPIPurchaseCreditNoteExLineTypes_7_0.PurchaseCreditNoteExpLineItems Reference to the associated purchase credit note line items (expense lines).
CustomFields List<c2g.CODAAPIPurchaseCreditNoteTypes_7_0.CustomField> Reference to the list of user-defined fields that have been exposed with a type 1 integration rule.

c2g.CODAAPIPurchaseCreditNoteTypes_7_0.CustomField

global with sharing class CustomField

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.
© Copyright 2009–2017 FinancialForce.com, inc. Confidential – all rights reserved. Various trademarks held by their respective owners.