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

RE: Password for evaluation VM on Azure

$
0
0

Hi all,

 Same issue here. Can't find the default username and password after installing Dynamics AX 2012 R3 Trial on Azure. Anyone?


Password for evaluation VM on Azure

$
0
0

Hi,

I've deployed a dynamics AX 2012 Evaluation edition to my Azure account. When I try to rdp onto the VM, I apparently don't know the password. I've looked around the forums and the default is apparently;

Administrator

pass@word1

This isn't working. Checked in LCS and can't find anything there. Also tried reset password through Azure, but that fails. Also tried my Azure user account as well as my local account.

Anybody else been through this pain or can suggest what I may be missing???

Many Thanks,

RE: AX 2012 R3 Ledger Allocation missing Description

$
0
0

Hi Brad Head,

I believe that this might require a small enhancement that can make use of the standard default descriptions functionality. Here is an example that inserts date, form and voucher.

With the help of a developer you could also make use of the other optional keys and for example insert the allocation method or any other information you consider useful.

This shouldn't be too difficult and make use of the standard AX features.

Best regards,

Ludwig

RE: Update grid query based on values from other controls on form

$
0
0

Hi FP_Alex,

It's correct idea, except one small detail. You don't need to override research() and you don't need to call it is well. So instead of research() call ds.executeQuery()  in Modified event handlers. You can read about difference between research and executeQuery in this blog post kashperuk.blogspot.co.nz/.../tutorial-reread-refresh-research.html

The main difference is query they working with and it cause your issues.

RE: Update grid query based on values from other controls on form

$
0
0

I see you are using .addRange() in your .executeQuery() method.  That means each time it fires, you keep adding more and more ranges to your query.  Instead, you should create the range once, and merely change the .value() of that range before the super() in .executeQuery().  Try adding the range in your data source .init() method, and keeping a reference to the range in a form global variable.  Alternately, use SysQuery::findOrCreateRange() which is smart and either creates a new range or returns an existing range if one already exists.

RE: Update grid query based on values from other controls on form

Update grid query based on values from other controls on form

$
0
0

I have a relatively simple form, it has a start date control and end date control that users can modify and it needs to update the grid filter based on those values.

Form class:

[DataSource]
    class griddata
    {
        /// <summary>
        ///
        /// </summary>
        public void executeQuery()
        {
            QueryBuildRange qbr;
            qbr = this.query().dataSourceTable(tableNum(griddata)).addRange(fieldNum(griddata, ModifiedOn));
            var startDate = StartDateControl.dateValue();
            var endDate =  DateTimeUtil::date(DateTimeUtil::addDays(EndDateControl.dateValue(), 1));
            qbr.value(SysQuery::range(startDate, endDate));
            super();
        }

        /// <summary>
        ///
        /// </summary>
        public void init()
        {
            super();
            this.query().dataSourceTable(tableNum(griddata)).addSortField(fieldNum(griddata, ModifiedOn), SortOrder::Descending);
        }

        /// <summary>
        ///
        /// </summary>
        /// <param name = "_retainPosition"></param>
        public void research(boolean _retainPosition = false)
        {
            griddata_ds.executeQuery();
            super(_retainPosition);
        }

    }

Event handlers:

    [FormControlEventHandler(formControlStr(MyForm, StartDateControl), FormControlEventType::Modified)]
    public static void StartDateControl_OnModified(FormControl sender, FormControlEventArgs e)
    {
        var ds = sender.formRun().dataSource("griddata");
        ds.research();
    }

    /// <summary>
    ///
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    [FormControlEventHandler(formControlStr(MyForm, EndDateControl), FormControlEventType::Modified)]
    public static void EndDateControl_OnModified(FormControl sender, FormControlEventArgs e)
    {
        var ds = sender.formRun().dataSource("griddata");
        ds.research();
    }


I am having an issue that the grid correctly loads the filters and sorting correctly at the initial launch. But it does not update the grid once either of the start date or end date are updated.

1) Is this the correct idea on how to handle this?

2) What else do I need to do to make the grid values update based on the user input?


see a customer's total sales and payment amount

$
0
0

Hello experts

My client asked us for a customized customer invoice which includes Total Sales Amounts, Total Payment and the Customer Balances.

I found the standard Customer Balance List report and it shows Debit Balance - Credit Balance = Total Customer Balances,  and I think this is not my client wants. For example, Credit Balances not only include the customer payment, but also include canceled sales amounts.

