I'm getting this error when trying to create a line in Gen_ Journal Line through a published oData web service for Id 39, called "DiarioGeral":
"Primary keyvalue(s) Journal_Batch_Name, Journal_Template_Name, Line_No are missing in insert command. Make sure that all primary keys on the page are backed by a control in order to be set"
My C# code is :
DiarioGeral dg = new DiarioGeral();
dg.Journal_Template_Name = "COBRANÇAS";
dg.Journal_Batch_Name = "82";
dg.Line_No = 50000;
nav.AddToDiarioGeral(dg);
nav.SaveChanges();
any ideas?
*This post is locked for comments