Idx AutoInc NOT NULL,
xJob Integer NOT NULL DESCRIPTION 'Link to Jobs.nx1',
BookingDate Date,
xCompany Integer NOT NULL DESCRIPTION 'Link to Company.nx1, i.e. the Hotels, B&B etc',
Charge Money DEFAULT 0E0,
OrderStatus Byte DEFAULT 0 DESCRIPTION 'TShiftOrderStatus = (sosNone, sosPartial, sosFullfilled, sosOver)',
RoomsOrdered Integer DEFAULT 0,
GuestsOrdered Integer DEFAULT 0,
Flag Byte DEFAULT 0 DESCRIPTION 'see TAccommodationFlag = (afNone, afShiftDateChange, afShiftRoomChange)',
FlagNarrative CLOB DESCRIPTION 'when Flag is being set triggers and client code can write to this column to log the reasons. The column can be written to and cl',