MGCLatticePendingVendorInvoicePostRequestContract
Data contract for posting a pending vendor invoice (Accounts payable > Invoices > Pending vendor invoices): the invoice is named either by its HeaderReference (the key of the standard VendorInvoiceHeaders entity) or by VendorAccount together with InvoiceNumber, plus the standard header fields.
Methods
new
Initializes a new instance of the MGCLatticePendingVendorInvoicePostRequestContract class.
- Visibility:
public - Returns:
void
No parameters.
construct
Creates a new instance of the MGCLatticePendingVendorInvoicePostRequestContract class.
- Visibility:
public - Returns:
MGCLatticePendingVendorInvoicePostRequestContractA new MGCLatticePendingVendorInvoicePostRequestContract instance.
No parameters.
parmCorrelationId
Gets or sets the correlation identifier for tracing the request across systems.
- Visibility:
public - Returns:
GuidThe CorrelationId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_correlationId | Guid | Yes | The CorrelationId value. |
parmRequestId
Gets or sets the unique request identifier for idempotency.
- Visibility:
public - Returns:
GuidThe RequestId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_requestId | Guid | Yes | The RequestId value. |
parmLegalEntityId
Gets or sets the legal entity whose pending vendor invoice is posted.
- Visibility:
public - Returns:
DataAreaIdThe LegalEntityId value.
| Name | Type | Optional | Description |
|---|---|---|---|
_legalEntityId | DataAreaId | Yes | The LegalEntityId value. |
parmUserContext
Gets or sets the calling system's user context (informational).
- Visibility:
public - Returns:
UserIdThe UserContext value.
| Name | Type | Optional | Description |
|---|---|---|---|
_userContext | UserId | Yes | The UserContext value. |
parmPreviewMode
Gets or sets preview mode. The operation has no preview, so a request with PreviewMode set is refused.
- Visibility:
public - Returns:
booleanThe PreviewMode value.
| Name | Type | Optional | Description |
|---|---|---|---|
_previewMode | boolean | Yes | The PreviewMode value. |
parmExternalSystem
Gets or sets the external system whose key VendorAccountExternalKey holds.
- Visibility:
public - Returns:
MGCLatticeExternalSystemIdThe ExternalSystem value.
| Name | Type | Optional | Description |
|---|---|---|---|
_externalSystem | MGCLatticeExternalSystemId | Yes | The ExternalSystem value. |
parmHeaderReference
Gets or sets the pending invoice's header reference: the key of the standard VendorInvoiceHeaders entity (VendInvoiceInfoTable.TableRefId). Send it, or VendorAccount with InvoiceNumber, not both.
- Visibility:
public - Returns:
TradeLineRefIdThe HeaderReference value.
| Name | Type | Optional | Description |
|---|---|---|---|
_headerReference | TradeLineRefId | Yes | The HeaderReference value. |
parmVendorAccount
Gets or sets the vendor of the pending invoice (its invoice account or its vendor account), sent together with InvoiceNumber in place of HeaderReference.
- Visibility:
public - Returns:
VendAccountThe VendorAccount value.
| Name | Type | Optional | Description |
|---|---|---|---|
_vendorAccount | VendAccount | Yes | The VendorAccount value. |
parmVendorAccountExternalKey
Gets or sets the external system's key of the vendor, in place of VendorAccount.
- Visibility:
public - Returns:
MGCLatticeExternalKeyThe VendorAccountExternalKey value.
| Name | Type | Optional | Description |
|---|---|---|---|
_vendorAccountExternalKey | MGCLatticeExternalKey | Yes | The VendorAccountExternalKey value. |
parmInvoiceNumber
Gets or sets the vendor's invoice number of the pending invoice (the Invoice field of the page), sent together with VendorAccount in place of HeaderReference.
- Visibility:
public - Returns:
VendInvoiceIdThe InvoiceNumber value.
| Name | Type | Optional | Description |
|---|---|---|---|
_invoiceNumber | VendInvoiceId | Yes | The InvoiceNumber value. |