Batch Status Not updating to approved F0911 MBF
I am writing a UBE to enter some journal entries. When I call F0911 EndDoc it is not updating the batch header to approved status. The batch status is left as "U". I am passing a value of '1' to cUpdateBatchHeader
Steps
1. execute F0011 Open Batch to get a batch number in the initialize section
2. execute F0911 Begin Doc In Initialize Section
3. execute F0911 Edit Line in Do Section
4. execute F0911 Edit Doc in End Section
5. execute F0911 End Doc in End Section
I've attached Screen shots of the expanded BSFN calls.
I'm hoping someone get tell me what I am doing wrong and by the Batch status in use and doesn't get changed to approved. I could do a table io update and update the batch header but that seems like the wrong things to do....