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

Product receipt for PO with Letter of credit

$
0
0

I have apply charges of freight on line of Po for letter of credit and try to receive the product.

following message appear.

"The total amount (550.00) of the product receipt for order SLM-PO-000000385 is not equal to the shipment amount (1,150.00) of letter of credit shipment "

Please suggest if some know about this error.

Regards


Unable to Overwrite Table Due to Indexes

$
0
0

Hi,

I created an Index on a particular table (i.e. Table1) which is more than the maximum number of fields. Because of that, I cannot able to access nor overwrite (via AOT/XPO) Table1 in which it causes the AX client to crash. The following error after I DB sync The index 'I_366DELIVERYIDX' on table 'DBO.SXXX' has 54 columns in the key list. The maximum limit for index key column list is 16.

Vendor Invoice

$
0
0

HI

When I try to post a vendor invoice, this message appears (Changes have been made to combination 1104.........- since the combination was last used.  The combination must be re-validated to be used.)

What is the solution to this error!

Hide Report Header Logo Based on Copy Preview

$
0
0

Hii All,

I'm new to AX reporting, How can I hide Sales Invoice Header logo at time of printing copy preview ?

I want to print header logo only at original preview button.

Movement journal post

$
0
0

HI

When I try to post a Movement journal, this message appears ( The check journal ...........job is added to the batch queue )

What is the solution to this error !

Generate Multi selected Journal's detail report

$
0
0

Hi,

Well I am trying to create a picking list consolidated report by selected multi picking list journal any idea ho to pass selected journal numbers to RDP class.

Regards 

Change query range runtime

$
0
0

hi 

I have a AOT query with 1 datasource. I want to change the query range if projid='' and serviceId !''.

In the datasource init() I have this code, but I dont get the required result.

public void init()
{
    QueryBuildDataSource        qbds;    
    QueryRun                    qr;
    
    
    super();
    
    qbds = this.query().dataSourceName('ServiceInvoiceLine_2');
    qr  = new QueryRun(this.query());
    
    while(qr.next())
    {      
        if(ServiceInvoiceLine_2.Projid != '' && ServiceInvoiceLine_2.ServiceOrderid == '')
        {
            qbdsTimeLine.addRange(fieldNum(ServiceInvoiceLine, ServiceOrderid)).value('!""');
            qbdsTimeLine.addRange(fieldNum(ServiceInvoiceLine, Projid)).value("");
            qbdsTimeLine.addRange(fieldNum(ServiceInvoiceLine, jobid)).value('!=""');
        }
    }
}


Full Compile Failed With too many Errors in System Default Classes and Tables

$
0
0

Hey There,

i was trying to add a new Method to the DEV Environment, so i followed a solution suggesting adding new method to global class so i did so, After that errors started to appear as it all refers to Assembly Problems, i followed solutions on community refers to delete files from XPILL and full compile , but full Compile Shows around 497 Errors in system default Classes and tables, when i ignored the errors and continued to Compile Full CIL , it shows 15 Errors with cannot save assembly info.

even the same scenario appears after deleting this method from global class.and trying to do Full Compilation.

Please Support.


MovementJournal Workflow

$
0
0

Hi Guys,

I am trying to optimize the workflow for movement Journals in AX 12, below are my final requirements to close the subject.

1. If I suggest a change request in the workflow and assign a user for change request, only that particular user should be able to edit the lines in the movement journal where for all other users the line shouldn't be editable.

 

2. I need to add a button named Request change  in the movement journal form, which should be active only if the status of the journal is approved and when we click on this button it should reset the workflow and the status of the journal should change back to Not submitted.

3. Whenever I am using below option the journal created for the error lines has the status same as the original journal(Normally Approved). I need the Journal to have the status Not submitted.

Can someone help me to achieve the above. Please let me know the classes or other objects where I can play and let me know how the code should be if possible.

Thanks 

Transaction date must be specified - Retail Sale

$
0
0
Hi, I'm trying to do a sales order using the Call Center feature that let use some functions of retail directly on Ax, specificaly I want to use a mix and match discount, for that I followed the instructions from this blog (guyterry.wordpress.com/.../mix-and-match-discount)  Everything is ok until I try to invoice it and this error shows up:
Posting
- Sales order: XXXXXXXX
(X) Transaction date must be specified.
(X) An error occurred during update.
I searched in many pages and blogs but I can't find any solution, anyone have an idea how to solve it?  I'm using Ax 2012 R3 CU8.

compatibility between ax 2009 and sql 2017 ?

$
0
0

Hi.

we have AX 2009 and SQL server 2017 recently installed . i'm wondering if  it's possible to run AX 2009 on SQL 2017?

If not can we downgrade frome Microsoft standard SQL 2017 to SQL server 2012 if it can work with Ax 2009.


