For the complete documentation index, see llms.txt. This page is also available as Markdown.

EntityReload

Reload an entity from the database.

Will repopulate all persistent properties on the entity with the latest values from the database.

Method Signature

EntityReload(entity=[Any])

Arguments

Argument
Type
Required
Description
Default

entity

Any

true

The entity instance to reload.

Examples

Reload an entity by passing the entity object directly:

manufacturer = entityLoadByPK( "Manufacturer", 1 );
reloaded = entityReload( manufacturer );

Reload all in-session entities by entity name:

manufacturer = entityLoadByPK( "Manufacturer", 1 );
reloaded = entityReload( "manufacturer" );

Last updated

Was this helpful?