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

Disable mode of delivery

$
0
0

Is there a solution to disable mode of delivery ?

I want user can't select it in the sales order again. 


RE: Dynamics AX for Garment manufacturing companies

$
0
0

The number of BOMs and variants you mention is not large for a product like Ax.

You have copy bom feature, measurement bom feature, product configurator etc.

It does not sound scary.

RE: Lookup for a Dialog field in Dialog

$
0
0

Hi Ievgen,

I have created a new class

But when i change in radio button.the dot is styaing in first element.it is not selecting if i select vendor.

If i made change The look up is coming.

Please find the below screen shots and please rectify it

I am getting Vendor..But the Dot is not changing to vendor.

I have done somewhere wrong.

Please correct it.

Thanks.

Have a great day Ievgen.

RE: Create coupon with conditions

$
0
0

Not directly. Ax tends to work the other way i.e. it assumes the customer will get the best deal of available discounts however you want to choose the lower of 40% or 200.

Maybe set up a simple 40% discount, with a margin alert that's top sales if margin is too low,  (See Call centre) and then use Price adjustment to a maximum discount of 200.

RE: Create coupon with conditions

Create coupon with conditions

$
0
0

How to setup 40% discount of net amount but isn't greater than 200?

I need define new type of coupon whit this conditions :

40% of net amount but < 200

I defined it, but it didn't work correctly 

RE: Lookup for a Dialog field in Dialog

$
0
0

Hi AX 2012 r3,

It looks for me a bit wrong.

1) Be specific in class names. "Dialog lookup" is too general and does not reflect purpose of this class.

2) You can use "description" method to set caption, please refer to tutorial_RunBaseBatch class.

3) Why do you need to override lookup if you have 2 controls ? You have it out of the box. When I suggested lookup override I was thinking about lookup that shows vendors or customers depending on radio button, but 2 controls maybe a solution as well.

4) You completely missing pack, unpack and variables in class declaration, please refer to tutorial_RunBaseBatch class.

5) I don't understand what are you trying to do with "i" and "j", code should look like:

if (dialognew.value() ==  Persn::Customer)
{
    ...
}
else
{
    ...
}


RE: Fixed Asset

$
0
0

Hi lally,

The net book value of your fixed assets (for example vehicles) can be obtained by adding all balance sheet accounts that belong to this fixed asset group.

Yet, to be honest, I don't know many people doing that because you can get those values much faster and easier from the fixed asset statement reports.

Regarding the company and tax question, this depends on what you want to achieve. If you want to calculate fixed asset values according to local GAAP then you will make use of a single value model. If your tax authorities have different fixed asset accounting rules you can apply a second value model that calculates the fixed asset tax values. As an example, take a company car that can be depreciated over 5 years according to local GAAP but where your government requires to depreciate it over 8 years. In this case you will have 2 value models setup that allow you identifying the GAAP and the tax value.

Does this answer your questions?

Best regards

Ludwig


RE: cannot create temporary file. the disk may be full.

$
0
0

hello martin

Which folder should i check for the number of files ?

RE: odd behaviour with a custom SSRS report

$
0
0

Eric,

Glad you got the rendering figured out. In some cases we just elected to output as Excel which allows users to work with the results.  For heavily formatted reports we still use Bottomline or migrate the AX 2009 report to 2012 r3. Thankfully they don't take too much to get running.

Still not sure why Microsoft chose SSRS. About 80% of the total conversion cost was redoing reports or recreating those that Microsoft deleted. In particular the one that caused us the most problem was the open accounts receivable statements. In 2009 it printed as one report which Bottomline formatted well. In 2012 it printed separate reports for each customer which became extremely difficult for users to handle, not to mention archive.

odd behaviour with a custom SSRS report

$
0
0

Hello everyone,

I've modified the cheque printing so it will spawn an extra report after printing the cheques. This new report uses the same tmpChequePrintout as its basis. I have actually copied the ChequeController/ChequeDP to perform the similar report initiliazing. The new report is always launched right after printing the cheques.

What's happening is the following:

1) output to screen works fine; new report is shown and layout is correct

2) printing to either a PDF printer or the physical printer only works right after restarting the AOS; it will never work afterwards

2.1) but the layout is a mess and  single page is spreaded across 12 pages!

3) trying to run the report afterwards will produce nothing when sending to the PDF printer (no error when tracing code) and will report the infamous "Settings to access printer 'PRTRXADM01 on impression (redirected)' are not valid."

If I can throw some technical details to enhance my chance of getting help, the programming I have done is as follow:

In the BankChequePrint class, method printDocument, after the cheques are printed, I call the new report:

case ChequeFormType::CAStyle :

this.runReport(menuitemoutputstr(Cheque_CA));

//new report not working

this.runReport(menuitemOutputStr(NewReportName));

// launching the ledgerJournal does however work

this.runReport(menuitemOutputStr(LedgerJournal));

BankChequePrint holds the temporary cheque table, tmpChequePrintout. Since this table contains what I need, I have duplicated the ChequeController class for the new report

class NewReportController extends SrsReportController

in the init method, I grab the bankChequePrint object:

