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 descriptionType / EDT / enumMandatoryReferencesIn public entities
KeyKey of the single parameter record.Integer
ParametersKey
NoNone
AgreementDefaultActivityTypeDefault activity type used for service agreements.String (20)
smmActivityTypeId
NosmmActivityTypeGroup.TypeIdNone
AgreementGroupIdService agreement group used as a default. Points to a service agreement group.String
SMAAgreementGroupId
NoSMAAgreementGroup.AgreementGroupNone
AllowIdenticalItemsAsObjectsYes/no setting. It sets whether the same item may be used on more than one service object.Enum
NoYes (enum)
NoNone
CalendarIdCalendar used as a default. Points to a work calendar.String
CalendarId
NoWorkCalendarTable.CalendarIdNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultProjGroupIdDefault project group. Points to a project group.String
ProjGroupId
NoProjGroup.ProjGroupIdNone
DispatchColorHighColour value for the high level in the dispatch view.Integer
SMADispatchColorHigh
NoNone
DispatchColorLowColour value for the low level in the dispatch view.Integer
SMADispatchColorLow
NoNone
DispatchColorNormalColour value for the normal level in the dispatch view.Integer
SMADispatchColorNormal
NoNone
DispatchDaysAfterNumber of days after a date to include in the dispatch view.Integer
SMADispatchDaysAfter
NoNone
DispatchDaysBeforeNumber of days before a date to include in the dispatch view.Integer
SMADispatchDaysBefore
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProjJournalExpenseJournal name used for expense entries. Points to a journal name.String
SMAJournalExpense
NoLedgerJournalName.JournalNameNone
ProjJournalFeeProject journal name used for fee entries.String
SMAJournalFee
NoProjJournalName.JournalNameIdNone
ProjJournalHourProject journal name used for hour entries.String
SMAJournalHour
NoProjJournalName.JournalNameIdNone
ProjJournalMaterialInventory journal name used for item entries.String
SMAJournalItem
NoInventJournalName.JournalNameIdNone
ReasonOnCancelYes/no setting. It sets whether a reason code is used when cancelling.Enum
NoYes (enum)
NoNone
ReasonOnExceedTimeYes/no setting. It sets whether a reason code is used when time is exceeded.Enum
NoYes (enum)
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ServiceLineActivityStageService stage linked to activity generation. Points to a service stage.String
SMAStageId
NoSMAStageTable.StageIdNone
ServiceOrderActivityCategoryCategory given to activities for service orders. Values are Appointment, Task, Action and Event.Enum
smmActivityCategory (enum)
NoNone
ServiceOrderActivityPurposeFree text giving the purpose of the activity for service orders.String (255)
smmActivityPurpose
NoNone
ServiceOrderActivityTypeActivity type used for service orders.String (20)
smmActivityTypeId
NosmmActivityTypeGroup.TypeIdNone
ServiceOrderCreateActivitySets whether an activity is created for a service order. Values are Yes, No, Prompt and Advanced prompt.Enum
smmCreateActivity (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
UnattachedServiceOrderYes/no setting. It sets whether a service order may exist without a service agreement.Enum
NoYesId
NoYes (enum)
NoNone

Indexes (1)

  • KeyPrimary indexReplacement key

    Key

    Unique, alternate key.

Relations (10)

Each relation joins SMAParameters to another table on the fields shown.

  • DefaultProjectGroup → ProjGroup

    Join on DefaultProjGroupId = ProjGroup.ProjGroupId

    Zero or one SMAParameters record → zero or one ProjGroup record

  • ExpenseLedgerJournalName → LedgerJournalName

    Join on ProjJournalExpense = LedgerJournalName.JournalName, LedgerJournalName.JournalType = LedgerJournalType::Cost

    Zero or one SMAParameters record → zero or one LedgerJournalName record

  • FeeProjJournalName → ProjJournalName

    Join on ProjJournalFee = ProjJournalName.JournalNameId, ProjJournalName.JournalType = ProjJournalType::Revenue

    Zero or one SMAParameters record → zero or one ProjJournalName record

  • HourProjJournalName → ProjJournalName

    Join on ProjJournalHour = ProjJournalName.JournalNameId, ProjJournalName.JournalType = ProjJournalType::Hour

    Zero or one SMAParameters record → zero or one ProjJournalName record

  • ProjectInventJournalName → InventJournalName

    Join on ProjJournalMaterial = InventJournalName.JournalNameId, InventJournalName.JournalType = InventJournalType::project

    Zero or one SMAParameters record → zero or one InventJournalName record

  • ServiceAgreementActivityType → smmActivityTypeGroup

    Join on AgreementDefaultActivityType = smmActivityTypeGroup.TypeId

    Zero or one SMAParameters record → zero or one smmActivityTypeGroup record

  • ServiceOrderActivityGenerationStage → SMAStageTable

    Join on ServiceLineActivityStage = SMAStageTable.StageId

    Zero or one SMAParameters record → zero or one SMAStageTable record

  • ServiceOrderActivityType → smmActivityTypeGroup

    Join on ServiceOrderActivityType = smmActivityTypeGroup.TypeId

    Zero or one SMAParameters record → zero or one smmActivityTypeGroup record

  • SMAAgreementGroup → SMAAgreementGroup

    Join on AgreementGroupId = SMAAgreementGroup.AgreementGroup

    Zero or one SMAParameters record → zero or one SMAAgreementGroup record

  • WorkCalendarTable → WorkCalendarTable

    Join on CalendarId = WorkCalendarTable.CalendarId

    Zero 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.

Email sales@drdynamics.co.uk