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

Customize the purchase order report

$
0
0

Hello Everyone

Today i tried to replace the standard purchase order report with my custom report by changing the PurchPurchaseOrderController as below:

public static void main(Args _args)
{
    SrsReportRunController          formLetterController = PurchPurchaseOrderController::construct();
    PurchPurchaseOrderController    controller;

    if (TradeFormHelper::isCalledFromForm(_args, formStr(VendPurchOrderJournalListPage)))
    {
        _args.record(VendPurchOrderJour::findRecId(_args.record().RecId));
    }

    controller = formLetterController;

    controller.initArgs(_args, ssrsReportStr(CustomPurchaseOrder, Report));

    if (classIdGet(_args.caller()) == classNum(PurchPurchOrderJournalPrint))
    {
        formLetterController.renderingCompleted += eventhandler(purchPurchOrderJournalPrint::renderingCompleted);
    }

    formLetterController.startOperation();
}



In the "controller.initArgs" method i have already use my report "CustomPurchaseOrder", but when i try to run the report from "Purchase Order->Purchase->Purchase Order Confirmations->Preview/Print->Original Preview" i still got the old report.

Note:

The system keep using the static report, but if i comment the code "controller.initArgs(_args, ssrsReportStr(CustomPurchaseOrder, Report));", it will encounter an error. there must be somewhere the system replace my code with the standard report.


AP distribution problem

$
0
0

In AX 2012 R2, I have marked Post Product recipt in AP parameters>Updates. When I post a receipt, AX creates Distribution of Product Receipt DR and Accrual CR. On creating invoice, it correctly moved balance from Accrual payable to actual payable accounts however,  AX creates two credits against purchase expenditure uninvoiced and purchase expenditure for product that is incorrect.

Any help?

Add A Reference on Number Sequence Parameters In Travel & Expense AX 2012

$
0
0

Hi All 

I am Stuck in a Task.I have Customized TrvParameters Form i.e Travel& Expense Parameter form & introduced a tab of Number Sequence.I applied number Sequence of a field ,Suppose A but it is not visible on parameter form & reference not available on Number Sequence Form in Organization administration except for scope"Shared".How to do it.Kindly Help.

I have Already Loaded the No Seq Module Through Job.

Support for SQL Server 2012 SP2

$
0
0

Hi

In the last version of the document Microsoft Dynamics AX 2012 System Requirements (July 2014) is only mentioned SP1. Does it mean that SP2 in not official supported?

autorun.hta is not a valid win32 application

EP running very slowly on AX 2012 r3 VM

$
0
0

Hello all,

I am using Microsoft’ demo AX2012 r3 VM. I have allocated 20 GB of RAM, and thanks partly to some of the tips found here, it is now running quite fast : AX “rich client”, Office etc… all run fast.

All except EP : EP is very slow, every page or drop down takes several seconds to load, even “simple” ones like the Currency drop down. This makes user experience painful, and looks particularly bad on demos.

I think my Hyper-V, memory allocation etc.. settings are OK since everything else on that VM runs fine.

Are you aware of settings, at Sharpoint level maybe, or anywhere within that VM, which coulp help make EP run faster ?

Thanks

E-mail from AX

$
0
0

As AX does not enable users to edit e-mail messages (enter a message/body text) prior to sending them, I'm trying to find workarounds.

User accesses AX and outlook by terminal server. I'm evaluating following options:

Prerequisites:

1. A "purpose" is registered on the vendor e-mail.

2. Printer management is configured to send e-mail to addresses with specified "purpose".

OPTIONS:

1. SMTP/Batch: 

..RESULT: E-mail i sent correctly

..DRAWBACKS:

* Not possible to add body text.

* Sent e-mails are not stored in any "sent folder" for easy retrieval.

2. Outlook: 

RESULT:

- "Use print management" selected = FAIL

- "Use print management" deselected (enteri the e-mail addresse manually) = SUCCESS

- Sent e-mail is stored in outlook "Sent folder".

DRAWBACKS:

- "Use print management" selected = FAILS. E.g. predefined e-mail adresses (purposes) does not work.

* Outlook client is not opened allowing user to add body text. 

 

WORKAROUND?

I was told that by not registering an e-mail address on the vendor. The outlook mail form would open (if outlook is started on the terminal server). I tried that with no success. The mail will bounce.

 