bankChequePrint = caller;

The base framework will call the preRunModifyContract which will marshall the tmpChequePrintout to send it to the NewReportDP object.

protectedvoid preRunModifyContract()

{

SrsTmpTblMarshallerContract contract = this.parmReportContract().parmRdpContract() as SrsTmpTblMarshallerContract;

// get the Temp table, and marshall it across to SSRS

new SRSReportRunPermission().assert();

contract.parmTmpTableDataRecId(SRSTmpTblMarshaller::SendTmpTblToDataProvider(tmpChequePrintout));

// set the print destination in contract

if(printDestinationSetting)

{

this.parmReportContract().parmPrintSettings(printDestinationSetting);

}

}

The data provider class is extending from SrsReportDataProviderPreProcessTempDB and it has the following predefined contract:

[SRSReportParameterAttribute(classStr(SrsTmpTblMarshallerContract))]

Debugging the execution show no problem in passing the tmpChequePrintout table from the controller to the data provider. In the SRSProxy class, in the renderReportToPrinter, this line is where everything fails when sending to the network printer (and does nothing when printing to the PDF printer, success returns true!):

success = proxyObject.PrintReportWithPageSettings(reportPath,parameterValueArray,printerName,overridePrintContractSettings,deviceInfo,numberOfCopies,overridePaperSettings,pageSettings);

Thanks in advance for any suggestions,

Eric

RE: cannot create temporary file. the disk may be full.

$
0
0

c:\program files(x86)\microsoft dynamics ax\60\\client\\appl\standard\tmp\

RE: cannot create temporary file. the disk may be full.

$
0
0

ok so i checked the path that i got in the error

cannot create temporary file :c:\program files(x86)\microsoft dynamics

ax\60\\client\\appl\standard\tmp\$tmp 000803e8.$$$.the disk may be full.

but the folder appl doesn't exist ,

i could not go past

C:\Program Files (x86)\Microsoft Dynamics AX\60\Client

where can i find this appl folder , i even checked under client folder if it is a hidden file , it is not

RE: cannot create temporary file. the disk may be full.

RE: AX 2009 - Adding field from InventBatch table in InventOnHand form

$
0
0

Hi Sudeep,

Recently there was a similar question about adding a primary vendor related to an item. The form is build upon summed and grouped values. Not all fields are fetched, based on selections made to show specific inventory dimensions.

You have to change some logic to be able to get the correct values if the Batch is selected. It would be feasible, but probably a new form with inventory per batch would be easier for future maintenance/upgrades.


Adding field from InventBatch table in InventOnHand form

$
0
0

Hi,

I am unable to understand the feasibility of adding new columns on InventOnHand form.

Here I want to add 2 fields from InventBatch Table as ProdDate and ExpDate.

Want to know its feasibility, is it possible ?

If yes then how can we?

Thanks in advance.

RE: Reporting technologies for AX 2012

$
0
0

Hi Sean,

You have mentioned some options which usually aren't really secured well. In many cases read permissions are granted, having the database open for all queries; also very sensitive data. Using connections at least via the AX AOS, you will have better security. You haven't mentioned the details related to the queries and reports. A viable option might be creating reports within AX2012 or using Management reporter.

Can you share more details about your requirements?

Reporting technologies for AX 2012

$
0
0

I am currently about to figure out what is the best way to create customized reports for our AX 2012 data. We are a support center for more than 60 legal entities and creating lots of customized queries for accountants, the purchasing department and the management as well.

I would like to find a standardized solution for the future: what is the best way to provide all the data that the employees need? The following bullet points are just a few thoughts. I hope you can add your thoughts and suggest some ideas.

1. Currently we create queries in Microsoft SQL Server Management Studio, transfer these to Microsoft Excel and the users refresh these queries whenever they need updates. Sometimes we offer advanced Excel Files that include Excel Macros to perform special actions. Especially when the queries are very complex things can get very complicated.

2. We've also discussed using Microsoft Power BI for creating dashboards, customized reports etc. But as far as I know it's gettting really complicated if you want to create really tricky and sophisticated queries that include lots of tables and SQL-Joins.

3. I really like PHP in combination with SQL and I've got some experience with that from other projects. During the last months I was wondering if it would be an opportunity to use PHP to provide a central platform with all our queries with all the advantages of a web-based deployment. On the other hand this technique is far away from a standard. Almost nobody in our company will know PHP and how to use it. Furthermore it will be a lot of work to convince the IT / the management to set up a PHP-environment.

Thanks for any ideas / hints in advance!

RE: local VM 1611 Platform Update 3 upgrade

$
0
0

Hi,

Dynamics 365 for Operations Platform Update 4 is the core "kernel" upgrade. The Platform maintenance has some core application fixes/updates in addition. I haven't checked yet if the latest mentioned update also includes Platform Update 4.

RE: Ledger Account in Voucher of Posted project Transaction

$
0
0

Actually in My proposal invoice there are two lines. One is onaccount and another one is expense type. On account and expense both take onaccount - ledger account from posting setup of project module.

Viewing all 175888 articles
Browse latest View live