| | |
| | | int row = hdr.row; |
| | | xstring col = hdr.colname; |
| | | |
| | | xstring str = g_xdoc_shoppingcart.getData(0, L"data/Item", row, L"QuoteLineID"); |
| | | xstring str = dwc_list.GetItemString(row, L"QuoteLineID"); |
| | | if (str != L"") |
| | | str = L"ql:" + str; |
| | | else if (dwc_list.GetItemString(row, L"SKUNo") != L"") |
| | |
| | | DWNMHDR& hdr = *(DWNMHDR*)evt->notify.pnmh; |
| | | int row = hdr.row; |
| | | xstring ls_nos = L"ImportXml:"; |
| | | xstring str = g_xdoc_shoppingcart.getData(0, L"data/Item", row, L"SOLineID"); |
| | | xstring str1 = g_xdoc_shoppingcart.getData(0, L"data/Item", row, L"EnquiryPriceListID"); |
| | | xstring str = dwc_list.GetItemString(row, L"SOLineID"); |
| | | xstring str1 =dwc_list.GetItemString(row, L"EnquiryPriceListID"); |
| | | if (str1 != L"") |
| | | str += L"el:" + str1; |
| | | else if (str != L"") |
| | |
| | | dw_list = GetControl(L"dw_list"); |
| | | dwc_list = GetControl(L"dwc_list"); |
| | | |
| | | xaserverarg arg; |
| | | xaserverarg arg = GetArg(); |
| | | CustomerID = L""; |
| | | CustomerName = L""; |
| | | hObject = 0; |
| | | if (arg) |
| | | { |
| | | hObject = arg.GetArgString(L"HWND"); |
| | | hObject = (HWND)arg.GetParam(L"HWND"); |
| | | CustomerID = arg.GetArgString(L"CustomerID"); |
| | | } |
| | | InitialFolder(); |
| | | |
| | | g_xdoc_product = new xdataset; |
| | | g_xdoc_product.Init(); |
| | | xbind bindproduct = new xbind; |
| | | bindproduct.bindEx(dw_list, g_xdoc_product, L""); |
| | | |
| | | g_xdoc_shoppingcart = new xdataset; |
| | | g_xdoc_shoppingcart.Init(); |
| | | |
| | | xbind bindcart = new xbind; |
| | | bindcart.bindEx(dwc_list, g_xdoc_shoppingcart, L""); |
| | | |
| | | dw_list.SetDataObject(ProductLibraryView::GetMaintListForm3(L"").xml()); |
| | | dw_list = GetControl(L"dw_list"); |
| | |
| | | xs.SetContent(makeHtml(1)); |
| | | } |
| | | |
| | | //xtreeview::ExpandItem(tv_folder.GetId(), |
| | | // xtreeview::GetNextItem(tv_folder.GetId(),xtreeview::GetRootItem(tv_folder.GetId()))); |
| | | tv_folder.ExpandItem(tv_folder.GetRootItem()); |
| | | |
| | | dw_list.SetSelectionMode(3); |