Forum Discussion

ssmith-nova's avatar
ssmith-nova
Contributor
10 days ago
Solved

how do I check if a period is locked or unlocked in vb.net

I have a requirement to load to the most recent unlocked period.   Using VB or C#, how do I check if a period is locked or unlocked? Thanks, Scott
  • DanielWillis's avatar
    10 days ago

    You can check the status of workflows using the function BRApi.Workflow.Status.GetWorkflowStatus(...). This returns a WorkflowInfo object that has a Locked property.