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

Error While Posting PackingSlip in Ax2012

$
0
0

Hi,

An error occurred during the posting of packing slip via sales order . This might be because of updation. I've done posted this packingSlip through code but still same error occurs.

Error:

Posting has been cancelled.

An error occured during update.

Can anyone suggest a solution. Would be helpful.


error on sales invoice posting "remote certificate is invalid according to validation procedure"

$
0
0

Hello,

We'r getting attached error on sales invoice posting. However, invoices get posted successfully but somehow this error comes up everytime.

Any idea what could be the root cause of this?

How to debug EP User Control from Visual Studio 2013

$
0
0

Hi everyone, I'm trying to debug a custom user control on EP but The breakpoint is never hit. 
I followed the instructions on https://docs.microsoft.com/en-us/dynamicsax-2012/developer/how-to-debug-user-controls and I already ticked "Interact with desktop" on w3wp service.

I already ensured I'm connected to the correct environment by adding a new user control and web sub module and everything works fine, the IIS, EP, AOS server and client are on the same server. My visual studio version is 2013 and I unchecked "Just in my Code" on Debug Options. I put a breakpoint on visual studio first and then attach to process on Debug Menu.

The only thing that makes me confused is my visual studio only shows managed(v3.5, v3.0, v2.0). but All instructions on internet tells me to attach to Managed(v2.0, v1.1, v1.0). Does this make any difference?

AIF Integration Errors

$
0
0

Hello,

i have C# application which will connect AX through AIF. when i try to access data from AX using AIF services. below was the error actuallu logged by my application. any one please let me know how can this can be resloved.

Error details:

AifRequestProcessor-processServiceRequest    Cannot create a record in Document Table (AifDocumentLog).

AX Inventory unit

$
0
0

On AX if I processing on hand report i need the item description added to the report how can I do that

ssrs reporting to use AG secondary replica

$
0
0

Hi ,

Can anyone please put forward if there is any possibility to route the SSRS reporting from the AX to AG secondary replica, in order to balance the load 

thanks,

nvp

how to hide cost price from on hand form for sales persons (AX 2012)

$
0
0

hi,

My company is using Ax 2012 R3, now a days i am creating security Roles. currently i created Sales Role, but i am facing issue during hide the cost price from On-Hand form and *View detial* option is not coming when i right click on the form. plz guide me how to do..

Thanks 

Image in data provider class

$
0
0

I'm creating an SSRS report in AX 2012 R2. One of the requirement is to display an image in the report.

I'm trying to use Image class in the data provider class, so I wrote something like this:

Image image;

image = new Image();

When I preview the re


AX Query how to add mutli-DataSource

$
0
0

Hello,

My SQL is

select P.ATMA_SUBCONTRACTORVENDOR , PJ.ORDERACCOUNT ,P.PURCHNAME ,V.TAXGROUP ,V.PAYMTERMID ,V.CURRENCY , PJ.PURCHID ,PL.LINENUMBER , PT.ITEMID ,PT.NAME ,PL.PURCHQTY ,PT.QTY ,PL.REMAININVENTFINANCIAL , P.INCLTAX ,PL.PURCHPRICE ,PJ.PACKINGSLIPID ,PJ.DELIVERYDATE
from ((VENDPACKINGSLIPJOUR as PJ left join VENDPACKINGSLIPTRANS as PT on PJ.RECID = PT.VENDPACKINGSLIPJOUR) join (PURCHTABLE as P join VENDTABLE as V on P.ORDERACCOUNT = V.ACCOUNTNUM) on P.PURCHID = PJ.PURCHID) join PURCHLINE as PL on P.PURCHID = PL.PURCHID and PT.ITEMID = PL.ITEMID
where P.ATMA_SUBCONTRACTORVENDOR=1 and PJ.ORDERACCOUNT = 'TP011' and PJ.DELIVERYDATE >= '2018/11/20' and PJ.DELIVERYDATE <= '2019/1/20' and PL.REMAININVENTFINANCIAL <>0
order by PJ.ORDERACCOUNT,PJ.DELIVERYDATE

Please help to build the AX Query.

Thanks in advance.

Br, Jen

This line has withholding tax. To change the amount to pay, enter corrections in the Settle open transactions form.

$
0
0

Hi,

I have recently done the setup of withholding tax in my system.

I am trying to create a vendor payment journal and have selected the relevant invoice. The withholding tax has also been calculated. But I want to make the partial payment so when I am trying to manually change the line amount I am getting the below mentioned error.

"This line has withholding tax. To change the amount to pay, enter corrections in the Settle open transactions form." 

I also want to ensure that the withholding tax calculation is for the partial amount.

I am facing the similar issue when I am trying to make prepayment.

Additionally, I also want to know is there any way to handle the below mentioned scenario :-

Invoice amount = $1000, partial payment = $ 500 but I want withholding tax to be deducted on the entire invoice amount while making the first payment.

The change based alert batch job error

$
0
0

Here's something new to think about.

We run the change based alerts batch job every 5 minutes daily.

On 28/01/2019 it ran in total 50times, 5 of these failed (status Error).

Full infolog output:

Infolog for Job Change based alerts (5637243922)

Infolog for Task Change based alerts processing task (5637187592)

Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics.

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.

  at Microsoft.Dynamics.Ax.MSIL.Interop.createRunAsSession(String userId, String company, String language)

  at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runas(String userId, Int32 classId, String staticMethodName, Object[] parms, String company, String language)

  at Dynamics.Ax.Application.EventJobCUDTask.Run() in EventJobCUDTask.run.xpp:line 24

  at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 50

  at BatchRun::runJobStatic(Object[] )

  at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)

  at BatchIL.taskThreadEntry(Object threadArg)

