How long to Non Peristent Objects expire?

If you have questions or if you want to share your opinion about Aware IM post your message on this forum
Post Reply
PointsWell
Posts: 1457
Joined: Tue Jan 24, 2017 5:51 am
Location: 'Stralya

How long to Non Peristent Objects expire?

Post by PointsWell »

What I want to do is create a Company hierarchy and show the full top to bottom.

The only Tree functionality is in the Form, which means I need an object to start with.

If I use the top company as the BO then my corporate tree does not start with one company but however many subsidiaries as exist. So I thought I will create a temporary BO to CREATE and then immediately VIEW the full hierarchy.

Unfortunately it seems that a non persisted object can be passed between processes but cannot be viewed immediately after being created - you get a "Unable to find the record. The record may have been deleted." error message. This seems like an excessively short amount of time of persistence...
customaware
Posts: 2391
Joined: Mon Jul 02, 2012 12:24 am
Location: Ulaanbaatar, Mongolia

Re: How long to Non Peristent Objects expire?

Post by customaware »

Instead of doing ....

CREATE MyNonPersistedBO WITH MyNonPersistedBO.MyData='Testing'
EDIT MyNonPersistedBO

Try

CREATE MyNonPersistedBO WITH MyNonPersistedBO.MyData='Testing'
VIEW MyNonPersistedBO
Cheers,
Mark
_________________
AwareIM 6.0, 8.7, 8.8, 9.0 , MariaDB, Windows 10, Ubuntu Linux. Theme: Default, Browser: Arc
Upcloud, Obsidian....
Image
Post Reply