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 with sharing class Document Holds document details that can be amended after the document has been posted. Where the value for a field is null the c2g.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 with sharing 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 c2g.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 with sharing 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 c2g.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 with sharing 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 c2g.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 with sharing 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 c2g.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 with sharing class Journal Holds details that can be amended after the journal has been posted. Where the value for a field is null the c2g.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 with sharing class CashEntry Holds details that can be amended after the Cash Entry has been posted. Where the value for a field is null the c2g.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 with sharing 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 with sharing 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. |