Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Current »

Use

This defines where the stock is located within the warehouse, a product has one or more stock records and each stock record can have one or more location stock records

Limitations

It is important to ensure the total provided here agrees to the stock

Notes

This import originated from an older system so some of the fields are not relevant but remain as part of the standard import tables.        

Fields

Data Type

Data Code

Description

Example Data

Alpha

A

Alpha Only, no numeric allowed at all, must only be characters.

BLUE

Alpha Numeric

Also known as
Char (xx)
varchar (xx)
nvarchar (xx)

AN

Stores alphanumeric combinations and text.

No symbols or other characters allowed with some basic exceptions which are dot,comma, colon, ampersand.   
Remember some of these have special codes for XML

Bytesize 1234

String

ST

String is really a group of characters stored together as one it can contain numbers, letters and symbols.

Hello World ! [2023]

Bit

B

Boolean data types are very straightforward. A Boolean data type is simply something that only has two possible values, true or false.

The computer will store true as a 1 and false as a 0.

Y or N 

0 or 1

Character

CH

Stores a single character which can be a letter, number or symbol

£

Currency

CU

Same as decimal but to 2dp is required

17.01

Date

DT

dd/mm/yy or dd/mm/yyyy

18/05/18

Decimal

DC

Stores numbers that contain decimal places/values and can also store integers

known as REAL, SINGLE, DOUBLE or FLOAT instead.

17.65665

Email

EMl

Should be standard email format containing the @

sales@here.uk

Integer

IN

Stores positive or negative whole numbers

17

Numeric

N

Numbers only, including phone numbers

01324 722663

Time

TM

hh:mm

11:00

Field Name

Field Type

Nulls

Notes

WarehouseLocation

nvarchar(20)

Mandatory

This is the location name and must exist already on the system

RotationNo

nvarchar(10)

Mandatory

This needs to exist in the stock table already

RotationLine

int

Must exist if used in the stock table already

NoOfCases

int

Do not include frozen quantity within this

NoOfBottles

int

Do not include frozen quantity within this

FrozenCases

int

 

FrozenBottles

int

 

FrozenReason

nvarchar(50)

As you can not split this at data take on use a common reason to identify it afterwards. 

SiteCode

nvarchar(2)

Mandatory

Must be one of the pre-agreed site codes

  • No labels