| | |
| | | return 1; |
| | | } |
| | | |
| | | xstring GetEntityName(int pr) |
| | | xstring GetEntityName(LPARAM pr) |
| | | { |
| | | return L"VATInvoice3"; |
| | | } |
| | | |
| | | xstring GetEntityIDName(int /*param*/ pr) |
| | | xstring GetEntityIDName(LPARAM /*param*/ pr) |
| | | { |
| | | return L"VTAInvoiceID"; |
| | | } |
| | | |
| | | xstring GetEntityID(int /*param*/ pr) |
| | | xstring GetEntityID(LPARAM /*param*/ pr) |
| | | { |
| | | return dw_list.GetItemString(dw_list.GetRow(),L"VATInvoiceID"); |
| | | } |
| | | |
| | | int ViewUpdate(int pr,xstring updateItem,xaserverarg arg) |
| | | int ViewUpdate(LPARAM pr,xstring updateItem,xaserverarg arg) |
| | | { |
| | | if( updateItem==L"del") |
| | | { |
| | |
| | | xml x ; |
| | | |
| | | xaserverarg arg ; |
| | | arg.setNativePointer(arg.CreateInstance()); |
| | | |
| | | arg.AddArg(L"QueryTxt",xcontrol(GetControl(L"sle_search")).GetText()); |
| | | arg.AddArg(L"QueryArg",GetQueryArg()); |
| | | arg.AddArg(L"DatePicker",DatePicker); |