Quantcast
Channel: Microsoft Dynamics AX Forum - Recent Threads
Viewing all 73760 articles
Browse latest View live

Enterprise Portal : AxSession and AxSession cache trouble

$
0
0

Hello all,

We are having trouble with the Enterprise Portal AxSession Object in our UserControls. We are using this object to store some user specific data in the session ( AxSession.SetItemInCache ) but we are sometimes not able to retrieve our data from this cache. It happens more frequently than not.

When it happens an Event 1000 is added to the server EventLog with the following message (in french) 

"Echec de la tentative d'appel enter sur monitor pour l'obtention d'une session à partir du cache de session."

It could be roughly translated as :

"Failure while trying to call enter on the monitor to get a session from the session cache(pool)"

 

I tried activating and deactivating the session state on our Web Application to no avail.

This is a SharePoint Foundation 2010 Server with Dynamics AX 2009 AOS on a different server.

 

Do you by any chance know a solution to these sessions failure ?

Regards,

Jonathan

 


Inventory transactions are not generated for new PO lines in ax2012 : reg

$
0
0

I am working on a particular customization for my client, where i need to add supplementary items to every main item created in the Purch line. The client does not want to to use the Std Suppl itemCreate Classes & its functionality. Therefore  I added two extra field in the Purch line ( 1. Supplementary Item, & 2. Its qty). Then on click of a button I am creating a new record in the datasource level and entering the desired values. After this all the Purchase order related functions are working properly. But the supplementary item for which I created a record through code, there is no Inventory Transaction, It is not getting enabled even for the registration process. For your Reference I giving the code what i have written at the button click method.

void clicked()

{

   int             updatereccount = 0, newreccount = 0 , containersize;

   PurchLine                      buffer,updatebuffer, purchline3, newrecbuffer;

   ItemId          _itemid;

   boolean          ret = true;

    super();

   if (ret == true)

   {

           ttsBegin;

           glbbuffer = conNull();

           buffer = Purchline_ds.getFirst(1);

           while(buffer.RecId  != 0)

           {

              if((buffer.SupplementaryItemId != "") && (buffer.SuppItemQty >= 1) && (buffer.SupplUnit != ""))

               {

                  glbbuffer += buffer.SupplementaryItemId;       //1

                  glbbuffer += buffer.SupplUnit;       //2

                  glbbuffer += buffer.SuppItemPrice;       //3

                  glbbuffer += buffer.SuppItemQty;      //4

                  glbbuffer += buffer.RecId;               //5

               }

              buffer = Purchline_ds.getNext();

           }

           containersize = conLen(glbbuffer);

           while(containersize != 0)

           {

                 _itemid = conPeek(glbbuffer,1);

                select forUpdate updatebuffer where updatebuffer.PurchId == Purchline.PurchId

                                          &&     updatebuffer.ItemId == _itemid

                                          && updatebuffer.PurchItemType == PurchItemType::Suppitem;

                   if(updatebuffer.RecId)

                   {

                       updatebuffer.PurchQty = conPeek(glbbuffer,4);

                       updatebuffer.PurchPrice = conPeek(glbbuffer,3);

                       updatebuffer.PurchUnit = conPeek(glbbuffer,2);

                       updatebuffer.ParentItem =conPeek(glbbuffer,5);

                       updatebuffer.update();

                       Purchline_ds.reread();

                       Purchline_ds.refresh();

                       updatereccount++;

                   }

                   else

                   {

                       Purchline_ds.create();

                       PurchLine.ItemId = conPeek(glbbuffer,1);

                       PurchLine.PurchUnit = conPeek(glbbuffer,2);

                       PurchLine.purchprice = conPeek(glbbuffer,3);

                       PurchLine.PurchQty = conPeek(glbbuffer,4);

                       PurchLine.ParentItem = conPeek(glbbuffer,5);

                       PurchLine.PurchItemType = PurchItemType::Suppitem;

                       PurchLine.PurchaseType = PurchaseType::Purch;

                       PurchLine.PurchStatus = PurchStatus::Backorder;

                       PurchLine.ProcurementCategory = EcoResCategory::find(EcoResProductCategory::findByItemIdCategoryHierarchyRole(PurchLine.ItemId,EcoResCategoryNamedHierarchyRole::Procurement).Category).RecId; // bharath as on 27/06/2013*/

                       //element.insertInventtransOrigin();

                      //  element.CreateInventtransPostingVoucher();

                      // element.insertInventtrans();

                        Purchline_ds.reread();

                       Purchline_ds.refresh();

                       newreccount++;

                    }

                    glbbuffer = conDel(glbbuffer,1,5);

                    containersize = conLen(glbbuffer);

            }

          // buffer = Purchline_ds.getNext();

           ttsCommit;

       Purchline_ds.reread();

       PurchLine_ds.executeQuery();

       Purchline_ds.refresh();

       Purchline_ds.research();

       Box::info(strFmt("For %1 Purchase Order %2 Records updated & %3 Records created",buffer.PurchId,updatereccount,newreccount),"Purchase Order");

   }

}

