﻿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
);