We have just started the AOS (during production hours, it's a stretch to take the system out of operation to do a CIL compile).

Since the restart the job has run 6 times with success and failed once.

Note that we did a full compile (Admin > Periodic > Compile Application), CIL compile, and AOS reset last week and this batch job was still failing (3% of the time on 28/02/2019).

Any help on this ?

Regards,

Rahul Singh Rathod

Batch Job execution

$
0
0

Dear All, 

Required your support related to below queries.

a) Is there any way to prevent same batch job is getting executed in parallel?  

b) If a scheduled job is not finished within the recurring pattern, will it run another instance after the specified interval?

for eg: Batch A  is configured to run every 5 minutes & started at 08:00 & didn't finished 08:05, will it start second instance without waiting for the fist instance to be completed?

Thanks

Asif

Journal Entry data export

$
0
0

Hi,

I am relatively new to this software and i have the task of exporting the data below for the whole fiscal year, but I find it hard to identify which tables i need to add to get the required fields. Could someone help me? 

 

general ledger account number

account type (mechanically / manually)

description / text

posting date

document type

debit amount in local currency (or

amount with debit/credit sign)

credit amount in local currency (or

amount with debit/credit sign)

VAT key and amount

entry date and time

key or name of the person responsible for the posting

overview of the system users

posting number (document number)

document type

manual or systematic posting

foreign currency key and amount

document date

reverse indicator

periodic allocation

reversal account number

Budget - received PO effectively double accounted against budget.

$
0
0

I have raised a Purchase order for dimension value: 7301100-LVD-1000F-CPROFF-NONIS for R 17,000.00.

 As per below please find a screenshot after the Purchase order was confirmed – encumbered amount was correctly created.

As per below please find a screenshot after the Purchase order was received – actual expenditure was created but the encumbrance was not cleared – effectively double accounted against budget. 

As per below please find a screenshot after the Purchase order was received – actual expenditure was created but the encumbrance was not cleared

Reading Excel files with different data types in same column

$
0
0

Hi 

I have to read excel file,

i can able to read string data with below code

conValue[recCount] += cells.item(row, fields[15]).value().bstr();

& i can able to read int data with below code 

conValue[recCount] += cells.item(row, fields[15]).value().double();

if i use

if(cells.item(row, fields[15]).value().double())
{
conValue[recCount] += cells.item(row, fields[15]).value().double();
}
else
{
conValue[recCount] += cells.item(row, fields[15]).value().bstr();
}

 

then few times sting values are are getting skipped while reading.

 

In my case i have both int & string values to be read.

please suggest how to read data of any type in excel.

 


Force Table Sync to create default constraints

$
0
0

Hi

After Datamigration from R2 to R3 we encountered that some default constraints are missing. It looks like fields on AX with deactivated config key, but existing on SQL, raise "cannot insert null into column x" on processes. If the constraint is created, all works fine. The AX table sync does not create constraints for existing fields. After dropping those on SQL DB, sync will create all correct.

Creating constraints manually or dropping fields regarding the amount of tables will consume a lot of time. Is there a way to force AX sync to recreate default constraints? Or may another workaround?

Thanks for help

Jan

Fetch filtered data on class to export data on excel

$
0
0

Hi all,

In a formA an "Export to Excel" button is added to export some particular fields  ,this button is connected to a menuiten MenuItemA(action) . The code to export is handled using a class ClassA. There can be 3 scenarios:

1. Without selecting any record the user clicks "Export to excel" - all the records are fetched in an excel sheet 

2. Selecting a few records the user clicks "Export to excel"- the selected records are fetched in an excel sheet( code done using form data source anymarked() method)

3. User filters data on one field (using ctrl+G ) and clicks "Export to excel"- the filtered records are to be fetched in an excel sheet.

How can we achieve this third scenario? (the rest 2 are done)

Changing sales line price on EPOS through code

$
0
0

I have a requirement to customize the EPOS "add-item" functionality.

Usually adding a item to a sales transaction result in price and discount is added, which is fine. However when returning a item without receipt we want to avoid searching for custom prices and discounts and just use the default item price.

Question is how would you go about doing this. I have investigated quite a bit and it might be the easiest to just let the standard functionality find the custom price/discount and then revert the price to the original price, but I would rather skip the search for custom price and discount. Any thoughts on how to proceed?

Test area field doesn't appear in Test Instruments form

$
0
0

I have Dynamics AX 2012 R3 CU9, in Inventory management > setup > Quality control > Test Instruments 

only the following fields available:

Test instrument, Description, Unit, Precision

Test area field doesn't appear in this form

i review many videos test area field is available in test instruments form but it not appears in my AX test instruments form

May i have some help for how can make this field appears in  Test instruments form?

Display item cost with different calculation methods!?

$
0
0

Hi All,

Is there any way to display item cost with different calculation method however the item currently use standard cost ?

example 

item use standard cost 100 USD

let's say i purchase this item twice 

- first purchase order with cost 110 USD and quantity 1

- second purchase order with cost  120 USD and quantity 1

The current calculation method is standard cost which is 100 USD in all reports 

what i need is to display the item with average cost calculation in any report or form which is (115 USD) 

Viewing all 73760 articles
Browse latest View live