r_keeper 7 Classes


RK7MenuItem

Menu Item

TModifiers

Modifier

TConsumators

Consumator

TVoids

Voids

Classes for Receipt Data

TCheckItem

Common ancestor

RO Sifr

Identifier

RO State

Satus: disOpened, disFixed, disPrinted, disPartClosed, disClosed, disDeleted

RO Seat

Seat number

TCheckItemList

Checkitem's list

TDish

Dish

RO Quantity

Quantity

RO SrcQuantity

Initial quantity (before voiding)

RO Pieces

Number of servings

RO Price

Price

RW IsUserPrice

"The price is set manually" flag

RW UserPrice

Manually set price

RO PRListSum

Amount excluding discounts

RO PaySum

Amount including discounts

RO MinPrice

Minimum price

RO Modifiers

Modifiers list

RO Discounts

List of dish discounts

RO Consumators

Consumators list

RO Voids

Voids list

RO PayBindings

Bindings list

RW NeedRecalc

"Recalculate dish amount" flag

TPortion

Portion dish

Weight

Dish weight

PortionWeight

Weight of one dish portion

WeightPrinted

"Weight has already been changed after service printing" flag

TRatedDish

Rated dish

TModiItem

Modifier

TDiscountItem

Discount

RO Localization

Discount localization (chlVisit, chlOrder, chlOrderSeat, chlDish)

RW ChargeSource

Discount source: chsHuman (manual), chsPay (for payment), chsAuto (automatic), chsChangeTip (by tips), chsInterface (interface), chsMCR (from the card), chsXML. ChsCoupon (discount coupon)

RW SrcAmount

Discount value in the case of a discount with a variable value

RO CalcAmount

Calculated discount value

RW BonusType

Bonus type ID

RO CardCode

Card code

RO AccountIdent

Account ID

RO MInterface

Interface ID

TConsumItem

Consumator

TVoidItem

Void

TVisit

Visit

RO Creator

ID of the employee who created the visit

RO GuestType

Gust type ID

RO GuestCnt

Guests quantity

RO StartGuestCnt

Guests quantity without regard to closed seats

RO VisitExtraInfoToSave

Saved comment

RO VisitOtherExtraInfo

Unsaved comment

TOrder

Order

RO OrderName

Order name

RO BillExists

"Bill printed for order" flag

RO IsQuickCheck

"Order is a quick receipt" flag

RO Paid

"Order paid (empty)" flag

RO CalcBySeats

"The order is calculated by seats" flag

RO MainWaiter

Main waiter ID

RO TableID

Table ID

RO COT

Order type ID

RO UOT

Order category ID

RO Defaulter

Defaulter type ID

RO PriceListSum

Amount excluding discounts

RO ToPaySum

Amount to pay

RO PaidSum

Paid amount

RO DiscountSum

The amount of discounts/markups (excluding undistributed)

RW UserTag1-UserTag4

Free properties, for use in scripts

RW InvoiceNum

Invoice number

RW InvoiceRegNo


RW InvoiceName


RW InvoiceAddr


RW InvoiceComment


RW InvoiceInfo


TPayBinding

Binding

TTaxItem

Tax item

TDiscPartItem

Discount tax item

TChargeLine

Undistributed markup

TOrderSession

Block

RO iSessionType

Block creation type: stAuto (automatic), stManual (manual), stTransferIn (transfer from another order), stTransferShift (transfer when closing a shift)

RO iPriceScale

Price type ID

RO iTradeGroup

Trade group ID

RO iStation

ID of the station where the session was created

RO Creator

Creator ID

RO Author

ID of the last user who edited the order

RO Lines

Block items list

RO PrintFlag

Print flag: pfNo (not needed), pfNow (current time), pfLater (specified time), pfPrinted (already printed)

RO PrintAt

Printing time

RO RemindFlag

Reminder flag

RO RemindAt

Reminder time

RO ReadyFlag

Ready flag

RO ReadyAt

Read at

RO KDSState

KDS status

TOrderSessions

Blocks list

TPrintCheckItem

Receipt

RO CheckNum

Unique receipt number

RO PrintNumber

Printed receipt number

RO BasicSum

Receipt amount

RO PRListSum

Receipt amount without discounts

RO TaxSum

Taxes amount

RO iPrintStation

ID of the station where the receipt was printed

RO iPrinter

ID of the printer where the receipt was printed

RO CloseDateTime

Date and time of receipt closing

RO IsBill

"Bill" flag

RO BillError

"Error printing bill" flag

RO PrintError

"Error printing receipt" flag

TPayLine

