There are two ways to find a table field's label value:
If fields label value derived from directly fields extended data type:
if (curext()=="krc" && this.RBOInventItemGroupId == "")
ret = checkfailed(strfmt("'%1' field cannot be empty!..",
new SysDictType(extendedTypeNum(RBORetailGroupId)).label()));
If there is a special label value dedicated at table level:
if (curext()=="krc" && this.RBOInventItemGroupId == "")
ret = checkfailed(strfmt("'%1' field cannot be empty!..",
new SysDictField(tablenum(WholeSalesCampaignGroup),
fieldnum(WholeSalesCampaignGroup,RBOInventItemGroupId)).label()));
field etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
field etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
2 Mart 2016 Çarşamba
27 Ağustos 2015 Perşembe
AXAPTA - Save query to a table field and restore than
I used Mirko Bonello's blog for this sample.
Create a container field at table. Mine is InventTableQuery:
void createAndSaveQueryInTable()
{
QueryRun SysqueryRun;
;
if (this.InventTableQuery)
queryRun = new QueryRun(this.InventTableQuery);
else
queryRun = new QueryRun(queryStr('InventTable'));
qrun.promptLoadLastUsedQuery(false);
if (queryRun.prompt())
this.InventTableQuery = queryRun.pack();
}
We used SysQueryRun instead for QueryRun and set qrun.promptLoasLastUsedQuery(false) for don't screw like me because of "Why I get same query values for every record?" question... :)
Create a container field at table. Mine is InventTableQuery:
void createAndSaveQueryInTable()
{
QueryRun SysqueryRun;
;
if (this.InventTableQuery)
queryRun = new QueryRun(this.InventTableQuery);
else
queryRun = new QueryRun(queryStr('InventTable'));
qrun.promptLoadLastUsedQuery(false);
if (queryRun.prompt())
this.InventTableQuery = queryRun.pack();
}
We used SysQueryRun instead for QueryRun and set qrun.promptLoasLastUsedQuery(false) for don't screw like me because of "Why I get same query values for every record?" question... :)
21 Kasım 2013 Perşembe
AXAPTA - Make a table field works cross-company
I learned this way from a forum . You have to just create a relation like up and care about extended data type of related fields. After that you won't need a custom lookup or supress validate method at forms. It works at AX 2009, I had no change to test with 2012.
2 Aralık 2011 Cuma
AXAPTA control with code a field of datasource at form.
It's so easy. You have to use object array for that:
SMAObjectGroup_ds.object(fieldnum(SMAServiceObjectGroup,
Barebone)).enabled(SMAObjectGroup.ServiceItemType == B_ServiceItemType::Item);
SMAObjectGroup_ds.object(fieldnum(SMAServiceObjectGroup,
Barebone)).enabled(SMAObjectGroup.ServiceItemType == B_ServiceItemType::Item);
1 Aralık 2011 Perşembe
AXAPTA TC Id field
This is just about turkish users:
There is an extended data type for TC id: IdentityNum_TR . But it's lenght incorrect (12). Should be 11.
There is an extended data type for TC id: IdentityNum_TR . But it's lenght incorrect (12). Should be 11.
Kaydol:
Kayıtlar (Atom)