Please tell how to resolve this issue.

Thanks & regards

Bharat V

catalog management in AX 2012 Retail/POS

$
0
0

Is it possible that each store configured in retail module can have its own catalogue, or a subset of a common catalogue?

Why Record Level Security in AX ?

$
0
0

Hi All ,

In Microsoft Dynamics AX 2012, security is role-based, and many security roles are predefined to make security easier to set up. In role-based security, users are assigned to roles based on their responsibilities in the organization and their participation in business processes.

My question is when we have the standard role based security , again why we need to use the Record Level Security in AX ?

In which case we will use the RLS and explain the  example with a business scenerio ?

Thanks in advance.

One user - two roles required

$
0
0

Hi All ,

As we all know in AX 2012 security is role based . In role-based security, access is not granted to individual users, only to security roles. Users are assigned to roles. A user who is assigned to a security role has access to the set of privileges that is associated with that role. A user who is not assigned to any role has no privileges

My question is How can one user will have the two roles ? ( I mean to say that user need to have the access of general ledger , AP and AR )

Could any share your thoughts ?

Excel report output

$
0
0

Good morning!

I was curious, when a run an OOTB AX report (e.g., customer aging) does AX use an Excel template and just update the data to it? Can this template be changed format-wise? Thank you in advance.

Ax 2012 Virtual Image Contact Sync with Outlook very slow

$
0
0

When we try to sync contacts with outlook on the demo virtual image it can take 10 - 15 minutes for the process to complete.

Anyone have ideas on how to fix it.

Contact person for a non-party entity

$
0
0

I would like to create a list of contact persons for a non-party entity in AX2012. Just as an example, imagine that I want to maintain contact persons for warehouses. Using Contact information on address is not enough - I want a complete Contact person record, with all the stuff such as Job title.

The problem is that ContactPerson seems to be designed for parties only (e.g. ContactForParty field is mandatory). I wonder whether non-party entities use another concept that I'm not aware of, or no such entity in the whole AX needs contact persons.

Any hint?


FAILED TO LOG ON AX2012?

$
0
0

I have installed sql 20012, sharepoint server 2010 and ax 2012 r2. following steps i have taken before installation

1. Installed Windows Server 2008 R2 Enterprise

2. Installed Office 2010 64 Bit

3. Created Domain contoso.com

4. set the password pass@word1 for domain

5. installed pre-requisites of sharepoint server

6. installed sharepoint

7. installed sql 2012 server

8. created databse MicrosoftDynamicsAX

9. Created database MicrosoftDynamicsAX_Model

10. restored the demo databases

11. run the setup of ax2012r2

12. selected database, aos, debug tools, office adons, management tools

13 validated and there was no error and then continued the installation

14. Installation completed without any error

after installation when i tried to logon in the ax2012r2 i had the error "failed to logon on ax2012". is anybody have idea where is the problem?

regards,

irshad

Mapping Menús Items versus Licenses Level

$
0
0

I'm Arthur and I have an event with the report User Counting Licenses in MS Dynamics AX 12. All roles that are assigned a user spreads them with Enterprise license level

I have reviewed each of the permissions assigned a role that has 50 users and all permissions have a license level: Functional, Task and Self Services, but the report indicates that all licenses are Enterprise level

The review of the license levels for each permit, I did via AOT

How do you map the Menu Items licensing versus Dynamics AX 12?

How to I can through a query in MSSQL Server, get the role, their Duties, Privileges and Permits and license level of these permissions or Menus Items? That is, whether are level, Enterprise or Functional or Task

SSRS reports shows more pages once saved as PDF

$
0
0

hello folks ,

I have made customizations on top of standard Ax ssrs report, in body section.

When displayed on screen, it shows as one page, but when saved as PDF or word doc, it shows extra pages(unwanted), without any data from body section, but only header data. how to control this???

Issue - Project Hour Journal won't get created automatically while submitting Timesheet in Dynamics AX 2012 CU3

$
0
0

Dear Friends,

Hope you are doing good.

This post is going to be more of an issue which one of my client is facing while creating Project Hours Journal (automatically) via timesheet submission. They are on Dynamics AX 2012 (CU3 Build) - 6.0.1108.670

In Project Management and Accounting Parameters > TimeSheet parameters are set as shown below:

