Quantcast
Channel: Microsoft Dynamics AX
Viewing all 125409 articles
Browse latest View live

Forum Post: RE: Filtering child grid from parent grid - User filter issues on child grid

$
0
0
Hi Richard K, You have not shared any code, so it's just a wild guess, but often people do not know the difference between formDataSource.query() and formDataSource.queryRun().query() and use them incorrectly, so I will just paste a quote from http://kashperuk.blogspot.com/2010/03/tutorial-reread-refresh-research.html here formDataSource.queryRun().query() vs formDataSource.query() An important thing to mention here is that the form has 2 instances of the query object - one is the original datasource query (stored in formDataSource.query()), and the other is the currently used query with any user filters applied (stored in formDataSource.queryRun().query()). When the research method is called, a new instance of the queryRun is created, using the formDataSource.queryRun().query() as the basis. Therefore, if the user has set up some filters on the displayed data, those will be preserved. This is useful, for example, when multiple users work with a certain form, each user has his own filters set up for displaying only relevant data, and rows get inserted into the underlying table externally (for example, through AIF). Calling executeQuery, on the other hand, will use the original query as the basis, therefore removing any user filters. This is a distinction that everyone should understand when using research/executeQuery methods in order to prevent possible collisions with the user filters when updating the query. Read it and check if it is not causing your issue

Forum Post: RE: Auto Populate PaymSpec column in LedgerJouranlTrans table

$
0
0
Hi Jacobh2, You cannot do this VendPaymModeSpec primary key has 2 fields: PaymMode and Specification (PaymSpec). This means that one PaymMode can have multiple PaymSpec associated.

Forum Post: SSRS report to PDF error

$
0
0
HI, I get below error when I try to save a SSRS report as a file in AX365 on a click with the below code. Please help me out!! [FormControlEventHandler(formControlStr(InventQualityOrderTable, ExportToPdf), FormControlEventType::Clicked)] public static void ExportToPdf_OnClicked(FormControl sender, FormControlEventArgs e) { FormRun fr = sender.formRun(); FormDataSource fds = fr.dataSource(formDataSourceStr(InventQualityOrderTable, InventQualityOrderTable)); InventQualityOrderTable inventQualityOrderTable = fds.cursor(); SrsReportRunController controller = new SrsReportRunController(); SRSPrintDestinationSettings srsPrintDestinationSettings; Args args = new Args(); args.record(inventQualityOrderTable); controller.parmReportName(ssrsReportStr(XX_InventQualityOrder,QualityOrder)); controller.parmArgs(args); srsPrintDestinationSettings = controller.parmReportContract().parmPrintSettings(); srsPrintDestinationSettings.printMediumType(SRSPrintMediumType::File); srsPrintDestinationSettings.fileFormat(SRSReportFileFormat::PDF); srsPrintDestinationSettings.overwriteFile(true); srsPrintDestinationSettings.fileName(@"C:\InventQualityOrder.pdf"); controller.parmShowDialog(false); controller.startOperation(); } Unable to connect to the remote server at Microsoft.WindowsAzure.Storage.Core.Executor.Executor.ExecuteSync[T](RESTCommand`1 cmd, IRetryPolicy policy, OperationContext operationContext) at Microsoft.WindowsAzure.Storage.Table.CloudTable.Exists(Boolean primaryOnly, TableRequestOptions requestOptions, OperationContext operationContext) at Microsoft.WindowsAzure.Storage.Table.CloudTable.CreateIfNotExists(TableRequestOptions requestOptions, OperationContext operationContext) at Microsoft.DynamicsOnline.Infrastructure.Components.TableAccessor.TableStorageAccessor.PerformOperation(CloudStorageAccount storageAccount, String tableName, Func`1 operation) at Microsoft.DynamicsOnline.Infrastructure.Components.TableAccessor.TableStorageAccessor.AddRecord[T](CloudStorageAccount storageAccount, String tableName, T record) at Microsoft.DynamicsOnline.Infrastructure.Components.SharedServiceUnitStorage.SharedServiceUnitStorage.UploadData(SharedServiceUnitStorageData data, Stream stream) at Dynamics.AX.Application.SRSFileUploadTempStorageStrategy.completeUpload(Boolean _blobAlreadyExists, String _uniqueFileName, String _originalFilename, String _fileId, Stream _stream, String _contentType, Boolean @_contentType_IsDefaultSet) in xppSource://Source/ApplicationFoundation\AxClass_SRSFileUploadTempStorageStrategy.xpp:line 177

