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

Auto settlement - customer payment

$
0
0

Hello Team, Do we have a function in AX that we can utilize for autosettlement of customer payment?

e.g. customer deposit>reflected in bank statement>posted in D365 using customer reference or deposit number.

Thanks,

Ace


Automatic upload of currency exchange rates in AX2012R3

$
0
0

Hello all,

I hope someone can help me with my request, the manual effort to maintain the exchange rates in AX is very time consuming and annoying.


Is there a way how I can use an excel, csv or another file to upload the exchange rates automatically in AX2012 R3 regularly.

At the moment I type the information in the system on this way (see attached picture). 

Thank you in advance for your help.

Maha

Error : Tax period cannot be found for current tax document component line.

$
0
0

Error : "Tax period cannot be found for current tax document component line." appearing on posting Invoice Journal. I have checked all the setup and its fine. Please help with the error. Thank you in advance.

Insert into database if text field holds data starting with (Product Type*)

$
0
0

Form Text Field: 

Want to allow user just to insert data that start with "PRODUCT TYPE" 

and further they can add as below

Product Type

Product Type-1

Product Type-91

Product Type-33

Product Type-BAX

Product Type-UAT

encumbered monies not released to budget when PO was finalized

$
0
0

One of our employees received all of the PO and then finalized it when they realized it was the wrong vendor.  It is causing the funds to show as encumbered and not allowing her to use the funds for the correct vendor requisition.

How can I fix this?  We need to cancel the amount received or unfinalize the PO

Delegate between C# and X++

$
0
0

Hi all!

Is it possible to subscribe from X++ to a C# event in Dynamics 365 Finance and Operations?

My goal is the following:

I have a project in C# that is responsible for receiving messages from an Azure queue service (Service Bus to be specific), the success would be that this application is always active listening to messages from the queue, receive them as JSON and send it to X++ for a specific process to continue.

Now let me explain my situation...

For compatibility issues with my X++ project, I must use the .NET Framework 4.6 in my C# project and with this version of .NET I was only able to download the Microsoft.Azure.ServiceBus Version 1.0.0 library (I know it's obsolete but It's the only one I could install.

This is the code I used to receive the messages  Use Azure Service Bus queues with .NET (old version) - Azure Service Bus | Microsoft Docs

My main problem is determining how to send the information to X++ as it arrives in C#. Investigating, the most viable option seemed to me is using delegates and events, so I added the following to the documentation code.

Class attributes

  • public delegate void MessageReceivedEventHandler(string message);
  • public event MessageReceivedEventHandler MessageReceived;

And I modified the ProcessMessagesAsync method to add the event.

