Community
Showing results for 
Search instead for 
Do you mean 
Reply

HowTo Delete Custom SubEntity

Copper Contributor
Posts: 35
Country: USA

HowTo Delete Custom SubEntity

Hi All-

This seems weird, but what is the command to delete a row of a CustomSubEntity?

 

I see CustomEntityManager.DeleteCustomEntity, but isn't this for delete the entire entity and not just a row?

 

Sorry it's probably such an easy question. I just can't seem to find the answer.

 

 

Ben Leong
Certified ACT! Consultant
www.accentgold.com
Copper Contributor
Posts: 35
Country: USA

Re: HowTo Delete Custom SubEntity

Sorry, brain fart. Please ignore.

 

Here's the answer for the 2 (or fewer) guys who know less than me:

 

CSEMgr = ActFwk.CustomEntities.GetSubEntityManager(Of Act.Framework.CustomEntities.CustomSubEntity)(ActFwk.CustomEntities.GetCustomEntityDescriptor("Quotes Orders"))

CSEMgr.DeleteCustomEntity(CSE)

 

Ben Leong
Certified ACT! Consultant
www.accentgold.com