Accounting API Developer's Reference
|
c2g.CODAAPISalesCreditNote_10_0global with sharing class CODAAPISalesCreditNote_10_0 The service class relating to Sales Credit Notes. Properties
Methods
GetAPIVersionwebservice static String GetAPIVersion() Used to get the latest API version. Return ValueText GetServiceNamewebservice static String GetServiceName() Used to get the name of the service. Return ValueText CreateCreditNotewebservice static c2g.CODAAPICommon.Reference CreateCreditNote(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICreditNoteTypes_10_0.CreditNote value) This service allows you to create a sales credit note. See "Sales Credit Note Fields" and "What is a Sales Credit Note" in the FinancialForce Help for more details.
Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. UpdateCreditNotewebservice static c2g.CODAAPICommon.Reference UpdateCreditNote(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICreditNoteTypes_10_0.CreditNote value) This service allows you to update a sales credit note.
Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. PostCreditNotewebservice static void PostCreditNote(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to post a sales credit note. Input Parameters
Return ValueThis web service does not return a value. GetCreditNotewebservice static c2g.CODAAPICreditNoteTypes_10_0.CreditNote GetCreditNote(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to retrieve a sales credit note.
Input Parameters
Return ValueThis web service returns a c2g.CODAAPICreditNoteTypes_10_0.CreditNote object. PrintCreditNoteToEmailwebservice static void PrintCreditNoteToEmail(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to print a sales credit note by emailing it to the account. Input Parameters
Return ValueThis web service does not return a value. PrintCreditNotewebservice static Blob PrintCreditNote(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to print a sales credit note to a PDF file. Input Parameters
Return ValueThis web service returns a Blob object. MarkAsPrintedwebservice static void MarkAsPrinted(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to set the Printed flag on a sales credit note to record that it has been printed. Input Parameters
Return ValueThis web service does not return a value. BulkCreateCreditNotewebservice static c2g.CODAAPICommon.Reference[] BulkCreateCreditNote(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICreditNoteTypes_10_0.CreditNote[] values) This service allows you to create sales credit notes in bulk. Input Parameters
Return ValueThis web service returns an array of CODAAPICommon.Reference objects. BulkUpdateCreditNotewebservice static c2g.CODAAPICommon.Reference[] BulkUpdateCreditNote(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICreditNoteTypes_10_0.CreditNote[] values) This service allows you to update sales credit notes in bulk. Input Parameters
Return ValueThis web service returns an array of CODAAPICommon.Reference objects. BulkPostCreditNotewebservice static void BulkPostCreditNote(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference[] values) This service allows you to post sales credit notes in bulk. Input Parameters
Return ValueThis web service does not return a value. BulkMarkAsPrintedwebservice static void BulkMarkAsPrinted(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference[] values) This service allows you to set the Printed flag on sales credit notes to record that they have been printed. Input Parameters
Return ValueThis web service does not return a value. BulkAmendCreditNotewebservice static void BulkAmendCreditNote(c2g.CODAAPICommon_10_0.Context context, List<c2g.CODAAPICreditNoteTypes_10_0.CreditNoteForAmend> headers) This service allows you to amend posted sales credit notes in bulk. Input Parameters
Return ValueThis web service does not return a value. BulkAmendCreditNoteLineItemwebservice static void BulkAmendCreditNoteLineItem(c2g.CODAAPICommon_10_0.Context context, List<c2g.CODAAPICreditNoteLineItemTypes_10_0.CreditNoteLineItemForAmend> lines) This service allows you to amend posted sales credit note lines in bulk. Input Parameters
Return ValueThis web service does not return a value. ScheduleCreditNotesForPostingwebservice static void ScheduleCreditNotesForPosting(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference[] values) See "Posting Sales Documents That Have Their Tax Value Calculated by AvaTax" for information about using this service. Input Parameters
Return ValueThis web service does not return a value. |