Questions:

1. Any idéa why outlook won't work when using "print management" and predefined e-mailaddresses?

2. Why the outlook mail form doesn't open when leaving address field blank on vendor.

3. Would it be possible(minor/major customization) to:

3.1 Have the pre defined e-mail addresses populate the address fields in the printer settings form even if e-mailing is done manually? (Unless you select "use print management", e-mail adresses are not autoselected)

3.2 add a text input field in the printer settings form. This would require that 3.1 above would work.

Thanks,

/E

AX Interface (publishing)

$
0
0

Hi all,

I am very new to AX, but I have some MSSQL experience.

I was wondering what is the best way to capture changes (insert,update,delete) to a specific table in AX and then publish those changes to another system. I would prefer to do this real time, i.e no scanning for changes, but some sort of "triggering" on change. 

Is this possible via "Services and Application Integration Framework (AIF)", i.e. can business logic fire a web service to publish this information on a a record insert/update/delete?

Other methods I have thought of are triggers on the table (normal or clr) and using MSMQ.

Are there other ways of achieving this? Which are he better, less invasive, less impact on performance options?

Currently we are on 2009 but hopefully will be upgrading to 2012 soon.

Thanks!


Purpose of Work template code in Replenishment Template

$
0
0

Hi everyone,

does somebody know what is the purpose of the "Work Template Code" used in the Replenishment Template Line? I thought it's purpose is to select which of the Worktemplates has to be used for replenishment, but it's still the Query defined on each Work-Template. I wonder where this field is used? Cross-Reference also didn't answer the question.

Greetings

Nils

Ax2012 VM Demo - What is PC minimum requirements

$
0
0

I have watched the video, Documentation etc. Bought a new laptop to meet the requirements in the demo. Installed Ax2012 VM Demo but there is not enough memory.

I cannot find anywhere in the description anything about Windows 8 for one thing but I have installed it on a PC with 8Gb of memory (I know the video recommends 12 Gb RAM but it should run with 8 Gb) and Windows 8.1 pro with the Hyper-V function enabled of course.

Can anyone tell me what the minimum requirements for starting the Ax 2012 demo VM are.

The video says 8Gb is enough but in a document it says 16Gb RAM free. It must mean that the PC should contain at least 20 Gb RAM. And then the video says at least 4 CPU processors.

If I buy a computer with Windows 8.1 Pro, at least 4 CPU processors and more than 20 Gb RAM could any one tell me what might cause the Ax2012 demo VM not to run. Just to make sure I buy a computer that is actually able to run Ax2012 Demo VM.

Thank you in advance.

Label Texts not Visible for a particular user and computer

$
0
0

For one particular user and computer, the user cannot view any label value into ax client.

The user have Admin role in Ax, admin role in the computer (Windows 7) and there is only 1 AOS.

I´ve tried these things without luck:

Delete AUC Files from AppData Folder.

Delete all usage data from this user.

Restart AOS.

Change user language into Options Form.

Delete ALI and ALC files from appl folder into AOS Server.

FYI: The same user in another computer show label values correctly and other user into same computer too.

The problem only occurs with that user and computer combination.

I am thinking about delete user windows profile and recreate it again.

Anyone can help me?
Thanks

How do i locate a Dynamics AX report in visual Studio?

$
0
0

Dear 

I just started working with Dynamics AX SSRS , is there a systematic way to locate a report in AX and find it in the visual studio 

i would appreciate your feedback

Best Regards

Need help adding custom field to All Purchase Requisitions grid

$
0
0

Hi everybody,

I'm a newbie to DAX 2012

