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

RE: Cannot create a record in Employment (HcmEmployment).

$
0
0

Hi Syed,

We are importing Employee and Contractors through DIXF in Dynamics 365.

Some of the records have error as below.

"Results. Cannot edit a record in Employment (HcmEmployment). 'Employment start date' can only be updated to today or a value in future in change tracking mode. "

 

Could you please suggest, what could be the reason.

Thanks,

Kiran 


Cannot create a record in Employment (HcmEmployment).

$
0
0

Whenever I am trying to insert a record in HcmEmployment table through a .csv file, it is giving following error in infolog.

Cannot create a record in Employment (HcmEmployment). Invalid value specified for 'Employment end date'. It cannot be greater than or equal to the 'Employment end date' of the first record.

I finally deleted all the records from HcmEmployment table and only tried to insert one record, but it is stikll showing the above error.

RE: How change Item Type from 'Item' to 'Service'

$
0
0

Have you solved this issue? I have similar requirement. how did you do this? through script or is there ax standard functionality?

Please let me know your inputs on this.

How change Item Type from 'Item' to 'Service'

$
0
0

I have one item that i'm trying to change item type from 'Item' to 'Service'.

However, there system prompting error message as below since there are purchase order and sales order Invoiced against this item. 

'Item type cannot be changed to Service because inventory value has been posted for the item.
First set inventory value to 0.'

What is the steps to change item type in this scenario?

How to set inventory value to '0'.

RE: Ax - Is it possible to crawl DDBB not-yet-persisted data inside tts blocks during debug?

$
0
0

Thanks, Malcolm.

I continued looking (a lot) in Internet, and finally found a solution myself. From SQL Server Management Studio, you can open a new query against the proper DDBB, and query uncommited data. I post an example below.

