I’m trying to use a “temp” table to import PO Details Rows in it.
The problem i got it’s i cannot use the ud column created within.
Is there a way to link those column that are supposed to be linked??
I know i can create my column manually but that’s not what i want.
My DataModel is regenerated and IIS is recycled.
//shorten code
POAdapter poadpt = new POAdapter(oTrans);
poadpt.BOConnect();
Erp.BO.PODataSet.PODetailDataTable temp = new Erp.BO.PODataSet.PODetailDataTable(); //that object doesn't contains UD Columns that I created
temp.BeginLoadData();
foreach (int i in lst01){
//get podetails lines
poadpt.ClearData();
poadpt.GetByID(i);
foreach (Erp.BO.PODataSet.PODetailRow dr in poadpt.POData.PODetail){
var row = dr;
temp.NewPODetailRow();
temp.ImportRow(row);
if (!String.IsNullOrEmpty(row["FusEntryPerson_c"].ToString())) //Here's with the POAdapter i got all the columns I've create
{
MessageBox.Show(temp.Columns.Contains("FusEntryPerson_c").ToString()); /// Here i got false in the temp object;
}
}
}
temp.EndLoadData();
poadpt.Dispose();
Thanks!