Forum Post: RE: IR / PR to PO process to PO cancellation and ordering to other vendor

$
0
0
Hello TaraMera, Is it possible that you create a couple of screenprints, upload them and provide some additional information? It is difficult following what you try to explain exactly and whether the issue you experience might be caused by a modification that has been made. Many thanks and best regards, Ludwig

Forum Post: RE: Find objects used in enterprise portal

$
0
0
Hi, What is an object? Do you refer to a product / inventory item? Please provide some additional information so that we can provide some help. Many thanks and best regards, Ludwig

Forum Post: RE: Tax amount not reversed.

$
0
0
Hi, Can you check the sales tax group and the item sales tax group that are used in your return order? In the line details of your PO you should see those fields and one of them might not be filled, which might be caused by a missing item sales tax group setup at the item level or a missing default sales tax group setup at the vendor level. Best regards, Ludwig

Forum Post: RE: IR / PR to PO process to PO cancellation and ordering to other vendor

$
0
0
Hello Rashid, Thanks for your reply. we recently decided to go for Dynamics 365 [ AX ] as our ERP - where consultant is starting procurement process from PR .... Our all Procurement is Project Bases - where each project has Cost Budget [ with breakdowns (e.g. Manpower, Materials, Sub-Contractor Jobs etc...) ]. We are generally keeping regular required material in general stock. My First Question was; When Project Engineer need any material, he must raise an IR (regardless, if Material is in stock or we need to buy for him), if material is in stock we should be able to release (Material Issuance) against same IR, if material is out of stock we should be able convert same IR (fully or partly) to PR....this is my understanding about standard ERP processes but consultant is starting material request from PR....and if material is available in our warehouse we are unable to issue against that PR My second question was; PR is linked with specific budget (Project Busget), when PR is raised, that specified budget will get locked >>> after PR approval we can issue PO, when PO is issued PR will get locked (mean we cannot make 2 POs for same line item in PR) >>> due to some reasons vendor is unable to deliver ordered material and we need to cancel PO with him and order same to another vendor >>> in that case why we need to ask requestor [which is project engineer in this example] to raise a new PR and then PR will go to all approving authorities ....which is again a time-consuming process ..... Hope i made it clear now :) Your insight advise with logic behind will highly be appreciated. Regards

Forum Post: RE: Account number for transaction type project- cost does not exist.

$
0
0
Hello Hassan Ghauri, It is difficult identifying the underlying reason with that little detail. What you can do as a kind of 'last resort' setup is ensuring that you have an account for the posting type project cost setup in the automatic posting account section in GL. If this does not resolve the issue talk to a developer who can debug what is going wrong here. Best regards, Ludwig

Forum Post: RE: How to open an invoice for payment when the payment journal has been posted in Dynamics AX 2012

$
0
0
Hi, If you have to transaction reversal parameter active you should be able to reverse the transaction from the cash and bank module by selecting the transaction and reversing the voucher. If this is not possible in your machine then try creating a new payment journal that is identical to the one that has been posted before but that uses the opposite sign for the amount posted. Best regards, Ludwig

Forum Post: RE: Inventory recalculation with empty voucher

$
0
0
Good to hear- thanks for the update.

Forum Post: Rows are not populated in SSRS report after adding codes.

