axapta

How can you scan an image with X++

Does anyone know how to scan an image with X++? ...

How to create an X++ batch job in Axapta 3.0?

I'd like to create a batch job in X++ for Microsoft Axapta 3.0 (Dynamics AX). How can I create a job which executes an X++ function like this one? static void ExternalDataRead(Args _args) { ... } ...

How can I identify an Axapta class Name from the class ID?

Please can someone help me make sense of the Batch madness? I'm trying to debug an Axapta 3.0 implementation that has about 50 Batch Jobs. Most of the batched classes do not implement the description() method, so when you look at the Batch List form (Basic>>Inquiries>>Batch list) the description field is blank. You can see the Batch Gro...

Page breaks in Dynamic Ax Reports

How do you insert page breaks in Dynamic AX reports? ...

How do I get the previous field value in the modifiedField method of a Dynamic Ax table?

I would like to be able to perform some logic in the table.modifiedField method which compares the previous value of a field to the new value. How do I get to the previous value? ...

MS Dynamics AX / AXAPTA - Where is the code that prevents reprint of payment advices of unposted cheques?

We want to reprint a payment advice, even before it is posted. The report BankPaymAdviceCheque should be able to do this but only prints advices for already posted cheques. The report's dialog, however, allows you to choose unposted ones as well. No matter how I searched in the code, I cannot find the bit that prevents unposted rem...

What is the best way to print columns from different tables on the same row using the Axapta reporting tool?

It seems like each body section in an axapta report can only print columns from a single table(consistantly). For instance: I have a report that has the following tables: SalesLine, InventTable and CustTable. Then I would like to print columns from each of this tables on the same row. It seems like I can do this when placing the field...

How can you make the footer axapta reporting tool print at the bottom of the page?

I'm trying to print something at the bottom of a report. I'm am using a section Pagefooter. I thought that if you used Pagefooter that it would print at the bottom on the report. ...

Microsoft AX and Business Connector / Enterprise Portal / Application Integration Framework

I've been working a while with a project aiming to integrate AX with the Web. The company who delivered AX has chosen to use Business Connector (BC.net) directly on my side of the backend. I've searched a bit, and for me it looks like we must use Application Integration Framework (AIF) / Enterprise portal (EP) - this due to as I unders...

AX / Axapta: Retrive Custom fields via SQL

I'm creating a rather "dirty" business connector of my own here, and I'm having trouble finding those "custom fields" that have been created. They show up in AX - but in the SQL-database, they are not mentioned at all... I have a hunch that all custom fields are stored somewhere else in the database, so that the original state of the t...

SVN with Axapta

Does anyone know if you can use subversion to manage Axapta projects? We're currently on 3.0 which has no support for Team Foundation Server, but would like a repository like SVN. We also have several C# projects that need a repository as well. ...

How can I add more information to MS Dynamics 2009 AX's alert messages with X++ ?

Does anyone have some sample code or can direct me to which class I can modify to add more information to the alert messages in Dynamics AX (DAX). I want to for instance add a vendor number and userid when a name of a vendor has been changed. EDIT: I have been told by someone that HTML code must be entered in the description panel when ...

Filtering on linked table in Axapta/Dynamics Ax

I have a form in Axapta/Dynamics Ax (EmplTable) which has two data sources (EmplTable and HRMVirtualNetworkTable) where the second data source (HRMVirtualNetworkTable) is linked to the first on with "Delayed" link type. Is there a way to set an filter on the records, based on the second data source, without having to change the link typ...

Range on integer fields in Axapta/Dynamics Ax

Is there a way, in Axapta/Dynamics Ax, to create an Extended Data Type of type integer which only allows enering values in a specified range (i.e., if the extended data type is meant for storing years, I should be able to set a range like 1900-2100), or do I have to manage the range using X++ code? And if I need to use X++ code to manag...

Master/detail form in Axapta/Dynamics Ax

How do I create a master/detail form in Axapta/Dynamics Ax, with a master grid and a detail grid, where choosing a record in the master grid changes the content of the detail grid accordingly? ...

Freeze one or more grid columns

Is it possible to freeze a grid column in Dynamics Ax so that as the user scrolls to the right the first column or two continues to show and doesn't scroll out of view? ...

Nested notExists joins X++ (Dynamics AX3.0)

When the following code executes: select sum(qty) from inventTrans index hint TransTypeIdx where inventTrans.ItemId == itemId && inventTrans.TransType == InventTransType::Sales && inventTrans.InventDimId == inventDimId notExists join custTable where custTable.AccountN...

Sending email via Axapta

I've managed to get my Axapta 3.0 to send email via the printjobSettings class. However, there doesn't appear to be anywhere I can create a body for my email. Currently I can send email with an attachment but I'd like to include some text to provide some context for the attachment for the recipient. How can I accomplish this? ...

How do you empty an array in Axapta 3.0

Hi All, Can someone please detail how to empty an array in Axapta 3.0? Thanks! ...

Dynamics AX: How can I open a docuview document attached to a Purchase Requisition from a Purchase Order?

Edit: The objective is to make quote documents that were attached to Purchase Requisitions available to staff that processes the Purchase Orders directly an in an easy way without having to navigate back to the requisition document itself. I would like to use the DocuRef::openDocHandling method from within the Purchase Order screen with...