Quantcast
Channel: SCN : Unanswered Discussions - SAP Business ByDesign
Viewing all articles
Browse latest Browse all 4032

BO Create () method does not generate any BO records / instance

$
0
0

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 );
  }

}

 

 


Viewing all articles
Browse latest Browse all 4032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>