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

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

$
0
0

Posting a Packing Slip in AX 2012 R2 and Receive error:   Any suggestion would be helpful.

Posting

 - Sales orders:  SO00000603

- Item:  MyItem

X No account number exists for account type Cost for project MyProjectName

Stack trace is:

Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Dynamics.Ax.Application.FormletterService.Run() in FormletterService.run.xpp:line 217
at Dynamics.Ax.Application.FormletterService.Postsalesorderpackingslipproject(SalesFormLetterPackingSlipProjContract _contract) in FormletterService.postSalesOrderPackingSlipProject.xpp:line 14
at FormletterService::postSalesOrderPackingSlipProject(Object , Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeInstanceCall(Object instance, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.DictClass.Callobject(String _methodName, XppObjectBase _Called, Object[] varArgs)
at Dynamics.Ax.Application.SysOperationServiceController.Runoperation(Boolean _async) in SysOperationServiceController.runOperation.xpp:line 93
at Dynamics.Ax.Application.SysOperationServiceController.runServiceOperation(Object[] parameters) in SysOperationServiceController.runServiceOperation.xpp:line 22
at SysOperationServiceController::runServiceOperation(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Dynamics.Ax.Application.SysDictClass.invokeStaticMethod(Object[] _params) in SysDictClass.invokeStaticMethod.xpp:line 26
at SysDictClass::invokeStaticMethod(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.runAsInvoke(String className, String staticMethodName, Object[] parms, Object[]& exportInfolog)


MR Installation Error

$
0
0

Hi all ,

I need one help.

After configured the Management Report i got one issue while doing the enabled integration .

Error :

Hint 'noexpand' on object 'ReportingIntegration.ReportingVirtualDataAreaView1' is invalid.

Could not use view or function 'ReportingIntegration.ReportingVirtualDataAreaView' because of binding errors. Hint 'noexpand' on object 'ReportingIntegration.ReportingVirtualDataAreaView1' is invalid.

Could not use view or function 'ReportingIntegration.ReportingVirtualDataAreaView' because of binding errors. Originating procedure: ReportingVirtualDataAreaView.

Hint 'noexpand' on object 'ReportingIntegration.ReportingVirtualDataAreaView1' is invalid.

Could not use view or function 'ReportingIntegration.ReportingVirtualDataAreaView' because of binding errors.

Please help me to find out the issue .

Thanks in Advance

Santhosh

Multiple Designs for different companies

$
0
0

Hi Experts,

I have created a new design for the report PurchPurchaseOrder (Purchase order confirmation report). I need to print the new design in a particular company only. I am aware that PurchPurchaseOrder report uses printmanagement but no idea where to place the condition; should be in PrintMgmtDocType class or PrintMgmtReportFormat table etc. and how the condition should be, in case of different companies.

Please help. 

Thanks 

Onhand Inventory doesn't change when i receive a project PO AX 2012 R2

$
0
0

Hi 

I had a Project. Then i created  a PO for the project for ItemB which had 0 Inventory. When i receive the PO, i should see the inventory on hand. But i dont see that.  How would i know that i had an inventory that i can use for this project? 

Creating a Report from Query

$
0
0

Hello Guys, I have a question.... I need to created a report in AX 2012 R2...

I already know how to create the report and how to do everything in visual studio but each time I do it am only getting data form the first table(datasource) in the query...

These are the tables am using:   USTINVOICEJOUR, CUSTTRANS, CUSTSETTLEMENT

This is the query in SQL which works fine....

SELECT
    [INVOICEID]
   ,[INVOICEACCOUNT]
   ,[INVOICINGNAME]
   ,[CUSTSETTLEMENT].DUEDATE
   ,[CUSTSETTLEMENT].CREATEDDATETIME
   ,CUSTSETTLEMENT.TRANSDATE
   ,CustSettlement.[SETTLEAMOUNTREPORTING]  
   ,[INVOICEAMOUNT]
   ,[PAYMENT]      
   ,[INVOICEAMOUNTMST]
  FROM [CUSTINVOICEJOUR] join [CUSTTRANS] ON CUSTTRANS.INVOICE=CUSTINVOICEJOUR.INVOICEID AND
 [CUSTTRANS].AccountNum = [CUSTINVOICEJOUR].InvoiceAccount

 and [CUSTTRANS].TransDate = [CUSTINVOICEJOUR].InvoiceDate

 and [CUSTTRANS].Voucher = [CUSTINVOICEJOUR].LedgerVoucher
 join CUSTSETTLEMENT

 on CUSTSETTLEMENT.TransCompany = [CUSTTRANS].dataAreaId

 and CUSTSETTLEMENT.TransRecId = [CUSTTRANS].RecId

 and CUSTSETTLEMENT.AccountNum = [CUSTTRANS].AccountNum

 WHERE [CUSTSETTLEMENT].DUEDATE = [CUSTINVOICEJOUR].DUEDATE

 AND [CUSTSETTLEMENT].DUEDATE between'2018-03-01 01:00:000' AND '2019-03-15 23:00:000'
 AND [CUSTSETTLEMENT].TRANSDATE <'2019-02-28 0:0:0'
 AND [CUSTINVOICEJOUR].INVOICEID LIKE 'ACP%'
 AND [CUSTINVOICEJOUR].INVOICEACCOUNT='110214M'

I would like for the where conditions to be dynamic where the user will then go and enter this info and the report prints according. IO know whats i get the query then dropping that in visual studio should not be a problem

Any help would be greatly appreciated if this can be achieved.

Creating custom batch jobs to run in multi threaded mode in AX 2012

$
0
0

Hello AX gurus, I have batch job created using run-base framework to perform a process (It creates sales orders from a staging table). Currently the batch is running in single thread mode. It is creating sales orders at 8-10 orders per minute. We want to make this batch job to run in multi-threaded mode like other AX standard batch jobs. Is there any approach to achieve this. if yes please provide your guidance. Thanks in advance 

How can i limit to not be able to erase field value by keyboard? D365FO

$
0
0

Hi,

I have a string field that shows values as lookup, i don't want to be able to select the value inside the field and delete it by keyboard but i can modify it and select other values from lookup. How can i do that?

how to run Best Practice Errors ?

$
0
0

Hi,

I am supposed to run and compile the best practice errors in AX 2012 R3?

How should we run the best practices compilation and find the practice error list?

Please help me.

Thanks,

Lakshmi


Document attachment by code for on-premise version doesn't work

$
0
0

Hello All! 

The main goal is fill excel template and attach file to the record. Solution has been developed and works fine on the online VM.

The code:
  using (System.IO.Stream outputStream = new System.IO.MemoryStream())
                {                        
                    package.SaveAs(outputStream);

                    FileUploadTemporaryStorageResult result = File::SendFileToTempStore_GetResult(outputStream, this.fileName());

                    using(System.IO.MemoryStream finalStream = result.openResult() as System.IO.MemoryStream)
                    {
                        finalStream.Position = 0;

                        DocumentManagement::attachFileToCommon(
                                            callerWHSLoadTable,
                                            docuTypeId,
                                            finalStream,
                                            this.filename(),
                                            fileExtension,
                                            this.filename());


But it doesn't work on-prem version.

This code create attachment record, but preview pane do not shown Excel Workbook. And 'Open' button opens IE with this message: 

This XML file does not appear to have any style information associated with it. The document tree is shown below.
<Error>
    <Message>An error has occurred.</Message>
</Error>

Unfortunatelly, I haven't access to the on-prem version to debug or analyze DB data. 

Looks like attachment should be implemented by other way for on-prem version, but I didn't find any info about it.

I would be grateful for any hint.

Thanks.

Error posting product receipt - transactions on voucher do not balance

$
0
0

When attempting to product receipt a Purchase Order, an error appears - "The transaction on voucher do not balance as per [date] (accounting currency: xxx - reporting currency: xxx).

I confirmed the order, but when attempting to receive the items via the Product Receipt feature, the error appears.

Checks made in the General Ledger > Periodic > Currency Conversions > Ledger accounting currency conversion as well as Ledger reporting currency conversion shows that the same currency is used.

Also, checks in the General Ledger > Set Up > Ledger also shows the same currency.

I am not certain if I am in the right place to try to resolve.  Can someone guide me on a possible solution?

Project Stage Rename is Global? AX 2012 R2

$
0
0

Hi, 

We have 5 Legal Entities. 

In one legal entity we are using Projects and we want to rename the stages. But when we do that, its renaming the Project Stage globally. 

So if i go to another legal entity and open Project Management and Accounting Parameters > Project Stage -> The name we changed in other legal entity is replicating here.   Is there any way, i can (rename) project stages differently in different legal entities? 

Help needed. Error when running an inventory close.

$
0
0

Hello,

I am testing out the inventory close process in a test environment as our company has not run this functionality yet. When I attempt to run it I get a warning that it will need to cancel all of the recalculations that have occurred since the inventory close date. I hit "Ok" and it starts to run but then gives me an error stating:

"Date Closed: 2/28/2019

Item JSFC2

Cannot edit a record in Inventory transactions (inventTrans). The record has never been selected."

Can you please tell me what is causing this error? And how I can fix? (Or what else I need to investigate to figure this out?)

Thanks,
Garrett

Ledger account x is not among the accounts in account group y that are used for sales tax code P-GST-HST

$
0
0

The only way I can get this to stop is by directly specifying the expense account as the settlement account.

ie. like in the training video the expense account for  Vendor’s service would have to be 22009
the vendor’s offset account is Travel (66000)… THIS IS NOT THE SETTLEMENT ACCOUNT. Also, this account does not accept sales tax postings.

Problem: Involves creating an invoice journal, and specifying a Sales Tax code.
The error I get says : "Error: Ledger account x is not among the accounts in account group y that are used for sales tax code [xyz]"
(Referring to the ledger posting group I presume)

The way I have gotten this to work is not practical. Lets say I have an invoice for Internet Service with main account 220011 (220011 Utilities) .
The only way to get this solution to work  is to specify the Utilities account as the Settlement Account on the ledger posting group. However, this isn't an account that accepts Sales Tax postings.

Here is a look at the steps I took to configure the taxes

Configuration:

  • created Sales Tax groups (without the sales tax codes)
  • created Item Sales Tax Groups (without the sales tax codes)
  • created Vendor Group (“TAX”)
  • created Vendors  (Canada Revenue Agency (CRA), Revenue Quebec, British Columbia Ministry of Finance )
  • created Tax Authority and a assigned vendor to each
  • created Settlement Periods 
  • created Main Accounts (posting type = sales tax, Balance Sheet)
  • created Ledger Posting Groups. One for receivable (with just the receivable account specified)
  • created Sales Tax Codes (VAT codes) assigned to the Sales Tax Groups
  • created Item Sales Tax Codes (VAT codes) assigned to the Sales Tax Groups

Expiry date in cycle counting for batch numbers

$
0
0

Hi All

We are do our cycle counting process in warehouse and every time system is adding qty  for an item , system is asking for batch numbers and I know its for real as we have set batch number as the tracking dimension group.

But at the same time system is asking for  expiry date, which is unusual and we have not set up any shelf life period for items. How to get rid of this?

Please advice

ssrs reports access permissions

$
0
0

hi,

the ax users having ssrs system user access only are not able to generate reports.

"Unable to log on to Microsoft Dynamics"

Only admin access users are only able to generate reports.

please help me resolve the error.
i refreshed services, config. but luck didn't help.

Thanks,

Lakshmi

 


Budget Check in Purchase Order with Prepayment

$
0
0

Dear All,

I have a case in Purchase Order. here the explanation:

I create a PO and create the prepayment, posting prepayment invoice, and make a payment of prepayment invoice at January 22th. The Invoice come at March 1st (where the January already changed to on hold status in the ledger calendar). Then when I confirm the PO there is a error shown "a budget check cannot be performed. The fiscal period with the accounting date is not in an open period fiscal calendar period"

I try to check the delivery date, it still shows January 22th then I try to change it to March 1st and I confirm the PO the error still appear. 

I try to check the accounting distribution and I found the field " Accounting date" but it grayed out. 

is it possible to change the accounting date in the PO? if possible, where the menu/feature to change it?

or

what should I do to solve this problem or any suggestion in workaround?

Thanks in advance

warehouse on Inventory Value not showing

$
0
0

I'm trying to print the Inventory Value Report (Inventory management -> Reports -> Inventory Value -> Inventory Value)


we I checked the Warehouse from Inventory dimensions 

but when printing the report the warehouse is not showing anything.

AX 2012 R3 CU 12

can anyone help with this issue please,

thanks in advance

How to manage the RecIds during a data import from SSIS?

$
0
0

Hi,

I am building an SSIS project to transfer data from CRM Online and from an internal web application into AX 2012 database. 

During the import I experienced the following problem:

While the records are imported successfully into AX 2012, I receive an error message whenever I try to create the same type of records from the UI, which persists until I delete the imported records. From what I read it is related to RecId duplication (apparently the system is trying to create the record's row with the same RecId that I used during the import).

I followed this article below to try to update the NextVal field of the SYSTEMSEQUENCES table (where the next RecIds for each table are kept), but I still receive this error.

https://sumitsaxfactor.wordpress.com/2011/04/01/handling-recids-in-sql-server/

Can you suggest me any other approach through which I can manage the RecIds and avoid the problem I described?

I have also read that I can "reserve" certain number of RecIds through using X++ code and then calling the X++ service in my SSIS project, still I am trying to avoid that approach for the moment, as we want to keep the logic "SSIS only" as it would be easier for the other .NET Developers in the team, who are unfamiliar with AX 2012 and X++, to support it, as it's pure C# and SQL code for the moment. 

Yet, if there is no feasible way to use only SSIS to fix this issue, what else would you suggest me to use?

Thanks.

Best Regards,

Evgeni Dyulgerov

Creating a Purchase Order Conformation print management report

$
0
0

Hi Guys ,

I'm new to ax2012, i got the requirement that i want to create a purchase order conformation report in print management 

EX: AP->All purchase order -> select one PO ->purchase tab->click the line -> purchase order conformation ->in line above(print/Preview) ->click print -> original print -> Print from A4

I need all the conformation PO line .

I want this report for only 2 companies It will not effect the other companies standard reports

please help me how to create this

Have a nice day,

Thanks in advance .

Exchange rate issue

$
0
0

Hi All ,

 AX 2009

 Client use the electronic payment transfer functionality for vendor payments.

 Listed below is exchange rate setup .

 

100 EUR      – 972.48 NOK

100 Poland – 226.48 NOK

 

 Client processed a payment proposal for EUR and Pol vendor and system crated a file and sent to bank and while sending exchange rates were in Payment journal and Payment transfer forms as cited below.

 100 EUR - 972.48 NOK

100 Poland – 226.48 NOK

 

 Post couple of days , a return file was received from bank and imported in the Payment transfer form using return file ,but the issue is that when we import file , application takes incorrect exchange rates for Poland vendor only.

 Example :

100 EUR - 972.48 NOK

100 Poland – 2.2648 NOK

 

 The issue is with Poland currency ,but for other currency there are no issues .

 Any light on this ?

Viewing all 46681 articles
Browse latest View live


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