Saltar al contenido principal

mov.otherDiscount

Descripción​

Catálogo de otros descuentos.

Módulo: Movimientos
Nombre en base de datos: [mov].[otherDiscount]

Estructura de la Tabla​

ColumnaTipoNuloClaveDefaultDescripción
nameNVARCHAR(500)✓---
codeNVARCHAR(10)✗---
isMandatoryBIT✗---
amountINT✓---
numberOfInstallmentsINT✓---
goesToContributionsBIT✗---
id_operationTypeINT✓FK-Referencia a mov.operationType
id_movementTypeINT✓FK-Referencia a mov.movementType

Columnas Estándar​

ColumnaTipoNuloDescripción
idINT✗Clave primaria auto-incremental
uidNVARCHAR(500)✗Control multiempresa (User ID)
eidNVARCHAR(50)✗Control multiempresa (Entity ID)
id_user_creatorINT✓Usuario que creó el registro
id_user_modifierINT✓Usuario que modificó el registro por última vez
dateCreationDATETIME2(0)✓Fecha y hora de creación
dateModificationDATETIME2(0)✓Fecha y hora de última modificación
isActiveBIT✗Registro activo (borrado lógico)
isWebUpdatedBIT✗Actualizado desde la web (legado: ActuWeb)
isWebCreatedBIT✗Creado desde la web (legado: CreaWeb)

Diagrama ER​

Tabla y sus relaciones directas (sin las columnas de auditoría).

erDiagram
mov_otherDiscount {
int id PK
int id_operationType FK
int id_movementType FK
}
mov_associateOtherDiscount
mov_movementType
mov_operationType
mov_otherDiscount ||--o{ mov_associateOtherDiscount : "id_otherDiscount"
mov_movementType |o--o{ mov_otherDiscount : "id_movementType"
mov_operationType |o--o{ mov_otherDiscount : "id_operationType"

Relaciones​

Relaciones Salientes (Foreign Keys)​

ColumnaReferenciaConstraint
id_movementTypemov.movementType.idFK__mov__otherDiscount__id_movementType
id_operationTypemov.operationType.idFK__mov__otherDiscount__id_operationType

Relaciones Entrantes​

TablaColumnaConstraint
mov.associateOtherDiscountid_otherDiscountFK__mov__associateOtherDiscount__id_otherDiscount

Objetos Relacionados​

ObjetoTipo
mov.otherDiscount_actProcedimiento
mov.otherDiscount_ins_bulkProcedimiento
mov.otherDiscount_selProcedimiento
mov.otherDiscount_typTipo tabla
mov.otherDiscount_upd_bulkProcedimiento
mov.otherDiscount_viewVista
mov.otherDiscount_view_baseVista

Nota: Documentación generada desde el esquema real de la base de datos pro_safe con la skill data-dictionary (IDAE.ClaudeConfig).