Question Status

Unanswered
Rcfc1920 asked a question on 20 Aug 2011 2:19 PM

I have Ax 2009 SP1 and Rollup7 installed. I wanted to create a project containing all USR layer elements and my project was created empty. In AOT exist elements in USR layer, I'm sure :-). I created a new project with elements from other layer and that project was empty, too.

On other machine, where I have AX 2009 SP1 Rollup6 installed everything is ok. There is a bag in Rollup7? Why my AX 2009 cannot find elements in a proper layer?

 

Reply
Liviu Stoica responded on 23 Aug 2011 2:25 AM

Hi,

 

I don't know if it is a bug, I have not AX2009 with Rollup 7, but you can try to use a job like this:

 

static void createProject(Args _args)

{

    sysprojectfilterrunbase upgradeproject;

    utilelements            theelements;

    ;

    upgradeproject = new sysprojectfilterrunbase();

    upgradeproject.parmProjectNode(systreenode::createProject('test123'));

    upgradeproject.grouping(sysprojectgrouping::AOT);

 

    while select name, utilLevel, RecordType, ParentId from theelements

    where theelements.utilLevel == UtilEntryLevel::usr

    {

        try

        {

            theelements.reread();

            upgradeproject.doUtilElements(theelements);

        }

        catch (exception::Error)

        {

            throw error('error');

        }

    }

    upgradeproject.write();

    info('finish');

}

Reply
akuehn responded on 23 Aug 2011 6:35 PM

Hi,

i also have currently no access to an AX 2009 Rollup7 System to verfiy this, but normally this should work when you:

1. Create a new project (dosn't matter in which layer)

2. Use the filter function for projects to add all the elements in i.e. the USR layer to the project.

How did you create the project and add the elemets to this project? Are you using another way doing this?

Reply
Leszek Rus responded on 25 Aug 2011 11:53 PM

Hi,

job createProject posted by Liviu Stoica is ok. Project including USR layer elements was created. But when I try to create project "normally" this project is empty. I create a new project, use the filter and type utillevel USR and click ok. Project is empty :-(

Reply
Sebastián Tirelli responded on 12 Sep 2011 5:49 AM

Yes, it's a bug in Ax 2009 and Ax Retail with RollUp7.

I'm not sure if Microsoft is aware of this.

Reply
Bill 'Luther' Thompson responded on 12 Sep 2011 6:44 AM

Hello,

This is a known issue with Dynamics AX 2009 with RU7 installed.  The fix was released in KB 2547903 (kernel build number 5.0.1500.5016).  Any kernel fix that has that version (or greater) should have the fix in the code.

To get this fix, you will need to check to see if it has been released to the web.  If not, please contact your local Microsoft Dynamics AX support agency and request the download information for that hotfix release.

Regards,

Bill 'Luther' Thompson

Microsoft Online Support Engineer - MBS Dynamics AX Developer Support

=============================================

When responding to posts, please "Reply to Group" via your newsreader so that others may learn and benefit from your issue.

=============================================

This posting is provided "AS IS" with no warranties, and confers no rights.

Reply
Rene Volkmer responded on 26 Jun 2014 12:39 PM

Hello,

I had same issue in our environment running on 2009 SP1 RU7. You have to override method closedOk() on form SysProjectFilter, this method should return TRUE in case that OK button is pressed, than it works. You can check my modification http://1drv.ms/1yS9IFW.

Regards

Rene

Reply