showQueryValues metodu?

Raporun dialog’undaki filtre alanlarını göstermek/gizlemek için kullanılır.

Rapora eklediğiniz Data Sources’un “Extended Data Types” olan alanları dialog ekranına Ax tarafından otomatik olarak eklenir. Eğer bu alanları gizlemek isterseniz aşağıdaki metodu kullanabilirsiniz. Bu metodun “false” değer döndürmesi yeterli.

public boolean showQueryValues()
{
 return false;
}

Dimensions (Boyutlar)’ın label’ini almak

static void DimensionNames(Args _args)
{
    Counter         idx;
    Dimension       dimension;
    DimensionCode   dimensionCode;
    str             name;
    ;
    for (idx = 1; idx <= dimof(dimension); idx++)
    {
        dimensionCode = Dimensions::arrayIdx2Code(idx);
        name = enum2str(dimensionCode);
        // if (name == 'B') ...
        info(strfmt("%1: %2", idx, name));
    }
}

Bir class: SysDatabaseTransDelete

Canlı bir sistemde kullanmamanız gereken bir class; SysDatabaseTransDelete.

Bu class sistemdeki tüm hareketlere ait verileri siler ve sistemi test amaçlı temiz hale getirir. Bununla birlikte tüm kuruluma ait ve ana verileri korur.

Peki bu class hangi tablonun ne tür verileri tuttuğunu nereden biliyor? Yani hangisi hareketlere ait tablo? Ax’ta tablo özelliklerinde TableGroup alanı bu bilgiyi tutmak için kullanılır. Bir tanım;

TableGroup : AOS’un SQL server’a erişim esnasındaki yöntemini belirleyen alandır. Query’lerin optimizasyonu bu alana göre belirlenir, dolayısı ile önemli bir alandır. Tablomuzun içeriği ile ilgili uygun olanı tercih etmek gerekir. Ayrıca veri içeri / dışarı aktarım esnasında kolaylık sağlar. devamı >>

Parameter
The table holds data primarily used as parameters or setup information for one of the Main tables.
The table typically holds only one record.
CustParameters, VendParameters

Group
The table holds data primarily used to categorize one of the Main tables.
There is a one-to-many relationship between Group and Main.
CustGroup, VendGroup

Main
The table is one of the principal tables in the application and holds data for a central business object.
The table typically holds static, base information.
There is a one-to-many relationship between Main and Transaction.
CustTable, VendTable

Transaction
The table holds transaction data.
Typically the table is not used for data entry directly.
CustTrans, VendTrans

WorksheetHeader
The table typically categorizes information in the WorkSheetLine tables.
There is a one-to-many relationship between WorkSheetHeader and WorkSheetLine.
SalesTable

WorksheetLine
The table holds information to be validated and made into transactions.
Compared to the information in Transaction tables, the information in WorkSheetLine tables is temporary and may be deleted without affecting system stability.
SalesLine

Miscellaneous
The table does not fit in any of the other categories.