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

RE: AX compiler vs AXbuild


RE: cancel SalesOrders in multithreading batchjob

cancel SalesOrders in multithreading batchjob

$
0
0

Hi

We set a cancellation reason on Sales orders. (mainly created from Webshop). Now we want to have a batchjob to cancel the orders.

The job should have the following parameters to set

1. cancellation reason

2. number of parallel executions

3. max number of orders per execution instance

Can someone give me a hint how this can be realized?

RE: To Find Submitted By and storing in Field in Workflow

Table Permission To Mobile Service User

$
0
0

HI,

I have  android  application  which is connected  to dynamics ax .  Andoird app is connected to ax  with  dynamics ax   service .   I was  testing  app  with  dynamics ax  System administrator  user priviliges .

Now  I have  one  dynamics ax  user which is not administrator .  To  call  service methods  I need  to add all tables  to  security privilige which  is  used in  service.  service is  pretty big , more than  100 tables  is used in service . Is there  any chance , that  I don't add  all tables manually to security privilige ?  Or  is  this even a correct approach .

RE: Problem extending the SalesInvoice Report - value for parameter is invalid

$
0
0

Try deleting both CreatedTransactionId and CreatedTransactionId1 parameters. After that do the restore again. It will generate CreatedTransactionId parameter. Now rename that parameter to CreatedTransactionId1. I don't know why this happens but this is how I fixed it.

Problem extending the SalesInvoice Report - value for parameter is invalid

$
0
0

Hi,

I'm again encountering some very bizar behavior with SSRS parameters.

I managed to pinpoint the moment when it happens but am still looking for a solution.

Step 1

I duplicated the SSRS report into my project and called it SalesInvoiceExt

I made a SalesInvoiceControllerExt class which extents SalesInvoiceController but points to my new invoice SalesInvoiceExt

I've added a red label in the report design to identify if the correct reports is being used.

Deploy everything , print a salesinvoice and I get my custom layout.

Step 2

I 'refreshed" the Dataset SalesInvoiceLocalizationDS in the report by clicking on 'Restore' assuming this replaces the old 'refresh' button from AX2012.

Delete the report from SSRS and redeploy.

Everything is still working correctly.

Step 3

I refreshed the Dataset 'SalesInvoiceHeaderFooterDS', this does retrieve a new parameter called CreatedTransactionId. Which is quite normal because the 3 datasets are from the same RDP class and thus linked to the same contract class. Besides discovering the new parameter on the dataset, it creates a new report parameters called 'CreatedTransactionId1'.

Delete the report from SSRS and redeploy.

Now the issue arises 'A valid value for parameter "CreatedTransactionId" does not exist.'.

It's like it only passes a value into 'CreatedTransactionId1'.

A few questions concerning this issue :

1) How come that the default report only contains the parameter 'CreatedTransactionId' on one specific dataset (SalesInvoiceLocalizationDS) and not on all three. How did they delete that parameter on the other datasets then?

2) Seeing that all 3 datasets come from the same RDP class, they all have the same parameters. Shouldn't VS.Net pick this up and redirect these parameters to one and the same report parameter? They will have the same value because it's all from the same contract

3) How do we solve this issue, because the design needs custom fields on both datasets mentioned above.

Any suggestions or remarks?

Regards,

Sven Peeters

AX XMLDocument object to system.io.memorystream object

$
0
0

Hi ,

I would like to convert the xmldocument object to memorystream object.

Thanks

-K 


Data Transfer from Live to Staging Server

$
0
0

Dear All,

We have two servers with AX 2012 implementation, we want to transfer all the data from the Live server to the staging server. Would appreciate if the best method can be suggested.

DB Restore may not be a good choice in our situation since it will override certain configuration in the staging server.

RE: Online Store Publishing in Dynamics AX 2012 R2

Online Store Publishing in Dynamics AX 2012 R2

$
0
0

Hello,

I am trying to publish a Dynamics AX 2012 R2 Online Store but the Publishing Status still shows "In-Progress". The status been like this for a long time. If there is any error where do I view the log information.

Can anyone please provide some pointers/help?

Thanks

Pankaj

How to reverse a credit note

$
0
0

Hi,