Payment

RO OriginalSum

Payment amount

RO BasicSum

Payment amount in the base currency

RO NationalSum

Payment amount in the national currency

RO DBKurs

Rate

RO OwnerInfo

Customer info

RO PayLineType

Payment type: pltCash, pltCrCard, pltHotel, pltPayCard, pltCashExclude (фиктивная сдача), pltOtherNonCash

RO IsPrepay

"Prepayment" flag

RO CardNum

Card number

RO AccountIdent

Account number

RO Defaulter

Defaulter type ID

RO AuthType

Authorization type

RO MInterface

Interface ID

TCheckCurrLine

Payment Item

TMcrPay


TMcrCoupon


All classes that can be used in r_keeper 7 scripts are described below.


Syntax:

ClassName (ParentClassName)

Methods

methods description (may not be present)

Properties class properties description (may not be present). Syntax:

AccessType PropertyType PropertyName AccessType: RO ReadOnly, WO WriteOnly, RW ReadWrite

PropertyType: type of the property, for example, int64, string PropertyName: name for referring to property.

TIdentItem (TPersistent)

TIntegerId (TIdentItem)

TDrawItem (TIntegerId)

properties

RO Integer Number

RO Boolean PartClosed

RO TDrawItemState State

TDrawItemList (TIdentItem)

properties

RO TDrawItem ITEMS[i]

RO integer ITEMCOUNT

TCheckItemList (TdrawItemList)  — Checkitems list

TCheckItem (TdrawItem) — Common ancestor

properties

RO Integer Tag

RO Boolean Modified

RO Integer iAuthor

RO Integer iCreator

RO String Name

RO Integer Code

RO Integer UNI

RO Integer Sifr — Identifier

RO Integer Number

RO Boolean PartClosed

RO TDrawItemState State — Status: disNone, disOpened, disLocked, disFixed, disPrinted, disPartClosed, disClosed, disDeleted

RO Integer Seat — Seat number

TPrintCheckItem (TcheckItem) — Receipt

properties

RO Boolean WasAllChangeToTip

RO TRate BasicRate

RO Integer iVoid

RO Boolean IsBill - "Bill" flag

RO Integer PrintTry

RO Integer iDeleteManager

RO TDateTime DeleteDateTime

RO Boolean Deleted

RO tCheckSubItemList CurrLines

RO Boolean BillError — "Error printing bill" flag

RO Boolean PrintError  — "Error printing receipt" flag

RO String DeleteManager

RO String Void

RO String Drawer

RO String CloseStation

RO String PrintStation

RO String Printer

RO String SeatName

RO TMoney TaxSumAdded

RO TMoney TaxSum                           Tax amount

RO TMoney DistrMarkupSum

RO TMoney DiscountSum

RO TMoney ChargePriceListSum

RO TMoney DishPriceListSum

RO TMoney PRListSum                      Receipt amount excluding discounts

RO TMoney BindedSum

RO TMoney ToPaySum

RO TMoney FiscalSum

RO TMoney NationalSum

RO TMoney BasicSum                        Receipt amount

RO Byte Seat

RO Integer ParentCheckNum

RO Integer CheckNum                        Unique receipt number

RO Integer PrintNumber                      Printed receipt number

RO Integer iDrawer

RO Integer iFiscShift

RO Integer iShift

RO Integer iCloseStation

RO String35 ExtFiscID

RO Integer iPrinter                               ID of the printer on which the receipt was printed

RO Integer iPrintStation                       ID of the station where the receipt was printed

RO TDateTime CloseDateTime           Date фтв time of closing the receipt

RO Integer Tag

RO Boolean Modified

RO Integer iAuthor

RO Integer iCreator

RO String Name

RO Integer Code

RO Integer UNI

RO Integer Sifr

RO Integer Number

RO Boolean PartClosed

RO TDrawItemState State

TPortion                                                              Portion dish

RO Weight                                            Dish weight

RO PortionWeight                                Weight of one dish portion

RO WeightPrinted                                "Weight has already been changed after service printing" flag

TRatedDish (TcheckItem)                                     Dish

TDish (TcheckItem)                                              Rated dish

properties

RO Boolean Selected

RO String SeatName

RO TMoney ClosedPaySum

RO TMoney ClearSum

RO TMoney PaySum                           Amount including discounts

RO TMoney SumWithDiscounts

RO tPayBindings PayBindings            Bindings list

RO TMoney PriceSumBinded

RO Boolean IsPortion

RO Integer iTaxDishType

RO TVoids Voids                                  Voids list

RO TConsumators Consumators        Consumators list

