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

Global Application Class Variable is null

$
0
0

Created an AX 2012 R3 project (below) that utilizes Print Management functionality to email an individualized Payment Advice to each vendor within a journal batch.

After the initial testing in our dev environment the code was moved UAT where it passed user testing.  Next additional acceptance testing criteria passed in Production Staging, and finally the code was deployed Production.  However, it failed to calculate a payment amount for the Info box message, Control report and the Payment Advice report. 

The initial debug run revealed an interesting result.  At the first breakpoint the Global Variable APPL appears uninstantiated?

This is not the case in all three previous environments Dev, UAT, and Staging.  The Production environment is different only that it has three AOS’s.  Could this be contributing to the problem?  How and where (server or client) can the APPL  be initialized. 

                                    

I much appreciate any help on this issue.

Thanks to all.

Rodney


Is it possible to modify same AOT object in both usr and cus layer?

$
0
0

Hi All,

Is it possible to  modify same AOT object in both usr and cus layer (eg:forms-accountant_br). can i modify the example form in usr layer and cus layer is it possible?

Thanks,

Phani

Reservations derived from projects is not included in capacity production resource D365 FO

$
0
0

Hi,

is the capacity reservations derived from projects is included in capacity production resource ? is there a link of reservation resource between production order and project ?

I booked a resource in my project but i cannot see the project activity in capacity reservation linked to this resource ? i saw only production order reservation

thanks

Cannot create a record in Products (EcoResProduct). Product number: ####### : : : # :, product_name. The record already exists. Importing Variants AX2012

$
0
0

Hi All,

I am having issues importing Variants[Color] trough DIXF in AX2012. Some variants are being imported correctly and some are not.

Error e.g: Cannot create a record in Products (EcoResProduct). Product number: 15899011 : : : D :, toppainting8888 R.
The record already exists.

When looking trough the issue.. in the EcoResProduct table everything is imported as well as in the EcoResDistinctProductVariant table . but I don't understand why some items have their Variant[Color] properly referenced and some just not. 

real example import :

from DIXF (two different items+variants):

From EcoResProduct

Both seems like they were imported just the same way (looks normal). but when I open the Variants(Color[Rev.]) form  from the the Released Product Form; the 15949005 :  :  : B : is not showing any reference to the B color. I don't get it why

How is that is was already imported as the error says ? just don't get it... your help woulb be really appreciated

Dynamics AX 2012 Enterprise Portal Receipts Error

$
0
0

When trying to upload receipts to an expense it returns a permission error message, any ideas what might cause that? I've tired looking everywhere, it works fine in Production, just having issues in UAT.

How to get product categories for released product

$
0
0

Hi Everyone,

Im aware that there is no report to display Product Categories for Released Product.

My concern now, how do i get items list with it product categories?

What table that i can use to get those data?

Thanks

Automatically create purchase requisition and convert to purchase order when raw materials are missing or below quantity

$
0
0

Hi, i would like to ask about is it required to code for automatically create purchase requisition and convert to purchase order when raw materials are missing or below quantity? I would like to have a function which when i make sales order, the quantity of certain raw materials are missing or below. system will automatically create new purchase requisition and convert to purchase order. 

Have a nice day and thank you. 

Best Regards. 

Shi Min

ZIP File Creation without XML

$
0
0

Hi 

I want to create the ZIP file . I have use SysTaskRecorderPackageZip i am able to get the zip file but i am geeting XML file also i donot want that . 

Is any other way to create the ZIP File without XML . 

Thanks 

Pushpendra singh


Invoice report, send by e-mail ( pdf attachment) broken.

$
0
0

Hi,

One of Our workers recently reported that the reports generated by the pdf, when She tries to do it the usual way (open raport -> print -> send by e-mail, choose PDF there ), the attached file is corrupted(weights only 4KB), this only happens for one customer in one company. In Our parent company, on the same server this customer works fine(although this I suppose is totally different record in the customers, since its different company, so it doesnt really matter). Also this happens to everyone in case You wanted to know.

What could be the possible cause of this problem and how to fix it?

Best regards, Emil.

WBS Multiple users edit framework from AX 2012 missing/changed

$
0
0

Hi,

Our company is using AX 2012 R3 and are in the process of upgrading to D3565 FO. Currently there is a business requirement for multiple users accessing and editing a single WBS and in AX 2012 there is OOB framework to show if another user has a WBS open and is editing it and actually displays which user it is.

This functionality is very important to how tasks flow in our business. There can be one user changing a status while another user would be updating other information for the same task.