$
0
0
Hello Experts, In RDP some piece of code are given here: while select salesLine where salesLine.ItemId == queryInventTable.ItemId && salesLine.createdDateTime >= DateTimeUtil::addMonths(DateTimeUtil::utcNow(), -12) { avgAnnualSales += salesLine.QtyOrdered ; } if(avgAnnualSales > 0) avgAnnualSales = avgAnnualSales/12; else avgAnnualSales = 0; tReOrderReportTmp.AnnualAvgSalesQty = avgAnnualSales; tReOrderReportTmp.MinStockQty = minStock; if(tReOrderReportTmp.CurrentStock > 0 && tReOrderReportTmp.AnnualAvgSalesQty > 0) tReOrderReportTmp.MonthCoverSales = tReOrderReportTmp.CurrentStock / tReOrderReportTmp.AnnualAvgSalesQty; else tReOrderReportTmp.MonthCoverSales = 0; tReOrderReportTmp.MinStockQty = (tReOrderReportTmp.AnnualAvgSalesQty/30) * tReOrderReportTmp.LeadTime ; tReOrderReportTmp.insert(); Report Output After Added some code to get data for BOMQty column and modified codes here while select salesLine where salesLine.ItemId == queryInventTable.ItemId && salesLine.createdDateTime >= DateTimeUtil::addMonths(DateTimeUtil::utcNow(), -12) { avgAnnualSales += salesLine.QtyOrdered ; } if(avgAnnualSales > 0) avgAnnualSales = avgAnnualSales/12; else avgAnnualSales = 0; tReOrderReportTmp.MinStockQty = minStock; tReOrderReportTmp.AnnualAvgSalesQty = avgAnnualSales; // Added Codes Start while select inventTrans join salesLine where inventTrans.ItemId == salesLine.ItemId && salesLine.createdDateTime >= DateTimeUtil::addMonths(DateTimeUtil::utcNow(), -12) join queryInventTable where inventTrans.ItemId == queryInventTable.ItemId join inventTransOrigin where inventTrans.ItemId == inventTransOrigin.ItemId && inventTrans.InventTransOrigin==inventTransOrigin.RecId && inventTransOrigin.ReferenceCategory == InventTransType::BOMLine { BOMQty1 += inventTrans.Qty; tReOrderReportTmp.BOMQty = BOMQty1; } //Added Codes End if(tReOrderReportTmp.CurrentStock > 0 && tReOrderReportTmp.AnnualAvgSalesQty > 0) tReOrderReportTmp.MonthCoverSales = tReOrderReportTmp.CurrentStock / tReOrderReportTmp.AnnualAvgSalesQty; else tReOrderReportTmp.MonthCoverSales = 0; tReOrderReportTmp.MinStockQty = (tReOrderReportTmp.AnnualAvgSalesQty/30) * tReOrderReportTmp.LeadTime ; tReOrderReportTmp.insert(); Report Output Report showing only one record while pervious have 5 records.

Forum Post: RE: SSRS report to PDF error

$
0
0
Hi Pradeep Prakash, If you use dev VM check that Azure Storage Emulator is running.

Forum Post: Uploading Demand forecast

$
0
0
Hi , Is it possible to upload demand forecast to AX using excel without creating a baseline forecast (masterplanning>Periodic>Forecast)? If so how should i go about it? we currently receive our forecast from a third party team and we manually enter it from Inventory Management >forecast>demand forecast. any help/pointers would be appreciated

Forum Post: RE: Transfer Order- Shipment confirmation error

$
0
0
Further down to my investigation I found, when for a same TO line in case quantity allocated from multiple batches the same happening. I have tried with KB 3216598, but still issue the same.

Forum Post: RE: AX Logon Error - Connection to AOS could not be established

$
0
0
Thank you all for the reply. I noticed that the user account was pointing to different AX instance (Old server). Thanks for a lot for the support.

Forum Post: RE: Retail reports

$
0
0
I'm sure that all reports are deployed success and compilation has not any error it's seems everything is okay. But still have this error .

Forum Post: RE: Automatic picked BOM line on WMS module

$
0
0
Hello everyone. I've debugged work creation process and I found out. it was about default production input location. in casse production input location is license plate controlled we encounter this stuation. I've changed my production input location with non lp controlled location and problem is solved. thanks for your interest. best regards.

Forum Post: RE: LP Locate Function on wave demand

$
0
0
Hello. I found out the reason about this problem. it is about ExtraInventHandlingQty on workLine table. When I set as 0 everyTime I can use this function as I want. Does anyone have idea about ExtraInventHandlingQty? why do we have this field? when do we use this field?

Forum Post: RE: Raw metarial picking work does not create on Ax WHS Module

$
0
0
Hello. I've debugged work creation process and I found out. it was about default production input location. in casse production input location is license plate controlled we encounter this stuation. I've changed my production input location with non lp controlled location and problem is solved. thanks for your interest.

Forum Post: RE: Purchase Receiving Performance Reporting

$
0
0
Hello chrispin. Actually WorkInProcessUTCDateTime and WorkClosedUTCDateTime does not answer for my requirement. I found whsReceiptDetails table on AOT. Now I can track user item receiving performance with serial items.
Viewing all 125409 articles
Browse latest View live