Compare commits
4 Commits
f9a323850e
...
cae24e9319
Author | SHA1 | Date | |
---|---|---|---|
cae24e9319 | |||
5643bc8d37 | |||
572c386013 | |||
a1c41292c6 |
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<ProjectView>ShowAllFiles</ProjectView>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -0,0 +1,25 @@
|
||||
using Kingdee.BOS.Contracts;
|
||||
using Kingdee.BOS.Core;
|
||||
using Kingdee.BOS.ServiceHelper;
|
||||
using Kingdee.BOS.Util;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace Pilot.Report.Exploitation.Receivables
|
||||
{
|
||||
[Description("定时刷新应收款报表的数据")]
|
||||
[HotUpdate]
|
||||
public class ReceivablesAutoExecute : IScheduleService
|
||||
{
|
||||
public void Run(Kingdee.BOS.Context ctx, Schedule schedule)
|
||||
{
|
||||
DBServiceHelper.Execute(ctx, "/*dialect*/ EXEC PR_YingShouMingXi_yuyubo");
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -309,10 +309,15 @@ else
|
||||
,SUM(F_025),
|
||||
null
|
||||
,F_027=(SELECT SUM(F_027) FROM [ReceivablesDetailsTable] hh where {wheresql})
|
||||
,null,null,null,null,null,null,null,null,SUM(F_036),null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,0,0,null,0
|
||||
,null,null,null,null,null,null,null,null
|
||||
,F_036=(
|
||||
SELECT SUM(F_036)
|
||||
FROM ( SELECT DISTINCT [销售单主键ID],hh.收款条件主键ID,F_036
|
||||
FROM [ReceivablesDetailsTable] hh where {wheresql} ) a )
|
||||
,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,null,0,0,0,null,0
|
||||
From
|
||||
(select distinct [销售单主键ID],[销售员ID],[F_010],F_017,F_018,F_019,F_020,F_021,F_022 ,0 as F_024 ,F_025,
|
||||
0 as F_027,F_036 from
|
||||
0 as F_027,0 F_036 , null, null, null, null, null from
|
||||
[ReceivablesDetailsTable]
|
||||
where {wheresql}
|
||||
) a )) W Order by W.F_001");
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user