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

RE: Is it possible to add the column "Available physical" to the Transfer Order lines?

$
0
0

The issue could be that the record is not refreshed after you have put in item id and inventdim settings. If you click F5, does it help?

What if you debug it? Do you have ItemId and InventDim and InventDimParm going in to the InventOnhand::newParameters call?

What if you create a job that calls the on hand query with same parameters that your display method - does it return anything?


RE: Advanced rule structures

$
0
0

Hi,

Is this a financial report for analysis purposes? If so, can't you use the Management Reporter?

Best regards,

Ludwig

RE: Is it possible to add the column "Available physical" to the Transfer Order lines?

$
0
0

Will do, thanks for the input sir.

Deployment and Roll-back on D365 AX (on-prem) failed

$
0
0

I have deployed the package on the UAT server through LCS but it was failed. When I did roll-back, it was failed again.

Errors:

  1. Module is missing
  2. Module financialreporting failed
  3. and many others errors like this

Any solution?

RE: Workflow for Movement Journals

$
0
0

Hi,

Workflow is not provided in Movement Journal out of the box. I guess you have developed this.

1. You have to create task element in workflow configuration. So that only the user who assigned to that record will be able to edit.

2. It depends on the way that you did customizations. If you or your developer were added this button and functionality to that form, you would be use request change functionality. So you have to develop this and add required buttons.

3.This topic is depends on your customization too. You have to manage workflowstatus field in InventJournalTable by methods like init,insert, update, validefield and cansubmittoworkflow.

Consequently ıt would be good to review your workflow customization and improve it according to your needs.

Best regards,

Sefa

Workflow for Movement Journals

$
0
0

Hi Everyone,

I have some requirements for the Movement Journal workflow, Can anyone help me to achieve below points.

1. How can I relate WorkflowWorkItemTable table with InventJournalTable. (The Requirement is if I assign a request change in the workflow to any user only that user should be able to edit the journal where for all other users the journal should be closed for editing)

2. In the Purchase order workflow we have button named Request change which will be active only if the PO status is approved and once we click on that the whole workflow will be reversed. I need to apply the same for Movement Journal by creating the same button and when we click on that the journal should change from approval status to no submitted.

3. When I use the option Transfer all posting errors to a new journal  while posting, it creates new Journal for the error lines where the status of the journal will be same as the parent journal (Approved in the normal cases ) My requirement is whenever the new journal is created the status should be not submitted so the user will be able to edit the journal and submit it again.

Thanks in advance. 

RE: AX2009 Synchronisation Issue

$
0
0

Hi Dan,

I have not seen this before, but the name "LEDGERTRANS.1" might be a wrong interpretation by the AX kernel or do you have a customization/add-on with this table name?

Can you tell why you need this database sync? Is it because of disabling configuration keys or adding customizations? Have you changes on this table?

You can try to delete the index from the table in SQL manually and/or disable it temporary in the AOT. Also check the system table "SQLDictionary" if the table name "LEDGERTRANS.1" is used here and possibly not exists in your AOT.

RE: AX2009 Synchronisation Issue

$
0
0

Hi!

Try the following :

1. In SQL Server Management Studio - rename existing table LEDGERTRANS -> LEDGERTRANS_1

2. In AX - synchronise LEDGERTRANS

3. In SQL Server Management Studio - delete created after synchronisation LEDGERTRANS

4. In SQL Server Management Studio - rename table LEDGERTRANS_1 -> LEDGERTRANS

5. In AX - synchronise LEDGERTRANS


RE: tax document shows wrong base amount

$
0
0

if anybody know s that please reply

How to calculate total value of field called "Value" In AOT Report(Sales_invoice)

$
0
0

Hi Experts,

I want to calculate the total value of a field. I have field called "Value" and i want the sum of all the numbers in the "values" field in Total field. if Anybody knows please post your solution here. Thanks in advance.

Manual Overhead entry for a Production order

$
0
0

Dear All,

I have posted overhead amount by using costing versions.

How to change this overhead amount after the end of Production order?

or

is there any way to post a overhead entry  after the end of production order?

Thanks & Regards,