After this I created a console application (C#) to test it, this is the code.

I sent 3 messages to the queue and these were appearing in the test console application (it works perfectly).

I tried to replicate the exact same thing in X++, like this:

But it doesn't work, the process hangs and never shows me any message when I send data to the queue.

Something additional is that in the line queueListener.MessageReceived += eventhandler(MntServiceBusTest::ShowMsg), MessageReceived doesn't appear to me, the options that appear are

However, if I use add_MessageReceived I get that the C# class doesn't contain any delegates with that name and it won't let me compile the X++ project.

I hope someone can give me an idea of ​​how to achieve my goal, I spent days with this situation.

Regards

Microsoft Analysis management object error !

$
0
0

Hi Friends, Currently I have a requirement on AX Installation of 'AX 2012 R3'

windows server 2016

SQl Server - 2016 SP2

Ax 2012 R3

the above I have used.

While installing the AX, I am getting an error of 'AMO' even I tried to download the link shown as '404' error.

Finally, I installed the latest version, but not used.

Can you please help, how to get the above 'AMO'.

Regards,

Vinilkumar.

payroll Tax Update AX 2012 R3

$
0
0

we moved the AOS Server to a new server, 

and when open Payroll > Human Resources Shared Parameters > Payroll

this error shows up.

There in a problem with the payroll tax update data. Please reinstall the latest update. 

I think we need to update the payroll tax engine.

how to do it


Call the RunBaseBatch class with the selected record on form. Ax2012

$
0
0

Hello all,

I have a form and a button, that on this button i want to run a runbasebatch class with the selected record on form.(not multiselect)

For example, if i have selected on form a record from purchtable, when i click this button which is the runbasebatch class, i want to filter all the items related to purchline of this purchid selected on grid.

Can someone help me to pass the record selected on runbasebatch class? I am using microsoft dynamics ax2012

Thanks in advance.

SSRS - Display Blank Values only on my account only on my computer

$
0
0

Hello everyone,

I have a problem with displaying the data from the report because it is empty. Another user, logging on to my computer, sees this report with filled in data.

Logging on to another computer, I also see the correct report with data.

I'm out of ideas. I did the following:

  1. AOS restart
  2. Restart Reporting Service
  3. Restart BIService
  4. Clear the cache and usage data.
  5. Build and deploy the report again.
  6. Delete the all files ending with * .auc

Is the way I'm doing it wrong?

I have administrator rights on this instance.
Kernel version: 6.3.6000.9100
Application version: 6.3.6.000.149

Consume a webservice REST in AX 2009

$
0
0

Hello, 

I would like consume a webservice REST in AX2009 to track the shipment of our orders. 

For this I used this example : Consuming REST APIs in Dynamics AX 2012 (folio3.com)

I modified for my case like this :

 

static void Job37(Args _args)
    {
    System.Net.HttpWebRequest webReq;

    System.Net.HttpWebResponse webRes;

    CLRObject clrObj;

    System.IO.Stream stream;

    System.IO.StreamReader streamRead;

    System.IO.StreamWriter streamWrite;

    System.Net.ServicePoint servicePt;

    System.Net.WebHeaderCollection headers = new System.Net.WebHeaderCollection();

   ;

   //This line gives the user control to run unmanaged and managed code

    new InteropPermission(InteropKind::ClrInterop).assert();

    // Create Object for adding headers

    headers = new System.Net.WebHeaderCollection();



    clrObj = System.Net.WebRequest::Create("https://api.dachser.com/rest/v2/shipmenthistory?tracking-number=4619790347927552&customer-id=231993665126400");

    webReq = clrObj;

    //Set Method Type

    webReq.set_Method("GET");

    webReq.set_KeepAlive(true);

    // Set Content type

    webReq.set_ContentType("application/xml");

    // Add Authorization code

    //headers.Add("Authorization", "sdfgvczzxcbtyfrvb");
    headers.Add("X-IBM-Client-Id", "clientId");
    headers.Add("Accept-Language", "en");
    headers.Add("accept", "application/json");

    //Add header to request

    webReq.set_Headers(headers);

    //Get Service Point

    servicePt = webReq.get_ServicePoint();

    servicePt.set_Expect100Continue(false);

    //Gets the response object

    webRes = webReq.GetResponse();

    //Get Stream

    stream = webRes.GetResponseStream();

    streamRead = new System.IO.StreamReader(stream);

    stream.Close();

    webRes.Close();

}

But the code exits on "webReq.set_Headers(headers);" line. 

I don't know why. Please could you help me ? 

Thanks a lot. 

SSRS Label Print Issue

$
0
0

We made SSRS Report for Zebra ZM400 label printer.

The problem is that after downloading the SSRS Report as a PDF and printing it to the ZM 400 printer, the resolution is high.

But, If we print with the ZM 400 printer directly from the SSRS preview screen, the quality will be very bad.

print on SSRS Reort Preview page

print on PDF viewer

How to add address in VendBankAccounts form in dynamics 365 finance and operations

$
0
0

Hello all, Am struck with one of my task. 

I have VendBankAccounts form, there is address tab where we can enter the address. 

Now am asked to create one more tab for the additional address to create. so i have done the replica as how we get the address in the address tab by adding separate field for address and mapped it. I am struck at some point, whatever the address that am giving in the custom tab, it is reflecting in the address tab as well. but the address that i enter in the custom tab should not effect the address tab.

I tried by taking references from few articles. Sharing it below.

THOMAS WILKE's DYNAMICS AX / D365fO BLOG: Add a single postal location to an ax 2012 form (axbloggerblog.blogspot.com)

How to add Standard Address fields into a new table [Dynamics365/AX7] - Dynamics 365 Finance Community

I request someone to guide me how to add the address from scratch.

AX2012 - Incorrect Base year show in Management report

$
0
0

Guys,

I would like to check, how do i show the correct base year as in my fiscal calendar in Management report.

  

I tried reset the the MR data mart but still doesn't solve the problem.

Below my MR version

Converting from int to string

$
0
0

hello guys,
i want to convert the result from 2 to TWO for my report.

i tried this strFmt("%1",Global::numeralsToTxt_ID(kontrabonline.RecId));

but it give me warning.

can u guys help me?


Conflict between inventory value and GL account

$
0
0

Dear All

I face one issue during create  report (conflicts -inventory and general ledger report)

comment is the setting of the post physical inventory check box is not correct for the item model group 

my question here how I can solve the issue?

Create purchase agreement header and lines with code

$
0
0

Hi ,

 I am trying to create purchase agreement with code it is creating record in header and lines tables successfully  (AgreementHeader,PurchAgreementHeader,AgreementQtyAgreementLine ,Agreementline etc but I am unable to see agreement lines when I open purchase agreement created from code.Data of lines exist in lines table but it doesn't showing in UI .Can any one suggested what could be the reason.

Update project invoice design using print management

$
0
0

I created a new design for project invoice and try to use it under print management, document type (Project invoice without billing rules) , the mentioned design is added to project invoice proposal in the field invoice template  and the customized design is used when select the option print preview in the invoice proposal . But at the invoice level the system still uses the standard design I try to print the invoice  using the option ( Inquiries and reports -Project invoices reports - Project invoices ) , how can I enforce  the system to use the customized report design to print the project invoice  

For sales order Customer Account & Invoice Account

$
0
0

Dear All,

 Please let me know what is the difference between the customer account & the invoice account in the D365 sales order.

Regards,

Shivansh Tiwari

Planned orders issue

$
0
0

HI All,

I'm facing the below issue in master planning planned orders

created items with BOM setup and item coverage ( item coverage is setup to create planned transfer and production orders ) 

scheduled master planning batch job ( regeneration method )  with a query which creates planned transfer and production orders based on item brand type , which is working fine , all the orders are getting generated under a master plan

however i'm facing a issue , system is creating planned purchase orders for other items under the above master plan ( which does not belong to the brands defined in MPS query )and  which does not have any BOM setup or item coverage 

please provide me some pointers on how to restrict to create planned purchase orders

Thanks,

Naresh 

Viewing all 175888 articles
Browse latest View live


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