BM Production register Error "The register must be printed prior to posting"

Hi,

I've been wondering if someone else encountered or might have a solution for this.

Im getting the error "The register must be printed prior to posting"

                    oSS2.nSetProgram(oSS2.nLookupTask("BM_ProductionRegister_UI"))
                    objTransactionRegister = oScript2.NewObject("BM_ProductionRegister_UPD", oSS2)
                    oSS2.nTerminateUI()
                    If blnUseBatch = True Then
                      retVal = objTransactionRegister.nSelectBatch(strBatchNo)
                    End If


                    retVal = objTransactionRegister.nUpdateInit()
                    retVal = objTransactionRegister.nUpdateMain()
                    retVal = objTransactionRegister.nUpdate()
                    retVal = objTransactionRegister.nUpdateCleanup()

                    'drop the Transaction Register
                    objTransactionRegister.DropObject()
                    'drop the session
                    oSS2.DropObject()

is there anyway to skip/proces the printing step for production registration?

is there a document where I could check the functions associated with "BM_ProductionRegister_UPD"?

Thanks!