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

SysLookupMultiSelectCtrl constructWithQuery AX 2012 R2

$
0
0

Hi everyone,

I created a Table (TmpMonths) type InMemory with Id, Name fields -> AOT

I then created a Query (MonthsQuery) with the Id, Name fields -> AOT

I have a button ,with the method clicked, which created a Dialog

void clicked(){

Dialog _dialog;

DialogField _fieldPeriod;

SysLookupMultiSelectCtrl msCtrl1;

TmpMonths _tmpMonths;

_tmpMonths.id = 1;
_tmpMonths.Name = "January";
_tmpMonths.Insert();

_tmpMonths.id = 2;
_tmpMonths.Name = "February";
_tmpMonths.insert();

....

_tmpMonths.id = 12;
_tmpMonths.Name = "December";
_tmpMonths.insert();

super();

_dialog= new Dialog("Parameters");
_dialog.caption("Parameters");
_fieldPeriod= _dialog.addField(("MonthName"));

_dialog.run(true);

msCtrl1 = SysLookupMultiSelectCtrl::constructWithQuery(_dialog.formRun(), _fieldPeriod.control(), queryStr(MonthsQuery));

while select* from_tmpMonths{

info(_tmpMonths.Name);

}

_dialog.wait();

}

info () -> print all month added, but _fieldPeriod displays an empty list.


What am I doing incorrectly ?


Fixed Asset - Posting profile ledger account update (After depreciation)

$
0
0

Hi,

I understand value models cannot be changed once depreciation run. Instead of closing and re-opening the asset on new model, I am planning to change the ledger accounts of current value model. Please note the depreciation was run and amount were re-classified to another ledger account.

To avoid re-classifying it every month, i am planning to update the correct ledger account on the value model. Will this cause any problem?

Thanks,

RJay 

Organization hierarchy - Budget control

$
0
0

Hello,

I am setting a parent/children department in my Org structure. Can I apply budget control at parent level and book actual expenses against children?

Odd error while refreshing existing report data source in VStudio

$
0
0

Hi all, so I want to modify Sales Order Picking List report (WMSPickingList_OrderPick) where I want to add additional field in it.

After i populate it in DP class, and I want to refresh the datasource in report designer in Visual Studio for the additional field there are some error "The Query couldn't be processed. The field XXX do not exist in the report provider table WMSPickingList_OrderPickTmp" 

I have check on the tmptable in AOT and there are no such field, I've search about it and already done compile CIL, synchronize the table, restart report service and AOS too but nothing worked so far.

After that I have import back the WMSPickingList_OrderPick report and everything to it's original version and try to refresh it again also caused the same error......and I haven't done anything yet on the report while the tmptable itself in AOT don't have the mentioned field in the infolog...any help guys? is this a bug or something?.....because all i want is just adding 1 additional field into it and this is frustrating....

If i imported back the original report, the report itself can be opened from AX but if I try to refresh the datasource in Visual Studio it'll caused this error again.....

How to a field mandatory in grid on some condition

$
0
0

Dear All

I want a  customize field mandatory in Grid of LedgerJournalTransVendPaym form on condition.

mandatory base on BankgroupId, if accountnum field have bank account "abs" which associate  group "a"

 or offsetaccountnum field have bank account "abs" which group also  "a",

I mean out of both  one  accountnum associate  group "a" then field should be mandatory.

and  I have tried to make field mandatory , I was wrote  code on field accountnum and offsetaccountno method modified but code execute before value reached in field

so kindly help me ..................

Thanks  

Update RG 23A Part II immediately after posting the product receipt

$
0
0

Hi,

According to the new features of AX 2012 R3 CU9, it should be possible to post excise and update excise register immediately on product receipt.

https://technet.microsoft.com/en-us/library/dn507150.aspx


I have marked post physical tax in Inventory Management, and also set up deferred sales tax account in inventory posting profile. However, I am not getting any tax entries while receiving product. tax entries were generated only on invoice.

Can you let me know what additional things I need to configure.

Thanks in advance

Ashok

Free text invoice posting error ax 2012 cu 9

$
0
0

Hi All,

