Status Flags database export fuctionality