|
|
#include "erp_utils.h"
|
|
|
#include "ocilib.h"
|
|
|
#include "common_itk_util.h"
|
|
|
#include "string_utils.h"
|
|
|
#include "string_helper.h"
|
|
|
#include "error_handling.h"
|
|
|
#include "connor_util.h"
|
|
|
#include <vector>
|
|
|
#include <map>
|
|
|
#include <string>
|
|
|
#include <tccore/item_errors.h>
|
|
|
#include <ics/ics_enquiry.h>
|
|
|
#include <ict/ict_userservice.h>
|
|
|
#include <tccore/item_errors.h>
|
|
|
#include <bom/bom_msg.h>
|
|
|
#include <tccore/tc_msg.h>
|
|
|
#include <ics/ics.h>
|
|
|
#include <property/prop_msg.h>
|
|
|
#include <bom/bom_msg.h>
|
|
|
#include <tccore/item_msg.h>
|
|
|
#include <tccore/project.h>
|
|
|
#include <time.h>
|
|
|
|
|
|
|
|
|
|
|
|
#define ERROR_QRY_NOT_FOUND (EMH_USER_error_base + 120)
|
|
|
int HS_ERP_Part(EPM_action_message_t msg);
|
|
|
int HS_ERP_BOM_ALL(EPM_action_message_t msg);
|
|
|
int HS_ERP_BOM(EPM_action_message_t msg);
|
|
|
int HS_SRM_Drawing(EPM_action_message_t msg);
|
|
|
int Connor_set_bypass(void* returnValue);
|
|
|
int Connor_close_bypass(void* returnValue);
|
|
|
int Connor_bypass(EPM_action_message_t msg);
|
|
|
int HS_pdf_signoff(EPM_action_message_t msg);
|
|
|
int Connor_Send_Mail_To_All_Users(EPM_action_message_t msg);
|
|
|
int HS2_set_process_name(EPM_action_message_t msg);
|
|
|
int HS_set_signoff(EPM_action_message_t msg);
|
|
|
int HS2_AutoAssign(EPM_action_message_t msg);
|
|
|
int HS_mod_pdf_name(EPM_action_message_t msg);
|
|
|
int Connor_Schedule_Task_Mail(EPM_action_message_t msg);
|
|
|
int HS2_Check_Dataset_Size(EPM_rule_message_t msg);
|
|
|
int HS_SendToSRM(void* returnValue);
|
|
|
struct EPR_PRAT
|
|
|
{
|
|
|
string id; //存货编码/item_id
|
|
|
string name; //存货名称/object_name
|
|
|
string code; //物料-零件代号
|
|
|
string unit_code; //物料-单位属性(hs2_unit)
|
|
|
string spec; //规格(分类属性拼接)
|
|
|
string class_id; //分类ID
|
|
|
string bzs;//客户包装
|
|
|
};
|
|
|
struct EPR_ZJ
|
|
|
{
|
|
|
string invCode;
|
|
|
string sortSeq;
|
|
|
string baseQtyN;
|
|
|
string baseQtyD;
|
|
|
};
|
|
|
struct EPR_BOM
|
|
|
{
|
|
|
string cinvCode;
|
|
|
string version;
|
|
|
vector<EPR_ZJ> zjs;
|
|
|
};
|
|
|
struct SPM_DRAW
|
|
|
{
|
|
|
string cInvCode;
|
|
|
string VersionNo;
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|