Files
Fuchs_Intranet/Fuchs_Database/dbo/Tables/mfr__d_stockmovements.sql
T
Stefan 10ecdfa2e4 Add Fuchs_Database SSDT project (schema source of truth)
Adds the SQL Server Data Tools project for the fuchs_fds database — tables,
table types, functions and stored procedures that the backend calls (e.g.
fds__getInvoice, fds__merge_bankingtransactions, fds__tt__bankingtransactions,
fds__admin_getReportCatalog, fis_* auth). Build/model caches (bin, obj,
*.dbmdl, *.jfm, *.user) are git-ignored.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-05 14:50:54 +02:00

21 lines
833 B
Transact-SQL

CREATE TABLE [dbo].[mfr__d_stockmovements] (
[Id] BIGINT NULL,
[Version] INT NULL,
[Amount] NUMERIC (10, 3) NULL,
[AmountReceived] NUMERIC (10, 3) NULL,
[ExternalId] VARCHAR (255) NULL,
[ItemId] BIGINT NULL,
[ItemTypeId] BIGINT NULL,
[StockMovementType] VARCHAR (255) NULL,
[State] VARCHAR (255) NULL,
[ServiceRequestId] BIGINT NULL,
[WarehouseId] BIGINT NULL,
[DateOfCreation] DATETIME NULL,
[DateModified] DATETIME NULL,
[TargetDate] DATETIME NULL,
[CreatedById] BIGINT NULL,
[ConfirmedById] BIGINT NULL,
[DateDeleted] DATETIME NULL
);