I go the following error while posting the free text invoice. 

I have deleted the content from the XPPIL folder and generated full CIL. The error is still exist.

If I disable the "Execute business operation in IL" then it works fine.

Please provide your suggestions.

Microsoft.Dynamics.Ax.Xpp.InfoException: Exception of type 'Microsoft.Dynamics.Ax.Xpp.InfoException' was thrown.
at Microsoft.Dynamics.Ax.MSIL.Interop.throwException(Int32 ExceptionValue)
at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.callReturn(Int32 rc, interpret* ip)
at Microsoft.Dynamics.Ax.MSIL.cqlClassIL.CallStatic(String className, String methodName, Object[] parameters, Type[] types, Object[] varargs, Type[] varargsTypes)
at Microsoft.Dynamics.Ax.Xpp.XppObjectBase.StaticCall(String className, String methodName, Object[] parameters, Type[] types, Object[] varargs)
at Dynamics.Ax.Application.DateTimeUtil.getClientMachineTimeZone()
at Dynamics.Ax.Application.CustTrans.Insert() in CustTrans.insert.xpp:line 119
at CustTrans::insert(Object , Object[] )
at Microsoft.Dynamics.Ax.Xpp.ReflectionCallHelper.MakeInstanceCall(Object instance, String MethodName, Object[] parameters)
at Dynamics.Ax.Application.CustVendVoucher.Post(LedgerVoucher _ledgerPostingJournal, CustVendTrans custVendTrans, NoYes approval, UnknownNoYes euroTriangulation, Boolean _withHoldTaxType, Boolean _useSubLedger, Boolean , Boolean , Boolean , Boolean ) in CustVendVoucher.post.xpp:line 515
at Dynamics.Ax.Application.CustVendVoucher.Post(LedgerVoucher _ledgerPostingJournal, CustVendTrans custVendTrans, NoYes approval, UnknownNoYes euroTriangulation, Boolean _withHoldTaxType, Boolean _useSubLedger)
at Dynamics.Ax.Application.CustVoucher.Post(LedgerVoucher _ledgerPostingJournal, CustVendTrans _custTrans, NoYes _approval, UnknownNoYes _euroTriangulation, Boolean _withHoldTaxType, Boolean _useSubLedger, Boolean , Boolean , Boolean , Boolean ) in CustVoucher.post.xpp:line 48
at Dynamics.Ax.Application.CustVoucher.Post(LedgerVoucher _ledgerPostingJournal, CustVendTrans _custTrans, NoYes _approval, UnknownNoYes _euroTriangulation, Boolean _withHoldTaxType, Boolean _useSubLedger)
at Dynamics.Ax.Application.CustPostInvoice.Runinternal() in CustPostInvoice.runInternal.xpp:line 718
at Dynamics.Ax.Application.CustPostInvoice.staticRun(Object[] _params) in CustPostInvoice.staticRun.xpp:line 45
at CustPostInvoice::staticRun(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)

Ax client crash on Worker position form

$
0
0

Hi All,

AX client crashes when user access the worker position form. Form is not customized. 

System is Ax 2012 R3 cu9.

Below is the error from event viiewer.

Faulting application name: Ax32.exe, version: 6.3.2000.326, time stamp: 0x55723de2

Faulting module name: MSVCP90.dll, version: 9.0.30729.8387, time stamp: 0x51ea24f9

Exception code: 0xc0000005

Fault offset: 0x00010993

Faulting process id: 0x1524

Faulting application start time: 0x01d1b7e76512ba79

Faulting application path: C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe

Faulting module path: C:\Windows\WinSxS\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.8387_none_5094ca96bcb6b2bb\MSVCP90.dll

Report Id: be52e923-23da-11e6-80d8-005056ac7e01

Faulting package full name:

Faulting package-relative application ID:

 

I have reinstalled the Microsoft visual c++ 2008 redistributes. (2010 and 2012 are also reinstalled.)

Error is still exist.

Please suggest a solution.


Reporting per legal entity in concolidated entity

$
0
0

Hi,

doesn anyone know if there is a report showing trial balance per legal entity in concolidated entity.  

