Does anyone know what BO I should be using to generate a full indented BOM through code? I am going to try BOMSearch, but I also wanted to see if anyone else knew while I was working on it.
Crazy? I know. But this is for a client who is MT so there are no other options. (The customization is a Button Click that calculates lead time). Also, I tried a BAQ but the recursive query does not work because of how they set up their parts.
Help! How is this method used? It returns a boolean not a dataset, so I am very confused.
My best guess is something like
BomSearchAdapter bsa = new BomSearchAdapter(oTrans);
bsa.BOConnect();
Boolean gdft = bsa.GetDatasetForTree(myPN, myRev, "", true, DateTime.Today, true);
if (gdft == true)
{
DataSet bomDS = bsa.GetCurrentDataSet);
//now I have the BOM in a dataset and can read from it??
}