According to my testings, it's possible to read data from updated tables (with forupdate clause included) and this doesn't interfere with the debugged operations (always suppossing you're only selecting, of course). Note the first line, where SQL Server is notified that you want "dirty" (uncomitted) data to be included in queries.

SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED

SELECT TOP 1 SALESID, PURCHORDERFORMNUM FROM dbo.SALESTABLE WHERE SALESID = 'PV0000000'

-- Set isolation level to original isolation level (not neccesary but good practice)

SET TRANSACTION ISOLATION LEVEL READ COMMITTED

--

Ax - Is it possible to crawl DDBB not-yet-persisted data inside tts blocks during debug?

$
0
0

I think this is a interesting question. Let's explain this situation:

You're debugging a large bunch of code that involves a huge stack call, and several tts blocks. In some point of debugging, it would be nice to be able to query database for the not-yet-persisted data. Is it possible? I've lacked this feature a lot. I wonder if retrieving the DDBB connection id and doing some SQL Server query configuration would made this possible...

Example:

ttsbegin;

select firstonly forupdate CustTable where CustTable.AccountNum == '00034";
CustTable.CustGroup = 'InvAcc";
CustTable.update();

(...) ------> BREAKPOINT!! Here I'd like to access to SQL Server do SELECT TOP 1 FROM dbo.CUSTTABLE WHERE ACCOUNTNUM = '00034'

ttscommit;

How to Insert Column in Row Definition of Management Reporter

$
0
0

Hi Experts

I need to insert a Column in the Row definition of Management Reporter . How can i do this . 

I need to insert Schedule no for Reporting purpose 

RE: How to disable/enable button on form by calling from another form?


EDI and Dynamics AX Integration

$
0
0

How to integrate Dynamics AX 2012 with EDI files exchange to improve productivity specifically for the supply chain

RE: Cancelling a call to a method without using overlayering

$
0
0

You can't cancel calling of standard methods in event driven code in D365FO.

Sometimes you can use workarounds by changing call parameters of standard methods, but such tricks will always add overhead to future upgrades.

Cancelling a call to a method without using overlayering

$
0
0

Hi all,

I was wondering if any of you had a solution to this problem. Unless I’m mistaken there is no way to cancel a call to a method using events or without overlaying. So, as an example, if we have the following:

 

If(condition1)

{

                myMethod();

}

 

And we would want to change the condition to replicate this overlayer:

 

If(condition1 && condition2)

{

                myMethod()

}

 

I really struggle to see how we can using events as exceptions will probably not be handled the way we want by the calling code. So how do we handle this?

Also as we ourselves are writing code, how do we moving forward write our code to be sympathetic of this problem

Penny difference in reporting currency does not exist

$
0
0

Hi,

I'm getting this error when I'm trying to post a journal: Account number for transaction type Penny difference in reporting currency does not exist.

I already have configured an account for Penny difference in reporting and accounting currency in Accounts for automatic transactions but I still get the error.

Does anyone know what else do I need configure?

Thanks.

RE: I have a custom priviledge,where InventOnhand form is available in Inquiry,There is a button Dimension Display,but check boxes are not editable

$
0
0

Look at the contents of the privilege InventOnhandItemView

RE: Affect of prepay - 3 ways matching

$
0
0

Hi Ludwig,

Thank you for your response.  

1. Yes, I went ahead and posted the invoice.  It hit the right accounts.  The prepay cleared out; debit supply, credit cash for the prepay, and credit the remaining AP after deduction from prepay.  So it looks good.  I was just concern if there is something I don't see.  

2. thanks for the link.

Affect of prepay - 3 ways matching

$
0
0

Hi All, 

I have a prepay in my PO.  Before I invoice the PO, I need to apply the prepay to clear out the prepay account (screenshot 1).  

I have a following error, " The vendor invoice and packing slip matching was changed and accounting distributions already exist.  All accounting distributions must be re-created to reflect the new invoice and packing slip matching" (screenshot 2).  I checked the packing slip, it was not changed after I posted the PO invoice. 

I have 2 questions:

1. Does anyone have any problem doing 3-ways matching when apply the prepayment?  

2.  If I were to use the category to purchase instead of item, I can do the 3-ways matching, correct?  

Thanks so much!


RE: Penny difference in reporting currency does not exist

$
0
0

Have you on the firsthand Setup a Reporting Currency at ledger?

And what do you have at General Ledger Parameters >> Maximun penny-rounding in reporting currency?

RE: Open a new form

$
0
0

Hi, Ameny!

What is your business scenario?

Open a new form

$
0
0

Hello,

I have added a new button in PurchTableListPage form that opens a new form for a new functionnality.

It works successfully but i have a problem while selecting a record from the list page: i want that when selecting the record without checking it and i click the button, it opens the form. 

this problem is because i have written in the clicked method of the button this code:

void clicked()
{
Args args= new Args();
FormRun formRun;

PurchTable purchTable;
Common Common ;
PurchId purchId;
purchTable = PurchaseTable_DS.getFirst(true);

while(purchtable)
{
if (purchTable.PurchId) //  it's because of this condition

{
args.name(formStr(PurchLinePacking));
args.caller(this);
args.record(purchtable);
formRun=classFactory.formRunClass(args);
formRun.init();
formRun.run();
formRun.wait();
formRun.detach();
}
purchTable = PurchaseTable_DS.getNext();
}

}

can any one help me how to correct it?

Best Regards

RE: Penny difference in reporting currency does not exist

$
0
0

Hi Crispin,

Yes, I already setup a Reporting Currency at Ledger.

And at General Ledger Parameters >> Maximun penny-rounding in reporting currency I have 1.00

General Ledger/Setup/Profit tax/Registers/Tree

$
0
0

General Ledger/Setup/Profit tax/Registers/Tree

Under the register tree--> Calculation of Temporary Tax differences do not have any node under it. These nodes are looking as part of  Russian localization.  

These are the nodes expected to be seeing under Calculation of Temporary Tax differences

1. Accounts receivable -bad debts reserve

2. Accounts receivable-reserve details(business accounting) 

3. Accounts receivable - reserve details(business accounting)

Any thoughts on,

how to populate these nodes under Calculation of Temporary tax difference?

 

thanks

Shan

 

 

Viewing all 175888 articles
Browse latest View live


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