c2g.CODAAPISalesInvoice_10_0global with sharing class CODAAPISalesInvoice_10_0 the service class relating to sales invoices. 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 CreateInvoicewebService static c2g.CODAAPICommon.Reference CreateInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPIInvoiceTypes_10_0.Invoice value) This service allows you to create a sales invoice. See "Sales Invoice Fields" and "What is a Sales Invoice" in the FinancialForce Help for more details.
Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. CreateRecurringInvoicewebService static void CreateRecurringInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPIInvoiceTypes_10_0.Invoice value) This service allows you to create a recurring sales invoice. Use the SalesInvoiceSave (Save Sales Invoices) custom permission to grant permissions on this service. Input Parameters
Return ValueThis web service does not return a value. UpdateInvoicewebService static c2g.CODAAPICommon.Reference UpdateInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPIInvoiceTypes_10_0.Invoice value) This service allows you to update a sales invoice.
Input Parameters
Return ValueThis web service returns a CODAAPICommon.Reference object. PostInvoicewebService static void PostInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to post a sales invoice. Input Parameters
Return ValueThis web service does not return a value. GetInvoicewebService static c2g.CODAAPIInvoiceTypes_10_0.Invoice GetInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to retrieve a sales invoice.
Input Parameters
Return ValueThis web service returns a c2g.CODAAPIInvoiceTypes_10_0.Invoice object. PlaceOnHoldwebService static void PlaceOnHold(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to place a sales invoice on hold. Use the SalesInvoicePlaceOnHoldOrRelease (Hold or Release Sales Invoice Collection) custom permission to grant permissions on this service. Input Parameters
Return ValueThis web service does not return a value. ReleaseForCollectionwebService static void ReleaseForCollection(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to place a sales invoice on hold. Use the SalesInvoicePlaceOnHoldOrRelease (Hold or Release Sales Invoice Collection) custom permission to grant permissions on this service. Input Parameters
Return ValueThis web service does not return a value. PrintInvoiceToEmailwebService static void PrintInvoiceToEmail(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to print a sales invoice by emailing it to the account. Use the SalesInvoiceEmailPDF (Send Sales Invoices by Email) custom permission to grant permissions on this service. Input Parameters
Return ValueThis web service does not return a value. PrintInvoicewebService static Blob PrintInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) This service allows you to print a sales invoice to a PDF file. Use the SalesInvoicePrintPDF (Print Sales Invoices 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 invoice to record that it has been printed. Use the SalesInvoicePrint (Print Sales Invoices) custom permission to grant permissions on this service. Input Parameters
Return ValueThis web service does not return a value. BulkCreateInvoicewebService static c2g.CODAAPICommon.Reference[] BulkCreateInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPIInvoiceTypes_10_0.Invoice[] values) This service allows you to create sales invoices in bulk. Use the SalesInvoiceSave (Save Sales Invoices) custom permission to grant permissions on this service. Input Parameters
Return ValueThis web service returns an array of CODAAPICommon.Reference objects. BulkUpdateInvoicewebService static c2g.CODAAPICommon.Reference[] BulkUpdateInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPIInvoiceTypes_10_0.Invoice[] values) This service allows you to update sales invoices in bulk. Use the SalesInvoiceEdit (Edit Sales Invoices) custom permission to grant permissions on this service. Input Parameters
Return ValueThis web service returns an array of CODAAPICommon.Reference objects. BulkPlaceOnHoldwebService static void BulkPlaceOnHold(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference[] values) Mass on hold activation of sales invoices Use the SalesInvoicePlaceOnHoldOrRelease (Hold or Release Sales Invoice Collection) custom permission to grant permissions on this service. BulkReleaseForCollectionwebService static void BulkReleaseForCollection(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference[] values) Mass release of sales invoices for collection Use the SalesInvoicePlaceOnHoldOrRelease (Hold or Release Sales Invoice Collection) custom permission to grant permissions on this service. BulkPostInvoicewebService static void BulkPostInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference[] values) This service allows you to post sales invoices in bulk. Input Parameters
Return ValueThis web service does not return a value. DiscardInvoicewebService static void DiscardInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value, String discardMessage) This service allows you to discard a sales invoice. Input Parameters
Return ValueThis web service does not return a value. BulkDiscardInvoicewebService static void BulkDiscardInvoice(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference[] values, String discardMessage) This service allows you to discard sales invoices 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 invoices to record that they have been printed. Use the SalesInvoicePrint (Print Sales Invoices) custom permission to grant permissions on this service. Input Parameters
Return ValueThis web service does not return a value. BulkAmendInvoicewebService static void BulkAmendInvoice(c2g.CODAAPICommon_10_0.Context context, List<c2g.CODAAPIInvoiceTypes_10_0.InvoiceForAmend> headers) This service allows you to amend posted sales invoices in bulk. Use the SalesInvoiceAmend (Amend Sales Invoices) custom permission to grant permissions on this service. Input Parameters
Return ValueThis web service does not return a value. BulkAmendInvoiceLineItemwebService static void BulkAmendInvoiceLineItem(c2g.CODAAPICommon_10_0.Context context, List<c2g.CODAAPIInvoiceLineItemTypes_10_0.InvoiceLineItemForAmend> lines) This service allows you to amend posted sales invoice lines in bulk. Use the SalesInvoiceAmend (Amend Sales Invoices) custom permission to grant permissions on this service. Input Parameters
Return ValueThis web service does not return a value. ScheduleInvoicesForPostingwebService static void ScheduleInvoicesForPosting(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 SalesInvoicePost (Post Sales Invoices) custom permission to grant permissions on this service. 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. MethodsPostIncomeSchedulesDeprecated: Not for public use. webService static void PostIncomeSchedules(c2g.CODAAPICommon_10_0.Context context, c2g.CODAAPICommon.Reference value) |