Converting a temporary local file to a document

how can I Converting a temporary local file to a document using vbscript

I am able to save to a checked out mfiles multifolder but whenever I perform a "save as" operation from PCDMIS

the files are always in the temp format.

I adjusted the settings but no luck.