Accounting API Developer's Reference

c2g.CODAAPIPurchaseCreditNote_7_0

global with sharing class CODAAPIPurchaseCreditNote_7_0

The service class relating to Purchase Credit Notes.

Properties

Name Type Description
VERSION_STRING string The API version.
SERVICE_NAME string The name of the service.

Methods

GetAPIVersion

webservice static string GetAPIVersion()

Used to get the latest API version.

Return Value

Text

GetServiceName

webservice static String GetServiceName()

Used to get the name of the service.

Return Value

Text

CreatePurchaseCreditNote

webservice static c2g.CODAAPICommon.Reference CreatePurchaseCreditNote(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPIPurchaseCreditNoteTypes_7_0.PurchaseCreditNote value)

This service allows you to create a purchase credit note (also known as payable credit note). See "Payable Credit Note Fields" and "What is a Payable Credit Note" in the FinancialForce Help for more details.

Input Parameters

Name Type Description
context c2g.CODAAPICommon_7_0.Context Identifies the FinancialForce company in which the current operation executes.
value c2g.CODAAPIPurchaseCreditNoteTypes_7_0.PurchaseCreditNote Holds details of the purchase credit note you want to create.

Return Value

This web service returns a CODAAPICommon.Reference object.

UpdatePurchaseCreditNote

webservice static c2g.CODAAPICommon.Reference UpdatePurchaseCreditNote(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPIPurchaseCreditNoteTypes_7_0.PurchaseCreditNote value)

This service allows you to update a purchase credit note.

Input Parameters

Name Type Description
context c2g.CODAAPICommon_7_0.Context Identifies the FinancialForce company in which the current operation executes.
value c2g.CODAAPIPurchaseCreditNoteTypes_7_0.PurchaseCreditNote Holds details of the purchase credit note you want to update.

Return Value

This web service returns a CODAAPICommon.Reference object.

PostPurchaseCreditNote

webservice static void PostPurchaseCreditNote(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPICommon.Reference value)

This service allows you to post a purchase credit note.

Input Parameters

Name Type Description
context c2g.CODAAPICommon_7_0.Context Identifies the FinancialForce company in which the current operation executes. Does not need to be the current company.
value c2g.CODAAPICommon.Reference Identifies the purchase credit note you want to post.

Return Value

This web service does not return a value.

GetPurchaseCreditNote

webservice static c2g.CODAAPIPurchaseCreditNoteTypes_7_0.PurchaseCreditNote GetPurchaseCreditNote(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPICommon.Reference value)

This service allows you to retrieve a purchase credit note.

Input Parameters

Name Type Description
context c2g.CODAAPICommon_7_0.Context Identifies the FinancialForce company in which the current operation executes.
value c2g.CODAAPICommon.Reference Identifies the purchase credit note you want to retrieve.

Return Value

This web service returns a c2g.CODAAPIPurchaseCreditNoteTypes_7_0.PurchaseCreditNote object.

BulkCreatePurchaseCreditNote

webservice static c2g.CODAAPICommon.Reference[] BulkCreatePurchaseCreditNote(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPIPurchaseCreditNoteTypes_7_0.PurchaseCreditNote[] values)

This service allows you to create purchase credit notes in bulk.

Input Parameters

Name Type Description
context c2g.CODAAPICommon_7_0.Context Identifies the FinancialForce company in which the current operation executes.
values c2g.CODAAPIPurchaseCreditNoteTypes_7_0.PurchaseCreditNote[] Holds details of the purchase credit notes you want to create.

Return Value

This web service returns an array of CODAAPICommon.Reference objects.

BulkUpdatePurchaseCreditNote

webservice static c2g.CODAAPICommon.Reference[] BulkUpdatePurchaseCreditNote(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPIPurchaseCreditNoteTypes_7_0.PurchaseCreditNote[] values)

This service allows you to update purchase credit notes in bulk.

Input Parameters

Name Type Description
context c2g.CODAAPICommon_7_0.Context Identifies the FinancialForce company in which the current operation executes.
values c2g.CODAAPIPurchaseCreditNoteTypes_7_0.PurchaseCreditNote[] Holds details of the purchase credit notes you want to update.

Return Value

This web service returns an array of CODAAPICommon.Reference objects.

BulkPostPurchaseCreditNote

webservice static void BulkPostPurchaseCreditNote(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPICommon.Reference[] values)

This service allows you to post purchase credit notes in bulk.

Input Parameters

Name Type Description
context c2g.CODAAPICommon_7_0.Context Identifies the FinancialForce company in which the current operation executes. Does not need to be the current company.
values c2g.CODAAPICommon.Reference[] Identifies the purchase credit notes you want to post.

Return Value

This web service does not return a value.