Deva

RE: When I use View in Form to get selected record on form but it open two form instead of one form[Ax 2012]

$
0
0

You are putting your query range in place too early. The query will be reinitialized in the init method of the data source of form b.

Try removing that code and putting this code in the executeQuery method of your data source:

QueryBuildDataSource qdbs = this.query().dataSourceName([yourDataSourceName]);
;
qdbs.clearRanges();
qdbs.addRange(fieldNum(ST_BankInfoTableView,PersonnelNumber)).value(parmId);
super();


And obviously you have to introduce the parmId variable in classDeclaration, and set the value for it in the init method of the form.

When I use View in Form to get selected record on form but it open two form instead of one form[Ax 2012]

$
0
0

I have two form. I.e. FormA and FormB. In FormB is attached with a view. [we have used multiple table relations so I use view]

When I select FormA Record on button click then its related data it has shown on FormB. But Problem is that is shown FormB all record views [FormB view is Problem]

So I know that code pass argument one form to another but I didn’t find How is open two form on one click [related record on FormB and FormB View with all Record]. I want to open only one formB with related record 

**FormA Click Method

void clicked()
{
    Args        args;
    FormRun     formRun;
    super();
    args    = new args(formstr( FormB));
    args.parm(HcmWorkerTB.PersonnelNumber);

    
    formRun = classFactory.formRunClass( args );
    formRun.init();
    formrun.run();
    formrun.wait();
    formRun.detach();
}

** FormB Init Method

public void init()
{
        Query           query;
        QueryBuildRange qbr;
       
        Str             _parmid;
        super();
       
        _parmid     = element.args().parm();
        query       = new Query();
        qbr=query.addDataSource(tableNum(ST_BankInfoTableView)).addRange(fieldNum(ST_BankInfoTableView,PersonnelNumber));
        qbr.value(_parmid);
        ST_BankInfoTableView_ds.query(query);
}

RE: How to calculate total value of field called "Value" In AOT Report(Sales_invoice)

$
0
0

Hi!

You should use "select sum(Value) from Table where ..." statement and then return the value of table.value through display method.

RE: When I use View in Form to get selected record on form but it open two form instead of one form[Ax 2012]

$
0
0
Thanks Nikolaos.

QueryBuildDataSource qdbs = this.query().dataSourceName([yourDataSourceName]); here which data source name enter formA datasource or FormB.
In FormB I used View and FormA I used Table.

RE: tax document shows wrong base amount

$
0
0

Hi Arjun,

What exact version of Dynamics AX 2012 are you using? There are a few known issues and hotfixes available on LCS issue search. If you search with "tax+amount+charges", there will be some results on e.g. AX 2012 R2 and AX 2012 R3. So, possibly there is already a fix for you.

RE: When I use View in Form to get selected record on form but it open two form instead of one form[Ax 2012]

$
0
0

The data source name of form B. It's the only one that can be accessed there.

But I'm still not sure if I understand your problem correctly. Did you say that two forms open?

If that's the case, then your button must be a MenuItemButton.

If it is a MenuItemButton, then the super() call in the clicked method runs the menu item and opens formB. This FormB is not filtered.

Then your code in clicked method opens another instance of FormB. This FormB is filtered, if your filtering logic works correctly.

May I also suggest that you change your code in the clicked method to this (if it's a MenuItemButton):

void clicked()
{
    Args         args = new Args();
    MenuFunction menuFunction = this.menuFunction();

    args.parm(HcmWorkerTB.PersonnelNumber);
    menuFunction = new MenuFunction(menuitemDisplayStr([NameOfYourMenuItem]), MenuItemType::Display);

    menuFunction.run(args);
}


RE: tax document shows wrong base amount

$
0
0

i am use R3 version if that is fix then how to solve it

RE: Advanced rule structures

$
0
0

Hi Rafael,

In what context do you need to have this table? What exact report are you trying to create? Do you need the setup or allowed values? If it is about the allowed values, there is no table as the entered values will be validated with help of business logic during posting activities.

RE: "Natural key not found" when creating a custom data entity

Viewing all 175888 articles
Browse latest View live


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