STRING ls_file_name,ls_file_name_new
String ls_file,ls_file_new
String ls_parth_local = 'E:\鑫鑫请货数据\请货库存表\'
INTEGER li_fileNum
LONG ll_column,i,ll_status,ll_loop
DATETIME ldt_sysdate
STRING ls_columnname,ls_value,ls_header,ls_detail
STRING ls_goods_opcode,ls_goods_name,ls_goods_desc,ls_lot_no,ls_expire_date,ls_produce_date,ls_package_num,ls_onavailable
STRING ls_sysdate,ls_party_owner,ls_price1,ls_price2,ls_price3
ldt_sysdate = OF_GET_SYSTEMDATE()
ls_file_name = '100_请货库存表_'+ STRING(ldt_sysdate,"YYYYMMDDHHMMSS") + ".TXT"
ls_file = ls_parth_local + ls_file_name
ls_file_new = is_parth + ls_file_name
ll_column = LONG(dw_1.OBJECT.datawindow.column.count)
FOR i = 1 TO ll_column
ls_columnname = dw_1.DESCRIBE( "#"+STRING(i)+".name")&#