c2g.CODAAPICashEntry_7_0global with sharing class CODAAPICashEntry_7_0 This service class provides cash entry functionality. Properties
Methods
CreateCashEntrywebservice static c2g.CODAAPICommon.Reference CreateCashEntry(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPICashEntryTypes_7_0.CashEntry value) This service allows you to create a cash entry. See "Cash Entry Fields" and "What is a Cash Entry" in the FinancialForce Help for more details. Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. UpdateCashEntrywebservice static c2g.CODAAPICommon.Reference UpdateCashEntry(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPICashEntryTypes_7_0.CashEntry value) This service allows you to update a cash entry. Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. PostCashEntrywebservice static void PostCashEntry(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to post a cash entry. Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. GetCashEntrywebservice static c2g.CODAAPICashEntryTypes_7_0.CashEntry GetCashEntry(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to retrieve a cash entry. Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. BulkCreateCashEntrywebservice static c2g.CODAAPICommon.Reference[] BulkCreateCashEntry(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPICashEntryTypes_7_0.CashEntry[] values) This service allows you to create cash entries in bulk. Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. BulkUpdateCashEntrywebservice static c2g.CODAAPICommon.Reference[] BulkUpdateCashEntry(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPICashEntryTypes_7_0.CashEntry[] values) This service allows you to update cash entries in bulk. It also handles amending posted cash entries and their related transactions. Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. Sample Code//Note: This sample code is for demonstration purposes only. It is not intended for //use in a production environment, is not guaranteed against defects or errors, and //is in no way optimized or streamlined. //In addition to making updates, BulkUpdate can be used to amend, as this example shows //using a reference to an existing posted cash entry. c2g.CODAAPICommon.Reference postedCashRef = c2g.CODAAPICommon.getRef('a3g1I000000TNDtQAO', null); c2g.CODAAPICommon_7_0.Context context = new c2g.CODAAPICommon_7_0.Context(); c2g.CODAAPICashEntryTypes_7_0.CashEntry ce = c2g.CODAAPICashEntry_7_0.GetCashEntry(context, postedCashRef); //detail the amendment ce.Description = 'AmendedDescription'; List<c2g.CODAAPICashEntryTypes_7_0.CashEntry> cashEntries = new List<c2g.CODAAPICashEntryTypes_7_0.CashEntry>(); cashEntries.add(ce); //call the API c2g.CODAAPICashEntry_7_0.BulkUpdateCashEntry(context, cashEntries); BulkPostCashEntrywebservice static void BulkPostCashEntry(c2g.CODAAPICommon_7_0.Context context, c2g.CODAAPICommon.Reference[] values) This service allows you to post cash entries in bulk. Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. |