Files
Fuchs_Intranet/Fuchs_Database/dbo/Tables/mfr__serviceobjects.sql
T
Stefan c741535aec
Playwright Tests / test (push) Canceled after 0s
feat: Implement mfr truncation fix and enhance invoice handling
- Added a new SQL script to address the "String or binary data would be truncated" error in mfr sync by widening the Note fields in service objects and companies to NVARCHAR(MAX).
- Updated the table types and associated stored procedures to accommodate the changes, ensuring compatibility with existing data.
- Queued a re-sync for previously rejected rows due to truncation issues.
- Created application logins for fuchs_fds and fuchs_web with placeholder passwords for initial setup.
- Introduced functions for invoice backdating and invoice date retrieval to streamline invoice processing.
- Developed a password generation function with customizable parameters for length and character types.
- Added a random number generation function to support password creation.
2026-09-30 16:56:08 +02:00

20 lines
893 B
Transact-SQL

CREATE TABLE [dbo].[mfr__serviceobjects] (
[Id] BIGINT NOT NULL,
[Location#ID] BIGINT NULL,
[Name] NVARCHAR (255) NULL,
[Note] NVARCHAR (MAX) NULL,
[CustomValues] NVARCHAR (MAX) NOT NULL,
[DateModified] DATETIME NOT NULL,
[ExternalId] NVARCHAR (255) NULL,
[MappingId] NVARCHAR (255) NULL,
[QuickSearch] NVARCHAR (255) NULL,
[Version] INT NOT NULL,
[CreateGeoLocation] BIT NOT NULL,
[IsWarehouse] BIT NOT NULL,
[ParentServiceObjectId] BIGINT NOT NULL,
[CompanyId] BIGINT NOT NULL,
[ProductId] BIGINT NOT NULL,
CONSTRAINT [PK_mfr__serviceobject] PRIMARY KEY CLUSTERED ([Id] ASC)
);