You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

79 lines
1.8 KiB

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

#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;
};