Is is possible to add new column to standard table like OEORDD? I'm converting the old system to c# and noticed that there are two new columns on OEORDD table based from this site:
New columns named: PDTLNUM and PARENTUNIQ
In the source code they are using like this:
But when I'm running it to my project solution. I'm getting the COM error.
I've query the OEORDD table and those fields are existing.
New columns named: PDTLNUM and PARENTUNIQ
In the source code they are using like this:
Code:
vOEORDD.Fields.FieldByName["PARENTUNIQ"].PutWithoutVerification(vOEORDDParent.Fields.FieldByName["ORDUNIQ"].get_Value());
vOEORDD.Fields.FieldByName["PDTLNUM"].PutWithoutVerification(vOEORDDParent.Fields.FieldByName["DETAILNUM"].get_Value());
But when I'm running it to my project solution. I'm getting the COM error.
Code:
Error HRESULT E_FAIL has been returned from a call to a COM component.
I've query the OEORDD table and those fields are existing.