Table
SMAParameters
Service management parameters
Holds the general settings for service management. It has a single record, identified by a key field. The settings cover defaults for service orders and agreements, journal names, dispatch colours and the dispatch day range.
- Table name
SMAParameters- Module
Service management- Table group
Parameter- Table type
Regular- Data per company
Yes- Configuration key
SMAManagement- Primary index
Key- Replacement key
Key- Key fields
Key- Model
Foundation
Fields (30)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
KeyKey of the single parameter record. | IntegerParametersKey | No | None | |
AgreementDefaultActivityTypeDefault activity type used for service agreements. | String (20)smmActivityTypeId | No | smmActivityTypeGroup.TypeId | None |
AgreementGroupIdService agreement group used as a default. Points to a service agreement group. | StringSMAAgreementGroupId | No | SMAAgreementGroup.AgreementGroup | None |
AllowIdenticalItemsAsObjectsYes/no setting. It sets whether the same item may be used on more than one service object. | EnumNoYes (enum) | No | None | |
CalendarIdCalendar used as a default. Points to a work calendar. | StringCalendarId | No | WorkCalendarTable.CalendarId | None |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultProjGroupIdDefault project group. Points to a project group. | StringProjGroupId | No | ProjGroup.ProjGroupId | None |
DispatchColorHighColour value for the high level in the dispatch view. | IntegerSMADispatchColorHigh | No | None | |
DispatchColorLowColour value for the low level in the dispatch view. | IntegerSMADispatchColorLow | No | None | |
DispatchColorNormalColour value for the normal level in the dispatch view. | IntegerSMADispatchColorNormal | No | None | |
DispatchDaysAfterNumber of days after a date to include in the dispatch view. | IntegerSMADispatchDaysAfter | No | None | |
DispatchDaysBeforeNumber of days before a date to include in the dispatch view. | IntegerSMADispatchDaysBefore | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
ProjJournalExpenseJournal name used for expense entries. Points to a journal name. | StringSMAJournalExpense | No | LedgerJournalName.JournalName | None |
ProjJournalFeeProject journal name used for fee entries. | StringSMAJournalFee | No | ProjJournalName.JournalNameId | None |
ProjJournalHourProject journal name used for hour entries. | StringSMAJournalHour | No | ProjJournalName.JournalNameId | None |
ProjJournalMaterialInventory journal name used for item entries. | StringSMAJournalItem | No | InventJournalName.JournalNameId | None |
ReasonOnCancelYes/no setting. It sets whether a reason code is used when cancelling. | EnumNoYes (enum) | No | None | |
ReasonOnExceedTimeYes/no setting. It sets whether a reason code is used when time is exceeded. | EnumNoYes (enum) | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
ServiceLineActivityStageService stage linked to activity generation. Points to a service stage. | StringSMAStageId | No | SMAStageTable.StageId | None |
ServiceOrderActivityCategoryCategory given to activities for service orders. Values are Appointment, Task, Action and Event. | EnumsmmActivityCategory (enum) | No | None | |
ServiceOrderActivityPurposeFree text giving the purpose of the activity for service orders. | String (255)smmActivityPurpose | No | None | |
ServiceOrderActivityTypeActivity type used for service orders. | String (20)smmActivityTypeId | No | smmActivityTypeGroup.TypeId | None |
ServiceOrderCreateActivitySets whether an activity is created for a service order. Values are Yes, No, Prompt and Advanced prompt. | EnumsmmCreateActivity (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
UnattachedServiceOrderYes/no setting. It sets whether a service order may exist without a service agreement. | EnumNoYesIdNoYes (enum) | No | None |
Indexes (1)
KeyPrimary indexReplacement keyUnique, alternate key.
Relations (10)
Each relation joins SMAParameters to another table on the fields shown.
DefaultProjectGroup→ProjGroupJoin on
DefaultProjGroupId = ProjGroup.ProjGroupIdZero or one SMAParameters record → zero or one ProjGroup record
ExpenseLedgerJournalName→LedgerJournalNameJoin on
ProjJournalExpense = LedgerJournalName.JournalName,LedgerJournalName.JournalType = LedgerJournalType::CostZero or one SMAParameters record → zero or one LedgerJournalName record
FeeProjJournalName→ProjJournalNameJoin on
ProjJournalFee = ProjJournalName.JournalNameId,ProjJournalName.JournalType = ProjJournalType::RevenueZero or one SMAParameters record → zero or one ProjJournalName record
HourProjJournalName→ProjJournalNameJoin on
ProjJournalHour = ProjJournalName.JournalNameId,ProjJournalName.JournalType = ProjJournalType::HourZero or one SMAParameters record → zero or one ProjJournalName record
ProjectInventJournalName→InventJournalNameJoin on
ProjJournalMaterial = InventJournalName.JournalNameId,InventJournalName.JournalType = InventJournalType::projectZero or one SMAParameters record → zero or one InventJournalName record
ServiceAgreementActivityType→smmActivityTypeGroupJoin on
AgreementDefaultActivityType = smmActivityTypeGroup.TypeIdZero or one SMAParameters record → zero or one smmActivityTypeGroup record
ServiceOrderActivityGenerationStage→SMAStageTableJoin on
ServiceLineActivityStage = SMAStageTable.StageIdZero or one SMAParameters record → zero or one SMAStageTable record
ServiceOrderActivityType→smmActivityTypeGroupJoin on
ServiceOrderActivityType = smmActivityTypeGroup.TypeIdZero or one SMAParameters record → zero or one smmActivityTypeGroup record
SMAAgreementGroup→SMAAgreementGroupJoin on
AgreementGroupId = SMAAgreementGroup.AgreementGroupZero or one SMAParameters record → zero or one SMAAgreementGroup record
WorkCalendarTable→WorkCalendarTableJoin on
CalendarId = WorkCalendarTable.CalendarIdZero or one SMAParameters record → zero or one WorkCalendarTable record
Get this data out
No public entity reads from SMAParameters. Its data is only reachable through the application, a custom entity or a database export.
Need help with SMAParameters in a report, an integration or a migration? Talk to Dr Dynamics.