BE插件开发获取当前单据状态枚举
UFIDA.U9.SM.Quotation.Quotation holder = key.GetEntity() as UFIDA.U9.SM.Quotation.Quotation;
if(holder.Status==QutationStatusEnum.Opened){} 获取状态
UFIDA.U9.SM.Quotation.Quotation holder = key.GetEntity() as UFIDA.U9.SM.Quotation.Quotation;
if(holder.Status==QutationStatusEnum.Opened){} 获取状态
1、需要引入对应表单单据BE实体;2、找到单据枚举定义如(
以报价单为例:UFIDA.U9.SM.Quotation.QutationStatusEnum,需引入using UFIDA.U9.SM.SMBE; using UFIDA.U9.SM.Quotation; 对应实体后在获取状态对应枚举)