RO TDiscounts Discounts                   List of dish discounts

RO TModifiers Modifiers                      Modifiers list

RO Byte Seat

RO Byte QntFormat

RO Smallint CookMins

RO TMoney BonusBaseSum

RO TMoney CalcConsumSum

RO TMoney ConsumSum

RO TMoney PRListSum                      Amount excluding discounts

RO TMoney Price                                Price

RO TMoney MinPrice                          Minimum price

RW TMoney UserPrice                        Manually set price

RW Boolean IsUserPrice                    "Price is set manually" flag

RO TQuantity SrcQuantity                   Initial quantity (before voiding)

RO TQuantity Pieces                           Number of portions

RO TQuantity Quantity                        Quantity

RO Integer Tag

RO Boolean Modified

RO Integer iAuthor

RO Integer iCreator

RO String Name

RO Integer Code

RO Integer UNI

RO Integer Sifr

RO Integer Number

RO Boolean PartClosed

RO TDrawItemState State

RW Boolean NeedRecalc                    "Need to recalculate the amount of the dish" flag

TModiItem (TCheckItem)                                      Modifier

TConsumItem (TCheckItem)                                Consumator

TVoidItem (TcheckItem)                                       Void

TVisit (TcheckItem)                                              Visit

RO Creator                                           ID of the employee who created the visit

RO GuestType                                     ID of the guest type

RO GuestCnt                                       Number of guests

RO StartGuestCnt                               Number of guests excluding closed seats

RO VisitExtraInfoToSave                     Saved comment

RO VisitOtherExtraInfo                        Unsaved comment

TCommonPayLine (TCheckItem)

properties

RO Integer iHighLevelType

RO String PrintOwnerInfo

RO String OwnerInfo

RO String ISO

RO String CurrencyName

RO String TaxPayTypeName

RO Integer TaxPayTypeSifr

RO Integer PrintCheckUNI

RO TRate DBKurs

RO TMoney NationalSum

RO TMoney BasicSum

RO TMoney OriginalSum

RO Integer Tag

RO Boolean Modified

RO Integer iAuthor

RO Integer iCreator

RO String Name

RO Integer Code

RO Integer UNI

RO Integer Sifr

RO Integer Number

RO Boolean PartClosed

RO TDrawItemState State

TDishSubItem (TCheckItem)

properties

RO Integer DishUNI

RO Integer OwnerUNI

RO Integer Tag

RO Boolean Modified

RO Integer iAuthor

RO Integer iCreator

RO String Name

RO Integer Code

RO Integer UNI

RO Integer Sifr

RO Integer Number

RO Boolean PartClosed

RO TDrawItemState State

TDiscountItem (TdishSubItem)                            Disconut

properties

RO Boolean PDSTransaction

RO String SrcValue

RO String SeatName

RO String DishName

RO Boolean IsMarkup

RO Boolean IsDiscount

RO Integer SessionUNI

RO Byte Seat

RO Boolean ValueChanged

RO TMoney MaxAmount

RO Boolean IsCharge

RO TMoney BonusAmount

RO TMoney CalcAmount                     Calculated discount value

RO TMoney DiscountBase

RO TPercent CalcPercent

RW TMoney SrcAmount                      Discount value in case of a discount with a variable value

RO TCountType CountType

RO Integer Minterface                         Interface ID

RW Integer BonusType                       Bonus type ID

RO Int64 AccountIdent                        Account number

RO String CardCode                            Card code

RW TChargeSource ChargeSource    Discount source type: chsHuman (manual), chsPay (for payment), chsAuto (automatic), chsChangeTip (formed by tips), chsInterface (interface), chsMCR (from the card), chsXML. ChsCoupon (discount coupon)
RO TChargeLocalization Localization                Discount localization (chlVisit, chlOrder, chlOrderSeat, chlDish)

RO Integer DishUNI

RO Integer OwnerUNI

RO Integer Tag

RO Boolean Modified

RO Integer iAuthor

RO Integer iCreator

RO String Name

RO Integer Code

RO Integer UNI

RO Integer Sifr

RO Integer Number

RO Boolean PartClosed

RO TDrawItemState State

TSessionLines (TcheckItemList)

TPayBinding                                                        Binding

TTaxItem                                                              Tax Item

TDiscPartItem                                                      Discount tax item

TChargeLine                                                        Undistributed markup

TOrderSession (TcheckItem)                               Block

properties

RO Integer iRemindServiceScheme

RO Integer iPrintServiceScheme

RO TSessionFlags SessionFlags

RO TDateTime ReadyAt                      Ready at

