diff --git a/.gitignore b/.gitignore index b09929a..9491a2f 100644 --- a/.gitignore +++ b/.gitignore @@ -360,8 +360,4 @@ MigrationBackup/ .ionide/ # Fody - auto-generated XML schema -FodyWeavers.xsd -/.idea/ -/bin/ -/obj/ -/.vs/ +FodyWeavers.xsd \ No newline at end of file diff --git a/.vs/GZ_LTHPilot_ORDER/v17/.suo b/.vs/GZ_LTHPilot_ORDER/v17/.suo index c145553..cf1fea4 100644 Binary files a/.vs/GZ_LTHPilot_ORDER/v17/.suo and b/.vs/GZ_LTHPilot_ORDER/v17/.suo differ diff --git a/.vs/GZ_LTHPilot_ORDER/v17/DocumentLayout.backup.json b/.vs/GZ_LTHPilot_ORDER/v17/DocumentLayout.backup.json index fcfe5f8..1f8b8d9 100644 --- a/.vs/GZ_LTHPilot_ORDER/v17/DocumentLayout.backup.json +++ b/.vs/GZ_LTHPilot_ORDER/v17/DocumentLayout.backup.json @@ -1,15 +1,47 @@ { "Version": 1, "WorkspaceRootPath": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\", - "Documents": [], + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\t_iv_salesic\\audits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:t_iv_salesic\\audits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00000000-0000-0000-0000-000000000000}|\u003CSolution\u003E|GZ_LTHPilot_ORDER||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|" + }, + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sql\\sqlmanage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sql\\sqlmanage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\t_iv_salesic\\unaudits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:t_iv_salesic\\unaudits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sal_quotation\\downloadfile.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sal_quotation\\downloadfile.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sal_order\\savef_vryf_combo-lsn.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sal_order\\savef_vryf_combo-lsn.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sal_order\\datachage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sal_order\\datachage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\common\\commonhelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:common\\commonhelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], "DocumentGroupContainers": [ { - "Orientation": 1, + "Orientation": 0, "VerticalTabListWidth": 256, "DocumentGroups": [ { - "DockedHeight": 200, - "SelectedChildIndex": -1, + "DockedWidth": 200, + "SelectedChildIndex": 7, "Children": [ { "$type": "Bookmark", @@ -22,6 +54,106 @@ { "$type": "Bookmark", "Name": "ST:128:0:{1fc202d4-d401-403c-9834-5b218574bb67}" + }, + { + "$type": "Bookmark", + "Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "GZ_LTHPilot_ORDER", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\GZ_LTHPilot_ORDER.csproj", + "RelativeDocumentMoniker": "GZ_LTHPilot_ORDER.csproj", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\GZ_LTHPilot_ORDER.csproj", + "RelativeToolTip": "GZ_LTHPilot_ORDER.csproj", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|", + "WhenOpened": "2025-07-26T07:56:17.487Z" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "UnAuditS_Order.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\UnAuditS_Order.cs", + "RelativeDocumentMoniker": "T_IV_SALESIC\\UnAuditS_Order.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\UnAuditS_Order.cs", + "RelativeToolTip": "T_IV_SALESIC\\UnAuditS_Order.cs", + "ViewState": "AgIAAAMAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T03:10:21.563Z" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "SqlManage.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SQL\\SqlManage.cs", + "RelativeDocumentMoniker": "SQL\\SqlManage.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SQL\\SqlManage.cs", + "RelativeToolTip": "SQL\\SqlManage.cs", + "ViewState": "AgIAABEBAAAAAAAAAAAswEABAAAvAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T03:01:45.35Z" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "AuditS_Order.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\AuditS_Order.cs", + "RelativeDocumentMoniker": "T_IV_SALESIC\\AuditS_Order.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\AuditS_Order.cs", + "RelativeToolTip": "T_IV_SALESIC\\AuditS_Order.cs", + "ViewState": "AgIAADQAAAAAAAAAAAAkwEEAAABVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T03:00:26.319Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "DownLoadFile.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_QUOTATION\\DownLoadFile.cs", + "RelativeDocumentMoniker": "SAL_QUOTATION\\DownLoadFile.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_QUOTATION\\DownLoadFile.cs", + "RelativeToolTip": "SAL_QUOTATION\\DownLoadFile.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T02:59:17.393Z" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "CommonHelper.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\Common\\CommonHelper.cs", + "RelativeDocumentMoniker": "Common\\CommonHelper.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\Common\\CommonHelper.cs", + "RelativeToolTip": "Common\\CommonHelper.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAdAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T02:42:36.247Z" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "SaveF_VRYF_Combo-lsn.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs", + "RelativeDocumentMoniker": "SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs", + "RelativeToolTip": "SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAAsAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T02:40:50.348Z" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "DataChage.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\DataChage.cs", + "RelativeDocumentMoniker": "SAL_ORDER\\DataChage.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\DataChage.cs", + "RelativeToolTip": "SAL_ORDER\\DataChage.cs", + "ViewState": "AgIAAA4AAAAAAAAAAAAzwAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T02:40:36.878Z" } ] } diff --git a/.vs/GZ_LTHPilot_ORDER/v17/DocumentLayout.json b/.vs/GZ_LTHPilot_ORDER/v17/DocumentLayout.json index 0dc4c5f..9d05be6 100644 --- a/.vs/GZ_LTHPilot_ORDER/v17/DocumentLayout.json +++ b/.vs/GZ_LTHPilot_ORDER/v17/DocumentLayout.json @@ -1,15 +1,47 @@ { "Version": 1, "WorkspaceRootPath": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\", - "Documents": [], + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|e:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\piolot_order_th\\t_iv_salesic\\audits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:t_iv_salesic\\audits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{00000000-0000-0000-0000-000000000000}|\u003CSolution\u003E|GZ_LTHPilot_ORDER||{04B8AB82-A572-4FEF-95CE-5222444B6B64}|" + }, + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sql\\sqlmanage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sql\\sqlmanage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\t_iv_salesic\\unaudits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:t_iv_salesic\\unaudits_order.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sal_quotation\\downloadfile.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sal_quotation\\downloadfile.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sal_order\\savef_vryf_combo-lsn.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sal_order\\savef_vryf_combo-lsn.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\sal_order\\datachage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:sal_order\\datachage.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\common\\commonhelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{FC4B0055-BAB5-4E5F-84FF-02F4712BF1FE}|GZ_LTHPilot_ORDER.csproj|solutionrelative:common\\commonhelper.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], "DocumentGroupContainers": [ { - "Orientation": 1, + "Orientation": 0, "VerticalTabListWidth": 256, "DocumentGroups": [ { - "DockedHeight": 200, - "SelectedChildIndex": -1, + "DockedWidth": 200, + "SelectedChildIndex": 7, "Children": [ { "$type": "Bookmark", @@ -26,6 +58,102 @@ { "$type": "Bookmark", "Name": "ST:128:0:{116d2292-e37d-41cd-a077-ebacac4c8cc4}" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "GZ_LTHPilot_ORDER", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\GZ_LTHPilot_ORDER.csproj", + "RelativeDocumentMoniker": "GZ_LTHPilot_ORDER.csproj", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\GZ_LTHPilot_ORDER.csproj", + "RelativeToolTip": "GZ_LTHPilot_ORDER.csproj", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.001001|", + "WhenOpened": "2025-07-26T07:56:17.487Z" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "UnAuditS_Order.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\UnAuditS_Order.cs", + "RelativeDocumentMoniker": "T_IV_SALESIC\\UnAuditS_Order.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\UnAuditS_Order.cs", + "RelativeToolTip": "T_IV_SALESIC\\UnAuditS_Order.cs", + "ViewState": "AgIAAAMAAAAAAAAAAAAAAAwAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T03:10:21.563Z" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "SqlManage.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SQL\\SqlManage.cs", + "RelativeDocumentMoniker": "SQL\\SqlManage.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SQL\\SqlManage.cs", + "RelativeToolTip": "SQL\\SqlManage.cs", + "ViewState": "AgIAABEBAAAAAAAAAAAswEABAAAvAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T03:01:45.35Z" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "AuditS_Order.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\AuditS_Order.cs", + "RelativeDocumentMoniker": "T_IV_SALESIC\\AuditS_Order.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\T_IV_SALESIC\\AuditS_Order.cs", + "RelativeToolTip": "T_IV_SALESIC\\AuditS_Order.cs", + "ViewState": "AgIAADQAAAAAAAAAAAAkwEEAAABVAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T03:00:26.319Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "DownLoadFile.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_QUOTATION\\DownLoadFile.cs", + "RelativeDocumentMoniker": "SAL_QUOTATION\\DownLoadFile.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_QUOTATION\\DownLoadFile.cs", + "RelativeToolTip": "SAL_QUOTATION\\DownLoadFile.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T02:59:17.393Z" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "CommonHelper.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\Common\\CommonHelper.cs", + "RelativeDocumentMoniker": "Common\\CommonHelper.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\Common\\CommonHelper.cs", + "RelativeToolTip": "Common\\CommonHelper.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAdAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T02:42:36.247Z" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "SaveF_VRYF_Combo-lsn.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs", + "RelativeDocumentMoniker": "SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs", + "RelativeToolTip": "SAL_ORDER\\SaveF_VRYF_Combo-lsn.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA8AAAAsAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T02:40:50.348Z" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "DataChage.cs", + "DocumentMoniker": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\DataChage.cs", + "RelativeDocumentMoniker": "SAL_ORDER\\DataChage.cs", + "ToolTip": "E:\\\u9879\u76EE\u4EE3\u7801\\\u6D3E\u8BFA\\Piolot_Order_TH\\SAL_ORDER\\DataChage.cs", + "RelativeToolTip": "SAL_ORDER\\DataChage.cs", + "ViewState": "AgIAAA4AAAAAAAAAAAAzwAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-07-26T02:40:36.878Z" } ] } diff --git a/GZ_LTHPilot_ORDER.csproj b/GZ_LTHPilot_ORDER.csproj index d736baf..8e5ac8c 100644 --- a/GZ_LTHPilot_ORDER.csproj +++ b/GZ_LTHPilot_ORDER.csproj @@ -34,76 +34,79 @@ - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\AForge.Video.dll + Library\AForge.Video.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\AForge.Video.DirectShow.dll + Library\AForge.Video.DirectShow.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\Antlr3.Runtime.dll + Library\Antlr3.Runtime.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\Aspose.Cells.dll + Library\Aspose.Cells.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\BouncyCastle.Crypto.dll + Library\BouncyCastle.Crypto.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\Castle.Core.dll + Library\Castle.Core.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\DevExpress.Data.v13.1.dll + Library\DevExpress.Data.v13.1.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\DevExpress.Printing.v13.1.Core.dll + Library\DevExpress.Printing.v13.1.Core.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\DevExpress.Utils.v13.1.dll + Library\DevExpress.Utils.v13.1.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\DevExpress.XtraEditors.v13.1.dll + Library\DevExpress.XtraEditors.v13.1.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\DocumentFormat.OpenXml.dll + Library\DocumentFormat.OpenXml.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\DocumentFormat.OpenXml.Framework.dll + Library\DocumentFormat.OpenXml.Framework.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.CalcEngine.dll + Library\FarPoint.CalcEngine.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.Excel.dll + Library\FarPoint.Excel.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.Localization.dll + Library\FarPoint.Localization.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.PDF.dll + Library\FarPoint.PDF.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.PluginCalendar.WinForms.dll + Library\FarPoint.PluginCalendar.WinForms.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.Win.dll + Library\FarPoint.Win.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.Win.Chart.dll + Library\FarPoint.Win.Chart.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\FarPoint.Win.Spread.dll + Library\FarPoint.Win.Spread.dll + + + Library\GZ_LTHPilot_ORDER.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\ICSharpCode.SharpZipLib.dll + Library\ICSharpCode.SharpZipLib.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\IronPython.dll + Library\IronPython.dll - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\JWT.dll + Library\JWT.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\K3Cloud.WebApi.Client.dll + Library\K3Cloud.WebApi.Client.dll ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.dll @@ -115,10 +118,10 @@ ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.App.Core.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.ApprovalFlow.PlugIns.dll + Library\Kingdee.BOS.ApprovalFlow.PlugIns.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.BusinessEntity.dll + Library\Kingdee.BOS.BusinessEntity.dll ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.Contracts.dll @@ -138,70 +141,158 @@ ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.Web.dll + + False + Library\Kingdee.BOS.Web.HTML.dll + + + False + Library\Kingdee.BOS.Web.HTML.Core.dll + - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.WebApi.Client.dll + Library\Kingdee.BOS.WebApi.Client.dll ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.WebApi.FormService.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.BOS.WebApi.ServicesStub.dll + Library\Kingdee.BOS.WebApi.ServicesStub.dll + + + False + Library\Kingdee.K3.BD.Contracts.dll + + + False + Library\Kingdee.K3.BD.ServiceHelper.dll ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.Core.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.FIN.App.Core.dll + Library\Kingdee.K3.FIN.App.Core.dll + + + False + Library\Kingdee.K3.FIN.Business.PlugIn.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.FIN.CB.App.Report.dll + Library\Kingdee.K3.FIN.CB.App.Report.dll + + + False + Library\Kingdee.K3.FIN.Core.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.FIN.HS.App.Report.dll + Library\Kingdee.K3.FIN.HS.App.Report.dll + + + False + Library\Kingdee.K3.FIN.HS.Business.PlugIn.dll + + + False + Library\Kingdee.K3.FIN.HS.Common.BusinessEntity.dll + + + False + Library\Kingdee.K3.FIN.HS.Contracts.dll + + + False + Library\Kingdee.K3.FIN.HS.ServiceHelper.dll + + + False + Library\Kingdee.K3.FIN.ServiceHelper.dll ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.MFG.App.dll + + False + Library\Kingdee.K3.MFG.BusinessCommon.dll + + + False + Library\Kingdee.K3.MFG.Contracts.dll + + + False + Library\Kingdee.K3.MFG.PLN.App.Core.dll + ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.MFG.PLN.App.MrpModel.dll + + False + Library\Kingdee.K3.MFG.PLN.Business.PlugIn.dll + + + False + Library\Kingdee.K3.MFG.PLN.Report.PlugIn.dll + + + False + Library\Kingdee.K3.MFG.ServiceHelper.dll + - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.App.dll + Library\Kingdee.K3.SCM.App.dll ..\..\..\Debug\Debug\Kingdee.K3.SCM.App.Core.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.App.Credit.Core.dll + Library\Kingdee.K3.SCM.App.Credit.Core.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.App.Sal.ServicePlugIn.dll + Library\Kingdee.K3.SCM.App.Sal.ServicePlugIn.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.App.Stock.Report.dll + Library\Kingdee.K3.SCM.App.Stock.Report.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.Business.dll + Library\Kingdee.K3.SCM.Business.dll ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.Common.BusinessEntity.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.Contracts.dll + Library\Kingdee.K3.SCM.Contracts.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.Core.dll + Library\Kingdee.K3.SCM.Core.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.ServiceHelper.dll + Library\Kingdee.K3.SCM.ServiceHelper.dll - ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Kingdee.K3.SCM.Stock.Business.PlugIn.dll + Library\Kingdee.K3.SCM.Stock.Business.PlugIn.dll False ..\..\派诺-斌哥\git\6、程序\GZ_KD_Parino\dll\Newtonsoft.Json.dll + + False + Library\NPOI.dll + + + False + Library\NPOI.OOXML.dll + + + False + Library\NPOI.OpenXml4Net.dll + + + False + Library\NPOI.OpenXmlFormats.dll + + + False + Library\Oracle.DataAccess.dll + packages\SkiaSharp.2.88.8\lib\net462\SkiaSharp.dll @@ -229,11 +320,11 @@ False - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\Xceed.Document.NET.dll + Library\Xceed.Document.NET.dll False - ..\..\派诺-裴豪\派诺功能\代码\Pilot_KD_Parino (2)\Pilot_KD_Parino\Pilot_KD_Parino\bin\Debug\Xceed.Words.NET.dll + Library\Xceed.Words.NET.dll @@ -245,6 +336,12 @@ + + + + + + @@ -275,6 +372,45 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -286,4 +422,7 @@ + + copy $(TargetPath) "D:\Program Files (x86)\Kingdee\K3Cloud\WebSite\Bin\$(TargetFileName)" + \ No newline at end of file diff --git a/Library/AForge.Video.DirectShow.dll b/Library/AForge.Video.DirectShow.dll new file mode 100644 index 0000000..e3f806f Binary files /dev/null and b/Library/AForge.Video.DirectShow.dll differ diff --git a/Library/AForge.Video.dll b/Library/AForge.Video.dll new file mode 100644 index 0000000..dc67243 Binary files /dev/null and b/Library/AForge.Video.dll differ diff --git a/Library/Antlr3.Runtime.dll b/Library/Antlr3.Runtime.dll new file mode 100644 index 0000000..34bd478 Binary files /dev/null and b/Library/Antlr3.Runtime.dll differ diff --git a/Library/Aspose.Cells.dll b/Library/Aspose.Cells.dll new file mode 100644 index 0000000..623290b Binary files /dev/null and b/Library/Aspose.Cells.dll differ diff --git a/Library/BouncyCastle.Crypto.dll b/Library/BouncyCastle.Crypto.dll new file mode 100644 index 0000000..a0590ca Binary files /dev/null and b/Library/BouncyCastle.Crypto.dll differ diff --git a/Library/Castle.Core.dll b/Library/Castle.Core.dll new file mode 100644 index 0000000..24f4b2f Binary files /dev/null and b/Library/Castle.Core.dll differ diff --git a/Library/DevExpress.Data.v13.1.dll b/Library/DevExpress.Data.v13.1.dll new file mode 100644 index 0000000..f8e5b4f Binary files /dev/null and b/Library/DevExpress.Data.v13.1.dll differ diff --git a/Library/DevExpress.Printing.v13.1.Core.dll b/Library/DevExpress.Printing.v13.1.Core.dll new file mode 100644 index 0000000..d6d6b43 Binary files /dev/null and b/Library/DevExpress.Printing.v13.1.Core.dll differ diff --git a/Library/DevExpress.Utils.v13.1.dll b/Library/DevExpress.Utils.v13.1.dll new file mode 100644 index 0000000..143cbc7 Binary files /dev/null and b/Library/DevExpress.Utils.v13.1.dll differ diff --git a/Library/DevExpress.XtraEditors.v13.1.dll b/Library/DevExpress.XtraEditors.v13.1.dll new file mode 100644 index 0000000..a157f79 Binary files /dev/null and b/Library/DevExpress.XtraEditors.v13.1.dll differ diff --git a/Library/DocumentFormat.OpenXml.Framework.dll b/Library/DocumentFormat.OpenXml.Framework.dll new file mode 100644 index 0000000..93f3b67 Binary files /dev/null and b/Library/DocumentFormat.OpenXml.Framework.dll differ diff --git a/Library/DocumentFormat.OpenXml.dll b/Library/DocumentFormat.OpenXml.dll new file mode 100644 index 0000000..c879ea9 Binary files /dev/null and b/Library/DocumentFormat.OpenXml.dll differ diff --git a/Library/FarPoint.CalcEngine.dll b/Library/FarPoint.CalcEngine.dll new file mode 100644 index 0000000..82e3cfb Binary files /dev/null and b/Library/FarPoint.CalcEngine.dll differ diff --git a/Library/FarPoint.Excel.dll b/Library/FarPoint.Excel.dll new file mode 100644 index 0000000..2a1672a Binary files /dev/null and b/Library/FarPoint.Excel.dll differ diff --git a/Library/FarPoint.Localization.dll b/Library/FarPoint.Localization.dll new file mode 100644 index 0000000..6fe23a4 Binary files /dev/null and b/Library/FarPoint.Localization.dll differ diff --git a/Library/FarPoint.PDF.dll b/Library/FarPoint.PDF.dll new file mode 100644 index 0000000..95fcac8 Binary files /dev/null and b/Library/FarPoint.PDF.dll differ diff --git a/Library/FarPoint.PluginCalendar.WinForms.dll b/Library/FarPoint.PluginCalendar.WinForms.dll new file mode 100644 index 0000000..f3fbc45 Binary files /dev/null and b/Library/FarPoint.PluginCalendar.WinForms.dll differ diff --git a/Library/FarPoint.Win.Chart.dll b/Library/FarPoint.Win.Chart.dll new file mode 100644 index 0000000..3e92872 Binary files /dev/null and b/Library/FarPoint.Win.Chart.dll differ diff --git a/Library/FarPoint.Win.Spread.dll b/Library/FarPoint.Win.Spread.dll new file mode 100644 index 0000000..667181f Binary files /dev/null and b/Library/FarPoint.Win.Spread.dll differ diff --git a/Library/FarPoint.Win.dll b/Library/FarPoint.Win.dll new file mode 100644 index 0000000..77d4684 Binary files /dev/null and b/Library/FarPoint.Win.dll differ diff --git a/Library/GZ_LTHPilot_ORDER.dll b/Library/GZ_LTHPilot_ORDER.dll new file mode 100644 index 0000000..fcdd102 Binary files /dev/null and b/Library/GZ_LTHPilot_ORDER.dll differ diff --git a/Library/ICSharpCode.SharpZipLib.dll b/Library/ICSharpCode.SharpZipLib.dll new file mode 100644 index 0000000..49a1d1a Binary files /dev/null and b/Library/ICSharpCode.SharpZipLib.dll differ diff --git a/Library/IronPython.dll b/Library/IronPython.dll new file mode 100644 index 0000000..c633a5a Binary files /dev/null and b/Library/IronPython.dll differ diff --git a/Library/JWT.dll b/Library/JWT.dll new file mode 100644 index 0000000..bfa0e65 Binary files /dev/null and b/Library/JWT.dll differ diff --git a/Library/K3Cloud.WebApi.Client.dll b/Library/K3Cloud.WebApi.Client.dll new file mode 100644 index 0000000..a3e00fb Binary files /dev/null and b/Library/K3Cloud.WebApi.Client.dll differ diff --git a/Library/Kingdee.BOS.App.Core.dll b/Library/Kingdee.BOS.App.Core.dll new file mode 100644 index 0000000..4100d59 Binary files /dev/null and b/Library/Kingdee.BOS.App.Core.dll differ diff --git a/Library/Kingdee.BOS.App.dll b/Library/Kingdee.BOS.App.dll new file mode 100644 index 0000000..68b0d6b Binary files /dev/null and b/Library/Kingdee.BOS.App.dll differ diff --git a/Library/Kingdee.BOS.ApprovalFlow.PlugIns.dll b/Library/Kingdee.BOS.ApprovalFlow.PlugIns.dll new file mode 100644 index 0000000..f060c10 Binary files /dev/null and b/Library/Kingdee.BOS.ApprovalFlow.PlugIns.dll differ diff --git a/Library/Kingdee.BOS.BusinessEntity.dll b/Library/Kingdee.BOS.BusinessEntity.dll new file mode 100644 index 0000000..8dffbf0 Binary files /dev/null and b/Library/Kingdee.BOS.BusinessEntity.dll differ diff --git a/Library/Kingdee.BOS.Contracts.dll b/Library/Kingdee.BOS.Contracts.dll new file mode 100644 index 0000000..94fbdd1 Binary files /dev/null and b/Library/Kingdee.BOS.Contracts.dll differ diff --git a/Library/Kingdee.BOS.Core.dll b/Library/Kingdee.BOS.Core.dll new file mode 100644 index 0000000..6afad14 Binary files /dev/null and b/Library/Kingdee.BOS.Core.dll differ diff --git a/Library/Kingdee.BOS.DataEntity.dll b/Library/Kingdee.BOS.DataEntity.dll new file mode 100644 index 0000000..f3b2391 Binary files /dev/null and b/Library/Kingdee.BOS.DataEntity.dll differ diff --git a/Library/Kingdee.BOS.ServiceHelper.dll b/Library/Kingdee.BOS.ServiceHelper.dll new file mode 100644 index 0000000..3259de7 Binary files /dev/null and b/Library/Kingdee.BOS.ServiceHelper.dll differ diff --git a/Library/Kingdee.BOS.VerificationHelper.dll b/Library/Kingdee.BOS.VerificationHelper.dll new file mode 100644 index 0000000..931e531 Binary files /dev/null and b/Library/Kingdee.BOS.VerificationHelper.dll differ diff --git a/Library/Kingdee.BOS.Web.HTML.Core.dll b/Library/Kingdee.BOS.Web.HTML.Core.dll new file mode 100644 index 0000000..1c37225 Binary files /dev/null and b/Library/Kingdee.BOS.Web.HTML.Core.dll differ diff --git a/Library/Kingdee.BOS.Web.HTML.dll b/Library/Kingdee.BOS.Web.HTML.dll new file mode 100644 index 0000000..37a8a8a Binary files /dev/null and b/Library/Kingdee.BOS.Web.HTML.dll differ diff --git a/Library/Kingdee.BOS.Web.dll b/Library/Kingdee.BOS.Web.dll new file mode 100644 index 0000000..f45bd87 Binary files /dev/null and b/Library/Kingdee.BOS.Web.dll differ diff --git a/Library/Kingdee.BOS.WebApi.Client.dll b/Library/Kingdee.BOS.WebApi.Client.dll new file mode 100644 index 0000000..df8916e Binary files /dev/null and b/Library/Kingdee.BOS.WebApi.Client.dll differ diff --git a/Library/Kingdee.BOS.WebApi.FormService.dll b/Library/Kingdee.BOS.WebApi.FormService.dll new file mode 100644 index 0000000..d2954e7 Binary files /dev/null and b/Library/Kingdee.BOS.WebApi.FormService.dll differ diff --git a/Library/Kingdee.BOS.WebApi.ServicesStub.dll b/Library/Kingdee.BOS.WebApi.ServicesStub.dll new file mode 100644 index 0000000..9148ee2 Binary files /dev/null and b/Library/Kingdee.BOS.WebApi.ServicesStub.dll differ diff --git a/Library/Kingdee.BOS.dll b/Library/Kingdee.BOS.dll new file mode 100644 index 0000000..763a979 Binary files /dev/null and b/Library/Kingdee.BOS.dll differ diff --git a/Library/Kingdee.K3.BD.Contracts.dll b/Library/Kingdee.K3.BD.Contracts.dll new file mode 100644 index 0000000..89ab95f Binary files /dev/null and b/Library/Kingdee.K3.BD.Contracts.dll differ diff --git a/Library/Kingdee.K3.BD.ServiceHelper.dll b/Library/Kingdee.K3.BD.ServiceHelper.dll new file mode 100644 index 0000000..7bb294d Binary files /dev/null and b/Library/Kingdee.K3.BD.ServiceHelper.dll differ diff --git a/Library/Kingdee.K3.Core.dll b/Library/Kingdee.K3.Core.dll new file mode 100644 index 0000000..c2442b6 Binary files /dev/null and b/Library/Kingdee.K3.Core.dll differ diff --git a/Library/Kingdee.K3.FIN.App.Core.dll b/Library/Kingdee.K3.FIN.App.Core.dll new file mode 100644 index 0000000..873bf85 Binary files /dev/null and b/Library/Kingdee.K3.FIN.App.Core.dll differ diff --git a/Library/Kingdee.K3.FIN.Business.PlugIn.dll b/Library/Kingdee.K3.FIN.Business.PlugIn.dll new file mode 100644 index 0000000..475189f Binary files /dev/null and b/Library/Kingdee.K3.FIN.Business.PlugIn.dll differ diff --git a/Library/Kingdee.K3.FIN.CB.App.Report.dll b/Library/Kingdee.K3.FIN.CB.App.Report.dll new file mode 100644 index 0000000..2916d15 Binary files /dev/null and b/Library/Kingdee.K3.FIN.CB.App.Report.dll differ diff --git a/Library/Kingdee.K3.FIN.Core.dll b/Library/Kingdee.K3.FIN.Core.dll new file mode 100644 index 0000000..ab998e9 Binary files /dev/null and b/Library/Kingdee.K3.FIN.Core.dll differ diff --git a/Library/Kingdee.K3.FIN.HS.App.Report.dll b/Library/Kingdee.K3.FIN.HS.App.Report.dll new file mode 100644 index 0000000..92c7862 Binary files /dev/null and b/Library/Kingdee.K3.FIN.HS.App.Report.dll differ diff --git a/Library/Kingdee.K3.FIN.HS.Business.PlugIn.dll b/Library/Kingdee.K3.FIN.HS.Business.PlugIn.dll new file mode 100644 index 0000000..30800be Binary files /dev/null and b/Library/Kingdee.K3.FIN.HS.Business.PlugIn.dll differ diff --git a/Library/Kingdee.K3.FIN.HS.Common.BusinessEntity.dll b/Library/Kingdee.K3.FIN.HS.Common.BusinessEntity.dll new file mode 100644 index 0000000..8c32801 Binary files /dev/null and b/Library/Kingdee.K3.FIN.HS.Common.BusinessEntity.dll differ diff --git a/Library/Kingdee.K3.FIN.HS.Contracts.dll b/Library/Kingdee.K3.FIN.HS.Contracts.dll new file mode 100644 index 0000000..0840184 Binary files /dev/null and b/Library/Kingdee.K3.FIN.HS.Contracts.dll differ diff --git a/Library/Kingdee.K3.FIN.HS.ServiceHelper.dll b/Library/Kingdee.K3.FIN.HS.ServiceHelper.dll new file mode 100644 index 0000000..913d2da Binary files /dev/null and b/Library/Kingdee.K3.FIN.HS.ServiceHelper.dll differ diff --git a/Library/Kingdee.K3.FIN.ServiceHelper.dll b/Library/Kingdee.K3.FIN.ServiceHelper.dll new file mode 100644 index 0000000..804e923 Binary files /dev/null and b/Library/Kingdee.K3.FIN.ServiceHelper.dll differ diff --git a/Library/Kingdee.K3.MFG.App.dll b/Library/Kingdee.K3.MFG.App.dll new file mode 100644 index 0000000..46e7b5e Binary files /dev/null and b/Library/Kingdee.K3.MFG.App.dll differ diff --git a/Library/Kingdee.K3.MFG.BusinessCommon.dll b/Library/Kingdee.K3.MFG.BusinessCommon.dll new file mode 100644 index 0000000..34bb853 Binary files /dev/null and b/Library/Kingdee.K3.MFG.BusinessCommon.dll differ diff --git a/Library/Kingdee.K3.MFG.Contracts.dll b/Library/Kingdee.K3.MFG.Contracts.dll new file mode 100644 index 0000000..ddfc290 Binary files /dev/null and b/Library/Kingdee.K3.MFG.Contracts.dll differ diff --git a/Library/Kingdee.K3.MFG.PLN.App.Core.dll b/Library/Kingdee.K3.MFG.PLN.App.Core.dll new file mode 100644 index 0000000..0d741aa Binary files /dev/null and b/Library/Kingdee.K3.MFG.PLN.App.Core.dll differ diff --git a/Library/Kingdee.K3.MFG.PLN.App.MrpModel.dll b/Library/Kingdee.K3.MFG.PLN.App.MrpModel.dll new file mode 100644 index 0000000..38d8d7f Binary files /dev/null and b/Library/Kingdee.K3.MFG.PLN.App.MrpModel.dll differ diff --git a/Library/Kingdee.K3.MFG.PLN.Business.PlugIn.dll b/Library/Kingdee.K3.MFG.PLN.Business.PlugIn.dll new file mode 100644 index 0000000..f5f5d9d Binary files /dev/null and b/Library/Kingdee.K3.MFG.PLN.Business.PlugIn.dll differ diff --git a/Library/Kingdee.K3.MFG.PLN.Report.PlugIn.dll b/Library/Kingdee.K3.MFG.PLN.Report.PlugIn.dll new file mode 100644 index 0000000..e9789eb Binary files /dev/null and b/Library/Kingdee.K3.MFG.PLN.Report.PlugIn.dll differ diff --git a/Library/Kingdee.K3.MFG.ServiceHelper.dll b/Library/Kingdee.K3.MFG.ServiceHelper.dll new file mode 100644 index 0000000..75c9af8 Binary files /dev/null and b/Library/Kingdee.K3.MFG.ServiceHelper.dll differ diff --git a/Library/Kingdee.K3.SCM.App.Core.dll b/Library/Kingdee.K3.SCM.App.Core.dll new file mode 100644 index 0000000..4b15195 Binary files /dev/null and b/Library/Kingdee.K3.SCM.App.Core.dll differ diff --git a/Library/Kingdee.K3.SCM.App.Credit.Core.dll b/Library/Kingdee.K3.SCM.App.Credit.Core.dll new file mode 100644 index 0000000..22858ac Binary files /dev/null and b/Library/Kingdee.K3.SCM.App.Credit.Core.dll differ diff --git a/Library/Kingdee.K3.SCM.App.Sal.ServicePlugIn.dll b/Library/Kingdee.K3.SCM.App.Sal.ServicePlugIn.dll new file mode 100644 index 0000000..9c1b21e Binary files /dev/null and b/Library/Kingdee.K3.SCM.App.Sal.ServicePlugIn.dll differ diff --git a/Library/Kingdee.K3.SCM.App.Stock.Report.dll b/Library/Kingdee.K3.SCM.App.Stock.Report.dll new file mode 100644 index 0000000..d1145bf Binary files /dev/null and b/Library/Kingdee.K3.SCM.App.Stock.Report.dll differ diff --git a/Library/Kingdee.K3.SCM.App.dll b/Library/Kingdee.K3.SCM.App.dll new file mode 100644 index 0000000..63c7abf Binary files /dev/null and b/Library/Kingdee.K3.SCM.App.dll differ diff --git a/Library/Kingdee.K3.SCM.Business.dll b/Library/Kingdee.K3.SCM.Business.dll new file mode 100644 index 0000000..f8e48ff Binary files /dev/null and b/Library/Kingdee.K3.SCM.Business.dll differ diff --git a/Library/Kingdee.K3.SCM.Common.BusinessEntity.dll b/Library/Kingdee.K3.SCM.Common.BusinessEntity.dll new file mode 100644 index 0000000..9c7bf40 Binary files /dev/null and b/Library/Kingdee.K3.SCM.Common.BusinessEntity.dll differ diff --git a/Library/Kingdee.K3.SCM.Contracts.dll b/Library/Kingdee.K3.SCM.Contracts.dll new file mode 100644 index 0000000..b51bd80 Binary files /dev/null and b/Library/Kingdee.K3.SCM.Contracts.dll differ diff --git a/Library/Kingdee.K3.SCM.Core.dll b/Library/Kingdee.K3.SCM.Core.dll new file mode 100644 index 0000000..f86d15e Binary files /dev/null and b/Library/Kingdee.K3.SCM.Core.dll differ diff --git a/Library/Kingdee.K3.SCM.ServiceHelper.dll b/Library/Kingdee.K3.SCM.ServiceHelper.dll new file mode 100644 index 0000000..135731d Binary files /dev/null and b/Library/Kingdee.K3.SCM.ServiceHelper.dll differ diff --git a/Library/Kingdee.K3.SCM.Stock.Business.PlugIn.dll b/Library/Kingdee.K3.SCM.Stock.Business.PlugIn.dll new file mode 100644 index 0000000..f7d61ec Binary files /dev/null and b/Library/Kingdee.K3.SCM.Stock.Business.PlugIn.dll differ diff --git a/Library/NPOI.OOXML.dll b/Library/NPOI.OOXML.dll new file mode 100644 index 0000000..5e3200b Binary files /dev/null and b/Library/NPOI.OOXML.dll differ diff --git a/Library/NPOI.OpenXml4Net.dll b/Library/NPOI.OpenXml4Net.dll new file mode 100644 index 0000000..782ec33 Binary files /dev/null and b/Library/NPOI.OpenXml4Net.dll differ diff --git a/Library/NPOI.OpenXmlFormats.dll b/Library/NPOI.OpenXmlFormats.dll new file mode 100644 index 0000000..bd832c7 Binary files /dev/null and b/Library/NPOI.OpenXmlFormats.dll differ diff --git a/Library/NPOI.dll b/Library/NPOI.dll new file mode 100644 index 0000000..2ed0bf4 Binary files /dev/null and b/Library/NPOI.dll differ diff --git a/Library/Newtonsoft.Json.dll b/Library/Newtonsoft.Json.dll new file mode 100644 index 0000000..55d537f Binary files /dev/null and b/Library/Newtonsoft.Json.dll differ diff --git a/Library/Oracle.DataAccess.dll b/Library/Oracle.DataAccess.dll new file mode 100644 index 0000000..910c9c5 Binary files /dev/null and b/Library/Oracle.DataAccess.dll differ diff --git a/Library/SkiaSharp.dll b/Library/SkiaSharp.dll new file mode 100644 index 0000000..69f1ed0 Binary files /dev/null and b/Library/SkiaSharp.dll differ diff --git a/Library/Xceed.Document.NET.dll b/Library/Xceed.Document.NET.dll new file mode 100644 index 0000000..4c73b92 Binary files /dev/null and b/Library/Xceed.Document.NET.dll differ diff --git a/Library/Xceed.Words.NET.dll b/Library/Xceed.Words.NET.dll new file mode 100644 index 0000000..f108527 Binary files /dev/null and b/Library/Xceed.Words.NET.dll differ diff --git a/Library/libSkiaSharp.dll b/Library/libSkiaSharp.dll new file mode 100644 index 0000000..d00d746 Binary files /dev/null and b/Library/libSkiaSharp.dll differ diff --git a/README.md b/README.md new file mode 100644 index 0000000..1c0a074 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# Piolot_Order_TH \ No newline at end of file diff --git a/ScheduleService/SaleOrderSumSicsAmountRefresh.cs b/ScheduleService/SaleOrderSumSicsAmountRefresh.cs new file mode 100644 index 0000000..e374cfc --- /dev/null +++ b/ScheduleService/SaleOrderSumSicsAmountRefresh.cs @@ -0,0 +1,68 @@ +using DocumentFormat.OpenXml.Bibliography; +using GZ_LTHPilot_ORDER.Service; +using Kingdee.BOS; +using Kingdee.BOS.Contracts; +using Kingdee.BOS.Core; +using Kingdee.BOS.Util; +using Kingdee.K3.FIN.App.Core.Match.Object; +using System; +using System.ComponentModel; + +namespace GZ_LTHPilot_ORDER.ScheduleService +{ + [Description("定时刷新#"), HotUpdate] + public class SaleOrderSumSicsAmountRefresh : IScheduleService + { + public void Run(Context ctx, Schedule schedule) + { + var advanceAays = GetAdvanceAays(schedule); + // 提前天的日期 + var approvedDate = DateTime.Now.Date.AddDays(-advanceAays - 1); + // 销售发票服务 + SaleSicsService saleSicsService = new SaleSicsService(ctx); + // TODO 获取前一天的发票数据 + var sicsList = saleSicsService.GetSaleSiceListByApprovedDate(approvedDate); + SaleOrderService saleOrderService = new SaleOrderService(ctx); + foreach (var sice in sicsList) + { + var saleOrgId = sice["FSALEORGID"].ToString(); + var contractNo = sice["contractNo"].ToString(); + var saleOrderList = saleOrderService.GetSaleOrderByOrgIdAndContractNo(saleOrgId, contractNo); + if (saleOrderList.Count == 0) + { + //var errInfo = string.Format("纸质合同号:{0},没有找到对应的销售订单,请检查销售订单是否已审核,或者被作废", contractNo); + //throw new Exception(errInfo); + continue; + } + var saleOrder = saleOrderList[0]; + saleSicsService.UpdateSaleOrderSumSicsamountBySaleOrder(saleOrder); + } + } + + /// + /// 参数获取提前天 + /// + /// + /// + private int GetAdvanceAays(Schedule schedule) + { + // 参数获取提前天 + var advanceAaysStr = schedule.Parameters; + int advanceAays; + try + { + advanceAays = Convert.ToInt32(advanceAaysStr); + if (advanceAays < 0) + { + throw new Exception(); + } + } + catch (Exception) + { + + throw new Exception("获取参数提前天失败,参数格式为整数,且大于等于0"); + } + return advanceAays; + } + } +} diff --git a/Service/SaleOrderService.cs b/Service/SaleOrderService.cs new file mode 100644 index 0000000..b65262e --- /dev/null +++ b/Service/SaleOrderService.cs @@ -0,0 +1,47 @@ +using Kingdee.BOS; +using Kingdee.BOS.Orm.DataEntity; +using Kingdee.BOS.ServiceHelper; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GZ_LTHPilot_ORDER.Service +{ + /// + /// 销售订单服务类 + /// + public class SaleOrderService + { + private Context ctx; + + public SaleOrderService(Context ctx) + { + this.ctx = ctx; + } + + /// + /// 根据纸质合同号、组织获取销售订单 + /// + /// + public DynamicObjectCollection GetSaleOrderByOrgIdAndContractNo(string orgId, string contractNo) + { + var sqlTemp = @"/*dialect*/SELECT + * +FROM + T_SAL_ORDER t1 + LEFT JOIN T_SAL_ORDERFIN t1fin ON t1.FID = t1fin.FID +WHERE + 1 = 1 + AND t1.FDOCUMENTSTATUS = 'C' + AND t1.FCANCELSTATUS = 'A' + AND t1.FSALEORGID = '{0}' + AND t1.F_CONTRACTNUMBER = '{1}' +"; + var sql = string.Format(sqlTemp, orgId, contractNo); + var resultData = DBServiceHelper.ExecuteDynamicObject(ctx, sql); + return resultData; + } + } +} diff --git a/Service/SaleSicsService.cs b/Service/SaleSicsService.cs new file mode 100644 index 0000000..b0bbe77 --- /dev/null +++ b/Service/SaleSicsService.cs @@ -0,0 +1,107 @@ +using Kingdee.BOS; +using Kingdee.BOS.Orm.DataEntity; +using Kingdee.BOS.ServiceHelper; +using Kingdee.K3.FIN.App.Core.Match.Object; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GZ_LTHPilot_ORDER.Service +{ + /// + /// 销售发票服务类 + /// + public class SaleSicsService + { + private Context ctx; + + public SaleSicsService(Context ctx) + { + this.ctx = ctx; + } + + /// + /// 刷新销售订单累计开票金额 + /// + /// + /// + public int UpdateSaleOrderSumSicsamountBySaleOrder(DynamicObject saleOrder) + { + // 销售订单ID + var saleOrderId = saleOrder["FID"].ToString(); + // 纸质合同号 + var contractNo = saleOrder["F_CONTRACTNUMBER"].ToString(); + // 销售组织Id + var saleOrgId = saleOrder["FSALEORGID"].ToString(); + var sqlTemp = @"/*dialect*/UPDATE t1 +SET + t1.F_INVOICEAMOUNT = TEMP1.FAFTERTOTALTAX +FROM + T_SAL_ORDER t1 + INNER JOIN ( + SELECT + FSALEORGID, + F_PaperNumber, + SUM(FAFTERTOTALTAX) FAFTERTOTALTAX + FROM + ( + SELECT + FSALEORGID, -- 销售组织 + F_PaperNumber, -- 纸质合同号 + ISNULL (FAFTERTOTALTAX, 0) FAFTERTOTALTAX -- 价税合计本币 + FROM + T_IV_SALESIC + WHERE + 1 = 1 + AND FDOCUMENTSTATUS = 'C' + AND FCANCELSTATUS = 'A' + AND FSALEORGID = '{0}' + AND F_PaperNumber = '{1}' + UNION ALL + SELECT + '100302' FSALEORGID, -- 销售组织 + 合同号 F_PaperNumber, -- 纸质合同号 + SUM(ISNULL (专票金额, 0) + ISNULL (普票金额, 0)) FAFTERTOTALTAX -- 价税合计本币 + FROm + dbo.oldk3seorder0701 + WHERE + 1 = 1 + AND 合同号 = '{1}' + GROUP BY + 合同号 + ) temp02 + GROUP BY + FSALEORGID, + F_PaperNumber + ) TEMP1 ON t1.F_CONTRACTNUMBER = TEMP1.F_PaperNumber + AND t1.FSALEORGID = TEMP1.FSALEORGID +WHERE + t1.FID = '{2}' +"; + var sql = string.Format(sqlTemp, saleOrgId, contractNo, saleOrderId); + return DBServiceHelper.Execute(ctx, sql); + } + + /// + /// + /// + /// + /// + public DynamicObjectCollection GetSaleSiceListByApprovedDate(DateTime approvedDate) + { + var sqlTemp = @"/*dialect*/SELECT DISTINCT + t1.FSALEORGID, + ISNULL(t1.F_PaperNumber, '') contractNo +FROM + T_IV_SALESIC t1 +WHERE + 1 = 1 + AND t1.FAPPROVEDATE > '{0}' +"; + var sql = string.Format(sqlTemp, approvedDate.ToString("yyyy-MM-dd HH:mm:dd")); + return DBServiceHelper.ExecuteDynamicObject(ctx, sql); + } + } +} diff --git a/T_IV_SALESIC/ServicePlugIn/Audit.cs b/T_IV_SALESIC/ServicePlugIn/Audit.cs new file mode 100644 index 0000000..8c23e59 --- /dev/null +++ b/T_IV_SALESIC/ServicePlugIn/Audit.cs @@ -0,0 +1,60 @@ +using GZ_LTHPilot_ORDER.Service; +using Kingdee.BOS.Core.DynamicForm.PlugIn; +using Kingdee.BOS.Core.DynamicForm.PlugIn.Args; +using Kingdee.BOS.Orm.DataEntity; +using Kingdee.BOS.Util; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GZ_LTHPilot_ORDER.T_IV_SALESIC.ServicePlugIn +{ + [Description("服务插件:发票审核,刷新销售订单累计开票金额字段"), HotUpdate] + public class Audit : AbstractOperationServicePlugIn + { + public override void OnPreparePropertys(PreparePropertysEventArgs e) + { + base.OnPreparePropertys(e); + e.FieldKeys.Add("F_PaperNumber"); + } + + + /// + /// 审核插件执行后插件、事务提交后事件 + /// + /// + public override void AfterExecuteOperationTransaction(AfterExecuteOperationTransaction e) + { + base.AfterExecuteOperationTransaction(e); + foreach (var bill in e.DataEntitys) + { + var org = bill["SALEORGID"] as DynamicObject; + var orgId = org["Id"].ToString(); // 销售订单 + var contractNo = bill["F_PaperNumber"].ToString(); // 纸质合同号 + // 销售订单服务 + var saleOrderService = new SaleOrderService(this.Context); + // TODO 根据组织和纸质合同号查找销售订单 + var saleOrderList = saleOrderService.GetSaleOrderByOrgIdAndContractNo(orgId, contractNo); + if (saleOrderList.Count == 0) + { + //var errInfo = string.Format("纸质合同号:{0},没有找到对应的销售订单,请检查销售订单是否已审核,或者被作废", contractNo); + //throw new Exception(errInfo); + continue; + } + if (saleOrderList.Count > 1) + { + var errInfo = string.Format("纸质合同号:{0},找到多个销售订单,请检查组织内纸质合同号唯一性", contractNo); + throw new Exception(errInfo); + } + var saleOrder = saleOrderList[0]; + // 发票服务 + SaleSicsService saleSicsService = new SaleSicsService(this.Context); + // TODO 刷新销售订单单头的累计开票金额 + saleSicsService.UpdateSaleOrderSumSicsamountBySaleOrder(saleOrder); + } + } + } +} diff --git a/T_IV_SALESIC/ServicePlugIn/Submit.cs b/T_IV_SALESIC/ServicePlugIn/Submit.cs new file mode 100644 index 0000000..a9b7fd3 --- /dev/null +++ b/T_IV_SALESIC/ServicePlugIn/Submit.cs @@ -0,0 +1,76 @@ +using GZ_LTHPilot_ORDER.Service; +using Kingdee.BOS.Core.DynamicForm; +using Kingdee.BOS.Core.DynamicForm.PlugIn; +using Kingdee.BOS.Core.DynamicForm.PlugIn.Args; +using Kingdee.BOS.Orm.DataEntity; +using Kingdee.BOS.Util; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GZ_LTHPilot_ORDER.T_IV_SALESIC.ServicePlugIn +{ + [Description("服务插件:发票提交,校验销售订单累计开票金额加开票金额不能大于销售订单价税合计本币"), HotUpdate] + public class Submit : AbstractOperationServicePlugIn + { + public override void OnPreparePropertys(PreparePropertysEventArgs e) + { + base.OnPreparePropertys(e); + e.FieldKeys.Add("F_PaperNumber"); + e.FieldKeys.Add("FAFTERTOTALTAX"); + } + + + public override void BeforeExecuteOperationTransaction(BeforeExecuteOperationTransaction e) + { + base.BeforeExecuteOperationTransaction(e); + //throw new Exception("asdfas"); + foreach (var bill in e.SelectedRows) + { + var org = bill["SALEORGID"] as DynamicObject; + var orgId = org["Id"].ToString(); // 销售订单 + var contractNo = bill["F_PaperNumber"].ToString(); // 纸质合同号 + var FAFTERTOTALTAX = Convert.ToDecimal(bill["FAFTERTOTALTAX"]); // 发票单头价税合计本币 + // 销售订单服务 + var saleOrderService = new SaleOrderService(this.Context); + // TODO 根据组织和纸质合同号查找销售订单 + var saleOrderList = saleOrderService.GetSaleOrderByOrgIdAndContractNo(orgId, contractNo); + if (saleOrderList.Count == 0) + { + //var errInfo = string.Format("纸质合同号:{0},没有找到对应的销售订单,请检查销售订单是否已审核,或者被作废", contractNo); + //throw new Exception(errInfo); + continue; + } + if (saleOrderList.Count > 1) + { + var errInfo = string.Format("纸质合同号:{0},找到多个销售订单,请检查组织内纸质合同号唯一性", contractNo); + throw new Exception(errInfo); + } + var saleOrder = saleOrderList[0]; + // 销售订单价税合计 + var saleOrderAmount = Convert.ToDecimal(saleOrder["FBILLALLAMOUNT_LC"]); + // 销售订单累计开票金额 + var saleOrderINVOICEAMOUNT = Convert.ToDecimal(saleOrder["F_INVOICEAMOUNT"]); + // 校验销售订单累计开票金额+本次开票金额不能大于销售订单价税合计 + if (saleOrderAmount < saleOrderINVOICEAMOUNT + FAFTERTOTALTAX) + { + //有错误信息 + e.Cancel = true; + IOperationResult operationResult = new OperationResult(); + operationResult.OperateResult.Add(new OperateResult() + { + PKValue = "1", + Name = "检查开票金额是否超额", + MessageType = MessageType.FatalError, + Message = string.Format($"纸质合同号:'{contractNo}' ,销售订单价税合计本币:{saleOrderAmount} ,累计开票金额:{saleOrderINVOICEAMOUNT},本次开票金额:{FAFTERTOTALTAX},已超额,不允许提交"), + SuccessStatus = false + }); + this.OperationResult.MergeResult(operationResult); + } + } + } + } +} diff --git a/T_IV_SALESIC/ServicePlugIn/UnAudit.cs b/T_IV_SALESIC/ServicePlugIn/UnAudit.cs new file mode 100644 index 0000000..525d7bf --- /dev/null +++ b/T_IV_SALESIC/ServicePlugIn/UnAudit.cs @@ -0,0 +1,59 @@ +using GZ_LTHPilot_ORDER.Service; +using Kingdee.BOS.Core.DynamicForm.PlugIn; +using Kingdee.BOS.Core.DynamicForm.PlugIn.Args; +using Kingdee.BOS.Orm.DataEntity; +using Kingdee.BOS.Util; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace GZ_LTHPilot_ORDER.T_IV_SALESIC.ServicePlugIn +{ + [Description("服务插件:发票反审核,刷新销售订单累计开票金额字段"), HotUpdate] + public class UnAudit : AbstractOperationServicePlugIn + { + public override void OnPreparePropertys(PreparePropertysEventArgs e) + { + base.OnPreparePropertys(e); + e.FieldKeys.Add("F_PaperNumber"); + } + + /// + /// 审核插件执行后插件、事务提交后事件 + /// + /// + public override void AfterExecuteOperationTransaction(AfterExecuteOperationTransaction e) + { + base.AfterExecuteOperationTransaction(e); + foreach (var bill in e.DataEntitys) + { + var org = bill["SALEORGID"] as DynamicObject; + var orgId = org["Id"].ToString(); // 销售订单 + var contractNo = bill["F_PaperNumber"].ToString(); // 纸质合同号 + // 销售订单服务 + var saleOrderService = new SaleOrderService(this.Context); + // TODO 根据组织和纸质合同号查找销售订单 + var saleOrderList = saleOrderService.GetSaleOrderByOrgIdAndContractNo(orgId, contractNo); + if (saleOrderList.Count == 0) + { + //var errInfo = string.Format("纸质合同号:{0},没有找到对应的销售订单,请检查销售订单是否已审核,或者被作废", contractNo); + //throw new Exception(errInfo); + continue; + } + if (saleOrderList.Count > 1) + { + var errInfo = string.Format("纸质合同号:{0},找到多个销售订单,请检查组织内纸质合同号唯一性", contractNo); + throw new Exception(errInfo); + } + var saleOrder = saleOrderList[0]; + // 发票服务 + SaleSicsService saleSicsService = new SaleSicsService(this.Context); + // TODO 刷新销售订单单头的累计开票金额 + saleSicsService.UpdateSaleOrderSumSicsamountBySaleOrder(saleOrder); + } + } + } +} diff --git a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache index 5796412..b4af922 100644 Binary files a/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache and b/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache differ diff --git a/obj/Debug/GZ_LTHPilot_ORDER.csproj.AssemblyReference.cache b/obj/Debug/GZ_LTHPilot_ORDER.csproj.AssemblyReference.cache index 5181c75..85b7ffc 100644 Binary files a/obj/Debug/GZ_LTHPilot_ORDER.csproj.AssemblyReference.cache and b/obj/Debug/GZ_LTHPilot_ORDER.csproj.AssemblyReference.cache differ