Alfasith AX

Alfasith AX
اللَّهُمَّ انْفَعْنِي بِمَا عَلَّمْتَنِي، وَعَلِّمْنِي مَا يَنْفَعُنِي، وَزِدْنِي عِلْمًا

Monday, July 7, 2014

Code to get IP from the syste name / server name belongs to same domain

Hi,

1. Start >  RUN > CMD
2. PING -4 (SERVER NAME / SYSTEM NAME)
 //here You can also enter just directly PING Syste_Name

This will return the IP of the system provided system should be in same domain.
Here my system in the XXXX domain and to get the server IP where my instance is installed.
it returns the ip.

Regards,

Friday, June 27, 2014

How to fetch the standard notes for concern module in Dynamic AX

Hi,

FormLetterRemarks::find(companyinfo::languageId(),
 FormTextType::PurchPurchaseOrder).Txt;
// Here I used to fetch the currecnt user language as 1st parameter
// and for the Purchase Order Notes as 2nd parameter

Regards,

SQL code to upate one Legal entity banner to all the legal entity in D365

 Hi, update companyimage set  companyimage.Image  = companyimageA.Image  from  ( select Image from companyimage where dataAreaid = 'USF...