Skip to Content
avatar image
Former Member

Error -5002 Update Journal Entry

Hi everybody

I'm trying to update the DueDate of the Journal Entry line that has DP source, but error -5002 is displayed. The same code works when the source is not a Deposit

JEDep.GetByKey(1); 
for (int i = 0; i < JEDep.Lines.Count; i++)                 
{ 
JEDep.Lines.SetCurrentLine(i); 
JEDep.Lines.DueDate = DateTime.Now.AddDays(10);                 
}
int lrr = JEDep.Update();
if (lrr != 0)                 
{ }
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers