In SBO 8.8 SP00 PL13, I'm trying to load Sales Orders and use the "LineStatus" column to set the row to either 'Open' or 'Closed'. The SDK indicates that valid field values are bost_Open or bost_Close. The database column contains either 'O' or 'C'. However, it seems that DTW only accepts a value of 'O'. Thus, there is no way to load, or later change, a row status to closed within DTW.
There also is no field to set the entire SO to a closed status. If it were possible to set all rows to closed, then I presume the document itself would be closed when all lines have been entered.
I guess the only alternative is to load all lines as open, and then write a short app that uses the bost_ values to later update the status via DIAPI.