RO TPrintFlag ReadyFlag                   Ready flag

RO TDateTime RemindAt                    Reminder time

RO TPrintFlag RemindFlag                  Reminder flag

RO TDateTime PrintAt                         Print time

RO TPrintFlag PrintFlag                       Print flag: pfNo (not needed), pfNow (current time), pfLater (specified time), pfPrinted (already printed)

RO Integer iKurs

RO TSessionLines Lines                     Block items list

RO Integer ExtraUNI

RO Integer ExtraVisit

RO String Kurs

RO String TransferInfo

RO String Station

RO String TradeGroup

RO String Period

RO String PriceScale

RO Integer CreatorCode

RO String Creator                                Creator ID

RO String Author                                  ID of the last user who edited the order

RO Integer AuthorCode

RO String SessionType

RO Integer iStation                              ID of the station the package was created

RO Integer iTradeGroup                      Trade group ID

RO Integer iPeriod

RO Integer iPriceScale                        Price type ID

RO TDateTime EndService

RO TDateTime StartService

RO TSessionType iSessionType         Block creation type: stAuto (automatic), stManual (manual), stTransferIn (transfer from another order), stTransferShift (transfer when closing the shift)

RO Integer IdInVisit

RO Integer Tag

RO Boolean Modified

RO Integer iAuthor                               ID of the last user who edited the order

RO Integer iCreator                             Creator ID

RO String Name

RO Integer Code

RO Integer UNI

RO Integer Sifr

RO Integer Number

RO Boolean PartClosed

RO TDrawItemState State                  

RO KDSState                                       KDS status

TOrder (TCheckItem)

properties

RO Integer iLastUser

RO Integer LockedByStation

RO String OtherWaitersString

RO Integer iCommonShift

RO TMoney DiscountSum                   The amount of discounts/markups (excluding undiistributed)

RO TMoney UnClosedPrepaySum

RO TMoney UnClosedPriceSum

RO TMoney UnpaidSum

RO TMoney PaidSum                          Paid amount

RO TMoney ToPaySum                       Amount to pay

RO TMoney PriceListSum                   Amount excluding discounts

RO Int64 Duration

RO Boolean FinishedService

RO TDateTime EndService

RO TDateTime StartService

RO Integer iNationalCurrency

RO Integer iBasicCurrency

RO Integer Brigade

RO Integer MainWaiter                        Main waiter ID

RO Integer UOT                                  Order Category ID

RO Integer COT                                  Order type ID

RO Integer TableID                              Table ID

RO Integer Defaulter                            Defaulter type ID

RO TDateTime OpenTime

RO Byte NumOnTable

RO Integer UVN

RO TDateTime LastService

RO TOrderFlags Flags

RO tLongSet256 SeatsFixed

RO tLongSet256 OrderGuests

RO Integer GuestsCount

RO String VisitOtherInfo

RO String VisitExtraInfo

RO Boolean UnPaid

RO String LastUser

RO String GuestType

RO Integer MainWaiterCode

RO Integer CreatorCode

RO String CreatorName

RO Integer OrderCategoryCode

RO String OrderCategory

RO Integer OrderTypeCode

RO String OrderType

RO Integer TableCode

RO String MainWaiterName

RO String OrderName                         Order name

RO String TableName

RO String TableNum

RO Boolean CalcBySeats                   "Order calculated by seats" flag

RO Boolean CanClose

RO Boolean UnclosedReceipts

RO Boolean UnsavedExists

RO Boolean BillExists                         "Bill printed on order" flag

RO Boolean IsCalcVisit

RO Boolean IsQuickCheck                 "Order is a quick check" flag

RO Boolean UnclosedPrepays

RO Boolean Paid                                 "Order paid (empty)" flag

RO Boolean Tarif

RO Boolean Unprinted

RO Boolean Locked

RO Boolean IsEmpty

RO Integer Tag

RO Boolean Modified

RO Integer iAuthor

RO Integer iCreator

RO String Name

RO Integer Code

RO Integer UNI

RO Integer Sifr

RO Integer Number

RO Boolean PartClosed

RO TDrawItemState State

RO TOrderSession Sessions[i]

RW UserTag1-UserTag4                     Free properties, for use in scripts

TOrderSessions (TcheckItemList)                        Blocks list

properties

RO Integer Version

RO Integer iLastUser

RO TOrderFlags OrderFlags

RO Boolean BySeats

RO Integer COT

RO Integer UniCount

RO Boolean OneOrder

RO tLongSet256 SeatsClosed

RO TOrderSession Items[i]

