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

RE: Adding field to price tables via extensions

$
0
0

Hi Davide,

I moved your question from AX7 Extension / Overlayering: New specific extension field and initialize, because your issues such as "I have to access the DB twice" don't apply to the question and the verified answer; you're clearly talking about a different thing, therefore it will be better to discuss it separately. Also, because the thread is already answered, we wouldn't be able to track the status of your question if we kept it there.


RE: Dynamics AX Enterprise Portal for Mobile Devices

$
0
0

Hi,

You can normally develop external applications to interact with AX using quite a few options: the best of all is Dotnet Business connector. A dotnet based mobile web application can be developed using this.

But if you want to see a better view for only Purchase orders and Purchase requisitions, I would suggest to consider developing a web controls for the same with your own design. There are already datasets for the same. So all you have to do in this case is to design the form in a more user-friendly way.

Dynamics AX Enterprise Portal for Mobile Devices

$
0
0

Hello Experts,

Is there a way to make the Enterprise Portal mobile friendly? When I open the portal from mobile device only SharePoint related objects are shown and AX pages are not.

Regards,

Mohammad

RE: Adding field to price tables via extensions

$
0
0

Can you please be more specific? For example, you said: "The handler [...] needs to be aware of the caller", but it's not true in the original thread, so you must be talking about a different problem. Please tell us which event are you handling and which object you need.

RE: Payments Totals Made to Vendors

$
0
0

Hi,

Here's a suggestion from a developer. The VendPaymentJournal report displays the same information for each Journal. The report design is grouped by JournalNum.

You can easily duplicate this report, and change the parameter from JournalNum to VendAccount, add another parameter to get the year, in the query, remove JournalNum filter, add VendAccount, Date range (Year), and in the report design, remove the JournalNum  group.

I would estimate about app. 4 hours to develop/test/deploy this report.

Payments Totals Made to Vendors

$
0
0

In Dynamics 2012 R3, all I want is a report that shows me the amount paid to each vendor for 2016.  Is this possible?

RE: Batch jobs, dependencies & tasks that "didn't run"

$
0
0

Took another look at this, and spotted that the Condition type radio button set for the child task held no value.  Despite the fact that all examples of creating batch tasks in X++ I've seen use the same 

batchHeader.addTask(postTask, this.parmCurrentBatch().RecId);

syntax, it seems to me that the second parameter should use the BatchConstraintType enum.  In this instance, where there are two tasks that must both complete before the child task should start, the batch header task addition should be

batchHeader.addTask(postTask, BatchConstraintType::And);

Making this change has given me a 100% complete controller job, so I'd recommend this change to anyone, noting that the use of this.parmCurrentBatch().RecId is likely related to the addRuntimeTask method which requires an inheritFromTaskId parameter.

RE: Regards to How I can hide a particular Module in Dynamics 365 for operations

$
0
0

Hi Sherwin,

To hide the features you can also disable the related configuration keys. I haven't use this myself in Dynamics 365, so test it in a separate environment first.


Regards to How I can hide a particular Module in Dynamics 365 for operations

$
0
0

Hello,

I have a need to hide a particular module say, Production Control from the navigation Bar. Can anyone help me on this please?

RE: Make dynamic report parameter blank and hide dynamic filter

$
0
0

You said you can't set Dynamic Parameter empty/blank, but it's not clear why. What's the problem?

When you say "to create Dynamic Parameter like a lookup", do you mean that you want to set the range for Vendor account field to value selected in your parameter.

If you want to hide the Select button, do you want to keep the query in background, or is your intention to completely get rid of the query? Note that using a query is much more powerful, because users can set ranges for other fields, use wildcards and so on. I would be careful about hiding it from users, because the report will become less useful.

Make dynamic report parameter blank and hide dynamic filter

$
0
0

Dear Experts,

I'm developer customize and report Dynamic AX 2012 R3

Now I create a report from my own table

I created report with SSRS Visual Studio Report Model, created Dynamic Parameter but can't set to Blank / Empty

Here is my parameter form

I want to create a Dynamic Parameter like a lookup, image below :

The question is how to create Dynamic Parameter like a lookup and how to hide Select Button at the bottom?

Any suggestion or reference for me?

Thank you, best regards

Bintang

RE: Adding field to price tables via extensions

$
0
0

Hi Davide Provvedi,

Current version of application is full of code that hard to extend and if you want to stick to "no overlaying" approach  sometimes you have to do tricky things that obviously won't have best performance. We all hope that MS working towards better code base and soon we will have improved extension experience.

You cannot add new field to update_recordset statement, so you have to do additional update and probably it will be inside new transaction because you need to subscribe to post event of runFromContract() method to grab journalNum and other parameters for update.

Adding field to price tables via extensions

$
0
0

Hi everybody. I'm having a similar problem. [Similar to AX7 Extension / Overlayering: New specific extension field and initialize.]

I created a field in a form (PriceDiscAdm)
When the field is filled with a value, the related datasource is populated and the underlying table (PriceDiscAdmTrans) gets correctly updated.

The posting process for the journal anyway proceeds to update another table (PriceDiscTable).
This latter gets populated via a system class (PriceDiscAdmCheckPost) which in turn extends the RunBaseBatch, information being taken from the previous table (PriceDiscAdmTable).

Now to the point: to extend such behavior with my new field I tried to implement right the logic you are describing.

The handler your are suggesting to build needs to be aware of the caller though.
Too bad that the method preceding the handler in this case is static, which makes impossible to get the caller.

So the question is: does a workaround exists for the such a case?

