I have some custom Data that I have added to the Quote worksheet using a UD table I have all the data added in the UD table and displayed in a Gridview on the Quote form. So once the Estimator is ok with this Data I want to add the Operation,Material and what not to the Quote This is where I start… but get an error:
QuoteDataSet QDS=QuoteData.GetByID(qNum);
QuoteData.GetNewQuoteDtl(QDS,qNum);
QuoteAsmDataSet ds =QuoteASM.GetByID(qNum,qLine,AssemblySeq);
//QuoteAsmDataSet ds= new QuoteAsmDataSet();
int newInt=AssemblySeq+10;
int iSeq=QuoteASM.getNextOpDtlSeq(sCompanyID,qNum,qLine,AssemblySeq,OprSeq);
QuoteASM.GetNewQuoteOpr(ds,qNum,qLine,OprSeq);
QuoteASM.GetNewQuoteMtl(ds,qNum,qLine,AssemblySeq);
Table:QuoteOpr
…
ForeignKeyConStraint QuoteASmQuoteOpr requires the Child key Values (A,B,C,D) to exist in the Parent table.
Any Idea should I be using an Adapter? Help