thank you

FormA closing automatically

$
0
0

Hi Friends,

When a formB is opened from formA after updating some records am closing formB while closing FormB automatically FormA also closing. I don't want to close formA, it needs to be remain same. 

Thanks in advance.

Read an Excel File from a Batch Job (SysOperation)

$
0
0

What is the best, relatively simple, way to approach reading an Excel file from a batch job?

Is it possible to create a C# project and run that in a server-based batch job?

Is there any way to schedule auto restart of AX2012 services on timely bases?

$
0
0

Hi All,

how to schedule auto restart of AX2012 services every week/month , without doing manually,

Kindly advise.

Unable to preview SSRS reports from Visual Studio 2010 for Dynamics AX 2012 R3

$
0
0

Hello All,

I cannot preview the SSRS reports from the Visual Studio 2010.

I get this following error:

"Unable to preview the report, install the Business Intelligence Development Studio feature of Microsoft SQL Server. For more information, see go.microsoft.com/fwlink."

I am already install the SQL Server Data Tools because I use SQL server 2012 as database, but the error still come.

I am using 2 server for dynamics AX 2012, First contain the database (SQL Server 2012) and Business Intelligence Components and the other server contain the AOS and client component.

Can anyone help me?


Measurement unit - Category

$
0
0

Hi All, 

We have a different unit of measurements such as gallon and tons.  We would want to set up the system to reflect such measurements.  If I buy and sell using category, does the unit of measure work the same with Category as it would with the item? Is there any unit of measure that won't work with Category? 

Reports error: Dynamic Packed query not found?

$
0
0

Hi, im trying to pull a fix asset balance report but instead it shows the following error dialog box: "Dynamic Packed query not found"

PS:

the repot is using SSRS.

what can be the problem?

Workflow and Emails are not working automatically in MS Dynamics 2009

$
0
0

In Microsoft Dynamics 2009.

I have some issue on Production server, due to some reason, the C drive got full and AX application stopped working (AOS service got stopped).
The AOS service was getting stopped automatically even I start it manually.

After the server restart, the drive got some space after sometime, AX application worked (AOS service ran normally) , but from then Workflows and their Notifications and Mails from the system have stopped sending from system.
The workflows are showing just "Workflow activated" in Tracking details of workflows that are submitted after the issue and they are not getting processed further.

The Emails is Email Sending status are in Waiting state.

I have to run the Tutorial_WorkflowProcessor and Batch Jobs for Emails manually to make workflows to process and send Workflow Emails from the system.

Please guide on how to make Workflows and Batch Jobs work automatically.

Download Sessions Form in Retail Module,how Data is populating

$
0
0

Hi Friends,

In Retail Module There is Download Sessions Form,where Data is populating .

But how this Form(Down Sessions Form) is getting populated.

Error executing code: Wrong argument types in variable assignment.

$
0
0

I have  duplicated the table of PurchLine and set it in the properties as tempDB. I've created a new form, and put as a datasource the temptable. I've deleted all methods and most of the fields of the tempDB which i got after the duplicate. So, I've put some of the fields to the grid of the form. Took the form and put it in a menu item/ display, and actually put the menu item I've created at the action pain of an existing form in AOT (PurchTableListPage)

I have this task where I need to open the PurchTableListPage and if select a PurchID and click on the button I've created earlier, it has to show me the form I've created with all the data of that PurchID. all this data are from PurchLine. 

here is my code 

public class FormRun extends ObjectRun
{
NewPurchLine temptable;
PurchLine purchline;
purchId purchId;
}

public void init()
{
super();

PurchLine = element.args().record();
//take with args the header / purchId.....
temptable = this.populatetmpdata(purchline.purchId);
NewPurchLine.linkPhysicalTableInstance(temptable);
}

public NewPurchLine populatetmpdata(PurchIdBase _Purchid)
{
NewPurchLine tmpTable;

while select purchline
where purchline.purchid == _Purchid
&& Purchline.PurchQty >= 20
{
tmpTable.PurchId = purchline.PurchId;
tmpTable.PurchQty = purchline.PurchQty;
tmpTable.ItemId = purchline.ItemId;
tmpTable.Name = purchline.Name;
tmpTable.PurchPrice = purchline.PurchPrice;
tmpTable.VendAccount = purchline.VendAccount;
tmpTable.Insert();
}

return tmpTable;
}

any idea of where my mistake is? 

I get this error when I click the button on form:

Error executing code: Wrong argument types in variable assignment.

Stack trace

(C)\Forms\NewForm\Methods\init - line 5 // newForm is the form I've created
(C)\Classes\SysSetupFormRun\init - line 3
(C)\Classes\FormFunctionButtonControl\Clicked

Viewing all 46681 articles
Browse latest View live


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