As an aside, more generally speaking: if this is the standard logic suggested by Microsoft it seems a bit debatable (don’t get me wrong: I am not flaming, just trying to understand) since
1) the new field will be updated out of the first transaction updating the other fields
2) each time I have to access the DB twice

3) Isn't there a simpler way to integrate customizations with the core logic of AX365? Since overlayering does not support the continuous upgradability model Microsoft envisions for the product? 

RE: Batch jobs, dependencies & tasks that "didn't run"

$
0
0

Hi Rich Hims,

You probably mixed 2 methods. If you take a look at batchHeader.addRuntimeTask() you notice that second parameter is batch job recid and it makes sense there, but not for addTask(), because second parameter is enum.

Batch jobs, dependencies & tasks that "didn't run"

$
0
0

I have a scheduled job that populates a number of "denormalised" tables to present a simplified data structure for OData exposure so end users can write their own 'reports' in Excel.  There are a number of these tables, with some tables benefiting from the aggregations performed in the population of earlier tables, so my approach to this has been to construct a batch controller task that

  • instantiates a class to populate each table
  • adds a task to the batch header using that population class
  • creates dependencies between tasks

The issue I'm seeing is that tasks with multiple dependencies get left with a status of Didn't run, despite their dependencies Actual status appearing to meet the Expected status:

I've not managed to find much in the way of reference material for this status: there's one thread with no replies, and one with no definitive advice, so in case this description doesn't mean anything to people, the screenshot above of the batch job from comes from a minimal XPO I've put together.  Relevant section of the controller class (pretty much all of it) is:

RunBaseBatch        batchTask, postTask;
Set                 preReqTasksOne, preReqTasksTwo;
SetEnumerator       se;
preReqTasksOne = new Set(Types::Class);
preReqTasksTwo = new Set(Types::Class);

batchHeader = BatchHeader::construct(this.parmCurrentBatch().BatchJobId);
info(strFmt('%1 Batch header constructed', DateTimeUtil::utcNow()));

//Call construct method for another batch class.  Runtime tasks are removed on completion: most suitable for recurring tasks
//batchHeader.addRuntimeTask(LNPS_UnallocatedLedger_Populate::construct(), this.parmCurrentBatch().RecId);
//As opposed to Tasks that remain after completion: can be better for review/auditing
batchTask = LNPS_DependencyOne::construct();
batchHeader.addTask(batchTask, this.parmCurrentBatch().RecId);
preReqTasksOne.add(batchTask);
info(strFmt('%1 Task one added', DateTimeUtil::utcNow()));

batchTask = LNPS_DependencyTwo::construct();
batchHeader.addTask(batchTask, this.parmCurrentBatch().RecId);
preReqTasksTwo.add(batchTask);
info(strFmt('%1 Task two added', DateTimeUtil::utcNow()));

postTask = LNPS_DependentChild::construct();
batchHeader.addTask(postTask, this.parmCurrentBatch().RecId);
info(strFmt('%1 Child task added', DateTimeUtil::utcNow()));

//Enumerators are overkill in this instance where there's only one task in each set, but in true project, the prerequisite task has been split into multiple batch tasks for parallel execution
se = preReqTasksOne.getEnumerator();
while(se.moveNext())
{
    batchTask = se.current();
    batchHeader.addDependency(postTask, batchTask, BatchDependencyStatus::Finished);
}
info(strFmt('%1 Dependency set one added', DateTimeUtil::utcNow()));

se = preReqTasksTwo.getEnumerator();
while(se.moveNext())
{
    batchTask = se.current();
    batchHeader.addDependency(postTask, batchTask, BatchDependencyStatus::Finished);
}
info(strFmt('%1 Dependency set two added', DateTimeUtil::utcNow()));

info(strFmt('%1 All tasks added to batch header', DateTimeUtil::utcNow()));
batchHeader.save();

Any pointers to further reading material on the subject of dependencies, or specific advice on how I'm constructing my batch task, would be greatly appreciated.


RE: Unable to remove "Reserved physical" as reservation is blank and un-editable.

$
0
0

Hi ShayA

This 2 which left is rest of not sent line. As you can see in transactions there is 2 with Status Sold and 2 which is physically reserved for this output order. Just unreserve (better would be end output order or just remove it)

Have a nice day :)

Unable to remove "Reserved physical" as reservation is blank and un-editable.

$
0
0

Hi,

I'm using AX2012 R3.

There have been several occasions where in a sales order we have 2 stock transaction lines. First line sold and the second line reserved physical. 

However I'm unable to remove the reservation via Stock > Stock reservation within the sales order. The reservation box is blank and un-editable.

There are no active picking list as they have all been completed. Screenshots below:

Picking List:

Reservation:

Stock Transaction:

RE: personalize Transfer order Screen

$
0
0

Hi Ekrami Sedhom,

You can add fields only from form's datasources. You don't have inventSum datasource there, so it's not possible to show onhand values. Same story with barcode, it's not a field on InventTransferTable so you cannot add it and so on.

To meet your requirements you need to ask developer to do customization for you, that's the only way.

RE: personalize Transfer order Screen

$
0
0

Thanks ievgen Miroshnikov for your Clear Answer

i will take to our developer to do this .

personalize Transfer order Screen

$
0
0

i have this screen 

Transfer order Screen

i want to add some field from (  inventory -- on hand )  Like Physical Inventory Qty

also Bare code , Purchase Unit.

any way to do this ??? 

when i personalize some field not available ... plz help 

Viewing all 175888 articles
Browse latest View live


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