Salesforce

What is Record Scope?

« Go Back

Information

 
TitleWhat is Record Scope?
URL NameP8447
Article Number000177801
EnvironmentProduct: OpenEdge
Version: All supported versions
OS: All supported platforms
Question/Problem Description
What is the record's scope?
What is meant by record scope?
How is record scope defined?
How does Progress define record scope?
Steps to Reproduce
Clarifying Information
Error Message
Defect Number
Enhancement Number
Cause
Resolution
The record's scope, is the block in which the record was first referenced in a procedure or in a calling procedure.

COMPILE with the LISTING option can be used to determine a record's scope.

Any reference to a record, before the first block in the program, scopes that record to the procedure block. The procedure block does not end until program ends. Therefore, record locks being held until the end of the record scope are held for the duration of the program, even if the record is explicitly released with the RELEASE statement.
Workaround
Notes
Keyword Phrase
Last Modified Date7/20/2021 8:04 PM

Powered by