Hi Experts,
I’m facing an issue while pasting records from Excel into a custom line table grid in D365FO.
My line table has a unique index on (LineNum, HeaderRef).
initValue()
, I assign default values when the user clicks New Line:
LineNum
is assigned starting from 1, and increases by 1 each time a new record is created.HeaderRef= Header.RecID
After that, the user pastes records from Excel.After that, the user pastes records from Excel.
LineNum = 1
and HeaderRef = Header.RecId
), I get this error message:Questions:
Thanks in advance for your help !
Sohaib Cheema
878
User Group Leader
André Arnaud de Cal...
681
Super User 2025 Season 2
Martin Dráb
496
Most Valuable Professional