RO TCheckItem Lines[i]

RO integer LinesCount

TPayLine (tCommonPayLine)

properties

RO Integer AddByInterface

RO Integer Minterface                         Interface ID

RO tTransactionStatus TransactionStatus

RO TAuType AuthType                        Authorization type

RO Integer TransactionID

RO String Owner

RO Int64 AccountIdent                        Account number

RO String Track2

RO String AuthCode

RO TDateTime ExpDate

RO String CardNum                             Card number

RO Integer CurrLineUNI

RO String PayPrefix

RO String AuthTypeName

RO String SeatName

RO Integer SessionUNI

RO Byte Seat

RO Integer SourcePayUNI

RO Boolean IsPrepay                          "Prepayment" flag

RO TPayLineType PayLineType         Payment type: pltCash, pltCrCard, pltHotel, pltPayCard, pltCashExclude (фиктивная сдача), pltOtherNonCash

RO TInputType InputType

RO TMoney CurrLineSum

RO String ChangeForOwnerInfo

RO String ChangeCurrency

RO Integer ChangeForCurr

RO Integer iHighLevelType

RO String PrintOwnerInfo

RO String OwnerInfo                           Customer information

RO String ISO

RO String CurrencyName

RO String TaxPayTypeName

RO Integer TaxPayTypeSifr

RO Integer PrintCheckUNI

RO TRate DBKurs                               Rate

RO TMoney NationalSum                    Payment amount in the national currency

RO TMoney BasicSum                        Payment amount in the base currency

RO TMoney OriginalSum                     Payment amount

RO Integer Tag

RO Boolean Modified

RO Integer iAuthor

RO Integer iCreator

RO String Name

RO Integer Code

RO Integer UNI

RO Integer Sifr

RO Integer Number

RO Boolean PartClosed

RO TDrawItemState State

RO Defaulter                                        Defaulter type ID

TCheckCurrLine                                                   Payment Item

TOrderVoid (TVisualNamedClassifierItem)

properties
published

property ExtCode;

property Flags: TOrderVoidFlags read FFlags write Fflags;

property RightLvl: TRightLvl read FRightLvl write FrightLvl;

property MInterface: tIdent read fMInterface write fMInterface;

property Format: TFormat read FFormat write Fformat;

property WriteOffOnStore: Boolean index ord(ovfWriteOffOnStore) read GetFlag write SetFlag

stored False;

property ImplOnCheckVoid: Boolean index ord(ovfImplOnCheckVoid) read GetFlag write

SetFlag stored False;

property ImplOnCheckUndo: Boolean index ord(ovfImplOnCheckUndo) read GetFlag write

SetFlag stored False;

property ImplOnDishVoid : Boolean index ord(ovfImplOnDishVoid) read GetFlag write SetFlag

stored False;

property ImplOnComboComp: Boolean index ord(ovfImplOnComboComp) read GetFlag write

SetFlag stored False;

property InputName : Boolean index ord(ovfInputName) read GetFlag write SetFlag stored

False;

property NeedServPrint : Boolean index ord(ovfNeedServPrint) read GetFlag write SetFlag

stored False;

Признак списания - WriteOffOnStore

TTaskSetterItem = class

published

property Visit : integer     read FVisit           write

Fvisit;

property OrderIdent: integer     read FOrderIdent      write ForderIdent;

property DishUNI : integer     read FDishUNI         write FdishUNI;

property Flags : TTariffItemFlags read FFlags           write SetFlags;

property TarifDetailID: TIdent   read FTarifDetailID   write FtarifDetailID;

property TariffTypeID: TIdent    read FTariffTypeID    write FtariffTypeID;

property Duration : TDateTime   read FDuration        write Fduration;

property TimeLimit : TDateTime   read FTimeLimit       write FtimeLimit;

property Sum : TMoney      read Fsum             write Fsum;

property OrderSum : TMoney      read FOrderSum        write ForderSum;

property ExtNumber : string      read FExtNumber       write FextNumber;

property MoneyLimit: TMoney      read FMoneyLimit      write FmoneyLimit;

property StartTime : TDateTime   read FStartTime       write FstartTime;

property EndTime : TDateTime   read FEndTime         write FendTime;                        { Time of resuming tariffication (autostart after a pause) }

property AutoResumeAt: TDateTime read FAutoResumeAt    write FautoResumeAt;  { message ID about the approaching end of tariffication }

property MessageID : TIdent      read FMessageID       write FmessageID;                  { Type — rater or doser }

property ItemType : TTaskSetterItemKind read FItemType write FItemType;


  • No labels