A client is integrating RM Apply documents into Dynamics GP, but they're using project accounting, and the PA tables are not getting updated. The fix was to put code in the taRmApplyPost script to update those tables. The code below is untested... but I don't have good access to this client and I wanted to get the code posted before I lose access.
There are three types of PA projects (Fixed Fee, Cost Plus, and Time/Material), the code below does not cover cost plus. It should be carefully tested for any use, this code might be client specific