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

External web service reference

$
0
0

I am trying to link to an external web service to integrate orders to a 3PL warehouse.  I have this connecting nicely in the test system  However when I try to connect to thier live system they are using a HTTPS rather than a HTTP so I am getting security errors when trying to register the live service

If I try to access this via Visual studio to set up the web service reference I get a security certificate error 

Inline images 1
If I answer "YES" to proceed but then I get a great long string trying to detail the error / errors downloading including the conflict in binding (application/soap+xml;charset=utf-8).  
It looks to me that they have a security certificate but they are pointing me to an incorrect entry point but they don't agree. Talking to the other side they have suggested changing the verifypeer to false. Unfortunately I have no idea how to do this in in the C# project that creates the service reference and it doesn't seem a satisfactory security solution.
Can I change the bindings so they match? Can someone please point me in the right direction?
Many thanks
Paulina

Product - Un-release a released product from a company

$
0
0

Hi

I have two queries

1.  How to unreleased a product from a released company.  

2.  I had created a product in a company and released to multiple companies.  I forgot the base company from which I created the product.   How to check based on a item from which company this product was crerated and where it got released?

Can someone help me in this in AX 2012 R3

Thanks

K.Subramanian

Error:Function SysQuery::mergeRanges has been called by searches with various blocks in ax 2012

$
0
0

Hi All,

I added datasource as inventItemGroupItem Table in InventDimPhys AOT query and gave range as Itemgroup field but when I ran it, I am getting this error "SysQuery::mergeRanges has been called by searches with various blocks", even I roll back all my changes, I am still getting same error.

I did full CIL, refresh AOT elements and restarted services as well but no but.

Please let me know where it went wrong

Thanks,

Raziq.Ali

Customized SSRS Report Page Number

$
0
0

We have customized the customer account statement report and the report is generated for multiple customers.

We are facing an issue in the page number.

When we generate the customer account statement for multiple customers we do not get the page number customer wise. System is generating 1 single report and hence the page number is coming irrespective of the customer.

Can somebody help on this?

AX 2009 is showing not responding

$
0
0

AX 2009 is showing not responding every time whenever i am trying to do anything , it gets hange. whether creating new production order, item , PO or report , Please help me.how to solve this problem

Calling X++ code from C# (AX 7)

$
0
0

I have an X++ method (residing in the Fleet Management module) that I need to call within a C# class library. 

I have used the below link as a guide -> https://ax.help.dynamics.com/en/wiki/writing-business-logic-in-c-and-x-source-code/

Basically, I have a c# console application, and I am making a call to this ax method as below

    using Dynamics.AX.Application;
    using Microsoft.Dynamics.Ax.Xpp;
    class Program
    {
        static void Main(string[] args)
        {
            DFM_H5PortalSerializer axClass = new DFM_H5PortalSerializer();
            axClass.processString("test");
        }
}

The ax Class is shown in intellisense, however, as soon as I run it, i get the following exception:

"An unhandled exception of type 'System.BadImageFormatException' occurred in mscorlib.dll

Additional information: Could not load file or assembly 'Dynamics.AX.FleetManagement, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. An attempt was made to load a program with an incorrect format."

 


Any ideas on what is causing the issue and how to solve it?

Thanks

Subscription Fee Accruals

$
0
0

Hi,

Subscription fee accruals are done in the accounting currency, which cause an erroneous foreign currency revaluation on the main account that is set up for WIP - subscription (as the invoice is posted to the same account in transaction currency and as it is required by the auditors that the accruals are currency revaluated). 

Do you know if/how the subscription fee accruals can be done in transaction currency?

If not through set-up of standard AX, do you know if anyone has implemented a correction to this? 

How does this work is relation to the project posting?

Thank you in advance for any guidance on this.

Sales Order flow (From Confirmation to Invoice) AX2009

$
0
0

Hi all,

I have question in AX2009 Sale order in AR.

After creation the new sale order , i need to disable all the option except confirmation option in Posting Button. 

All other options should be enable stage by stage.

Our Flow is 1. Confirmation 2. Picking 3.Packing 4.Invoice

Screenshot Attached.


Because Users selecting Invoice option directly without confirmation or Picking packing are made.

Please anyone make suggestion on it.

 

Thank you


System does not allow to change the priority of the production order if original route is disapproved

$
0
0

Hello,

I did the following:

- Created a manual production order

-disapprove the original standard route (assuming AX maintains the local copy of route and BOM on a production order)

-Try to change the priority for the production order created in first step and system gives an error

Is it by design or?

I do not understand this behavior if production order has local copy of the route which has now nothing to do with standard route.

Can anyone explain?

Thank you in advance.

Regards

-Rahul

Background color of a FormControl, which is not located in the grid.

$
0
0

Hi,


I'm developing a configuration form, in which user is choosing the color, which will be used on some grids in different forms.

I've used scheme presented in https://ax.help.dynamics.com/en/wiki/specifying-color-for-font-or-background-of-input-controls-using-the-color-picker-control/  , however, because the control I'm editing is not placed in the grid, the changes that user make can't be seen on a that particular Integer control.

To clarify - background color of the grids related to that settings are working properly, but despite the fact I'm changing the background color of the FormIntegerControl on a settings form, it is not changing. (Edit mode keeps it white, while View mode keeps it grey).

