D365 - call a private method in class extension
Using Chain of Command for Form Datasource and Form Controls.
Hi All,
Since the arrival of chain of command, we have the possibility to use class variables and add code to protected methods in the chain.
I am trying to make an extension class for a form, with the use of the decorater as followed for example [ExtensionOf(formStr(SalesCopying))].
And using a public final class of my newly created class for the SalesCopying form.
This gives us the possibility to use CoC on methods of the form itself, but how can I use chain of command on datasource methods or on control methods?
Since every datasource and control has its own class now in 365 , I don't know how to use the decorater for my form extension class to use CoC on underlying methods on datasource and controls.
Do you have to make an extension class for every datasource and control you want to use CoC with, if so how do you distinguish this?
Thanks in advance,
Tom
Getting error while opening Screen layout design.
I'm using Microsoft Dynamic AX 2012 Retail, all my store running fine but suddenly while opening ->retail->Screen Layout-> Designer below error I'm getting
Method start in COM object of class tillLayoutDesigner returned code 0x800040003 which means. object reference not set to an instance of an object error while open screen designer in Microsoft Dynamic ax 2012 retail.
Above error, I'm getting in Event Viewer
Thanks in Advance
Regards
Ankur
Rollback of failed deployment - LCS
Hi,
Is it not possible to rollback a failed deployment (In LCS). Rollback button is not working.
How to setup and configure Microsoft Dynamics AX for Retail POS in a non-domain environment and also how to download set-up for Microsoft Dynamics AX.
Hi All,
How to setup and configure Microsoft Dynamics AX for Retail POS in a non-domain environment and also how to download set-up for Microsoft Dynamics AX.
Unable to edit address in sales order
Hi,
Could you please guide us how to resolve the below error
" Cannot edit a record in Addresses (LogisticsPostalAddress). Changing a record in change tracking mode that is active in the past or future is not allowed. Only current records can be revised."
We are getting this error while we are appending some text in the street field in the Edit address form.
Regards,
G Sateesh
GL Balance sheet
GL Account, showing incorrect balance in the balance sheet. Account is completed cleared and no open items as well.
Please help me.
GSTR1 showing blank after GST Update 1 Installation
Hi,
I have installed GST update 1 in the Live environment on AX 2009 and followed all the process as mentioned in the Update 1 installation guide.After upgradation, I have also updated the postedTaxTransactions as per the procedure mentioned in the document.Somehow I am able to generate a GSTR1 report in zip format as remedied by Microsoft.
However, all the files of this report showing only header labels without any value; I have been struggling very much to have any breakthrough.And I have been able to fetch records in the Test environment very well.In the Test environment, I am able to generate the same report with values.
Kindly suggest any way out so that I can resolve this blank GSTR1 report issue asap.
Thanks in advance.
Transfer of funds from one project to the other
Hi
I would like to know how i can transfer fund balance from a project that was closed to another project thats active in AX
Refresh Grid data from database on button click event in AX 2012
I have a grid and a button on the form. Some data is showing in the grid from a data source. I have to refresh grid data through my custom query on button click event. I am confuse about which method to override and where? any help?
Value in Query SQL not exist, but AX get RecId
Good Day,
I try to check if there are records in the inventbatch table, and if not, insert a new value, but AX returns me recid (method InventBatch :: exist returns true) and I can not validate.
I made a query from ax and it effectively returns me a record.
I do query in SQL with the filters or the recid and it does not return value.
SQL and AX point to the same server.
You can help me please.
Thanks in advance.
How can we send one sales order to multiple customers
Hi Friends,
How can we send one sales order to multiple customers. Do we have this setup in AR module. If we have where it is. Can anyone resolve this scenario.
Thanks in advance
Included Column properties in Index
Dear All,
In Index I saw
For example : SalesTable > SalesIdx > SalesId > Properties >
DataField : SalesId
Included Column : Yes or No
Can you please let me know what is the use of Included Column ?
When to set Yes and when to set No.
Please give me more shed on this.
Thanks!
Removed Physical Reserved in Inventory
Hi;
I am trying to remove an item in the inventory with physical reserved using the code below. However, when I run it, it prompts an error like Reservations cannot be removed because there is work created which relies on the reservations.
while select inventTrans where inventTrans.ItemId == '101112'&& inventTrans.StatusReceipt == StatusReceipt::None&& (inventTrans.StatusIssue == StatusIssue::ReservPhysical || inventTrans.StatusIssue == StatusIssue::ReservOrdered) exists join inventTransOrigin where inventTransOrigin.RecId == inventTrans.InventTransOrigin { if(inventTrans.MarkingRefInventTransOrigin) { InventTransOrigin::deleteMarking(inventTrans.MarkingRefInventTransOrigin, inventTrans.InventTransOrigin, -inventTrans.Qty, true); InventTransOrigin::deleteMarking(inventTrans.MarkingRefInventTransOrigin, inventTrans.InventTransOrigin, inventTrans.Qty, true); } if(inventTrans.StatusIssue == StatusIssue::ReservOrdered || inventTrans.StatusIssue == StatusIssue::ReservPhysical) { inventMovement = inventTrans.inventMovement(true); inventUpd_Reservation = InventUpd_Reservation::newInventDim(inventMovement, inventTrans.inventDim(), -1*inventTrans.Qty, false); inventUpd_Reservation.updateNow(); } info('done'); }
Does anyone know how to remove the work created programmatically? Thank you in advance.
Form level colculation and report as well
Amount | Discount | VATPercentage | TotalAmount |
100 | 5 it will be minus | 10 it will be add | 105 this value will be shown automatically |
Please help
I have made this form in Dynamics ax 2012
After form level, i will also show it on report SSRS using click event in manuitmebutton->Simple button click event
Thanks for your help in advance
purging in Axapta 3.0
Hi,
Need more detail and impact of Purging in Axapta 3.0 version .
Is any tool available to purge the table data ?
How to purge the data for the huge tables?
Is there any impact on the application post purging?
AX 2012 Retail POS
I am having a issue in compiling Printing project of Services solution of Retail SDK.
The type or namespace name 'Toolbox' could not be found (are you missing a using directive or an assembly reference?) C:\Users\waseem\Documents\Retail SDK\POS Plug-ins\Services\Printing\frmReportList.Designer.cs
private Toolbox.SignatureViewer signatureViewer;
Kindly point out which assembly reference missing here.
AX Retail POS
I have 5 groups for items and i want to create button in POS for every group of item
Reserve items from AX retail POS
How can i reserve items from POS retail ? and retrieve it again ?
Can't Close Shift in POS
Hello!
I'm trying to close shift in one of the POS but an error shows and the following in event viewer..
LSRetailPosis.POSProcesses.POSProcessThread: System.Data.SqlClient.SqlException (0x80131904): Violation of PRIMARY KEY constraint 'I_-1033447763_133955128'. Cannot insert duplicate key in object 'ax.RETAILPOSBATCHTABLE'. The duplicate key value is (TA01, TA01POS02, 19, sh).
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
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.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString)
at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1 completion, Int32 timeout, Task& task, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.InternalExecuteNonQuery(TaskCompletionSource`1 completion, String methodName, Boolean sendToPipe, Int32 timeout, Boolean asyncWrite)
at System.Data.SqlClient.SqlCommand.ExecuteNonQuery()
at LSRetailPosis.DataAccess.DataUtil.DBUtil.Execute(SqlInsert SqlInsert)
at LSRetailPosis.DataAccess.BatchData.CloseBatch(Batch batch)
at Microsoft.Dynamics.Retail.Pos.EOD.EOD.CloseShift(IPosTransaction transaction)
at LSRetailPosis.POSProcesses.CloseShift.Execute()
at LSRetailPosis.POSProcesses.Operation.RunOperation()
at LSRetailPosis.POSProcesses.POSProcessThread.ThreadProc()
ClientConnectionId:44fbe122-265a-4683-aef2-dd2f57c8be22.
can anyone help with this please