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

Creating a product configuration from a Sales line

$
0
0

Hi all,

I am struggling to create a product configuration (variant) as per the configure line button on the sales line/product and supply button on the SalesTable form.

I can access the list of “questions” from using \Data Dictionary\Tables\PCProductConfigurationModel\Methods\getXML however I want to not only read the default values but then also set them against the line.

 

Thanks in advance


Determining authorizations for accessing specific subject area-reports-category

$
0
0

new to supporting dynamics ax 2012. Recently migrated from Axapta 3.5. While I have figured out much in the way of granting access, some things are kicking my behind. For instance, I am needing to allow users access to procurement and sourcing-area page-reports-transactions-purchase receiving log. The users can see procurement and sourcing-area page-reports but not transactions subcategory and its underlying reports. I know from the AOT the table access needed is to VendPurchReceivingLog_NA, yet that is not a table I can find in tables under the AOT.

General thoughts on performance

$
0
0

Hello everyone,

Brief synopsis of your environment:

Ax2012 R2 CU7 with Tons of Customizations for our Manufacturing

Two AOS's set to load balance

Two SQL Node

1 SSRS

all running Server 2012 with tons of horsepower

We support 7 branches in the US via Citrix

We have around 250 employees using AX. For the last couple months we have experienced many AOS crashes and tons of general slowness inside of AX. The end users are complaining on the slowness when going from screen to screen inside the sales view(not POS) and inventory. All around they say everything click they make takes a while. We have multiple reports being ran daily, cant track down when or how big those reports are that are ran( they are not batched). We monitor the CPU and Memory on all of the variables in the environment, and lately the AOS's have been running around 15% CPU and 20% Memory.  We have noticed that when this occurs the system is really slow and is on the verge of crashing. I was just wondering what you guys have done to circumvent any performance issues within AX?

Our thoughts are to get another AOS and use it solely for reporting, and Upgrade to the latest version, hoping it gives us better performance.

What are your thoughts/ suggestions?

Table type in temporary table

$
0
0

Hi, everyone I have developed a report using rdp ...........there is some issue with the report that when I use tempdb as table type in temporary table ,than it show me wrong data and when I use table type as a regular than it shows the right value........I have already clear the cache from the table ,refresh report server and syslastvalue but that didn't work.....I had debug the RDP class as a table type regular it shows the right data & for tempdb I can't debug the class and I want to use tempdbas a table type . Any help would be appreciated .

Error: Debugger is not Installed.

$
0
0

Hi,

While I am trying to open a Report through Client Screen, It shows the Error like: "Debugger is not Installed".

Please, Give me the solution is it exactly problem with the debugger or anything else?

Thanks

Altering a query in runtime

$
0
0

Hello,heres  a scenario;

I have a query,which consists of some tables with some ranges and joins.In a form,I use this query,show it in a grid etc. no problem.

Now I want to add a button and a dateedit field to my form,and when the button is pressed, I want to refresh the query with the dateedit value.How can I achive that?

Currently tried the following but i get no results:

TransDate enddate;
Query q;
QueryBuildDataSource qdbs;
QueryBuildRange qbr;

enddate = TransDateEnd.dateValue();
q= InventTrans_1_ds.queryRun().query();
qdbs = q.dataSourceTable(tableNum(InventTrans));
qbr = qdbs.addRange(fieldNum(InventTrans,DatePhysical));
qbr.value("01\01\2014"); //hard coded for testing purposes.

InventTrans_1_ds.research(true);


Generating Invent Trans Record

$
0
0

Hello Community, 

Would it be possible to tell me when records are inserted into InventTrans Table during Confirmation and posting Of a purchase order?

and which classes, tables are involved during this process?

Thanks a lot for your help

Kind regards

Jihane

AX 2012 - Couple of questions - Layout & Functions

$
0
0

Hi All,

The company I work for are still using AX 4.0 and we soon will be in the process of upgrading to 2012.

I am captain among many others within the company reviewing the new versions and going through the new version to see how it functions, what functions we can change and etc ( As it is like coming from windows 95 to windows 8 ha )