I`m  trying to add a column with the person who has the requisiton at a given time, for example, 

if a purchase requisition has a review, draft, canceled or approved status, I wan to show in a new column on the same grid the name of the person (worker) that has in that moment the Purchase Requisition. Please take a look at attached image 1.

Now, you can view the name of the person 2 ways:

1.- Please check attached Image2, here on the same screen as the grid, to the right side, if I select Purchase Requisition 000881 on the grid, the Review Process Details section shows the name of the person that currently has the PR.

2.- While Purchase Requisition 000881 still selected, the second way is to click the button above the grid Actions-> View History, then I'm taken to the following screen, at the bottom in the (Tracking Details tab) tabs section to the right after selecting the appropiate tree ítems, I get a box with the name of the person that currently has the PR and a due date, again this is the name I ant to display on the grid. Please check  attached Image3.

Hope I was able to explain what I want to achive, please your urgent  help is greately appreciated.

Best Regards

Verci

AX 2012 Admin role without access to AOT

$
0
0

How can I create an AX2012 administrator role without having access to AOT or developer environment?

Deleting the AX 2012 R2 DEL objects from the database- Has anybody done this?

$
0
0

All,

We are implementing Dynamics AX 2012 R2 CU6.

We ran into an issue where someone at some point disabled the configuration keys, deleted the DEL prefixed objects  and later someone turned the configuration keys back on in our company's model store.  Now when we try to merge our Model Store back into a fresh install of MS we run into element ID discrepancies.

We have a technician who has deleted the DEL prefixed objects out of the Fresh install which resulted in 30,000 objects being removed so we can merge our specific company model more easily.

This has raised a red flag for me and I need to know if we will run into any issues going forward with those DEL objects missing.  Future Upgrades?  Patches? 

Thanks in advance.


Retail Kits and Automatic Assembly Order Creation from Sales Order

$
0
0

It seems that not a lot of people have used the Retails Kits part of AX, but I'm finding that it could be very useful if it works the way it is supposed to work.  I have a specific question for anyone who has worked with this feature.  On TechNet, there is a statement "Enter any additional information to the sales order, and then process the sales order to automatically generate the assembly order for the kit products.", which should be the key statement to getting an Assembly Order to be automatically created, but it is not. Or at least it is not informative enough to tell me exactly what "Process the Sales order" means.

I have read through a lot of different information on TechNet and I feel that I must be missing some background process or a setting that isn't allowing the Assembly Order to be automatically generated.

The steps I reference above come from this site:

http://technet.microsoft.com/EN-US/library/dn497729.aspx

As always, any help, suggestion, or resource is greatly appreciated.

Right now I'm trying to get this to work in the Dynamics AX 2012 R3 Demo environment, in case that helps anyone with suggestions.

Moving items in warehouse

$
0
0

One of my warehouses (WA) contains several items, I decided to create a new warehouse (WB) to include some items from WA.

I can easily tag several thousand items that are needed to be moved from WA to WB. How can I do this batch process in AX 2012 R2? 

AX SSRS DS is Missing a New Field

$
0
0

Happy Friday,

Working on some enhancements for Fixed Asset Balances report by adding two fields. Added one new field UsedFromDate to the AssetBalances view, which was already in metadata's child table. Back in VS when I go to edit DS through the "Select a Microsoft Dinamics AX Query", I don't see the new field. 

I also tried this solution without any luck: https://community.dynamics.com/ax/f/33/p/107669/224909.aspx

Thanks

Error: object reference not set to instance of an object in managed code

$
0
0

I am facing an exception "object reference not set to instance of an object" when I run my C# managed code from AX 2012 though batch process.

It Works then execute the process though ax client.

Here´s the code:

public static void processSalesLine(SalesLine _salesLine)
{
	Decimal qtyCounter;
	Query query = new Query();
	QueryBuildDataSource queryBuildDataSource = query.addDataSource(Global.tableName2Id("CustTable"));
	QueryFilter queryFilter0 = query.addQueryFilter(queryBuildDataSource, "AccountNum");
	queryFilter0.Call("value", _salesLine.CustAccount);

	qtyCounter = 0;
	
	QueryRun queryRun = new QueryRun(query as object);

	while (queryRun.next())
	{
		qtyCounter++;
		CustTable custTable = new CustTable(queryRun.getNo(1));
		Global.info(String.Format("Interop_AccountNum:{0}",custTable.AccountNum));                
	}
}


 
The exception occurs at line: (Only when executing in batch)

QueryRun queryRun = new QueryRun(query as object);


 Is there any other way to create queryrun object based on query via managed code?

Any ideas? Thanks in advance.

AX2012 R2 combo box display/refresh issue

$
0
0

Have this strange issue on AX2012 R2 with the latest kernel. A drop down list (combo box) display fine, but when I select a value part of the box remains on the screen. Example below.

Has anyone else seen this issue? Any idea what the cause is?

Viewing all 73760 articles
Browse latest View live


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