Dyanmics 365 Lookup w/tabs Multi Select
Dynamics fields not showing data
Hi folks,
I am adding some fields dynamically through code on Sales Order Header, When i open Sales Order Header it do not shows any data. I have to refresh my page every time.
I have tried
SalesTable.refresh();
SalesTable.reread();
SalesTable.research();
on several different events e.g. onPostRun, OnActivated(Datasource), OnInitialized(Form). Buts issue is still persistent. Kindly help in this regard.
Thank you
Tools in AX
We have around 1500 different tools in our shop and I have them on a list in Excel. My task is to add the tools to AX so they can be applied to production orders that they're needed for. I'm new to AX and I'm unsure how to go about completing this task. We use AX 2009 so there's no resources, just work center groups and work centers. I've thought about adding them to the BoM for each order, but I can't figure out how to make it so they aren't consumed at the end of each order. Any advice on the how to complete this task?
New and override method not available in new control
WHS Reservation defaults unchecking license plate?
On the WHSInventOnHandReserve reservation form the License Plate dimension comes up preselected because when the system was started the license plate dimension was active. Way to late to change now since the reservation hierarchies are set in stone.
However we never used the dimension so we would like to uncheck the license plate checkbox on the reservation form when it is initialized saving the user the step of unchecking and refreshing.
Has anyone done this and if so how was it done?
Thanks
Konrad
lookup on runbase dialog based on another field value.
Hi All,
My requirement is to display the corresponding lookup as follows which is similar to the lines on the create trade agreement form.
1. table--customer details lookup
2. group-- customer group lookup
2. all-- field is hidden
Refer screenshot below.
Any suggestions how to achieve this and also can you tell where the lookup for that is written. I couldn't find the lookup on PriceDiscAdmTrans table.
formHasMethod not checking for form extension methods
Hi !
I have the following form extension class:
[ExtensionOf(formStr(EcoResProductDetailsExtended))] public final class EcoResProductDetailsExtended_Extension { public Set myMethod() { Set mySet;
return mySet; } }
Then I want to evaluate if that method exists before call it:
if (formHasMethod(_formRun, 'myMethod')) { localSet= _formRun.myMethod(); }
The formHasMethod return false. It isn't being able to evaluate the extension method. If I call myMethod() without checking for it before hand, it is executed correctly.
I'm trying to use MetadataSupport helper class but I'm not succeeding.
Does anyone have some clue about it?
Thanks!
Item Number with hyphen issues
I have very heavy customized AX 2009.
And, I tried to create Purchase Order on Customer Service Workstation.
Then, added a line item like "H123-NC".
The AX infolog prompted messages "Item H123NC" does not exist.
On the hand, the Item ID "H123-NC" existed on Item Master.
Then, I looked the SalesTable and it showed ItemID defined as NVarchar(20).
I'm not sure why AX prompted this errors.
Please help and advice.
Thank you,
Edwin
SQL Server password in locally deployed D365 for Operations environment
Hi,
I downloaded a D365 for Operations VM from LCS and is running it in Hyper V without any issue. However, it seems I could not access the database since I could not find the password in LCS. You usually can find the password for all the domain accounts in LCS for cloud deployed environment. But since my environment is locally deployed, it doesn't show in LCS, and I'm not sure where to find those passwords.
Have anyone had this issue before and what the solution might be?
Thanks so much.
Automatic write-off of customer short pay
When I configure the system with a $10 'Maximum Overpayment or Underpayment' threshold in AR Parameters, and then short pay an invoice by $5, I get the expected information in the InfoBox. When I go into the GL to take a look at the transactions, the two Posting Types used for the short-pay transaction are 'Customer Discounts' and 'Penny difference in accounting currency'. I can understand the Customer Discounts posting type, it's at least somewhat logical, but 'Penny difference in accounting currency makes no sense at all. Does anyone know if there is another Posting Type that could be configured in the ' Accounts for Automatic Transactions' form to post to a more logical posting type? Any help would be greatly appreciated.
Thanks
Auto Invoicing of inter-company purchase order
Is there a Report based on Product Serial Numbers which have been shipped to Customer?
I am looking to run a report to see what serial numbers have shipped to customers. Does this exist? I would basically like to drill down to product, customer, or sales order. Any advice would be helpful.
Purpose of Sales Quotation Line: Cost Price field?
in the sales quotation lines there is a field with name Cost Price , what is the usage of this field ?
Data Entity export - how to skip records based on X++-programmed logic
Is there a possibility when exporting data with data entities to skip exporting specific records based on some X++-programmed logic.
In the postload() I can complete the exported data with several fields I go get in other AX tables. For some records I come to the conclusion that I do not want to export this record, e.g. because data is incomplete. Can I tell the data entity to skip this record ?
Label text not showing on user interface - Dynamics AX 365.
Hi,
Dynamics AX 365. I created a label file and used the labels in tables and forms for labels, captions and static text. When I am opening a form (simple list) labels are showing like @XXXXX instead of text. I have done Sync, Build, IIS Reset and AOS restart, but no use. In the development environment when selecting the design of the form and navigating to preview is showing the correct label text.
Can any one suggest how to resolve this.
Thanks
Anil.
Download Session Apply Fail while sync product data to POS
Hi
We are facing below error while syncing data on few stores while running full sync for JOB 1040 (Rows effected 518135)
Difference between stores where data is applied is they are on high bandwith.
Error:
Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.ProcessTargetRequestHeaderException: ProcessTargetRequestHeader failed to execute all write requests. ---> Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.ProcessWriteRequestException: Write request on table:[ax].[INVENTTABLEMODULE] failed to execute. ---> Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.RunException: Run() failed while performing write operation on table. ---> Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.PerformWriteOperationException: Query: MERGE [ax].[INVENTTABLEMODULE] AS dst
USING (SELECT [ALLOCATEMARKUP],[ENDDISC],[INTERCOMPANYBLOCKED],[ITEMID],[LINEDISC],[MARKUP],[MARKUPGROUPID],[MAXIMUMRETAILPRICE_IN],[MODULETYPE],[MULTILINEDISC],[OVERDELIVERYPCT],[PRICE],[PRICEDATE],[PRICEQTY],[PRICEUNIT],[RECID],[SUPPITEMGROUPID],[TAXITEMGROUPID],[UNDERDELIVERYPCT],[UNITID],[DATAAREAID] FROM [#ax_INVENTTABLEMODULE_3be269b9-d744-402c-b368-a40db911c880]) AS src
ON (dst.[ITEMID]=src.[ITEMID] AND dst.[MODULETYPE]=src.[MODULETYPE] AND dst.[DATAAREAID]=src.[DATAAREAID])
WHEN MATCHED THEN
UPDATE SET [ALLOCATEMARKUP]=src.[ALLOCATEMARKUP],[ENDDISC]=src.[ENDDISC],[INTERCOMPANYBLOCKED]=src.[INTERCOMPANYBLOCKED],[LINEDISC]=src.[LINEDISC],[MARKUP]=src.[MARKUP],[MARKUPGROUPID]=src.[MARKUPGROUPID],[MAXIMUMRETAILPRICE_IN]=src.[MAXIMUMRETAILPRICE_IN],[MULTILINEDISC]=src.[MULTILINEDISC],[OVERDELIVERYPCT]=src.[OVERDELIVERYPCT],[PRICE]=src.[PRICE],[PRICEDATE]=src.[PRICEDATE],[PRICEQTY]=src.[PRICEQTY],[PRICEUNIT]=src.[PRICEUNIT],[RECID]=src.[RECID],[SUPPITEMGROUPID]=src.[SUPPITEMGROUPID],[TAXITEMGROUPID]=src.[TAXITEMGROUPID],[UNDERDELIVERYPCT]=src.[UNDERDELIVERYPCT],[UNITID]=src.[UNITID]
WHEN NOT MATCHED THEN
INSERT ([ALLOCATEMARKUP],[ENDDISC],[INTERCOMPANYBLOCKED],[ITEMID],[LINEDISC],[MARKUP],[MARKUPGROUPID],[MAXIMUMRETAILPRICE_IN],[MODULETYPE],[MULTILINEDISC],[OVERDELIVERYPCT],[PRICE],[PRICEDATE],[PRICEQTY],[PRICEUNIT],[RECID],[SUPPITEMGROUPID],[TAXITEMGROUPID],[UNDERDELIVERYPCT],[UNITID],[DATAAREAID])
VALUES (src.[ALLOCATEMARKUP],src.[ENDDISC],src.[INTERCOMPANYBLOCKED],src.[ITEMID],src.[LINEDISC],src.[MARKUP],src.[MARKUPGROUPID],src.[MAXIMUMRETAILPRICE_IN],src.[MODULETYPE],src.[MULTILINEDISC],src.[OVERDELIVERYPCT],src.[PRICE],src.[PRICEDATE],src.[PRICEQTY],src.[PRICEUNIT],src.[RECID],src.[SUPPITEMGROUPID],src.[TAXITEMGROUPID],src.[UNDERDELIVERYPCT],src.[UNITID],src.[DATAAREAID]);
DROP TABLE [#ax_INVENTTABLEMODULE_3be269b9-d744-402c-b368-a40db911c880];
---> System.Data.SqlClient.SqlException: Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding. ---> System.ComponentModel.Win32Exception: The wait operation timed out
--- End of inner exception stack trace ---
at System.Data.SqlClient.SqlInternalConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParserStateObject.ReadSniError(TdsParserStateObject stateObj, UInt32 error)
at System.Data.SqlClient.TdsParserStateObject.ReadSniSyncOverAsync()
at System.Data.SqlClient.TdsParserStateObject.TryReadNetworkPacket()
at System.Data.SqlClient.TdsParserStateObject.TryPrepareBuffer()
at System.Data.SqlClient.TdsParserStateObject.TryReadByte(Byte& value)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.RunExecuteNonQueryTds(String methodName, Boolean async, Int32 timeout)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlWriteRequestRunner.PerformWriteOperation(SqlConnection connection, SqlTransaction transaction)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlWriteRequestRunner.PerformWriteOperation(SqlConnection connection, SqlTransaction transaction)
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlWriteRequestRunner.Run(SqlConnection connection, SqlTransaction transaction)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlWriteRequestRunner.Run(SqlConnection connection, SqlTransaction transaction)
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlTargetRequestHandler.ProcessWriteRequest(SqlConnection connection, SqlTransaction transaction)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlTargetRequestHandler.ProcessWriteRequest(SqlConnection connection, SqlTransaction transaction)
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlTargetRequestHandler.ProcessTargetRequestHeader(ISCTargetRequestHeader targetRequestHeader)
--- End of inner exception stack trace ---
at Microsoft.Dynamics.Retail.StoreConnect.Request.SQLHandler.SCSqlTargetRequestHandler.ProcessTargetRequestHeader(ISCTargetRequestHeader targetRequestHeader)
at Microsoft.Dynamics.Retail.SynchClient.Core.DownloadAgent.ApplySessionFileToClientDatabase(SessionManager sessionMgr, String fileName)
Merge Two different queries and make it as a View's datasource
SELECT b.PURCHID,b.ITEMID,b.PURCHQTY,INVENTSTATUSID,WMSLOCATIONID,PHYSICALINVENT,a.CREATEDDATETIME,a.INVENTSIZEID,a.INVENTCOLORID,a.INVENTDIMID, b.SC_VISIBLEINWEBSHOP as SC_VISIBLEINWEBSHOP_item, b.SC_VISIBLEINWEBSHOP as SC_VISIBLEINWEBSHOP_Variant,PURCHASETYPE,b.CREATEDDATETIME as PurchDateTime from(select inventsum.ITEMID,INVENTSTATUSID,WMSLOCATION.WMSLOCATIONID,INVENTSIZEID,INVENTCOLORID,INVENTDIM.INVENTDIMID,INVENTDIM.CREATEDDATETIME,PHYSICALINVENT from WMSLOCATION join WHSLOCATIONPROFILE on WMSLOCATION.LOCPROFILEID=WHSLOCATIONPROFILE.LOCPROFILEID join INVENTDIM on inventdim.WMSLOCATIONID=WMSLOCATION.WMSLOCATIONID join INVENTSUM on INVENTSUM.INVENTDIMID=inventdim.INVENTDIMID where PHYSICALINVENT>0 and CLOSED=0 ) a RIGHT JOIN (SELECT PURCHLINE.ITEMID, INVENTSIZEID,INVENTCOLORID,INVENTSTYLEID, INVENTDIM.INVENTDIMID, RETAILVARIANTID,PURCHQTY,PURCHLINE.PURCHID,PURCHTABLE.PURCHASETYPE,inventtable.SC_VISIBLEINWEBSHOP,PURCHTABLE.CREATEDDATETIME from PURCHLINE join PURCHTABLE on PURCHTABLE.PURCHID=PURCHLINE.PURCHID join INVENTDIM on inventdim.INVENTDIMID=PURCHLINE.INVENTDIMID join INVENTTABLE on INVENTTABLE.ITEMID=PURCHLINE.ITEMID left join INVENTDIMCOMBINATION on INVENTDIMCOMBINATION.RETAILVARIANTID=PURCHLINE.VARIANTID where PURCHQTY>0) b ON a.INVENTSIZEID=b.INVENTSIZEID and a.INVENTCOLORID=b.INVENTCOLORID and a.ITEMID=b.ITEMID
I am going to create the above query to be used in a View.
the query has two subqueries as you can see and I want to join them together.
the thing I can not solve is the RIGHT JOIN in the above query. Is that any way to have two different queries or two different Datasources join together? Can I do it on AOT or Code? whichever is possible would be fine.
error while creating inventory transfer journal
Dialog customization
Dear All,
I have a requirement. In dialog customer wants below options :
ESIC EmployerPF
ESIC1 EmployerPF1
Note : User can select any one option at at time.
For example : If user select ESIC then EmployerPF should select automatically and same for ESIC1.
Then OK.
Please give me more shed on this.
Thanks!
Arpan Sen
AX 2012 R2 CU7 on Citrix vs AX 2012 R2 CU7 on Remote Desktop Services (RDS)
Hi all,
While choosing a "Desktop/Application publishing platform" out of Citrix or Microsoft Remote Desktop services for your AX implementation, has anyone done any benchmarking or performance test to compare these platforms ?
As far as I know, there are nobenchmarks published by Microsoft on this topic. Microsoft published benchmarks are application specific and focus on virtualization, physical and hybrid topologies.
Appreciate if anyone has any relevant documentation in this regard and if they can share it with me?
Additional Info:
AX 2012 R2 CU7
500+ concurrent users