Couple of questions

  • Why is it I seem to be able to only do explosions of productions orders at the planned production stage under the view tab, but the already released production orders at started the explosion button under view doesn't exist?

  • Printing router cards how do we do this? in 4.0 I go to the production order with the router to print by update>release> print (I get my router with the bar codes) How do i do this function within 2012 ?

  • Layout - Is there any possible way of making 2012 look like 4.0 or is that defiantly a no no 

Thanks for taking time to read this I am sure i will have many other questions I will post once they come to mind

Regards

Lexo


Data upgrade checklist

$
0
0

Hi,

I am upgrading from ax 2009 to ax 2012, in target system while running the launch data upgrade step, I ended up with many error, which is basically due to field and table mapping error I ignored while generating the  table mapping between source and target systems, now i wants to execute all the steps in data upgrade check list again like presynchronized, create table , table mapping and than again launch data upgrade, but first three steps already completed and I can not re-run it, can any one please let me know how to re-initialized these steps again ?

Thanks in Advance.

Freight invoice Detail issue

$
0
0

Hi,

Is anyone getting the following error "The invoice could not be submitted." when they submit a freight invoice detail for approval.

I have debugged and it seems to be with the TMS outbound service but haven't pinpointed the exact issue.

Please help if anyone had ran into this with AX 2012 R3.

Cheers,

Delta pre-processing script is running too long

$
0
0

Hello community, 

Recently I have ran into the following issue: 

While doing upgrade from AX 2009 to AX 2012 and running delta pre-processing scripts, there is updateExplodeZipCodeMapping() batch job running for almost a week. It works against DEL_AddressZipCodeUpgrade table, and as I can see the number of rows in the table is constantly increasing (it has reached 87119090 rows so far). 

Does anyone have any clues whether something in the job should be fixed or what could cause such issue?

 

Thank you in advance, 

Andrej

"Field 'Name' must be filled in". while creating hire new worker in Ax 2012 R3 CU8

$
0
0

Hi,

When I am trying to create new employee from Ax-> Payroll->employees->hire new worker in 

ax 2012 r3 cu8.

After filliing all fields when clicking on hire new worker it gives warning message

"Field 'Name' must be filled in". 

I tried to debug also but didn't get anywhere anything about this warning.

Kindly help me.

I am in UAT with client at onsite. Please help me at the earliest.

Thanks

Regards,

Rajeev Tiwari

View attendance history in Job registration?

$
0
0

Does anyone know of a screen an employee can go to view their time and attendance history within the job registration screen?  I have seen "Logbook" and "Balances" on their screens, but these both only show today's registrations.  They are interested in seeing previous days work.

In the Configure Registration forms screen I see one available called "Attendance overview", which looks hopeful, but I can't get it to display (maybe is a supervisor screen only?)

Rebates training material

$
0
0

Could anyone tell me the number of the training material for Rebates? I can't seem to find it in Sales and Marketing training material (80421_AX2012_ENUS_SAM.zip)

TIA

Sorting Accounts payable check by Vendor Name and not Account Number

$
0
0

We have just upgraded to AX2012 from AX4.0. In printing AP checks in 2012, is there a way to sort the Payment Proposal by Vendor Name rather than Account Number?

I have tried using the SORT tab on the Payment Proposal report, but when I added Name Control to the Sort Grid, nothing populated. The actual field name in the payment journal is Account Name - which is not an option in the FIELD selection - only Name Control or Name to use on 1099 is an option. If I select one of these options, I receive an error message saying the field is not indexed.

I have also tried to personalize the front screen of the payment journal to bring the Account Name to the grid. It would not work.

Any suggestions on how to have the AP checks sort by Vendor Name?

Thank you,

Grace Gillenwater

Landau Uniforms


Batch posting of large no. of Free text invoice is aborting some of the invoices with invalid records in SourceDocumentLine table

$
0
0

My query: Is this a know issue in Dynamics AX 2012 R2 CU7

Our environment is multi server (4 AOS)

  • What is the issue with error message

    Posting of Free text invoice is giving an error and invoice is not getting posted

    Error message –

    “The state of the source document or source document line could not be updated.”

  • How to rectify issue

    This issue can be rectified by deleting invalid records in SourceDocumentLine

    These are the steps to rectify the issue:

