Skip to main content
Dynamics 365 Community / Forums / Finance forum / Fetch PriceDiscAdmTran...
Unanswered

Fetch PriceDiscAdmTrans Rec id to populate custom table refrecid

editSubscribe (0) ShareShare
ReportReport
Posted on by 62
Hi, 
 
I have created a custom table (serialization table for PriceDiscAdmTrans) for where there is a RefRecId field PriceDisc which is having relation with PriceDiscAdmTrans
 
Foreign key relation:
CustomTable.RefRecId = PriceDiscAdmTrans.RecId
 
when i am trying to create a new trade agreement and try to save it it says Cannot create a record in CustomTable (Serialization table of PriceDiscAdmTrans). CustomTable: , 0. The record already exists. actually this table conatins my workflow apploval list which is a custom workflow i have created for Trade agreemnet journal lines, how do i solve it?