ax 2012 pos stock count tables
How to know which user edit the Purchase order line price or quantity,
after receiving the PO someone edit the price which affect the second receiving, is there any way to know which user update the line and confirm the po?
Create Charges transactions ax 2012 using SalesSalesOrderService
Hi experts,
I use SalesSalesOrderService to create Charges transactions ax 2012
This is my code below:
In the method private static AxdEntity_MarkupTransLine createMarkupTransLine()
I coded:
markupTransLine.ModuleCategory = AxdExtType_MarkupModuleCategory.Linie;
markupTransLine.MarkupCategory = AxdExtType_MarkupCategoryType.Pcs;
markupTransLine.Value = 1000;
But, when I open Sales line > Financials > Maintain charges
I get MarkupCategory = Fixed, ModuleCategory = Main, and Value = 0;
Anyone help me?
Thank all.
Import General journal (Error: The data value violates integrity constraints)
Insufficient rights to run Menu Item Tax Totals
Posting profile - AR module foreign revaluation
HR/payroll
Hi,
Am trying to generate an earning statement and it brings the error the selection criteria does not bring any results,what am i not doing right?
Christine
str2int is throwing error when running in batch process
hi all,
i have created a batch and using the below code in that
int poLineCount ;
poLineCount = any2int(childLine2.item(l).text());
it is throwing an error as
System.OverflowException: Value was either too large or too small for an Int32.
at System.Number.ParseInt32(String s, NumberStyles style, NumberFormatInfo info)
at Microsoft.Dynamics.Ax.Xpp.PredefinedFunctions.str2int(String text)
at Dynamics.Ax.Application.SON_ELMOInvoiceBatchXML.Processxml(String _filename) in SON_ELMOInvoiceBatchXML.processXML.xpp:line 72
at Dynamics.Ax.Application.SON_ELMOInvoiceBatchXML.Run() in SON_ELMOInvoiceBatchXML.run.xpp:line 28
at Dynamics.Ax.Application.BatchRun.runJobStaticCode(Int64 batchId) in BatchRun.runJobStaticCode.xpp:line 54
at Dynamics.Ax.Application.BatchRun.runJobStatic(Int64 batchId) in BatchRun.runJobStatic.xpp:line 13
at BatchRun::runJobStatic(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at BatchIL.taskThreadEntry(Object threadArg)
when i run without batch it gets executed without throwing any error
D365 Finance and Operation Installation & Configuration
Hi Expertise ,
Is there any proper Documents or Guide for D365 Finance and Operation Installation & Configuration on Cloud ?
Thanks
How to make Batch group Mandatory in Storage dimension group
Hi all,
How to make Batch group Mandatory in Storage dimension group in AX 2009. Since we unable to make it as mandatary.
Path : Inventory dimension-->dimension group --> Storage Dimension Group
Is this is good practice to make batch group as mandatory..?
Please any one give suggestion for this..
--------------------
Question :2
With means existing setup, While creating receipt, it asks to fill site, warehouse and Batch number as mandatory. But in same case on issuing the same item, it never asks for batch number(mandatory) to be fill.
Is these are different in form level..??
Thank you
M.Logendran
Problem with DLL-reference after upgrading R3 kernel
Hello,
My understanding was that AX kernel updates were revision specific not code/CU so any AX2012 R3 kernel should be compatible with any CU code wise and advisable that kernel should be the latest?
We are currently running AX2012 R3 CU9 6.3.2000.326
We have attempted to update the kernel to the latest R3 kernel build based on KB links from https://blogs.msdn.microsoft.com/axsupport/2012/03/29/overview-of-microsoft-dynamics-ax-build-numbers/ to several versions but are encountering run-time errors with any kernel other than 6.3.2000.326
Attempted the following kernel versions on several different fresh AOS installs:
KB4089212 – kernel 6.3.6000.4444
KB4343775 – kernel 6.3.6000.6608
KB4457935 – kernel 6.3.6000.7046
All of them have installed successfully with no errors in the setup logs, full compile and CIL runs without errors.
When attempting to add a product to a sales line we encounter the following runtime error:
Error executing code: RetailPricingDataManager object does not have method 'getDiscountTradeAgreementsByDiscGroups'.
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Microsoft.Dynamics.Ax.Xpp.ErrorException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.
at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue)
at Microsoft.Dynamics.Ax.MSIL.Interop.ThrowCQLFuncError(IL_CQL_ERR cqlErr, String typeName, String methodName)
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeInstanceCall(Object instance, String MethodName, Object[] parameters)
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelperMIL.MakeInstanceCall(Object instance, String MethodName, Object[] parameters)
--- End of inner exception stack trace ---
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object[] parameters, Object[] arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
at Microsoft.Dynamics.AX.ManagedInterop.CReflectionCallHelper.CallXppObjectMethodinIL(Object pILXppInstance, String strMethod, Object[] pParamList)
at Microsoft.Dynamics.AX.ManagedInterop.Object.CallWithReturnType(String methodName, Type returnType, Object[] paramList)
at Microsoft.Dynamics.Commerce.Headquarters.RetailProxy.RetailPricingDataManager.getDiscountTradeAgreementsByDiscGroups(Container _itemIds, String _custAccount, DateTime _minDate, DateTime _maxDate, String _currencyCode, String _lineDiscGroup, String _multiLineDiscGroup, String _endDisc)
at Microsoft.Dynamics.Commerce.Headquarters.RetailProxy.AxPricingDataManager.ReadDiscountTradeAgreements(ISet`1 itemIds, String customerAccount, String lineDiscGroup, String multilineDiscountGroup, String totalDiscountGroup, DateTimeOffset minActiveDate, DateTimeOffset maxActiveDate, String currencyCode)
at Microsoft.Dynamics.Commerce.Runtime.Services.PricingEngine.Discount.CalcCustomerDiscount(IPricingDataManager pricingDataManager, RoundingRule salesRoundingRule, SalesTransaction salesTransaction, PriceContext priceContext)
at Microsoft.Dynamics.Commerce.Runtime.Services.PricingEngine.Discount.CalculateDiscount(IPricingDataManagerV2 pricingDataManager, SalesTransaction transaction, PriceContext priceContext)
at Microsoft.Dynamics.Commerce.Runtime.Services.PricingEngine.PricingEngine.CalculateDiscountsForLines(IPricingDataManagerV2 pricingDataManager, SalesTransaction transaction, Boolean shouldTotalLines, PriceContext priceContext)
at Microsoft.Dynamics.Commerce.Runtime.Services.PricingEngine.PricingEngine.CalculateDiscountsForLines(IPricingDataManagerV2 pricingDataManager, SalesTransaction transaction, RoundingRule roundingRule, CurrencyConverter currencyConverter, String currencyCode, String lineDiscountGroup, String multilineDiscountGroup, String totalDiscountGroup, Boolean shouldTotalLines, DiscountCalculationMode calculationMode, DateTimeOffset activeDate)
at Dynamics.Ax.Application.RetailOrderCalculator.Calculatediscountsfororder() in RetailOrderCalculator.calculateDiscountsForOrder.xpp:line 19
at Dynamics.Ax.Application.RetailSalesOrderCalculator.Setdiscountoncurrentline() in RetailSalesOrderCalculator.setDiscountOnCurrentLine.xpp:line 13
at Dynamics.Ax.Application.SalesPurchLine.Setpriceagreement(InventDim _inventDim, Boolean _doCallPriceDate, PriceDiscPolicyCheckPolicy _checkPolicy, Boolean _initDateFields, RetailSalesPurchLineMap _retailSalesPurchLineMap, Boolean , Boolean , Boolean , Boolean ) in SalesPurchLine.setPriceAgreement.xpp:line 48
at Dynamics.Ax.Application.SalesPurchLine.Setpriceagreement(InventDim _inventDim, Boolean _doCallPriceDate, PriceDiscPolicyCheckPolicy _checkPolicy, Boolean _initDateFields, RetailSalesPurchLineMap _retailSalesPurchLineMap)
at Dynamics.Ax.Application.SalesLine.Setpriceagreement(InventDim _inventDim, PriceDiscPolicyCheckPolicy _checkPolicy, Boolean _initDateFields, RetailSalesLine _retailSalesLine, Boolean , Boolean , Boolean ) in SalesLine.setPriceAgreement.xpp:line 6
at Dynamics.Ax.Application.SalesLine.Setpriceagreement(InventDim _inventDim, PriceDiscPolicyCheckPolicy _checkPolicy, Boolean _initDateFields, RetailSalesLine _retailSalesLine)
at Dynamics.Ax.Application.SalesLine.Setpricedisc(InventDim _inventDim, Boolean _initDateFields, RetailSalesLine _retailSalesLine, Boolean , Boolean ) in SalesLine.setPriceDisc.xpp:line 34
at Dynamics.Ax.Application.SalesLine.@Setpricedisc(InventDim _inventDim, Boolean _initDateFields, Boolean )
at Dynamics.Ax.Application.SalesLine.Setpricedisc(InventDim _inventDim)
at Dynamics.Ax.Application.SalesLine.modifySalesQtyIL(Object[] _inputContract) in SalesLine.modifySalesQtyIL.xpp:line 48
at SalesLine::modifySalesQtyIL(Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeStaticCall(Type type, String MethodName, Object[] parameters)
at Dynamics.Ax.Application.SysDictTable.invokeStaticMethod(Object[] _params) in SysDictTable.invokeStaticMethod.xpp:line 32
at SysDictTable::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)
We can’t find any reference in AX to this method so assuming one of the other DLL’s is referencing it.
We have tried re registering the following DLL’s in the bin directory in the GAC based on https://community.dynamics.com/ax/f/33/t/152585
Microsoft.Dynamics.Commerce.Runtime.dll
Microsoft.Dynamics.Commerce.Runtime.Services.PricingEngine.dll
Overwriting the PricingEngine.dll with the original 6.3.2000.326 version fixes the runtime error and full compile and CIL still works with all the other components updated but unsure as to the wider implications of a mismatch of DLL versions? It does seem to crash the AOS when adding a product in this state on one environment but not on another so not sure that is the cause of that instability.
Should we not attempt any kernel updates and stick with the CU9 6.3.2000.326 kernel until we are at a point to do a code upgrade to CU13?
Anyone had any similar issues?
Unable to call any method of Printing dll
Hi Retail POS champs,
I am trying to use receipt printing methods in trigger project but unable to call any methods and receiving null exception on calling.
Printing object is not null but on calling it gives exception of null with method name.Can any on give me suggestion how to debug issue ?
Unable to put break point on printing dll methods because debugger doesn't hit it
facing issue in TFS workspace.
Hello all.
I am trying to compile whole AOT. after finish this process, i got an error message that "The file 'C:\TFSWorkspaces\AOT Repository\Tffents\Data Dictionary\Tables\AssetBook.xpo' is write-protected or in use."
I really do't understand why i am getting it?
anybody can help me?
sub reports in AX 2012 R3
Hi All,
I have created a sub report. It is opening but values are not filling up. For testing purpose I have hard coded a parameter in sub report Filters to check the values and the test is positive. This means parameter value is not reaching the subreport from main report. Kindly help me on this.
Regards,
Ravi kumar
marked Transactions in mask "Settle open Transactions"
Hello everyone,
I have a General question:
when I open the mask "Settle open Transactions"e.g.for changing the due date (via AR-->Customer invoices-->Open customer invoices) I noticed that Transactions are automatically marked (sometimes even several Transactions, not belonging to the transaction,from where I open this mask).
Problem is, if someone else is processing these open transactions at this time(settling),they will be shown as "locked" through other user. Or, I have to manually remove the marking, while I am in this mask.
Is there some logic behind that? I would expect that no marking should be done automatically here, but only by user himself.
Thank you und Kind regards,
Jolyon
New parameter in Customer Ageing Report
Hi,
I am trying to add a new Enum parameter to Customer Ageing Report. I have successfully added it to report and it does not give any error. The problem that i am facing is related to passing the value till the class CustVendAgingCalculation. I have also managed to pass it and verify till CustVendBalanceList class.
I think i am still missing the part of passing it to CustVendAgingCalculation and CustAgingCalculation classes.
The point of all this is I am trying to filter the transaction based on a value enter by the user that related to dimension on transaction.
Regards,
Anoop Tripathi
Can't Cancel Packing Slip In Intercompany Sales Order After Upgrade CU13
Hi All,
I do inter-company between (company A and company B ) with direct delivery
Create Sales order at company A,
by direct delivery, it Creates Purchase order at company A,
by inter company, it Creates sales order at company B.
when I do packing slip from sales order
at company B an product receipt and packing slip reflected automatically at purchase order and sales order in
company A
and when I cancel packing slip at company B an product receipt and packing slip are Cancelled automatically in company A
That before the upgrade to CU13 from RTM
after Update, when I cancel packing slip at company B an product receipt and packing slip are not Cancelled in company A
any help for this problem ???
thanks in advance.
Sending emails automatically without manual intervention
Hi All,
We had a customization to send out reports as pdf attachments to vendors. It was all working in AX 2012 CU8 .
Recently we have upgraded to CU13 and now, the report is successfully sent out as an attachment but outlook email is not sent. the email is composed with the right information (to address, From address, subject ,attachment) and the composed email stands there as a composed draft and manually we need to press the send button. It does not send it automatically. Is there any settings to do this that I am missing?
Thanks.
Delivery Address on Sales / Purchase Confirmation Agreement
Does anybody now why system not store DeliveryPostalAddress on agreements (on header) until TradeMultiShipTo configuration key is enabled?
https://docs.microsoft.com/en-us/previous-versions/dynamics/ax-2012/reference/gg883499(v=ax.60)
Key description:
The Multiple ship-to configuration key controls access to delivery functionality for sales and purchase order lines. If enabled, you can specify delivery addresses for each order line.
Thank you
Procurement Category Main Account Mapping
Is there a way to map main accounts to procurement categories if the main account has financial dimensions? I understand that I can not map the financial dimensions but the main account will not pull up either as a starting point. I tried mapping an expense account that had no financial dimensions and it mapped to the procurement category and automatically filled in the financial distribution perfectly.