Is there any solution to that issue? I want to avoid using grid in that case, because it is only one field.
Thanks in advance.

Maintain fixed assets less than threshold

$
0
0

A company wants to maintain a threshold $ 2,500 but want to track the assets even with less than the threshold value? How do I achieve this in AX ?

Do I also select such assets in assets type (property type) as Continuing?? Also please explain the concept of Continuing Property type

Thanks

Passing Parameters to JSON Web Service

$
0
0

I have 2 methods inside AX that are exposed as web services as below

[SysEntryPointAttribute(true)]
public str Method1()
{
     return "test";
}

[SysEntryPointAttribute(true)]
public str Method2(str parameter)
{
     return parameter;
}


When I call the JSON endpoint using the console application in the following github (https://github.com/Microsoft/Dynamics-AX-Integration/tree/master/ServiceSamples/JsonConsoleApplication), Method1 successfully returns "TEST" while Method2 returns an error.

"Message": "An exception occured when deserializing a parameters - Exception occured when parsing the request content - Error parsing boolean value. Path '', line 0, position 0.",

  "ExceptionType": "XppServicesDeserializationException",

  "ActivityId": "49039957-0f1a-0002-6da1-03491a0fd201"

 

As this is a POST HTTP request, I am trying to pass the parameters in the body of the request.

Any solutions to this issue?

Thanks

Multiple Purchase Order of multiple Planned Orders with same vendor

$
0
0

Hi all,

I am facing an issue that i am firming the multiple planned purchase orders with the same vendor at one time, but system is creating 2,3 purchase orders instead of creating a single PO with reference of all the selected Planned Purchase Orders.

Can anyone help?

For costing, how can we create new / additional work centers and attach them to a product

$
0
0

Hi, 

Currently i am using Microsoft AX6 2012 R2. 

When i came, they had already set up the system. 

Currently they set it to recognize the full overhead by the unit produced at 1 stage (ie so only 1 rate is used). 

I wish to break down the work centers rate further. 

Splitting the Overhead to Direct Labour, CHemical and Overhead. 

So instead of having 1 rate USD1/pc, it will be 3 rates (eg Labour USD0.3 / pc, Chemical USD0.2 / pc and Overhead USD0.5/pc)

Anyone can give me guideline or provide me the instructions online?

Many thanks

Problem manually entering a Vendor address

$
0
0

Hi All

I have come across an issue which may be down to setup or security but I'm struggling to resolve.

When I add a new address to a Vendor the information appears to enter ok but when I then save the address it "disappears".  I cannot see it on the Vendor/ address tab. form.  I know it is going into some of the tables but there is most definitely something missing.  Doing a bit of digging it looks as the LogisticLocationRoleType may be defaulting to "one-time" even although I am choosing purpose "Business".  Any ideas on what has gone wrong appreciated.

CEL1967


Need help with Swedish SEPA/ISO20022 implementation

$
0
0

Hi

I am trying to implement the newly released KB3146167, "ISO20022 generic and SEPA credit transfer for Switzerland, Sweden, Norway, Denmark"

I have some difficulties getting the XML to validate against the banks and would like to get in touch with someone in Sweden working on the same issue (AX 2009). Perhaps we could Exchange experiences.

jonas.bergman@scandisys.se

Report of modified objects

$
0
0

Hi Experts,

 Would it be possible to make a report where I select the date range and the report will give me a list of all AOT objects that were modified/created during that period, in which layer, why whom and the exact datetime.Please advice in this case

Thanks&Regards

Michael

Export data to excel through X++

$
0
0

Hi All,

I am trying to export data to excel from AX through X++.

I have written a piece of code to freeze the top row of the excel while exporting using freezepanes method. Please find the code below:

xlsApplication = SysExcelApplication::construct();

com = new COM("Excel.Application");

fileName = "C:\\Test.xlsx";

xlsApplication.visible(true);

 comWindow = com.activeWindow();

 com.freezePanes(true);

After writing the above code,the following error popped up:

Method 'freezePanes' is not supported by the Automation interface of the COM object of class 'Excel.Application'.

I checked the following options but unfortunately unable to export data:

1) I am using excel 2013 and confirmed that it is compatible with AX2012 R2 CU7

2) I have killed all the excel sessions open and ran the code again.

3) Verified that office Ad-ins have been installed.

It will be very helpful if someone can help me on this issue.

regards,

Padmaja

AIF Web Service to process/persist list of elements/subelements

$
0
0

Hi Folks,

I have previously created normal web services where i can request data, or am passed a single set of data to transact against.

I now wish to create a web service where i am sent a list of items (with numerous attributes) to transact again.

Obviously what will be received is a structured XML document.

I wish to iterate thru the XML document and process each item and its attributes.

What is the best approach to do this.

What I would like to do is, receive an XML document, persist to DB, process (post journal).

This will be a Stock Transaction Journal, so the XML will contain relevant data elements.

I dont believe i will need to customize the document.

thank you for any feedback.

Rgds,

Disabling New and Delete option on forms by using role based security

$
0
0

Hi! I want to disable New and Delete option from (PaymTerm) form using role base security.

please help in this regards

Viewing all 73760 articles
Browse latest View live


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