c2g.DocumentAmendServiceglobal with sharing class DocumentAmendService the service class relating to amending posted documents. Methods
amendInvoicesglobal static void amendInvoices(List<c2g.DocumentAmendService.Invoice> invoices) This service allows you to amend posted sales invoices that have custom fields set up for sub-analysis mapping. Use the SalesInvoiceAmend (Amend Sales Invoice) custom permission to grant permissions on this method. Input Parameters
amendCreditNotesglobal static void amendCreditNotes(List<c2g.DocumentAmendService.CreditNote> creditNotes) This service allows you to amend posted sales credit notes that have custom fields set up for sub-analysis mapping. Use the SalesCreditNoteAmend (Amend Sales Credit Notes) custom permission to grant permissions on this method. Input Parameters
amendPurchaseInvoicesglobal static void amendPurchaseInvoices(List<c2g.DocumentAmendService.PurchaseInvoice> purchaseInvoices) This service allows you to amend posted purchase invoices that have custom fields set up for sub-analysis mapping. Use the PayableInvoiceAmend (Amend Payable Invoices) custom permission to grant permissions on this method. Input Parameters
amendPurchaseCreditNotesglobal static void amendPurchaseCreditNotes(List<c2g.DocumentAmendService.PurchaseCreditNote> purchaseCreditNotes) This service allows you to amend posted purchase credit notes that have custom fields set up for sub-analysis mapping. Use the PurchaseCreditNoteAmend (Amend Payable Credit Notes) custom permission to grant permissions on this method. Input Parameters
amendJournalsglobal static void amendJournals(List<c2g.DocumentAmendService.Journal> journals) This service allows you to amend posted journals that have custom fields set up for sub-analysis mapping. Use the JournalAmend (Amend Journals) custom permission to grant permissions on this service. Input Parameters
amendCashEntriesglobal static void amendCashEntries(List<c2g.DocumentAmendService.CashEntry> cashEntries) This service allows you to amend posted Cash entries that have custom fields set up for sub-analysis mapping. Input Parameters
c2g.DocumentAmendService.Documentglobal abstract class Document holds document details that can be amended after the document has been posted. where the value for a field is null the documentamendservice will set that field's value to null on the document, so if you want a value to be unchanged you must populate that field with its current value. Properties
MethodsDocumentglobal Document() Creates an API version of an empty document object for use with the DocumentAmendService. c2g.DocumentAmendService.Invoiceglobal class Invoice extends Document holds details that can be amended after the invoice has been posted. where the value for a field is null the documentamendservice will set that field's value to null on the invoice, so if you want a value to be unchanged you must populate that field with its current value. This class extends c2g.DocumentAmendService.Document Properties
MethodsInvoiceglobal Invoice() Creates an API version of an empty sales invoice object for use with the DocumentAmendService. c2g.DocumentAmendService.CreditNoteglobal class CreditNote extends Document holds details that can be amended after the credit note has been posted. where the value for a field is null the documentamendservice will set that field's value to null on the credit note, so if you want a value to be unchanged you must populate that field with its current value. This class extends c2g.DocumentAmendService.Document Properties
MethodsCreditNoteglobal CreditNote() Creates an API version of an empty sales credit note object for use with the DocumentAmendService. c2g.DocumentAmendService.PurchaseInvoiceglobal class PurchaseInvoice extends Document holds details that can be amended after the invoice has been posted. where the value for a field is null the documentamendservice will set that field's value to null on the invoice, so if you want a value to be unchanged you must populate that field with its current value. This class extends c2g.DocumentAmendService.Document Properties
MethodsPurchaseInvoiceglobal PurchaseInvoice() Creates an API version of an empty purchase invoice object for use with the DocumentAmendService. c2g.DocumentAmendService.PurchaseCreditNoteglobal class PurchaseCreditNote extends Document holds details that can be amended after the credit note has been posted. where the value for a field is null the documentamendservice will set that field's value to null on the credit note, so if you want a value to be unchanged you must populate that field with its current value. This class extends c2g.DocumentAmendService.Document Properties
MethodsPurchaseCreditNoteglobal PurchaseCreditNote() Creates an API version of an empty purchase credit note object for use with the DocumentAmendService. c2g.DocumentAmendService.Journalglobal class Journal holds details that can be amended after the journal has been posted. where the value for a field is null the documentamendservice will set that field's value to null on the journal, so if you want a value to be unchanged you must populate that field with its current value. Properties
MethodsJournalglobal Journal() Creates an API version of an empty journal object for use with the DocumentAmendService. c2g.DocumentAmendService.CashEntryglobal class CashEntry holds details that can be amended after the cash entry has been posted. where the value for a field is null the documentamendservice will set that field's value to null on the cash entry, so if you want a value to be unchanged you must populate that field with its current value. This class contains deprecated items. Properties
MethodsCashEntryglobal CashEntry() Creates an API version of an empty cash entry object for use with the DocumentAmendService. DeprecatedThe following items are deprecated and not supported for use. We recommend that you stop using these items to avoid exceptions. Properties
c2g.DocumentAmendService.CashEntryLineglobal class CashEntryLine holds line details that can be amended after the document has been posted. you only need to supply the values that you want to amend. Properties
MethodsCashEntryLineglobal CashEntryLine() Creates an API version of an empty line object for use with the DocumentAmendService. c2g.DocumentAmendService.Lineglobal class Line holds line details that can be amended after the document has been posted. you only need to supply the values that you want to amend. Properties
MethodsLineglobal Line() Creates an API version of an empty line object for use with the DocumentAmendService. |