Pages

Banner 468 x 60px

 

Thursday, December 25, 2014

Microsoft Dynamics AX Dates And Time functions

0 comments
today() ————————————>The today function returns the system date,This function does not support time zones. getSystemDateTime() —————>Gets the current UTC time as a utcdatetime type.
systemDateGet () ———————->The systemDateGet method uses the system date in Microsoft Dynamics AX.
  • Use DateTimeUtil::getSystemDateTime instead of systemDateGet or today. The today function uses the date of the machine. The systemDateGet method uses the system date in Microsoft Dynamics AX. Only DateTimeUtil::getSystemDateTime compensates for the time zone of the user.
  • Avoid using date2str for performing date conversions.
currentDateTime = DateTimeUtil::applyTimeZoneOffset(DateTimeUtil::utcNow(), DateTimeUtil::getUserPreferredTimeZone());
Job
date d;
str time1=”0.50″;
TimeOfDay time;
time = str2time(time1); ———————————————————> convert the String to Date
info(strFmt(“%1″,dayName(dayOfMth(today())))); ———————-> Name of the day in String
print dateMthFwd(systemdateget(),5);  ————————————>  forward to the 5 months
print dateMthFwd(systemdateget(),-5); ————————————> Backward to the 5 Months
 pause;
 Date to String Conversion
info(date2str(today(),123,2,2,2,2,4));
info(date2str(systemDateGet(),123,2,2,2,2,4));
info(date2str(DateTimeUtil::date(DateTimeUtil::getSystemDateTime()),123,2,2,2,2,4));
Get the time in milliseconds
str  milliSecondsAlive = int2str(winApi::getTickCount()); ——————–> Time in MilliSec
str  timeStr;
timeStr = strFmt(“%1 %2″, time2str(timeNow(), 3, 1), substr(milliSecondsAlive, strlen(milliSecondsAlive)-2, 2));
Date And Time Stuff
    str time1=”0.50″;
    TimeOfDay time;
    time = str2time(time1);
    info(strFmt(“%1″,time));                                                                   //convert time ToDate string
    info(strFmt(“%1″,dayName(dayOfMth(today()))));           // Name of the Day in String

Read more...

How to Fix “Insufficient Space” in Android

0 comments

Cara Mudah Mengatasi “Insufficient Space” Pada Android
Smartphone berbasis Android saat ini makin banyak digunakan bukan lagi karena tren atau sekedar ikut-ikutan. Banyak orang yang sudah sadar akan manfaat sebuah smartphone atau gadget berbasis Android lainnya dalam menunjang pekerjaan mereka sehari-hari. Sebuah smartphone handalpun kemudian menjadi pilihan untuk menghindari hal-hal yang tidak diinginkan selama beraktifitas menggunakan Android terjadi.

Canggih dan dibekali dengan kemampuan yang luar biasa bukan jaminan sebuah smartphone berbasis Android atau gadget lainnya terlepas dari masalah teknis yang sering terjadi seperti smartphone menjadi lambat, kekurangan memori, dan juga pesan error “insufficient space on the device” yang terjadi pada aplikasi Google Play Store di Androidmu.
Softrickinfo juga sempat mengalami pesan error bertuliskan “insufficient space on the device” ketika akan mengupdate dan menginstal beberapa aplikasi melalui Google Play Store. Setelah mencari referensi di melalui mesin pencari, Softrickinfo menemukan beberapa cara untuk mengatasi masalah yang bisa menyerang pada semua pengguna Android ini.
Setelah mengikuti beberapa petunjuk dan mendownload serta menggunakan aplikasi untuk memperbaikinya, ternyata pesan error tersebut tidak 100 persen hilang. Setelah membaca ulang semua referensi yang sempat digunakan, akhirnya Softrickinfo menemukan satu hal yang sama pada setiap artikel untuk masalah ini, yaitu:
“Masalah insufficient space on the device adalah penyakit atau masalah yang sering terjai pada aplikasi Google Play Store versi terbaru”.

Sayangnya tidak dieritahukan Google Play Store terbaru versi berapa yang dimaksud. Dari situ Softrickinfo menyimpulkan bahwa masalah “Insufficient Space” ini bisa diatasi dengan cara menguninstal update Google Play Store yang Softrickinfo gunakan.

Inilah cara mengatasi “Insufficient Space” di Android yang Softrickinfo lakukan. Pertama, masuk ke menu Settings. Pilih Apps atau Aplikasi, setelah itu cari aplikasi Google Play Store. Kamu bisa menemukannya di beberapa Tab Menu yang ada, Softrickinfo menyarakan untuk menggunakan tab All agar bisa melihat semua aplikasi yang terinstal secara lengkap.
Setelah kamu menemukan aplikasi Google Play Store, tap atau sentuh aplikasi tersebut hingga memunculkan tampilan menu baru. Selanjutnya tap menu “Uninstall Update” lalu keluar dari menu Settings dan coba update atau instal beberapa aplikasi yang kamu inginkan di Play Store.

Cara mudah mengatasi “Insufficient Space on The Device” di Android ini sudah berhasil diterapkan di Smartphone Android Samsung Galaxy Young
Read more...

A financial dimension value is based on the LAND-00013 record and has been used on a transaction. You cannot delete the LAND-00013 record AX 2012

 A financial dimension value is based on the LAND-00013 record and has been used on a  transaction. You cannot delete the LAND-00013 record ...