c2g.CODAAPISalesCreditNote_10_0global with sharing class CODAAPISalesCreditNote_10_0 The service class relating to Sales Credit Notes. This class contains deprecated items. 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 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. 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. Use the SalesCreditNoteEmailPDF (Send Sales Credit Notes by Email) custom permission to grant permissions on this service. 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. Use the SalesCreditNotePrintPDF (Print Sales Credit Notes as PDF) custom permission to grant permissions on this service. 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. Use the SalesCreditNotePrint (Print Sales Credit Notes) custom permission to grant permissions on this service. Input Parameters
Return ValueThis web service does not return a value. 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. Use the SalesCreditNotePrint (Print Sales Credit Notes) custom permission to grant permissions on this service. 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. Use the SalesCreditNoteAmend (Amend Sales Credit Notes) custom permission to grant permissions on this service. This version of the API will be deprecated in a future release. We recommend using the c2g.AmendPxService service instead. 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. Use the SalesCreditNoteAmend (Amend Sales Credit Notes)) custom permission to grant permissions on this service. This version of the API will be deprecated in a future release. We recommend using the c2g.AmendPxService service instead. 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. Use the SalesCreditNotePost (Post Sales Credit Notes) custom permission to grant permissions on this service. This version of the API will be deprecated in a future release. We recommend using the c2g.PostingPxService service instead. Input Parameters
Return ValueThis web service does not return a value. DeprecatedThe following items are deprecated and not supported for use. We recommend that you stop using these items to avoid exceptions. Methods
CreateCreditNoteDeprecated: Deprecated: Use the Salesforce API for CRUD operations. webService 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 Certinia Help for more details.
Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. UpdateCreditNoteDeprecated: Deprecated: Use the Salesforce API for CRUD operations. webService 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. GetCreditNoteDeprecated: Deprecated: Use the Salesforce API for CRUD operations. webService 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. BulkCreateCreditNoteDeprecated: Deprecated: Use the Salesforce API for CRUD operations. webService 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. Use the SalesCreditNoteSave (Save Sales Credit Notes) custom permission to grant permissions on this service. This version of the API will be deprecated in a future release. We recommend using the c2g.DocumentCreatePxService service instead. Input Parameters
Return ValueThis web service returns an array of CODAAPICommon.Reference objects. BulkUpdateCreditNoteDeprecated: Deprecated: Use the Salesforce API for CRUD operations. webService 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. Use the SalesCreditNoteEdit (Edit Sales Credit Notes) custom permission to grant permissions on this service. Input Parameters
Return ValueThis web service returns an array of CODAAPICommon.Reference objects. |