Skip to main content
June 23, 2025
Question

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

  • June 23, 2025
  • 1 reply
  • 0 views

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

1 reply

Employee
June 24, 2025

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