Thank you in advance

Br

Kacper

Timesheet for non project based positions

$
0
0

Hi All,

I am trying to set up timesheets for administrative department of the company whose tasks are repetitive and non project based. These roles include accountant, HR , admin and operations department.

I am currently unable to find a way to create and assign timesheets for these positions. Do I need to create separate projects for these positions and then assign tasks for the timesheets.

Thank You

Regards

Amrendra

TempDB table field cannot be empty for RecId 5637146088

$
0
0

dear all when i try to print any report i face this issue

TempDB table field cannot be empty for RecId

Is there any "FULL OUTER JOIN" in while select in AX2012

$
0
0

I am a new user in AX2012.

 

My while select statement is

    while select tableA
      outer join tableB
           where tableA.ItemId == tableB.ItemId
              && tableA.InventColorId == tableB.InventColorId
              && tableA.InventSizeId == tableB.InventSizeId

there are 316 records comes out.

 

when I use sql in sql server

SELECT *
FROM tableA ctt
FULL OUTER JOIN tableB tgt
ON ctt.itemid = tgt.itemid
AND ctt.inventcolorid = tgt.inventcolorid
AND ctt.inventsizeid = tgt.inventsizeid

there are 317 records come out.

 

The difference is a record in tableB cannot come out in the while select statement. Please tell me how get all of the records in tableA and tableB with out join in while select statement. Thank you.

Sales Done by Sales man in a Month ??

$
0
0

How to get report of sales done by sales man in a month. Is there any standard Report in Ax to get the same.

Total Purchase Invoices Done in a month Report ??

$
0
0

Any Standard Built in reports to get total purchase invoices done in a month.

Need Purchase Done by Vendor in a month with Amount Details ??

$
0
0

Need purchase done by vendor in a month with corresponding amount detials and date wise filter


Vendor account statement Accumulated balance not there ??/

$
0
0

I need to get accumulated balance( Sub total I Believe )  for each vendor for every month in Vendor account statement . Currently Built in report does have column for accumulated balance for each vendor ..but for some vendors it is showing zero Why ??

Help to know the data source for some table

$
0
0

Hello 

I have a custom Table, this table have some data to selected (EX: A1, B2)

i want to know from where can i custom or add this data  (B1 A1)

i search for it and do my best but i don't know from where because its a custom table 

see the Pic for more details 

Regards 

Cannot change to a new company

$
0
0

Hello!

I need a little help. I have to create a new company in our dax 2009 database, but after I created it in the company accounts(dataarea) table and then I tried to change company to the new one it was an error message. I think about two solutions.

1. What do you think if I copy the dat company(because it has minimal data and no transactions) into a new one and then export main data without transactions from a production company into the new company? I tried it and it seems to be good.

2. It is more risky. So after I had created the new company account I made a new line in companyinfo table with directly from sql management studio with the appropriate data such as the dataareaid of the new company and handling the recid of companyinfo table. I tried it and seems to be good too. 

So it seems only the companyinfo line was not created. Is it possible? 

And which is the better solution?

Thanks in advance,

SilverCx

Only one time print SSRS report for some users that declare in User group

$
0
0

Some user which declare in user group they take only one time SSRS report print after SSRS report print button will disable for that user which i declare in user group not for all. And the SSRS report Button is available in customize table.

Give me any suggestion or any idea. How complete this task. I need help.

Multiple custom lookup

$
0
0

Hello, 

I have three drop downs, Item, Make, mode and i need to create a FA based on these fields, how can i create a lookup for these

for e.g.

Item can have the below values

Laptop,

CPU,

Desktop

Make can have below values

Apple (Laptop)

Dell (CPU)

Lonovo (Desktop)

Model can have below values

15" (Apple)

13" (Dell)

21" (Lenovo)

Now while creating FA master these filed's values need to be selected and when Laptop is selected the make field should give me a dropdown of Apple and in the third filed after i select Apple in second i should get a dropdown of 15''

i.e. current lookup needs to be dependent on previous lookup, 

how can this be achieved?

thanks

Viewing all 73760 articles
Browse latest View live




Latest Images