How to find out exactly what an application is doing in Sage 500 without source code?

Our company wants to write its own labor entry screen outside of Sage 500 (ITAR compliance for a government contract), but integrate it by writing/updating/selecting from the Sage files. Basically mimic what Sage 500 is doing. How do I do this without source code?