I have half-raised a credit note for a sales order, but have subsequently been informed only one item should have been credited. How can I reserve the items which should not have been credited?

This is the process I followed:

Within Accounts Receivables > All Sales Orders, I found the relevant sales order, and clicked Credit note on the Sell tab. After that the sales order is now showing all the items as negative. I have not yet invoiced this transaction.

Error " Stack trace: The company does not exist " when validating a Journal voucher

$
0
0

I am getting this error when validating a journal voucher , any idea how to fix it ?

Stack trace: The company  does not exist.

 

Stack trace

 

(S)\Data Dictionary\Tables\LedgerJournalTrans\Methods\validateWrite - line 74

(C)\Classes\FormDataSource\validateWrite

(C)\Forms\LedgerJournalTransDaily\Data Sources\LedgerJournalTrans\Methods\validateWrite

(C)\Classes\FormDataSource\leaveRecord

(C)\Forms\LedgerJournalTransDaily\Data Sources\LedgerJournalTrans\Methods\leaveRecord

RE: Data Transfer from Live to Staging Server

$
0
0

Hi Tariq,

There is an option to use the restore of a backup and run some scripts afterwards to correct the configuration.

Also you can use the Test Data Transfer Tool. This tool is available on LCS tools. Disadvantage of this tool is that it is slower compared to backup/restore.

RE: How to reverse a credit note

$
0
0

Hi EdSpan,

If you didn't post the invoice or packing slip, you can simply remove the lines which does not need to get credited.


RE: AX 2012 product configurator

$
0
0

Hi Dynamic29,

The BOM number is not random; it is based on a number sequence which has been defined for this. There is no out of the box option for your requirement; you should consider a customization.

RE: Inventory Movement by Template - Directive Code Issue

$
0
0

Hi Guy,

No unfortunately not. I get the same error you described with "User not in the warehouse".

Can you think of any other way to enable to put actions on a PO? Essentially they want to receive and put to 2 different staging areas (dependent on product) and then put away to the final destination.

RE: Inventory Movement by Template - Directive Code Issue

$
0
0

Hi Crispin,

Ok thanks, I'll get to work exploring cluster picking and see if I can sort out a solution that way.

Thanks for the suggestion

Inventory Movement by Template - Directive Code Issue

$
0
0

Hi All, 

I've run into an issue with the setup for Inventory movement after Purchase Order receipt and I'm hoping someone has already found the solution for this. 

At the moment we use separate mobile device menus for PO Line Receipt and PO-PutAway to receive to a default location (Receipt) and then PO-PutAway to allow assignment of pre-printed LPs and organization of the received goods to 2 different staging areas depending on the product. This works excellently, but now the hard part!

I had planned to use Inventory Movement by Template to move the goods to their final storage locations but have run into the following issue: 

1. After combining two similar products onto one LP during Put to the staging location, when I try to use inventory movement to put that LP into it's final location, AX requires that I enter each item ID on the LP and put them away separately - Instead of using the location directive I had intended (AKA Multisku).

After reading through the responses to the issue, it seemed like directive codes may have been the answer. However, from what I can see I can't assign Directive codes to an inventory movement work template. And to make things worse, I can only use 1 directive code on the mobile Device menu setup which stops me from differentiation there as well. 

The goal here is to be able to use inventory movement by template to put away goods based on a number of different location directives depending on the items.

[mention:6e0a618d53604e2a90fbf4a0d75e8f16:e9ed411860ed4f2ba0265705b8793d05], any ideas on this one? You're response back in 2015 (https://community.dynamics.com/ax/f/33/t/139366) gave me hope, but they were dashed upon realizing this was intended to a single bulk area rather than multiple possibilities.

Happy to post more relevant info if needed, just let me know.

Thanks in advance for any suggestions ! 

Cheers,

S

  

RE: AX XMLDocument object to system.io.memorystream object

$
0
0

XmlDocument is a class - you must serialize the object (a reference in memory) to something that can be transferred. The obvious choice is using XML (= text).

It changes your question to something much more general - how to create a MemoryStream instance from a string. Because you're not the first one asking this question, you can easily find answers on internet. For instance, look at StackOverflow thread how to generate a stream from a string?.

Viewing all 175888 articles
Browse latest View live


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