I have my ABSL in BO action called "AssignCoveredObject", which is called thru the OWL button.
The Create method does go thru the IsSet() check to say an instance was created, but viewing it in the Contracts WC, I cannot see anything added.
Has anyone experieced this ?
What would stop the Create
SUBSET OF CODE (see full code of action in attached file):
foreach (var contract in q_contract_r)
{
contract.ServiceTerms.AllObjectsCoveredIndicator = false;
elementsContractCoveredObjects.IndividualProductKey.ProductID.content = rpfc.RegisteredProductID.content;
// ********************* LOOK HERE **************************
// this create() below is a success, but no BO nodes are created. I get all success messages, no errors.
//
var newICO = contract.IndividualCoveredObject.Create(elementsContractCoveredObjects);
if (newICO.IsSet() ) {
raise ICOcreated.Create("S", rpfc.ContractID, rpfc.RegisteredProductID );
}
else {
raise ICOerror.Create ("W", rpfc.ContractID, rpfc.RegisteredProductID );
}
}