Files
Fuchs_Intranet/Fuchs_Database/dbo/Tables/mfr__d_items.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

29 lines
1.2 KiB
Transact-SQL

CREATE TABLE [dbo].[mfr__d_items] (
[Id] BIGINT NULL,
[Version] INT NULL,
[QuantityHours] NUMERIC (10, 3) NULL,
[PlannedQuantityHours] NUMERIC (10, 3) NULL,
[ItemTypeId] BIGINT NULL,
[ItemNumber] VARCHAR (255) NULL,
[TrackingId] VARCHAR (255) NULL,
[Manufacture] VARCHAR (255) NULL,
[Price] NUMERIC (10, 3) NULL,
[Costs] NUMERIC (10, 3) NULL,
[NameOrNumber] NVARCHAR (255) NULL,
[CustomValues] NVARCHAR (MAX) NULL,
[Note] NVARCHAR (MAX) NULL,
[ExternalId] NVARCHAR (255) NULL,
[Discount] NUMERIC (10, 3) NULL,
[VAT] NUMERIC (10, 3) NULL,
[IsManual] BIT NULL,
[SortOrder] INT NULL,
[Type] VARCHAR (255) NULL,
[ServiceRequestId] BIGINT NULL,
[ServiceObjectId] BIGINT NULL,
[CreatorId] BIGINT NULL,
[UnitId] BIGINT NULL,
[UnitString] VARCHAR (50) NULL,
[DateDeleted] DATETIME NULL
);