As I mentioned above, In the newly customized report, I want to include

1) Total Sales amount = Customer Sales - canceled Sales

2) Total Payment amount

3) Customer Balance= 1) - 2)

and I want to know where can I bring those amount.

Can you please let me know the AOT path for those data ?

Thank you


RE: Update grid query based on values from other controls on form

$
0
0

ievgen,

Thanks for pointing me in the right direction, I do have one issue currently. The executeQuery() method is not available in my Modified event handlers, it's really weird because I do have access to Refresh, Reread, and Research (which is why I chose those initially), but if I try to use executeQuery I get the following error:

Severity Code Description Project File Line Suppression State
Error ClassDoesNotContainMethod: Class 'FormObjectSet' does not contain a definition for method 'executeQuery' and no extension method 'executeQuery' accepting a first argument of type 'FormObjectSet' is found on any extension class. 

This is the code I'm trying to get to work currently:

    public static void EndDateControl_OnModified(FormControl sender, FormControlEventArgs e)
    {
        var ds = sender.formRun().dataSource("griddata");
        ds.executeQuery();
    }


Thanks again for any help you can give!

RE: Update grid query based on values from other controls on form

$
0
0

ievgen,

Thanks for your help, I think I'm getting closer. One final issue I'm having is that I cannot call executeQuery from my Modified event handler. I can call Refresh, Reread, or Reseach but when I try to call executeQuery I get the following error:

ClassDoesNotContainMethod: Class 'FormObjectSet' does not contain a definition for method 'executeQuery' and no extension method 'executeQuery' accepting a first argument of type 'FormObjectSet' is found on any extension class.

Any help on this final issue would be great!

RE: Update grid query based on values from other controls on form

$
0
0

Brandon,

Thanks for your input, definitely used your suggestion!

RE: Update grid query based on values from other controls on form

$
0
0

Try next code:

public static void EndDateControl_OnModified(FormControl sender, FormControlEventArgs e)
{
    FormDataSource  ds = sender.formRun().dataSource("griddata") as FormDataSource;
    if (ds)
    {
        ds.executeQuery();
    }
}


and don't forget about creating range only once.

RE: see a customer's total sales and payment amount

$
0
0

Hi Tina,

Should you choose to use AX Accounts receivable cube, this can be done easily in Excel.

RE: Update grid query based on values from other controls on form

$
0
0

ievgen,

Thank you that worked perfectly, I also made the change Brandon recommended moving the query range creation to the init and leaving the query value in the executeQuery method.

RE: Unable to cancel Deliver Remainder on a Sales order and Purchase Order : The quantity cannot be reduced

$
0
0

Hi Guy Terry,

What if Purchase Orderline is already registered? Is it possible to cancel qty in Delivery Remainder or is there any other way to cancel that registered PO Line?

Thanks,

Jeffrey


Unable to cancel Deliver Remainder on a Sales order and Purchase Order : The quantity cannot be reduced

$
0
0

I am trying to cancel Back Orders on a Sales Orders and Purchase Orders but i get an error message that says : 

The quantity cannot be reduced. The number of stock transactions on order is too low because the quantity or part of it is referenced by an output order or a works order or is marked against other transactions.

How do i cancel the Deliver remainder?

Thank you in advance:-)

RE: see a customer's total sales and payment amount

$
0
0

Thank you for your reply

However what my client wants is showing 1) Sales amount 2)Payment 3) Total Balance  in invoice, so we are thinking to customize invoice report.

the image i attached is what i designed, and I want to know how to bring data for red-marked part of the custmoized report .

RE: Account number for transaction type production, picking list does not exist

$
0
0

i  am getting same issues for account number for transaction type production,picking list does not exist

Account number for transaction type production, picking list does not exist

$
0
0

I am getting this error when I try and post a picking list journal. Is there a problem with the voucher number 49499_067?

Auto email remittances to suppliers, vendors when payment is processed via Dynamics AX 2012

$
0
0

Hi All,

Our company recently transitioned to Dynamics AX 2012, It is a great ERP system but we are struggling to find an auto process to email vendor, supplier remittances once a payment is processed, currently we are having to print out each remittances, fold them and snail mail them which is costing us a lot of man power and time.

Is there any possible way to activate auto send remittances  in Dynamics AX 2012 once a payment is processed to a supplier/vendor?

If yes, it will be great if someone could please provide me with a step by step guide to activate this in Dynamics AX 2012.

Thank you!

Viewing all 175888 articles
Browse latest View live


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