Skip to main content

MGCLatticeProjectInvoiceProposalRequestContract

Data contract for project invoice proposal requests containing ProjId, InvoiceDate, and PostAfterCreate flag.

Methods​

new​

Initializes a new instance of the MGCLatticeProjectInvoiceProposalRequestContract class.

  • Visibility: public
  • Returns: void

No parameters.

construct​

Creates a new instance of the MGCLatticeProjectInvoiceProposalRequestContract class.

  • Visibility: public
  • Returns: MGCLatticeProjectInvoiceProposalRequestContract A new MGCLatticeProjectInvoiceProposalRequestContract instance.

No parameters.

parmCorrelationId​

Gets or sets the correlation identifier for tracing the request across systems.

  • Visibility: public
  • Returns: Guid The CorrelationId value.
NameTypeOptionalDescription
_correlationIdGuidYesThe CorrelationId value.

parmRequestId​

Gets or sets the unique request identifier for idempotency.

  • Visibility: public
  • Returns: Guid The RequestId value.
NameTypeOptionalDescription
_requestIdGuidYesThe RequestId value.

parmLegalEntityId​

Gets or sets the legal entity (company) in which to execute the operation.

  • Visibility: public
  • Returns: DataAreaId The LegalEntityId value.
NameTypeOptionalDescription
_legalEntityIdDataAreaIdYesThe LegalEntityId value.

parmUserContext​

Gets or sets the user context under which the operation executes.

  • Visibility: public
  • Returns: UserId The UserContext value.
NameTypeOptionalDescription
_userContextUserIdYesThe UserContext value.

parmProjId​

Gets or sets the project identifier.

  • Visibility: public
  • Returns: ProjId The ProjId value.
NameTypeOptionalDescription
_projIdProjIdYesThe ProjId value.

parmInvoiceDate​

Gets or sets the invoice date.

  • Visibility: public
  • Returns: TransDate The InvoiceDate value.
NameTypeOptionalDescription
_invoiceDateTransDateYesThe InvoiceDate value.

parmPostAfterCreate​

Gets or sets whether to automatically post the invoice proposal after creation.

  • Visibility: public
  • Returns: boolean True if the proposal is posted after creation; otherwise, false.
NameTypeOptionalDescription
_postAfterCreatebooleanYesTrue to post the proposal after creating it; otherwise, false.

parmExternalSystem​

Gets or sets the external system whose keys the request's external key members hold.

  • Visibility: public
  • Returns: MGCLatticeExternalSystemId The ExternalSystem value.
NameTypeOptionalDescription
_externalSystemMGCLatticeExternalSystemIdYesThe ExternalSystem value.

parmProjIdExternalKey​

Gets or sets the external system's key of the project, in place of ProjId.

  • Visibility: public
  • Returns: MGCLatticeExternalKey The ProjIdExternalKey value.
NameTypeOptionalDescription
_projIdExternalKeyMGCLatticeExternalKeyYesThe ProjIdExternalKey value.

parmPreviewMode​

Gets or sets whether the request runs in preview mode. This operation does not implement a preview: a request with PreviewMode set to true is refused with PreviewUnsupported before anything is created or posted.

  • Visibility: public
  • Returns: boolean The current preview flag.
NameTypeOptionalDescription
_previewModebooleanYesThe preview flag to set.