| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- using System;
- using System.Collections.Generic;
- using System.ComponentModel;
- using System.Data;
- using System.Drawing;
- using System.Linq;
- using System.Text;
- using System.Windows.Forms;
- using Dongke.IBOSS.PRD.Basics.DataAccess;
- using Dongke.IBOSS.PRD.Service.SAPHegiiDataService;
- namespace SAPTest
- {
- public partial class Form1 : Form
- {
- public Form1()
- {
- InitializeComponent();
- DataManager.ConnectionString = string.Format(DataManager.ConnectionStringFormat,
- "172.18.32.51",
- "1521",
- "hgmes",
- "hgiboss",
- "dongke"
- );
- }
- private void button1_Click(object sender, EventArgs e)
- {
- try
- {
- //SAPDataLogic.SetFP60_800(DateTime.Now, 1);
- // 2021-11-30 批量报损后手动同步报损数据
- //int logid = 257089;
- //SAPDataLogic.HGSAPDK_SyncSap(DateTime.Now, "50", 0, logid);
- SAPDataLogic.SetFP60_240(DateTime.Now, 1);
- }
- catch (Exception ex)
- {
- }
- }
- }
- }
|