Global variables apply all over ATENA, for all users.
Variable |
Data Type |
Default Value |
Description |
STitle |
String |
"Atena" |
The name of the online shop (shown in browser's
titlebar). |
SDSN |
String |
"DSN=msDataLab;UID=****;
PWD=****" |
The database source name used by ATENA to connect to the database. |
sDefaultValuta |
String |
"SIT" |
The default currency. |
sDefaultDostava |
String |
"1" |
The default delivery method from the delivery methods register. |
sDefaultDrzava |
String |
"SI" |
The default country. |
sMailPassword |
String |
"webmaster@datalab.si" |
The sender of password reminders. |
Application("sUnknownUser") |
String |
"#???" |
The default anonymus user. |
sUserPrefix |
String |
"#AT" |
The prefix of subjects (customers) that have registered through
ATENA.
Use a prefix that won't correspond to any existing subjects (those that
aren't created through ATENA). |
SDefaultTippartnerjao |
String |
"AT" |
The default subject type for subjects that have
registered through ATENA. |
sDefaultUserspre |
String |
"AT" |
The PANTHEON user that ATENA will save into the database as the
one who changes records. |
sDefaultUserzap |
String |
"AT" |
The PANTHEON user that ATENA will save into the
database as the one who creates records. |
sDefaultReferent |
String |
"AT" |
The PANTHEON user that ATENA will save into the database as the
one who is responsible for online customers. |
AllowUpdateUS |
Boolean |
True |
Are users allowed to change their data? |
SOrderID |
String |
"01" |
The order document type in which online order will be created. |
sOrderValid |
String |
"7" |
The validity of orders. |
SShippment |
String |
"7" |
The delivery period in days. |
sOrderComment |
Boolean |
True |
Are users allowed to add notes to orders? |
sOrderPosComment |
Boolean |
True |
Are users allowed to add notes to order lines? |
sHandlingCode |
String |
"STOPOST" |
The item ID that is added to each order and represents
packaging, shipping, etc. costs. |
HandlingMax |
Numeric |
100000.00 |
The order value above which packaging, shipping, etc. is not charged
(set to 0 if these costs aren't charged at all). |
lOrder3Party |
Boolean |
True |
Are consignees (recipients of orders, 3rd party
in PANTHEON documents) allowed to view order details?
Payees of orders can always view order details. |
lInvoicer3Party |
True
False |
True |
Are consignees allowed to view invoices?
Payees can always view invoices. |
iOrderDiscount1 |
Numeric |
5 |
The discount for online orders for pricing level
1 (in 1/100ths). |
iOrderDiscount2 |
Numeric |
3 |
The discount for online orders for pricing level 2 (in 1/100ths). |
iOrderDiscount3 |
Numeric |
2 |
The discount for online orders for pricing level
3 (in 1/100ths). |
IQtySize |
Numeric |
7 |
The maximum length of the Quantity field. |
iPriceDecDigits |
Numeric |
2 |
The number of decimal places for prices. |
ShowStockWareHouse |
Boolean |
True |
Show stock in individual warehouses? |
PixFromDataBase |
Boolean |
True |
Use item images from the database if items don't
have images on their pages? |
DescFromDataBase |
Boolean |
True |
Use item descriptions from the database if items don't have descriptions
on their pages? |
DescReplaceCR |
Boolean |
True |
Should CR/LF marks in the item description from
the database be replaced with <BR> tags? |
SmallPixFromDataBase |
Boolean |
False |
Display thumbnails on price list? |
Application("SmallPixWidth") |
String |
"50" |
The width of thumbnails. |
BuyerAcc |
String |
"1200" |
The account to which receivables are posted. |
erNoCaption |
String |
"Internal error: No caption for ID:" |
The error message when a caption cannot be found. |
SLangN |
String |
"Slovenščina" |
The language used in ATENA.
N is the consecutive number of the language. |
SLangIDN |
String |
"SI" |
The code of the language used in ATENA. It must
be the same as in the Countries register in PANTHEON. |
SLangCSN |
String |
" charset=windows-1250" |
The character set for the selected language. |
Session variables are set at the start of each user session and may
differ from session to session. You can use these variables in you own
scripts.
Variable |
Data Type |
Default Value |
Description |
SUser |
String |
"" |
The subject of the registered user. |
sUserImePriimek |
String |
"" |
The full name of the registered user. |
SLang |
String |
"SI" |
The language used in ATENA. |
SLangSet |
String |
"charset=windows-1250" |
The character set for displaying pages. |
SorderNo |
String |
"" |
The number of the order. |
RAmmount |
Numeric |
0 |
The value of the order. |
sUserOrder |
Boolean |
True |
Is the customer allowed to place orders?
This variable is set after login to the value set in a subject's
contacts. |
sUserStock |
Boolean |
False |
Is the customer allowed to view stock?
This variable is set after login to the value set in a subject's contacts. |
sUserCash |
Boolean |
False |
Is the customer allowed to view the balance?
This variable is set after login to the value set in a subject's
contacts. |
sUserInvoice |
Boolean |
False |
Is the customer allowed to view invoices?
This variable is set after login to the value set in a subject's
contacts |
lFromCheckOut |
Boolean |
False |
Is registration called from a finished order?
This can be used to return the user after registration to the place
where the registration was initated from. |
sPrevPage |
String |
"" |
The name of the page that called this page (basically the
previous page).
This variable is set automatically by DoEndDoc(). |