MGCLatticeOpportunityEntity
The MGCLatticeOpportunityEntity exposes Sales and marketing opportunities (smmOpportunityTable) for data management import/export and OData. It is a lean, single-table writable projection keyed by the opportunity number (OpportunityId). Writing through the entity runs the standard table business logic (number-sequence assignment, prospect business-relation creation, CRM transaction log and cross-company sharing). The party is named by its party number (PartyNumber, mandatory) and the owner by personnel number; both are resolved to the record ids the table stores. Boundary: this entity serves F&O-native opportunity records only. Dual-write / Dataverse synchronization of opportunities is out of scope and is not implemented here.
- Public collection name:
LatticeOpportunities
- Primary key:
OpportunityId
Fields
| Name | Type | Mandatory | Description |
|---|
OpportunityId | smmOpportunityId | No | |
Subject | smmOpportunitySubject | No | |
PartyNumber | DirPartyNumber | Yes | |
Status | smmOpportunityStatus | No | |
SalesProcessName | smmOpportunitySalesProcess | No | |
ProbabilityId | smmQuotationProbabilityId | No | |
EstimatedRevenue | smmOpportunityEstimatedRevenue | No | |
OwnerPersonnelNumber | HcmPersonnelNumberId | No | |
OpenedDate | smmOpportunityOpenedDate | No | |
PrognosisId | smmQuotationPrognosisId | No | |
SalesUnitId | smmSalesUnitId | No | |
ClosedDate | smmOpportunityClosedDate | No | |
Mappings
| Entity field | Data source | Field |
|---|
OpportunityId | smmOpportunityTable | OpportunityId |
Subject | smmOpportunityTable | Subject |
PartyNumber | DirPartyTable | PartyNumber |
Status | smmOpportunityTable | Status |
SalesProcessName | smmOpportunityTable | ProcessName |
ProbabilityId | smmOpportunityTable | ProbabilityId |
EstimatedRevenue | smmOpportunityTable | EstimatedRevenue |
OwnerPersonnelNumber | HcmWorker | PersonnelNumber |
OpenedDate | smmOpportunityTable | OpenedDate |
PrognosisId | smmOpportunityTable | PrognosisId |
SalesUnitId | smmOpportunityTable | SalesUnitId |
ClosedDate | smmOpportunityTable | ClosedDate |