Now, when we submit a timesheet through Home > TimeSheets > All timesheets > Create a new timesheet, we are able to create a new timesheet line and then submit the timesheet. This is done through AX Thick Client.
The batch gets invoked, Initially the timesheet is "In Review" status and then it gets progressed to "Approved" status.
At this stage, we were expecting an hour journal to be automatically created based on the above parameter setting, but we are not able to see the Hour Journal under Projects >  Journals > Hour Journal form.
Then, we go to Unposted Timesheets under Home > TimeSheets to post the timesheet. The timesheet gets posted, but again no transaction is shown under Hour Journal, although we can see the posted transactions under Project > Manage > Posted transactions
Doing some googling around, I came across this article http://technet.microsoft.com/en-us/library/hh271583.aspx
·         Approve – Approve the timesheet. Depending on your version of the product, one of the following things happens:
o    Microsoft Dynamics AX 2012: If this is the last step in the timesheet workflow, an hour journal is automatically created for the timesheet. If you have not configured Microsoft Dynamics AX to post timesheets automatically after they have been approved, you can a view and post the hour journals in the Hour journal form in the Microsoft Dynamics AX client.
 
o    Microsoft Dynamics AX 2012 Feature Pack or Microsoft Dynamics AX 2012 R2: If this is the last step in the timesheet workflowa subledger journal is automatically created for the timesheetIf you have not configured Microsoft Dynamics AX to post timesheets automatically after they have been approved, you can a view timesheets that have not been posted yet on the Unposted timesheets list page in the Microsoft Dynamics AX client.
I read the above paragraph several times and what I found interesting is that in  Dynamics Ax 2012 standard version (without any hotfixes), once the approval is completed, you can view and post the hour journals in the Hour Journal form, Whereas with the later releases of AX 2012 feature pack (CU2, CU3 etc) it creates a subledger journal and one needs to post the Journal through Unposted timesheets screen and not through hour journal. 
Can anyone please confirm if this is case? 
I did some digging around the Timesheet related classes in AOT, but I can see only a linkage in the TimeSheetPost class which is invoked when the Unposted Timesheet form is invoked other than that during the timesheet creation process, there is no calls to create a Hour Journal automatically, Maybe I'm wrong? 
Any help appreciated. Thanks.

AX2012 visible/unvisible financial dimensions....

$
0
0

Does anyone has had the following issue:

Company A - has it's own part of financial dimensions

Company B - has it's own part of financial dimensions

Is it possible to do the following:

a) user from Company A can SEE on the list only common and THEIR financial dimensions..

b) user from Company B can SEE on the list only common and THEIR financial dimensions..

Very glad for any ideas.. :)

Witold

Too many cursors

$
0
0

Hi,

We are using Axapta 3.0 with SQL 2000. We have added some customizations but our code has been stable for a 3-4 years. But since last year we have been getting the "Too many cursors" error. We increased the Maximum to 200 and then again to 400.

If the X++ code has not changed, why so many cursors are being created?

I don't know much about SQL 2000.

Is there a way for me to find out how many cursors are open through Axapta?

AX2009 - UTILIDELEMENTS table (api)

$
0
0

I'm using Visual Studio BIDS to query AX2009 database tables but "UTILIDELEMENTS" is not listed. How can I retrieve contents of this table (API) in BIDS query designer?

Robert M.


Binary compatibility between R2 and R2 CU6

$
0
0

Is anyone aware of either known issues or supported configurations between the binaries of AX 2012 R2 and R2 with CU6 installed.  For example, is it safe for a CU6 client to connect to an R2 AOS, or even an R2 client to connect to a CU6 AOS.

I had read somewhere in the past that as part of hotfixes and cumulative updates (a collection of many hotfixes) that Microsoft would not create binary and AOT dependencies, but I can no longer locate this blog article, and additionally I have seen such dependencies in recent years.

AX2012 Compile output Errors

$
0
0

First start

An error occurred when executing code。: FormDataSource  Object do no have mondth “validSignee”。 

 

 (C)\Classes\FormDataSource\validSignee

 (C)\Forms\SysUserSetup\Methods\updateSIGControls - line 10

(C)\Forms\SysUserSetup\Methods\updateControlStates - line 52

(C)\Forms\SysUserSetup\Methods\run - line 17

AX 2012 R2 Label File Checkout on Server 2012

$
0
0

Hi,

currently we are running our AX 2012 development on Windows Server 2012 machines with AX 2012 R2 (CU1).

There seems to be a problem with checking out label files. Every time we are trying to check out the client crashes.

Is there any hotfix available for this?

Thanks in advance

Andy

Summary Trial Balance not showing values

$
0
0

Hi there

I imported a GL Opening Balance journal and it posted fine. When I ran the Detailed TB I can see the values and it balances, however, when I run the summary TB using the same filter options it shows that "There is no data available". Am I missing something?

I"m using AX 2012 R2

Blue Horseshoe Warehouse and Transport Planning

Viewing all 73760 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>