From c40fe33e1a3e487d3fb406a59cf5806776395550 Mon Sep 17 00:00:00 2001
From: xj qian <qianxj15@sina.com>
Date: 星期四, 05 九月 2024 16:15:45 +0800
Subject: [PATCH] update somaint
---
jrj/project/business/SO3.maint.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/jrj/project/business/SO3.maint.cpp b/jrj/project/business/SO3.maint.cpp
index 5057518..3132a61 100644
--- a/jrj/project/business/SO3.maint.cpp
+++ b/jrj/project/business/SO3.maint.cpp
@@ -964,10 +964,12 @@
int onload()
{
+ /*
using JFString = JFactory<JString>;
JPtr<JFString> jfString(JObjectSvr::CreateInstance<JFString>(L"JFactoryString"));
//auto jfString = JObjectSvr::CreateInstance<JFString>(L"JFactoryString");
JPtr<JString> pStr(jfString->make());
+ */
dw_props = GetControl(L"dw_props");
/*KXMLDOMDocument x = SaleOrderView::GetMaintFormForBase();
@@ -1038,12 +1040,14 @@
if (SONo != L"")
{
KXMLDOMDocument x = SaleOrderView::GetMaintDataForBase(SONo);
+ BSTR str = (BSTR)x.xml();
dw_base.Retrieve(x);
dw_item.Retrieve(x);
}
else
{
KXMLDOMDocument x = ViewObject::RetrieveData(GetServerUrl(),L"/sale/data/SaleOrder/newinitial");
+ BSTR str = (BSTR)x.xml();
dw_base.Retrieve(x);
xstring sdate = publiccode::GetCurrentDate();
--
Gitblit v1.9.3