CREATE TABLE "invHistoricalData" (
	"inv_id" uuid PRIMARY KEY DEFAULT gen_random_uuid() NOT NULL,
	"histDate" date NOT NULL,
	"plantToken" text,
	"article" text NOT NULL,
	"articleDescription" text NOT NULL,
	"materialType" text,
	"total_QTY" integer,
	"avaliable_QTY" integer,
	"coa_QTY" integer,
	"held_QTY" integer,
	"consignment" integer,
	"location" integer,
	"upd_user" text,
	"upd_date" timestamp
);
