Bojensen Blogs

Forfatter: Bo Jensen

Check Security Key via X++

  SecurityKeySet securityKeys; Boolean fullAccess; ; securityKeys = new SecurityKeySet(); securityKeys.loadUserRights(curuserid()); fullAccess = securityKeys.access(securitykeynum("xxxxxxxxxxxxxxx")) == AccessType::Delete; formDesignElement.visible(fullAccess); Malaysia Dynamics AX Blog: Check Security Key via X++

Dynamics Ax – Update the records with single query statement.

For updating the ‘N’ no. of records we can use simple query statement instead of using while loop. (i.e. while select inventTrans where ) By using update_recordset we can update multiple records at a time. oldRFQCaseId = this.orig().RFQCaseId; ttsbegin; update_recordset inventTrans setting TransRefId = this.RFQCaseId where inventTrans.TransRefId == oldRFQCaseId; ttscommit; Dynamics Ax – Update the…

Display Company Logo on Dynamics EP Site and Hide Page Title « Santosh Kumar Paruvella's Blog

  In this example, I want to share the things like 1)      Display the Company logo, on the EP site. 2)      Hide the Page title, the one which is there, to the side of the Company logo. To do the above things, go to the following path in the sharepoint server.. C:Program FilesCommon FilesMicrosoft SharedWeb…

InventDim id blank from “Axapta” to “AllBlank” in Dynamics Ax « Casperkamal's Dynamics Ax blog

  InventDim id blank from “Axapta” to “AllBlank” in Dynamics Ax February 26, 2007casperkamalLeave a commentGo to comments Hey, Just found out something interesting, the blank inventDimid(With all Inventory Dimesions blank) "Axapta" is no more the same, now it is refferred to "AllBlank". I found it as i was digging to find the reason behind…

Coding against Dimensions

The usual method of programming against a specific dimension in Ax is as follows: salesTable.Dimension[SysDimension::Center + 1] = ‘The cost centre’; However, this code is not technically correct. It relies on the enum value of the dimension matching the array dimension (plus 1), which is not guaranteed. If a developer follows Microsoft’s best practice guide…