Skip to main content

MGCEarmarkDealGroupEntity

Earmark deal groups, keyed on the deal group code. A group is a short implementer-typed code and a readable name used to band deals in list pages, reports and claim-statement subtotals; it carries no economics of its own. It is a configuration entity and copies between environments alongside the rest of the Earmark setup. A group that is referenced by a deal cannot be deleted, and the refusal names the first deal holding it. Implements requirements A3 and A21.

  • Public collection name: MGCEarmarkDealGroups
  • Primary key: DealGroupId

Fields​

NameTypeMandatoryDescription
DealGroupIdMGCEarmarkDealGroupIdYesThe identifier of the deal group, typed by the implementer rather than allocated from a number sequence, because it is a short code that people read, quote and group reports by. It cannot be changed once the group is created: deals, claim lines and statement subtotals copy the code rather than referencing the row, so renaming one in place would silently detach every record that already quotes it. Renaming a group means creating the new one and re-pointing the deals, which is two deliberate acts rather than one accidental one.
NameMGCEarmarkDealNameNoWhat the group is for, in words the person reading a report will understand. It is not merely internal documentation: the customer claim statement prints the deal group as the caption of a subtotal band, so a cryptic name reaches a customer. Describe the program, season or agreement family that the deals in the group belong to.

Mappings​

Entity fieldData sourceField
DealGroupIdMGCEarmarkDealGroupDealGroupId
NameMGCEarmarkDealGroupName