Initially seeing the Draft, Show differences, Publish, View published functionality using the new ProjPlanVersion table and associated WBS schema data entity we thought that using some combination of the new functionality would account for the scenario of multiple users needing to edit a WBS at the same time.

However after having two different users try making changes at the same time to the same WBS, editing, saving, publishing and refreshing, all different combinations it appears that the D365FO does not account for multiple users editing the WBS like it did in AX 2012.

Is there a suggested resolution to this or some documentation explaining how the new functionality is intended to account for this circumstance? 

Thank you,

Bill 

How to give

$
0
0

A table has two fields. one is "empcode" and other one is enum "Gender" which has 2 values say "Male" & "Female".

If there is one record with empcode "0003" of gender "Male" in the system. When user tries to create one more record in system with same empcode  "0003" and same Gender "Male" then, system should not accept it. 

How to write the code so that it throws error message "Record already exists".

But if empcode is same and Gender is not same then it should accept.

 

How to added multiple values in single dialog field

$
0
0

Hi All,

I created simple dialog class in working fine. Please find the below screen short .

Issues :Already " Package Type " is first dialog ,in that   I need one more field like Description.Pls find the Table values screen short  

       Dialog      dialog;
        DialogField dialogField,dialogField2,dialogField3;
        DialogGroup dialogGroup;
        EcomPackBoxType   PackageType;
        Description255      Description;
        EcomPackBoxTypeMaster ecomPackBoxTypeMaster;
        ;
      
        dialog = new Dialog("Customer info");
             
       
        dialogField = dialog.addField(identifierStr(EcomPackBoxType));       
        dialogField2 = dialog.addField(extendedTypeStr(Name),'Recommended pack size');
        dialogField3 = dialog.addField(extendedTypeStr(Amount),'Calculated weight');
     
        dialog.run();
      
        if(dialog.closedOk())
        {
            // if click ok button they will get and display user value
            info(strFmt("%1",dialogField.value()));
        }

AX TEST 2012 dynamics

$
0
0

what is the differ btween relase product and product master? 
what is the default variants in the system? 

what is the differ btween doing inventory from movment journal insted of to do it from so and po 

Error:A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

$
0
0

Hi AX Community,

Getting error when I run Bill of material report only.

A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Rearrange/Move grid column control layout

$
0
0

Is there a way to change column position by X++ code?

I created one field in grid by code

formBuildGroupControl = element.form().design().control('Grid');
formBuildStringControl = formBuildGroupControl.addDataField(formBuildDataSource.id(), fieldNum(MyTable, MyField));
formBuildStringControl.name('ValueColumn');

adn the other one is created by AOT:

My problem is that the "InvoiceAccount" field appears in the first place on the grid, and the field I created appears in the second place.
My goal is to find a way to move "InvoiceAccount" to the last place on the grid.

The last thing I would like to do is move the code, because I also work on standard code which also creates dynamic fields. The best solution for me would be to move this one field, instead of 5 dynamic fields.

I was looking for a solution to the problem in "FormBuildStringControl", unfortunately there is no method there that could help me.


Fixed Asset has Value Model status 'Not yet acquired' although the asset was acquired in December 2017.

$
0
0

Hi Guys,

Need your help regarding an issue. A fixed Asset shows value model status as 'Not yet Acquired' although the asset was acquired three years back. Also the fixed asset appears in fixed asset acquired list page. So confused how this could be possible. 

How to calculate By /CO Product TCA burden cost (Per precent, Per Series and Per Qty)

$
0
0

Hi, Can you explain me what is the benefit of TCA than Manual cost allocation.? And also pls let me know how is the AX calculate TCA burden cost for,

I. Per Percentage.

ii. Per Qty

iii. Per Series.

Since I am new to dynamics AX,If you can explain me through  calculation formula, highly appropriate .tq

Warning while cancelling a voucher

$
0
0

Hi Guys,

While Cancelling a voucher in Invoice Approval Journal in AP getting the following warning.

Field "Reference" must be filled in

Field "Supplier Account" must be filled in

But Reference field is not present anywhere and Supplier account is filled already, so don't know why this warning is propping up. If anyone encountered this issue before please let me know how to resolve it

Thanks

New to AX

$
0
0

I am new to using AX 2012 coming from an SAP background. I need a manual or guide that can help me navigate the tool. 

I am a finance analyst and will be working with product cost, production, pricing, discount, treasury- FX rates, procurement,  trial balance etc. I am looking for a step by step tool that will help me navigate.

Thank you

Chinenye

same tax code to different countries in d365

$
0
0

Hi,

How to set up single tax code to multiple countries, Is this possible?

Thank you,

Sujatha

Viewing all 175888 articles
Browse latest View live


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