PANTHEON™ Help

 Категории
 Главна страна - Добре дојдовте во помош за PANTHEON
[Collapse]PANTHEON
 [Collapse]PANTHEON упатства
  [Collapse]Водич за Datalab PANTHEON™
   [Expand]Помош
   [Expand]ПОС
   [Expand]Подесувања
   [Expand]Нарачки
   [Expand]Материјално
   [Expand]Производство
   [Expand]Сервис
   [Expand]ПОС
   [Expand]Финансии
   [Expand]Кадри
   [Expand]Работна површина
    Додатно
   [Expand]Анализи
   [Expand]Аналитика
   [Expand]Пораки и предупредувања
   [Expand]Системско окружување за Даталаб програми
   [Expand]Официјални објаснувања
    Речник на термини
   [Collapse]Дополнителни програми
    [Expand]Datalab OTOS
    [Expand]Datalab CHRONOS
    [Collapse]Datalab ATENA
      About ATENA
      ATENA Requirements
      Security in ATENA
      ATENA Installation
     [Expand]Setting Up PANTHEON for ATENA
     [Collapse]Customizing ATENA´s Look
      [Collapse]Front-End Pages
        global.asa
        default.asp
        globalerror.asp
        main.asp
        toolbar.asp
        cash.htm
        cash_left.htm
        cash_right.htm
        footer.asp
        help.asp
        invoice.htm
        invoice_right.htm
        items.htm
        items_right.htm
        listorder_top.asp
        listorders.htm
        listorders_left.htm
        main_right.htm
        notauthorised.asp
        order.htm
        order_top.asp
        orderok.asp
        regok.asp
        regok_right.asp
        search.asp
        showcashdisabled.htm
        showstockdisabled.htm
        usermustlogin.htm
      [Expand]Back-End Pages
     ДодајКорисници - Додавање на Корисници во Базата на Податоци
    [Expand]Datalab Migrator
     Post-Migration Wizard
    [Expand]Pantheon LX/LT
    [Expand]Pantheon Automation Server
     Pantheon FA
    [Expand]Pantheon web сервиси (PAWS)
    [Expand]мобилни Патни Налози
     Pantheon SHAKE
   [Expand]Застарени производи
  [Expand]Водич за PANTHEON Farming
  [Expand]Водич за PANTHEON Ретал
  [Expand]Водич за PANTHEON Вет
 [Collapse]PANTHEON кориснички прирачници
  [Expand]Кориснички прирачник Datalab PANTHEON™
  [Expand]Корисничко упатство за PANTHEON Ретал
  [Expand]Корисничко упатство за PANTHEON Vet
  [Expand]Корисничко упатство за ПАНТЕОН Земјоделство
[Collapse]PANTHEON Web
 [Collapse]Водич за PANTHEON Web
  [Expand]Водич за PANTHEON Web Light
  [Expand]Водич за PANTHEON Chronos Mini
  [Expand]Водич за PANTHEON Web Terminal
  [Expand]Водич за PANTHEON Web Legal
  [Expand]Архива на стари производи
 [Collapse]Кориснички прирачник за PANTHEON Web
  [Expand]Најава во PANTHEON Web
  [Expand]Како да започнете со PANTHEON Web
  [Expand]Кориснички прирачник за PANTHEON Web Light
  [Expand]Кориснички прирачник за PANTHEON Web Terminal
  [Expand]Кориснички прирачник за PANTHEON Web Legal
  [Expand]Стара архивa на производи
[Collapse]PANTHEON Гранула
 [Collapse]Водич за PANTHEON Гранули
  [Expand]Гранула Кадри
  [Expand]Гранула Патни налози
  [Expand]Гранула Документи и задачи
  [Expand]Гранула Контролна табла
  [Expand]Гранула B2B нарачки
  [Expand]Гранула Сервис на терен
  [Expand]Инвентаризација на фиксни средства
  [Expand]Гранула Попис на магацини
 [Collapse]Кориснички прирачник за PANTHEON Гранули
   Започнување
   Користење на PANTHEON Гранули во фиктивната компанија Текта
  [Expand]Гранули и активација
  [Expand]Гранула Кадри
  [Expand]Гранула Патни налози
  [Expand]Гранула Документи и Задачи
  [Expand]Гранула Б2Б нарачки
  [Expand]Гранула Контролна табла
  [Expand]Гранула Сервис на терен
  [Expand]Инвентаризација на фиксни средства
   PANTHEON Гранула - FAQ
  [Expand]Гранула Попис на магацин
   Архива
[Expand]Кориснички сервер

Load Time: 842,6916 ms
"
  1822 | 2340 | 25441 | Localized
Label

global.asa

global.asa

global.asa

The file global.asa is located in ATENA's root folder. It contains global variables and session variables.

Global Variables

Global variables apply all over ATENA, for all users.

The web server must be restarted for any changes to global.asa to take effect.
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.
Don't use underscores _ or percent signs % in any variable.

Session Variables

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().


 

Rate this topic
Was this topic usefull?
Comments
Comment will also bo visible in forum!