Skriptovací jazyk - objekty: Porovnání verzí
m |
m |
||
Řádek 18: | Řádek 18: | ||
|-valign=top | |-valign=top | ||
|''' [[Objekt TKAPCommunicator|TKAPCommunicator]]'''||umožňuje komunikaci s MaximObjServerem | |''' [[Objekt TKAPCommunicator|TKAPCommunicator]]'''||umožňuje komunikaci s MaximObjServerem | ||
+ | |-valign=top | ||
+ | |''' [[Objekt CallMethodBtrTable|CallMethodBtrTable]]'''|| | ||
|} | |} | ||
− | + | AddConstructor('constructor Create', CallMethodBtrTable); | |
− | + | function BookmarkValid(Bookmark: TBookmark): Boolean;, CallMethodBtrTable); | |
− | + | function CompareBookmarks(Bookmark1, Bookmark2: TBookmark): Integer;, CallMethodBtrTable); | |
− | + | function ControlsDisabled: Boolean;, CallMethodBtrTable); | |
− | + | function CopyFields(Source: TDataSet): Integer;, CallMethodBtrTable); | |
− | + | function FieldByName(const FieldName: String): TField;, CallMethodBtrTable); | |
− | + | function FindField(const FieldName: String): TField;, CallMethodBtrTable); | |
− | + | function FindKey(const KeyValues: array of const): Boolean;, CallMethodBtrTable); | |
− | + | function GetBookmark: TBookmark;, CallMethodBtrTable); | |
− | + | function GetBtrRecordLength: LongInt;, CallMethodBtrTable); | |
− | + | function GotoKey: Boolean;, CallMethodBtrTable); | |
− | + | function IsEmpty: Boolean;, CallMethodBtrTable); | |
− | + | function IsLinkedTo(DataSource: TDataSource): Boolean;, CallMethodBtrTable); | |
− | + | function IsRangeApplied: Boolean;, CallMethodBtrTable); | |
− | + | function IsSequenced: Boolean;, CallMethodBtrTable); | |
− | + | function Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean;, CallMethodBtrTable); | |
− | + | function Lookup(const KeyFields: string; const KeyValues: Variant; const ResultFields: string): Variant;, CallMethodBtrTable); | |
− | + | function MoveBy(Distance: Integer): Integer;, CallMethodBtrTable); | |
− | + | function UpdateStatus: TUpdateStatus;, CallMethodBtrTable); | |
− | + | procedure Append;, CallMethodBtrTable); | |
− | + | procedure AppendRecord(const Values: array of const);, CallMethodBtrTable); | |
− | + | procedure ApplyRange;, CallMethodBtrTable); | |
− | + | procedure Cancel;, CallMethodBtrTable); | |
− | + | procedure CancelRange;, CallMethodBtrTable); | |
− | + | procedure ClearFields;, CallMethodBtrTable); | |
− | + | procedure Close;, CallMethodBtrTable); | |
− | + | procedure CopyTable(const NewTableName: string);, CallMethodBtrTable); | |
− | + | procedure CreateTable(Rewrite: Boolean);, CallMethodBtrTable); | |
− | + | procedure Delete;, CallMethodBtrTable); | |
− | + | procedure DeleteTable;, CallMethodBtrTable); | |
− | + | procedure DisableControls;, CallMethodBtrTable); | |
− | + | procedure Edit;, CallMethodBtrTable); | |
− | + | procedure EmptyTable;, CallMethodBtrTable); | |
− | + | procedure EnableControls;, CallMethodBtrTable); | |
− | + | procedure First;, CallMethodBtrTable); | |
− | + | procedure FreeBookmark(Bookmark: TBookmark);, CallMethodBtrTable); | |
− | + | procedure GetDetailDataSets(List: TList);, CallMethodBtrTable); | |
− | + | procedure GetDetailLinkFields(MasterFields, DetailFields: TList);, CallMethodBtrTable); | |
− | + | procedure GetFieldList(List: TList; const FieldNames: String);, CallMethodBtrTable); | |
− | + | procedure GetFieldNames(List: TStrings);, CallMethodBtrTable); | |
− | + | procedure GetIndexInfo;, CallMethodBtrTable); | |
− | + | procedure GetIndexNames(List: TStrings);, CallMethodBtrTable); | |
− | + | procedure GotoBookmark(Bookmark: TBookmark);, CallMethodBtrTable); | |
− | + | procedure GotoCurrent(Table: TBtrTable);, CallMethodBtrTable); | |
− | + | procedure GotoNearest;, CallMethodBtrTable); | |
− | + | procedure CheckBrowseMode;, CallMethodBtrTable); | |
− | + | procedure Insert;, CallMethodBtrTable); | |
− | + | procedure InsertRecord(const Values: array of const);, CallMethodBtrTable); | |
− | + | procedure Last;, CallMethodBtrTable); | |
− | + | procedure Next;, CallMethodBtrTable); | |
− | + | procedure Open;, CallMethodBtrTable); | |
− | + | procedure Post;, CallMethodBtrTable); | |
− | + | procedure Prior;, CallMethodBtrTable); | |
− | + | procedure Refresh;, CallMethodBtrTable); | |
− | + | procedure Resync(Mode: TResyncMode);, CallMethodBtrTable); | |
− | + | procedure SetKey;, CallMethodBtrTable); | |
− | + | procedure SetRange(const StartValues, EndValues: array of const);, CallMethodBtrTable); | |
end; | end; |
Verze z 28. 11. 2012, 11:10
Objekt | Popis |
Settings.Values['INI.fieldname'] | vrací hodnoty polí z tabulky SKLADINI |
Settings.Values['KFG.fieldname'] | vrací hodnoty polí z tabulky SKLADKFG |
Settings.Values['USER.fieldname'] | vrací hodnoty polí z tabulky SYSTUSER (fieldname je jméno pole z dané tabulky dle struktury souborů) |
Settings.Values['DPH.ProcentoN'] | vrací sazbu DPH (N je od 0 do 6) |
Settings.Values['DPH.OznaceniN'] | vrací krátké označení DPH (N je od 0 do 6) |
Settings.Values['DPH.PasmoN'] | vrací pásmo DPH (N je od 0 do 6)(všechny hodnoty dle aktuálně přihlášeného uživatele a databáze) |
Settings.Values['VAR.promenna'] | vrací hodnotu INI proměnné dle nastavení proměnných |
TKAPCommunicator | umožňuje komunikaci s MaximObjServerem |
CallMethodBtrTable |
AddConstructor('constructor Create', CallMethodBtrTable);
function BookmarkValid(Bookmark: TBookmark): Boolean;, CallMethodBtrTable); function CompareBookmarks(Bookmark1, Bookmark2: TBookmark): Integer;, CallMethodBtrTable); function ControlsDisabled: Boolean;, CallMethodBtrTable); function CopyFields(Source: TDataSet): Integer;, CallMethodBtrTable); function FieldByName(const FieldName: String): TField;, CallMethodBtrTable); function FindField(const FieldName: String): TField;, CallMethodBtrTable); function FindKey(const KeyValues: array of const): Boolean;, CallMethodBtrTable); function GetBookmark: TBookmark;, CallMethodBtrTable); function GetBtrRecordLength: LongInt;, CallMethodBtrTable); function GotoKey: Boolean;, CallMethodBtrTable); function IsEmpty: Boolean;, CallMethodBtrTable); function IsLinkedTo(DataSource: TDataSource): Boolean;, CallMethodBtrTable); function IsRangeApplied: Boolean;, CallMethodBtrTable); function IsSequenced: Boolean;, CallMethodBtrTable); function Locate(const KeyFields: string; const KeyValues: Variant; Options: TLocateOptions): Boolean;, CallMethodBtrTable); function Lookup(const KeyFields: string; const KeyValues: Variant; const ResultFields: string): Variant;, CallMethodBtrTable); function MoveBy(Distance: Integer): Integer;, CallMethodBtrTable); function UpdateStatus: TUpdateStatus;, CallMethodBtrTable); procedure Append;, CallMethodBtrTable); procedure AppendRecord(const Values: array of const);, CallMethodBtrTable); procedure ApplyRange;, CallMethodBtrTable); procedure Cancel;, CallMethodBtrTable); procedure CancelRange;, CallMethodBtrTable); procedure ClearFields;, CallMethodBtrTable); procedure Close;, CallMethodBtrTable); procedure CopyTable(const NewTableName: string);, CallMethodBtrTable); procedure CreateTable(Rewrite: Boolean);, CallMethodBtrTable); procedure Delete;, CallMethodBtrTable); procedure DeleteTable;, CallMethodBtrTable); procedure DisableControls;, CallMethodBtrTable); procedure Edit;, CallMethodBtrTable); procedure EmptyTable;, CallMethodBtrTable); procedure EnableControls;, CallMethodBtrTable); procedure First;, CallMethodBtrTable); procedure FreeBookmark(Bookmark: TBookmark);, CallMethodBtrTable); procedure GetDetailDataSets(List: TList);, CallMethodBtrTable); procedure GetDetailLinkFields(MasterFields, DetailFields: TList);, CallMethodBtrTable); procedure GetFieldList(List: TList; const FieldNames: String);, CallMethodBtrTable); procedure GetFieldNames(List: TStrings);, CallMethodBtrTable); procedure GetIndexInfo;, CallMethodBtrTable); procedure GetIndexNames(List: TStrings);, CallMethodBtrTable); procedure GotoBookmark(Bookmark: TBookmark);, CallMethodBtrTable); procedure GotoCurrent(Table: TBtrTable);, CallMethodBtrTable); procedure GotoNearest;, CallMethodBtrTable); procedure CheckBrowseMode;, CallMethodBtrTable); procedure Insert;, CallMethodBtrTable); procedure InsertRecord(const Values: array of const);, CallMethodBtrTable); procedure Last;, CallMethodBtrTable); procedure Next;, CallMethodBtrTable); procedure Open;, CallMethodBtrTable); procedure Post;, CallMethodBtrTable); procedure Prior;, CallMethodBtrTable); procedure Refresh;, CallMethodBtrTable); procedure Resync(Mode: TResyncMode);, CallMethodBtrTable); procedure SetKey;, CallMethodBtrTable); procedure SetRange(const StartValues, EndValues: array of const);, CallMethodBtrTable);
end;