This may be a dated question, but thought I would try to answer in case anyone else is looking at the same issue..
The value for the .exports(“NUMBER”) must be left padded with zeros. Total length must be 12 characters.
Here is snippet of code that pulls all components records for a process order value from an excel spreadsheet.
objProcOrderDetail.exports(“NUMBER”) = String$(12 – Len(ActiveSheet.Cells(iSpreadSheetRow, iOrderIDColumn).Value), “0″) & ActiveSheet.Cells(iSpreadSheetRow, iOrderIDColumn).Value
objProcOrderDetail.exports(“ORDER_OBJECTS”).Value(“COMPONENTS”) = “X”
Hope it helps.