| | |
| | | OpenWindow(L"dev:xpage[maint.samplefee.vx]", arg);
|
| | | return 1;
|
| | | }
|
| | |
|
| | | if (name1 == L"SoleSupplierV3")
|
| | | {
|
| | | xaserverarg arg;
|
| | |
|
| | | arg.AddArg(L"EntityID", d1);
|
| | | arg.AddArg(L"config", L"/sale/view/SupplierV3/config/supplier/open");
|
| | | |
| | |
|
| | | OpenWindow(L"dev:xpage[maintex.Owner.Supplier.v3.vx]", arg);
|
| | | return 1;
|
| | | }
|
| | | }
|
| | | return 0;
|
| | | }
|
| | |
| | | } |
| | | return 1; |
| | | } |
| | | |
| | | static int AddTask(xstring serverUrl, xstring FlowID, xstring EntityID, xstring EntityNo, xstring Subject, xstring Content, xstring Status, xstring Category, xstring Reciever) |
| | | { |
| | | |
| | | KXMLDOMDocument x; |
| | | xaserverarg arg; |
| | | arg.AddArg(L"FlowID", FlowID); |
| | | arg.AddArg(L"EntityID", EntityID); |
| | | arg.AddArg(L"EntityNo", EntityNo); |
| | | arg.AddArg(L"Subject", Subject); |
| | | arg.AddArg(L"Content", Content); |
| | | arg.AddArg(L"Status", Status); |
| | | arg.AddArg(L"Category", Category); |
| | | arg.AddArg(L"Reciever", Reciever); |
| | | if (xurl::get(L"/sale/data/business/task/add", arg.GetString(), x) != 1) |
| | | { |
| | | string error = x.text(); |
| | | trace(error); |
| | | return 0; |
| | | } |
| | | return 1; |
| | | } |
| | | }; |