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

RE: How to enable/disable dynamically added data source

$
0
0

What exactly do you intend to enable/disable? Editing in this datasource / Creating / Deleting / disable certain fields / something else?


RE: Tablebuffer selectforupdate

$
0
0

ievgen is right, the logic is the same in AX2009 also:

RE: How to enable/disable dynamically added data source

$
0
0

I want to show data according to the dates selected, in current situation- if i select these dates on form, the code is adding this data source and showing me data as required, now if I remove the dates then it should display all records on form without considering this date filter, in my condition the added data source is remaining in a query and showing previous data.

RE: AX2012 - VAT amounts cancel when entering a GL journal for certain adjustments

$
0
0

That is of course a valid point. However - these are users who recently upgraded from AX4 to AX2012 and the previous version did not do this. The logic seems to be placed on the journal entry form and - as is often the case in such situations - certain variations in the way the journal is entered will cause the tax posting to be either omitted or included.

I thought this is maybe something someone else has come across.

Anyway - thanks for the prompt response.

RE: How to enable/disable dynamically added data source

$
0
0

One solution would be keeping your joined data source, but passing dateNull() and maxDate() as the date range.

In your code you have introduced a new QueryBuildDataSource which has one data source table.

Therefore qbds.childDataSourceNo(2).enabled(true) can't work, can it? Or is qdbs referring to something else in the place where you are using it?

How to enable/disable dynamically added data source

$
0
0

Hi Techies,

I want to enable/disable a dynamically added data source in a code at a particular condition. If the values of the fields(FromDate and ToDate) are blank then it should be disabled else it should enable. I tried doing this ->qbds.childDataSourceNo(2).enabled(true); but it is showing error - 'Query does not contain 2 datasources'

Below is my code

QueryBuildDataSource qbds = ds.addDataSource(tableNum(LedgerJournalTrans));
qbds.relations(true);
qbds.joinMode(JoinMode::ExistsJoin);
qbds.addRange(fieldNum(LedgerJournalTrans,TransDate)).
value(strFmt('%1..%2',formRun.parmFromDate(),formRun.parmTodate()));


Can anyone help me here,

Any response is appreciated!

Thanks

RE: Error while installing reporting services extensions

$
0
0

Have you verified that SSRS configurations are fine and both report server and web URL working?

RE: How to enable/disable dynamically added data source

$
0
0

OK. First of all, you have to Play with query ranges here.

Datasource.enabled() is a different Thing altogether.

You have to add conditions and assign different ranges to the Dates, for instance on click of a filter button, or modified() of the filter field(s).


RE: Unable to delete Transfer Order lines in AX 2012

$
0
0

Hi Noureldeen,

Please find the below infolog while trying to remove/delete TO/TO lines.

Unable to delete Transfer Order lines in AX 2012

$
0
0

Dear All,

Need experts help to solve this issue.

I want to delete transfer orders created by users as they are of no use, but AX won't all me to do so as it says their are "Reserved Ordered". Their is no reservation and marking as i cross checked. Please help me out to fix this issue.

Intrastat and triangular Purchase Orders

$
0
0

Hi, 

Has anyone dealt with the following scenario and what is the proposed solution?

-Assume company is based in UK. Place a PO to buy goods from a German supplier. The supplier is out of stock and ships the products from France where there is another supplier or warehouse (with different VAT reg number).

How do we treat this transaction is AX? and also make sure that the Intrastat report will display FRA and not DEU, because that's where the goods were shipped from.

Keep in mind that the payment should be made in the German supplier.

At first you might think that order (FRA) and invoice (DEU) accounts might do the job, but keep in mind that the Intrastat is looking at invoice journals, where you can only see the invoice account.

Thank you

Kind regards

Aris

RE: Make a mandatory Field to not mandatory via Code

$
0
0

Hi,

I wrote in my validateWrite() of my Table "PriceTable"

 

    switch (ret)
    {
        case this.Price <= 1.00:
            ret = checkFailed("+++ValidateWrite Method+++" + "@SYC234");
            break;
            
        case this.VehicleCategorie != "Non-Specified":
            
    }


How shall I Code further ?
Basically I would suggest, I should then call the Method of my Form, right ? (after case this.VehicleCategorier....)

Or Shall I immeadiately start coding in my Form, but which Method should I use or where shall I start ?

Thanks in advance

RE: Physical dimension by product variant

$
0
0

Yes, Microsoft just purchased AWAX and ATRAX from Blue Horseshoe. However, it'll take some time to incorporate it. Maybe the  fall /winter release.

Physical dimension by product variant

$
0
0

Hi,

as far as i can tell, even the latest Update Version of 365 for Operations and Finance, does not support 

"PHYSICAL DIMENSIONS by PRODUCT VARIANT" meaning, having different physical dimensions for multiple Variants of the same Product. This seems to be a massive Gap, since one of the most common Product dimensions is "SIZE". This really throws us back with a customer, since physical dimensions are crucial for using Containerization. Customization seems very adventurous fiddling around with queries in containerization? 

1. Has anyone had a decent work around for this issue?

2. i know this feature has been on the roadmap for developement, who has got inside to if this is acutally gonna happen, and when?

RE: I want the system send email with pdf file attachment (password is setup inside the pdf file).

$
0
0

Hi Cuong,

Please elaborate? What is the contents of the pdf? What action should start sending the email and who will be the recipient? Should Dynamics AX create the pdf and also set the password?

Can you explain the business scenario?


I want the system send email with pdf file attachment (password is setup inside the pdf file).

$
0
0

Dear Friends,

I have a question:

1/ I want the system send email with pdf file attachment (password is setup inside the pdf file).

RE: How to create a custom dimension in my custom Table?

$
0
0

Hi NavTech,

Having a table/entity dimensionable or filtering are two separate concepts. I got confused by your reply, as I don't know what exactly your requirements are.

For help on the dimension framework, you can download a whitepaper with some explanations and code patterns: download.microsoft.com/.../Implementing_the_Account_and_Financial_Dimensions_Framework_AX2012.pdf

If you need to have values filtered, so a user can only select his regions, you have to apply eXtensible Data Security. Also a whitepaper for this topic is available: www.microsoft.com/.../confirmation.aspx

RE: Make a mandatory Field to not mandatory via Code

$
0
0

Hi, if your fields are marked as mandatory on table, you have to enter values.

You cannot overwrite this validation through code.

You have to set the Mandatory-property to NO and do all you validation through code. I think the validateWrite() on table is the right place for doing this. Placing this validation on validateWrite() in form is also possible, but should not be the prefered solution (because if someone creates another form with the same datasource, this validation will miss).

Regards

Heinz

How to have a contract over 3 years with encumbrance every year

$
0
0

Hi,

I am looking for a way to have a contract over 3 years, have an encumbrance for each year of the contract and to reduce the encumbrance every month when a payment is done (every month).

We need :

 - a document for the contract that can be use over 3 years as a reference;
 - less possible manual processing;
 - no reception;
 - keep the encumbrance during the year for all the payments that are not already done.

RE: is't possible to configure VSTS in VM for D365FO?

$
0
0

Hi Sukrut

I go through the answers for VSTS but not understand properly.

Can you please send  me the step by step configuration for VSTS on dev box.

Please give me more shed on this.

Thanks!

Viewing all 175888 articles
Browse latest View live


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