"Not work on Windows 10"
Dokumen Help "Microsoft Dynamics AX 2012 for Developer" dalam bentuk file .chm bisa di unduh di tautan berikut:
"Microsoft Dynamics AX 2012 for Developer" help file in compiled format (.chm) can be downloaded below:
Google:
Microsoft Dynamics AX 2012 for Developer.chm
Dropbox:
Microsoft Dynamics AX 2012 for Developer.chm
2012-12-14
2012-03-31
[AX2009] Export Import User Group Security
Export security setting dari current AOS:
- Administration»Periodic
- Data export/import
- Fokus ke Definition groups
- Input Definition group.
- Input Definition group name.
- Pilih Standard sebagai Type nya.
- Klick Options tab
- Cek "Include system tables" checkbox (system tables).
- Klik tombol Table setup.
- Masukkan daftar tabel:
- AccessRightsList* - menyimpan security permissions untuk User groups
- UserGroupInfo* - menyimpan User groups
- DomainInfo* - menyimpan Domains
- UserGroupList - menyimpan anggota User group
- UserInfo - menyimpan User AX
- SysUserInfo - menyimpan User AX setting.
- CompanyDomainList - menyimpan keterhubungan company/domain
- Klik tombol Export to.
- Pilih lokasi, nama, dan simpan filenya (.dat).
- OK
- Administration»Periodic
- Buka Data export/import
- Pilih Import
- Pilih Definition group atau kosongkan saja.
- Pilih file .dat yang sudah diexport td.
- Ok
2012-03-16
Function monthDiff
Mencari rentang/jumlah bulan dari suatu periode. Masih mencari function terbaik.
int monthDiff(TransDate _fromDate, TransDate _toDate)
{
TransDate fromDate = _fromDate, toDate = _toDate;
int yrDiff;
int totalMonth;
int fdtDay = dayofmth(fromDate);
//int tdtDay = dayofmth(toDate);
int frMth = mthofyr(fromDate);
int toMth = mthofyr(toDate);
int countMth;
int fYear = year(fromDate), tYear = year(toDate);
date procDt;
;
yrDiff = yearDiff(toDate, fromDate);
countMth = frMth;
totalMonth = 0;
if(!yrDiff)
{
while(fYear<=tYear)
{
while(countMth<=12)
{
if((fYear == tYear) && (countMth == toMth))
break;
countMth++;
totalMonth++;
}
fYear++;
countMth = 1;
}
}
else
{
tYear = tYear - yrDiff;
while(fYear<=tYear)
{
while(countMth<=12)
{
if((fYear == tYear) && (countMth == toMth))
break;
countMth++;
totalMonth++;
}
fYear++;
countMth = 1;
}
totalMonth += (12 * yrDiff);
}
procDt = mkdate(fdtDay,toMth,fYear-1);
if(!(dayofmth(procDt)<fdtDay))
procDt--;
if(toDate<(procDt))
totalMonth--;
fYear = year(fromDate);
if(fYear == tYear && frMth == toMth && fromDate == dateStartMth(fromDate) && toDate == dateEndMth(toDate))
totalMonth++;
return totalMonth;
}
Subscribe to:
Comments (Atom)