NTFY-140 Added function for extracting batch permission field

Added a function to validate and extract a batch permission field