KVSKBAVLOGSetup
Fields
| Name | Type | Note |
|---|---|---|
| Primary Key | Code[10] | |
| V-LOG Active | Boolean | |
| V-LOG Webservice URL | Text[250] | |
| Status Request Cooldown | Integer | |
| V-LOG Company | Code[20] | |
| V-LOG Printer | Text[100] | |
| Verify V-LOG Postage Mapping | Boolean | |
| Authentication Type | Enum (KVSKBAVLOGAuthenticationType) | |
| Basic Auth Username | Text[100] |
Procedures
GetRecordOnce() : Boolean
Summary: Gets the V-LOG setup record. This procedure is designed to be called multiple times, but it will only read the record from the database once. On subsequent calls, it will return the result of the first read.
procedure GetRecordOnce(): Boolean
Returns: True if the record was successfully read or has already been read; otherwise, false.
Remarks: The procedure uses a boolean variable RecordHasBeenRead to track whether the record has been read from the database. If the record has already been read, it returns true immediately. If not, it attempts to read the record using Get(). If the read is successful, it sets RecordHasBeenRead to true and returns true; if the read fails, it returns false.