Take the Manual Invoice Id and find it in CustInvoiceTable.

Take the SourceDocumentHeader field value from CustInvoiceTable

Filter the records in SourceDocumentLine table using above found SourceDocumentHeader field value

This will give you all the sourceDocumentLine’s for the invoice

There you will find all the records in ‘Draft’ AccountingStatus

And some of the Draft status records will have SourceRelationType = 440, these are invalid records.

 

  • How to reproduce the error

    Create large number of Free Text Invoice, in our case we created about 2000 to 3000 invoice using AIF

    Once created we validated that SourceDocumentLine table related to these invoices are not having any invalid records

    Now start the posting of all the invoices using batch Job

    Once batch job completes it was found that some of the Free Text invoices did not got posted and are having posting issue show above error message

    When we validate sourceDocumentLine table related to these invoices it was found that invalid records got created

  • Error analysis

    We analysed batch job log, and we found that some of the invoices are getting with message – “Update has been cancelled.”

    Some other invoices are getting error message –

    “The state of the source document or source document line could not be updated.”

    As per our analysis it seems, while posting in a batch if any invoice gets error with error message “Update has been cancelled.”, then rest other invoice getting posted in same task also gets aborted leaving invalid records in the SourceDocumentLine table  

Trial balance report

$
0
0

Hi,
We generated the detailed trial balance and summary trial balance report few days back and found out that for certain accounts there is mismatch in both the reports. So we rebuilt and updated the dimension set or all dimensions and the report was working fine.

But today, the same issue has come up. Do we need to update the dimension set every time the reports will be generated? Is there a way to automate the rebuild and update process?

How can we update the values of previous cost, new cost and cost difference in Price margin update-lines (form) of commodity pricing in AX 2012 ?

$
0
0

Dear All,

  How can we update the values of previous cost, new cost and cost difference  in Price margin update-lines (form) of commodity pricing in AX 2012 ?

Regards

Dhanya

Automatic purchase order creation from batch

$
0
0

Hi,

I have added two new checkboxes- "Group by vendor" and "Group by buyer" in Purchase order creation and demand consolidation rule screen's Manual purchase order creation tab.

When Automatically create purchase orders radio button is selected, Run automatic purchase order creation as a batch job checkbox is checked along with these two new checkboxes checked, purchase order should be created.

But this purchase order should be created by grouping by vendor and buyer similar to how it is created when we Firm purchase requisitions by such criteria.

Please suggest me the code to be written for this in RequisitionPurchaseOrderGeneration class (it should be written there if I am not wrong).

Thanks in advance.

Create query with TEMP DB on exists join - is it possible ?

$
0
0

Is it possible to create query with table type TEMP DB ? My query works fine when table in exists join is REGULAR. After changing table to TEMP DB (rows to this data source is added) query didn't work.

This is my job:

    ttsBegin;
    //MyTableTempDB with TableType=TempDB
    MyTableTempDB.clear();
    MyTableTempDB.MyKey= 324;
    MyTableTempDB.insert();

    //query
    query                       = new query();

    //1 DS
    qbdsNormalTable          = query.addDataSource(tablenum(NormalTable));

    //2 DS but MyTableTempDB with TableType=TempDB
    qbdsMyTableTempDB = qbdsNormalTable.addDataSource(tablenum(MyTableTempDB));
    qbdsMyTableTempDB.relations(false);
    qbdsMyTableTempDB.joinMode(joinMode::ExistsJoin);
    qbr = qbdsMyTableTempDB.addRange(fieldNum(MyTableTempDB, DataAreaId));
    qbr.value(strFmt('(%1.Key == %2.MyKey)',
                    qbdsNormalTable.name(),
                    qbdsMyTableTempDB.name()));

    //queryRun
    queryRun = new QueryRun(query);
    while(queryRun.next())
    {
        NormalTable = queryRun.get(tableNum(NormalTable));
        info(strFmt("%1", NormalTable.RecId));
    }
    ttsCommit;

Viewing all 73760 articles
Browse latest View live


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