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

Forum Post: Converting SQL to X++

$
0
0
I would like to convert the following SQL to X++ case when CHARINDEX('-',REVERSE(NAME)) > 0 then right(NAME,CHARINDEX('-',REVERSE(NAME))-1) else Name end as Name

Forum Post: RE: Error executing code: Query (data source) has no valid runable code in method 'new'.

$
0
0
Try to debug. You copied this form and there must be methods which are using/referring old form name in code. I am sure, debug will help to identify the right place.

Forum Post: RE: Not able to reduce/consume the On Hand inventory Qty through inventory journals

$
0
0
Hi Satish, Another item having physical inventory and available physical but still i am not able to post consumption/reduce the item Qty. Regards, Taraka

Forum Post: RE: how to put dialog box open when a condition is not checked

$
0
0
Create a method called getStartDate() on your original form. That should return the startDate. Then on the dialog form, call callerForm.getStartDate() to get the start date. If you need any more help, please search the web for "dynamics ax pass values between forms"

Forum Post: RE: Excel adding, Office integration

$
0
0
Hi Deepak, Thanks for quick help. I have added custom fields in excel but after downloaded excel, while data loading I am getting error message and due to that only one record got loaded in excel. Custom field behavior : Allow edit (false) with real type Error:

Forum Post: RE: Converting SQL to X++

$
0
0
Hi Jezem, I think you can use While select. https://docs.microsoft.com/en-us/dynamicsax-2012/developer/while-select-statements CharIndex change to use strScan. https://docs.microsoft.com/en-us/dynamics365/unified-operations/dev-itpro/dev-ref/xpp-string-run-time-functions#strscan

Forum Post: RE: Query build Range for AND, OR conditions

$
0
0
Sorry. But I have already gone through these links. It doesnt give me a proper solution. As I need to fetch the values for amountcur and settleamountcur

Forum Post: RE: Query build Range for AND, OR conditions

$
0
0
Can you please explain what exactly you're unable to implement? It's difficult for us to address your problem if you don't describe it.

Forum Post: RE: how to put dialog box open when a condition is not checked

$
0
0
I added this code: public void init() { date start; Args args; super(); callerForm = element.args().caller(); start=callerForm.getStartDate(); => the caller form doesn't contain the method getStartDate() }

Forum Post: RE: how to put dialog box open when a condition is not checked

$
0
0
And what type of object is your "callerForm" variable? You should declare it as Object, then it will work. I did a web search for "dynamics ax call method on caller form": dynamicsuser.net/.../calling-method-on-a-caller-form

Forum Post: DimensionDefaultingEngine::insertDimensionSpecifer has been incorrectly called

$
0
0
Function DimensionDefaultingEngine::insertDimensionSpecifer has been incorrectly called

Forum Post: RE: Batches not updating ledger

$
0
0
did you tried to debug your code, if its skips the update for some reason.

Forum Post: RE: DimensionDefaultingEngine::insertDimensionSpecifer has been incorrectly called

$
0
0
Do you have some question? If yes, are there any more details that you would like to share, that could help us help you? In general, just provide similar information that you would like to get if someone asked help from you.

Forum Post: RE: The table Invent Table doesn't contain the Field InventSiteId when i am changing to insert_record set?

$
0
0
Try this. Change your field sequence in such way all fields which available in 'InventTable' comes first and than put InventSiteID. Now while selecting add relation to InventDim to select InventSiteId. That must work. Here is example . Insert_Recordset inventStockCardTmpLine (f1, f2, f3, InventSiteId) select f1, f2, f3 from InventTable join InventSiteId from InventDim where InventDIm.inventDimId == InventDimId you need to identify the right relation for inventDim as InventTable doenst contain inventDimID. Also in your code you are putting condition on inventStockCardTmpLine.recID==0 while the buffer you are using to insert record. You can not use same table buffer to insert and in where condition. Anyways its a temp table which does nt contain record out of this buffer for a rec id.

Forum Post: RE: Joining GENERALJOURNALACCOUNTENTRY with COSLEDGERTABLE

$
0
0
Hi TTB, I have never used the COSLedgerTable for this purpose. You can use the MainAcccount table. Have a look at the whitepaper which explains the data model: download.microsoft.com/.../implementing_the_account_and_financial_dimensions_framework_ax2012.pdf

Forum Post: RE: Ax2012 R3 InventModelGroupItem

$
0
0
Hi Anton, You need to extend your coding to also create a records in the InventModelGroupItem table. This is not done automatically. You can do this after the inventTable.insert().

Forum Post: RE: Joining GENERALJOURNALACCOUNTENTRY with COSLEDGERTABLE

$
0
0
This seems to be a / the solution. I will look into that. Thanks a lot!

Forum Post: RE: Opening transaction form in fiscal year close is hang and can't open it

$
0
0
Hello, At first place you can try to reset the uses data and delete UAC files ( www.theaxapta.com/.../how-to-delete-auc-files.html) . Additionally get some technical help to debug , where is stucked.

Forum Post: RE: stock value report is showing the difference amount with the trial balance report

$
0
0
Hi Subashini, You can try to narrow down the date range to find on which date the difference(s) were encountered. Then you can try to find out if a wrong setting was used. Depending on the situation, there might be another solution to correct the on-hand or trial balance. If you don't have the expertise here, it would be recommended to hire a consultant knowledgeable in inventory transactions and ledger reconciliations.

Forum Post: RE: Debug WMDP

$
0
0
Hi, There is a form 'WHSWorkExecute' that you can run it and debug your code and simulate specific action in WMDP.
Viewing all 125409 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>