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

RE: batch number in pos retail

$
0
0

thanks for replay i already do that still not apper


batch number in pos retail

$
0
0

Greeting 

i want use Batch number in pos retail for knowing Expiry date for product to sell it

so i need to know how can i enable it?

because i have problem with Batch number it's show empty on POS

thanks

RE: Consolidate invoice for shipment

$
0
0

OK but:

1. I thought about that and I assumed that this will simply make an invoice for  every SO in the loop, not  one for all of them ??

2. If above solution is correct, can I search wanted SO over shipmentId and DocumentStatus == PackinSlip, or SaleStatus.Delivered ??

RE: populate grid with datasource with a given parameter

$
0
0

Hi,

You can achieve this by performing following steps on the calling form.

In the init method of form data source get the value through args class with the help of parm method from the caller and add it as a filter to the form data source query as below

   Id id   // Declare your parameter with help of its EDT in the class declaration of calling form

   public void init()

{

   QueryBuildDataSource qbds;

   QueryBuildRange      qbr;

   super();

   Id = element.args().parm(); // Pass the value in the parm method on the caller form

   qbds = this.query().dataSourceTable(tableNum(table)); //access the table you want to apply filter

   qbr = SysQuery::findOrCreateRange(qbds, fieldNum(table, Id));

   qbr.value(Id);

}

This works for you when you want to get filtered data on opening the calling form or if you want to happen as a result of any other event you can use the same code and add statement FormDatasource.executequery() at last to filter the grid.

Hope this information helps you.

Thanks,

Chaitanya Golla

populate grid with datasource with a given parameter

$
0
0

Hi ,

i have a form in which i have grid i want to show data in a grid by passing a parameter (id) from other form , how i can do it.

any idea. thanks

RE: Read Projects in Dynamics AX from C#

$
0
0

Here is one for example for setting up a custom AIF service, give it a try:

Then try to consume that one from C# from within the same network. This way you have eliminated 2 problem sources: a different network, and an additional IIS website serving the request to AX, since communication is direct with the net.TCP protocol for the AX AOS.

Once it is working with a simpler scenario, you could try to experiment with your actual setup to get it working.

RE: how to return 2nd last record from table with select statement

$
0
0

Hi,

Could you please provide some more information on your business requirement.

As per your mentioned details we can get 2nd last record by sorting records in descending order based on recId and get the 3rd record from loop(as suggested by Crispin) (or) else you can introduce a new field on your table and maintain numeric sequence while inserting the data and retrieve based on this number.

Thanks,

Chaitanya Golla

RE: Read Projects in Dynamics AX from C#

$
0
0

okay Vilmos, Thanks. Let me play with this and will get back here


RE: Consolidate invoice for shipment

RE: User 'xxx' is not authorized to select a record in table 'SrsReportPreProcessedDetails'. Request denied. AX 2012 R3

$
0
0

Thanks for your answer. But I prefer not to do that with system tables. There should be another approach to this.

User 'xxx' is not authorized to select a record in table 'SrsReportPreProcessedDetails'. Request denied. AX 2012 R3

$
0
0

In our AX client we have multiple legal entities. All allowed users can access the Inventory Aging report (InventAging in AOT) in every company, except three users which have issues accessing the same report on one of the companies.

 

This is a standard AX report which only had some minor modifications to the report design.

 

I have already cleared the caches, reset the usage data, deleted the user's .AUC files, re-deployed the report and restarted the AOS service.

 

The report is located in: Inventory Management > Reports > Physical Inventory > Inventory Aging

 

I haven’t found a solution yet. Any suggestions?

RE: AX7 Update 9 Coc

$
0
0

Hi,

Please refer the following links on Change of Command:

(Video on X++ Chain Of Command)

channel9.msdn.com/.../X-Chain-Of-Command

(CHAIN OF COMMANDS X++ FOR DYNAMICS 365 FOR FINANCE AND OPERATIONS)

www.dynamicon.de/.../chain-of-commands-x-von-dynamics-365-for-finance-and-operations

(Dynamics 365 for Operations: Class extensions and Chain of Command (COC)-Next keyword)

community.dynamics.com/.../dynamics-365-for-operations-class-extensions-and-chain-of-command-coc-next-keyword

Hope this information helps you.

Thanks,

Chaitanya Golla

AX7 Update 9 Coc

$
0
0

Hi, everyone.

I would like to use a new feature: chain of commands.  I have used a trivial sample and get 2 errors after building classes or attempt to start using this class as in the image below.

Could you give me some advice? Thanks in advance.

RE: How to pass parameters to an SSRS report created using Query as report type

RE: Errors with Chain of Command

$
0
0

Can you also show us the definition of method1() in BaseClass1?


RE: Single PO is not creating with multiple PR, even vendor code is same in AX 2012

$
0
0

Hi Steven,

Thanks for your input. We will check the same with developer and update.

Thanks.

Single PO is not creating with multiple PR, even vendor code is same in AX 2012

$
0
0

Dear All,

We have 2 approved Purchase requisitions.

Scenario:

We clicked "Release approved purchase requisitions" and selected 2 PR's clicked Purchase order button. it has created 2 different purchase orders. even for both PR vendor is same.

We selected same vendor code manually in PR to PO conversion form. (Release approved purchase requisitions)

system has created 2 Purchase orders.

ideally it should create single PO when the vendor code is same in 2 PR.

is there any thing needs to be checked.

Kindly update.

Thanks.

RE: How to set up Test Environment for AX?

$
0
0

Hi Rajdip,

I was searching something in the forum and saw your post, I am relatively new to Dynamics AX 2012 R3. I am working on a complex query from account team. 

We can't close a project because of pending old time entries (2015). How can I post these pending entries without asking the Worker?

Can you please help?

Thanks in advance.

Regards.

How to set up Test Environment for AX?

$
0
0

 

I need to set up a test environment that replicates or closely mimics my  companies current AX setup, which I did not personally configure. Actually we are really running Axapta 3.0, but we need the test environment for us to safely attempt an upgrade on before upgrading the production system.

 Does anyone have experience with this or can at least point me to a good resource?

Thanks in advance!

-Michael

RE: Add dynamic parameters to a view based on a query

$
0
0

I just realized how ridiculous this question was... an AX View is reflected in the database as a SQL View, hence, it could never accept user parameters since:

A- you can't declare variables in a SQL View nor pass parameters to it.

B- even if AX could somehow manage to pass values to the view, it would mean it'd have to do a DB synchronization each time I run the view... so the answer is no, in case someone has the same dumb idea as me.

Viewing all 175888 articles
Browse latest View live


Latest Images

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