MGCLatticeFreeTextInvoiceService
Custom service for free text invoice operations including creation with line items and cancellation via correcting invoice.
Methods
new
Initializes a new instance of the MGCLatticeFreeTextInvoiceService class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticeFreeTextInvoiceService class.
- Visibility:
public - Returns:
MGCLatticeFreeTextInvoiceServiceA new MGCLatticeFreeTextInvoiceService instance.
No parameters.
postFreeTextInvoice
Creates and posts a free text invoice with line items for a customer account.
- Visibility:
public - Returns:
MGCLatticeOrderOperationResponseContractAn MGCLatticeOrderOperationResponseContract indicating success or failure with details.
| Name | Type | Optional | Description |
|---|---|---|---|
_request | MGCLatticeFreeTextInvoicePostRequestContract | No | The request containing InvoiceAccount, CurrencyCode, invoice lines, PostingDate, and standard header fields. |
cancelFreeTextInvoice
Cancels a posted free text invoice by creating and posting a correcting invoice.
- Visibility:
public - Returns:
MGCLatticeOrderOperationResponseContractAn MGCLatticeOrderOperationResponseContract indicating success or failure with details.
| Name | Type | Optional | Description |
|---|---|---|---|
_request | MGCLatticeFreeTextInvoiceCancelRequestContract | No | The request containing InvoiceRecId, CancelDate, and standard header fields. |
postFreeTextInvoiceBatch
Posts multiple free text invoices in a single bulk operation.
- Visibility:
public - Returns:
MGCLatticeBulkOperationResponseContractAn MGCLatticeBulkOperationResponseContract containing per-item results.
| Name | Type | Optional | Description |
|---|---|---|---|
_requests | List | No | List of MGCLatticeFreeTextInvoicePostRequestContract. |
cancelFreeTextInvoiceBatch
Cancels multiple free text invoices in a single bulk operation.
- Visibility:
public - Returns:
MGCLatticeBulkOperationResponseContractAn MGCLatticeBulkOperationResponseContract containing per-item results.
| Name | Type | Optional | Description |
|---|---|---|---|
_requests | List | No | List of MGCLatticeFreeTextInvoiceCancelRequestContract. |