目 录

1 电商与分销

1.1 促销管理

1.1.1 促销申请F8

促销申请F8-单据头

概述
表名称实体名称ORM实体名
V_SPM_PROMOTIONAPPLY单据头SPM_PROMOTIONAPPLYVIEW
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
促销申请编号FNUMBERNUMBERfnumbernvarchar60300
促销申请主题FNameNameFNAMEnvarchar2001000
申请日期FApplyDATEPLANDATEFAPPLYDATEdatetime8233
促销开始日期FStartDateFStartDateFSTARTDATEdatetime8233
促销结束日期FEndDateFEndDateFENDDATEdatetime8233
预计促销总费用FCostAmountFCostAmountFCOSTAMOUNTdecimal132310
预计销售总收入FInComeAmountFInComeAmountFINCOMEAMOUNTdecimal132310
预计促销利润增长%FProfitIncRateFProfitAmountFPROFITINCRATEdecimal132310
促销申请组织FApplyOrgIDFApplyOrgIDFAPPLYORGIDint4100
币别FCurrencyIDFCurrencyIDFCURRENCYIDint4100
索引
名称类型字段
主外键
名称类型字段
触发器
名称

1.1.2 促销结案报告

促销结案报告-单据头

概述
表名称实体名称ORM实体名
V_SPM_PROMOTIONAPPRAISE单据头SPM_PromotionAppraiseList
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
促销开始日期FStartDateFStartDatefstartdatedatetime8233
促销结束日期FEndDateFEndDatefenddatedatetime8233
促销申请主题FNameFNameFNAMEnvarchar2001000
促销申请编号FNUMBERFNUMBERfnumbernvarchar60300
总体促销效果FTotalEffectFTotalEffectFtotaleffectchar110
总体目标达成率%FGoalAchieveRateFGoalAchieveRateFGOALACHIEVERATEdecimal132310
结案状态FAppraiseStatusFAppraiseStatusfappraisestatusvarchar110
结案报告IDFAppraiseIdFAppraiseIdfappraiseidint4100
促销组织编码FsaleOrgIdFSaleOrgIdfsaleorgidint4100
促销申请单IDFApplyIdFApplyIdfapplyidint4100
索引
名称类型字段
主外键
名称类型字段
触发器
名称

1.1.3 促销日期变更记录

促销日期变更记录-单据头

概述
表名称实体名称ORM实体名
T_SPM_ENDTIMECGLOG单据头SPM_ChangeLog
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
操作日期FOperateTimeFOperateTimeFOPERATETIMEdatetime8233
政策编码FPolicyCodeFPolicyCodeFPOLICYCODEvarchar1001000(' ')
原结束日期FEndTimeBeforeFEndTimeBeforeFENDTIMEBEFOREdatetime8233
现结束日期FEndTimeAfterFEndTimeAfterFENDTIMEAFTERdatetime8233
参与组织FOrgIdFOrgIdFORGIDbigint8190((0))
政策名称FPolicyNameFPolicyNameFPOLICYNAMEnvarchar2001000(' ')
操作人FUserIdFUserIdFUSERIDbigint8190((0))
索引
名称类型字段
PK_T_SPM_ENDTIMECGLOGCLUSTEREDFID
IDX_SPM_ENDTIMECGLOG_NAMENONCLUSTEREDFPOLICYNAME
IDX_SPM_ENDTIMECGLOG_CODENONCLUSTEREDFPOLICYCODE
IDX_SPM_ENDTIMECGLOG_ORGNONCLUSTEREDFORGID
IDX_SPM_ENDTIMECGLOG_USERNONCLUSTEREDFUSERID
主外键
名称类型字段
PK_T_SPM_ENDTIMECGLOGPKFID
触发器
约束
名称类型字段描述
PK_T_SPM_ENDTIMECGLOG主键约束FID
DF__T_SPM_ENDTI__FID__07898EFC默认值约束FID((0))
DF__T_SPM_END__FPOLI__087DB335默认值约束FPOLICYCODE(' ')
DF__T_SPM_END__FPOLI__0971D76E默认值约束FPOLICYNAME(' ')
DF__T_SPM_END__FORGI__0A65FBA7默认值约束FORGID((0))
DF__T_SPM_END__FUSER__0B5A1FE0默认值约束FUSERID((0))

1.1.4 客户分组

客户分组-单据头

概述
表名称实体名称ORM实体名
V_SPM_CUSTOMERGROUP单据头
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
数据状态FDocumentStatusDocumentStatusfdocumentstatusvarchar110
禁用状态FForbidStatusForbidStatusfforbidstatusvarchar110
编码FNumberNumberFNUMBERnvarchar2001000
上级分组IDFParentIDFParentIDFPARENTIDint4100
所有上组分组IDFFullParentIDFFullParentIDFFULLPARENTIDvarchar5005000
索引
名称类型字段
主外键
名称类型字段
触发器
名称

客户分组-单据头_L

概述
表名称实体名称ORM实体名
V_SPM_CUSTOMERGROUP_L单据头
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
名称FNameNameFNAMEnvarchar2001000
索引
名称类型字段
主外键
名称类型字段
触发器
名称

1.1.5 促销政策

促销政策-单据头

概述
表名称实体名称ORM实体名
V_SPM_PROMOTIONPOLICY单据头SPM_PromotionPolicy
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
促销政策编码FNumberFNumberFNUMBERnvarchar60300
促销主题FNAMEFNAMEFNAMEnvarchar100500
创建组织FCOMPANYORGUNITIDFCOMPANYORGUNITIDFCOMPANYORGUNITIDint4100
促销模式FPROMOTIONMODEIDFPROMOTIONMODEIDFPROMOTIONMODEIDint4100
单据状态FDOCUMENTSTATUSFDOCUMENTSTATUSFDOCUMENTSTATUSchar110
失效状态FFORBIDSTATUSFBillStatusFFORBIDSTATUSchar110
币别FCURRENCYIDFCURRENCYIDFCURRENCYIDint4100
赠品促销使用累计数量促销FISUSESUMPROMOTIONFISUSESUMPROMOTIONFISUSESUMPROMOTIONchar110
索引
名称类型字段
主外键
名称类型字段
触发器
名称

1.1.6 促销申请单

促销申请单-单据头

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONAPPLY单据头PromotionApply
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
促销申请编码FBillNoBillNoFBILLNOnvarchar60300(' ')
单据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
申请日期FApplyDateFApplyDateFAPPLYDATEdatetime8233(getdate())
促销开始日期FStartDateStartDateFSTARTDATEdatetime8233(getdate())
促销结束日期FEndDateEndDateFENDDATEdatetime8233(getdate())
促销申请组织FApplyOrgIDFApplyOrgIDFAPPLYORGIDint4100((0))
预计促销总费用FCostAmountCostAmountFCOSTAMOUNTdecimal132310((0.0))
预计销售总收入FInComeAmountIncomeAmountFINCOMEAMOUNTdecimal132310((0.0))
创建人FCreatorIdFCreatorIdFCREATORIDint4100((0))
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
修改人FModifierIdFModifierIdFMODIFIERIDint4100((0))
审核人FApproverIDApproverIDFAPPROVERIDint4100((0))
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
失效人FCanCellerIDCanCellerIDFCANCELLERIDint4100((0))
失效日期FCanCelDateCanCelDateFCANCELDATEdatetime8233
失效状态FCanCelStatusCanCelStatusFCANCELSTATUSchar110(' ')
促销申请部门FApplyDeptIDApplyDeptIDFAPPLYDEPTIDint4100((0))
申请人FApplyerIDApplyerIDFAPPLYERIDint4100((0))
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233
币别FCurrencyIDCurrencyIDFCURRENCYIDint4100((0))
单据类型FBillTypeIDBillTypeIDFBILLTYPEIDvarchar36360
预计促销利润增长%FProfitIncRateProfitIncRateFPROFITINCRATEdecimal132310((0.0))
促销申请主题FNameNameFNAMEnvarchar2001000(' ')
促销目标FPromotionTargetPromotionTargetFPROMOTIONTARGETnvarchar5102550(' ')
促销品种范围FTypeRangeTypeRangeFTYPERANGEnvarchar5102550(' ')
促销客户范围FCustRangeCustRangeFCUSTRANGEnvarchar5102550(' ')
参与供应商FIsJionSupplierIsJionSupplierFISJOINSUPPLIERchar110(' ')
供应商FSupplierIDSupplierIDFSUPPLIERIDint4100((0))
限量促销FIsLimitPromotionIsLimitPromotionFISLIMITPROMOTIONchar110(' ')
费用承担组织FCostOrgIdCostOrgIdFCOSTORGIDint4100((0))
费用承担部门FCostDepartmentCostDepartmentFCOSTDEPARTMENTint4100((0))
公司承担总费用FOrgCostAllAmountOrgCostAllAmountFORGCOSTALLAMOUNTdecimal132310((0.0))
汇率类型FExchangeTypeIDExchangeTypeIDFEXCHANGETYPEIDint4100((0))
本位币FBaseCurrencyIDBaseCurrencyIDFBASECURRENCYIDint4100((0))
汇率FExchangeRateExchangeRateFEXCHANGERATEdecimal9196((0))
公司承担总费用(本位币)FLocalOrgCostAllAmountLocalOrgCostAllAmountFLOCALORGCOSTALLAMOUNTdecimal132310((0.0))
索引
名称类型字段
PK_SPM_PROMOTIONAPPLYCLUSTEREDFID
IDX_SPM_PROMOAPP_NONONCLUSTEREDFBILLNO
IDX_SPM_PROMOAPP_PLANDATENONCLUSTEREDFAPPLYORGIDFAPPLYDATEFDOCUMENTSTATUS
IDX_SPM_PROMOAPP_RDATENONCLUSTEREDFSTARTDATEFENDDATEFAPPLYORGIDFDOCUMENTSTATUS
主外键
名称类型字段
PK_SPM_PROMOTIONAPPLYPKFID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONAPPLY主键约束FID
DF__T_SPM_PRO__FNAME__1B9FCD23默认值约束FNAME(' ')
DF__T_SPM_PRO__FPROM__1C93F15C默认值约束FPROMOTIONTARGET(' ')
DF__T_SPM_PRO__FTYPE__1D881595默认值约束FTYPERANGE(' ')
DF__T_SPM_PRO__FCUST__1E7C39CE默认值约束FCUSTRANGE(' ')
DF__T_SPM_PRO__FISJO__2BA12AC2默认值约束FISJOINSUPPLIER(' ')
DF__T_SPM_PRO__FSUPP__2C954EFB默认值约束FSUPPLIERID((0))
DF__T_SPM_PRO__FISLI__2D897334默认值约束FISLIMITPROMOTION(' ')
DF__T_SPM_PRO__FCOST__2E7D976D默认值约束FCOSTORGID((0))
DF__T_SPM_PRO__FCOST__2F71BBA6默认值约束FCOSTDEPARTMENT((0))
DF__T_SPM_PRO__FORGC__3065DFDF默认值约束FORGCOSTALLAMOUNT((0.0))
DF__T_SPM_PRO__FEXCH__315A0418默认值约束FEXCHANGETYPEID((0))
DF__T_SPM_PRO__FBASE__324E2851默认值约束FBASECURRENCYID((0))
DF__T_SPM_PRO__FEXCH__33424C8A默认值约束FEXCHANGERATE((0))
DF__T_SPM_PRO__FLOCA__343670C3默认值约束FLOCALORGCOSTALLAMOUNT((0.0))
DF__T_SPM_PROMO__FID__6052881E默认值约束FID((0))
DF__T_SPM_PRO__FBILL__6146AC57默认值约束FBILLNO(' ')
DF__T_SPM_PRO__FDOCU__623AD090默认值约束FDOCUMENTSTATUS(' ')
DF__T_SPM_PRO__FAPPL__632EF4C9默认值约束FAPPLYDATE(getdate())
DF__T_SPM_PRO__FSTAR__64231902默认值约束FSTARTDATE(getdate())
DF__T_SPM_PRO__FENDD__65173D3B默认值约束FENDDATE(getdate())
DF__T_SPM_PRO__FAPPL__660B6174默认值约束FAPPLYERID((0))
DF__T_SPM_PRO__FAPPL__66FF85AD默认值约束FAPPLYDEPTID((0))
DF__T_SPM_PRO__FCURR__67F3A9E6默认值约束FCURRENCYID((0))
DF__T_SPM_PRO__FAPPL__68E7CE1F默认值约束FAPPLYORGID((0))
DF__T_SPM_PRO__FCOST__69DBF258默认值约束FCOSTAMOUNT((0.0))
DF__T_SPM_PRO__FINCO__6AD01691默认值约束FINCOMEAMOUNT((0.0))
DF__T_SPM_PRO__FPROF__6BC43ACA默认值约束FPROFITINCRATE((0.0))
DF__T_SPM_PRO__FCREA__6CB85F03默认值约束FCREATORID((0))
DF__T_SPM_PRO__FMODI__6DAC833C默认值约束FMODIFIERID((0))
DF__T_SPM_PRO__FAPPR__6EA0A775默认值约束FAPPROVERID((0))
DF__T_SPM_PRO__FCANC__6F94CBAE默认值约束FCANCELLERID((0))
DF__T_SPM_PRO__FCANC__7088EFE7默认值约束FCANCELSTATUS(' ')

促销申请单-促销明细

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONAPPLYENTRY促销明细PromotionApplyEntry
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
费用项目FPromotionProjectIDPromotionProjectFPROMOTIONPROJECTIDint4100((0))
数量FQtyQtyFQTYdecimal132310((0))
索引
名称类型字段
PK_SPM_PROMOTIONAPPLYENTRYCLUSTEREDFENTRYID
IDX_SPM_PROMOAPPENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_SPM_PROMOTIONAPPLYENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONAPPLYENTRY主键约束FENTRYID
DF__T_SPM_PROM__FQTY__003547CB默认值约束FQTY((0))
DF__T_SPM_PRO__FENTR__7B7092AE默认值约束FENTRYID((0))
DF__T_SPM_PROMO__FID__7C64B6E7默认值约束FID((0))
DF__T_SPM_PROM__FSEQ__7D58DB20默认值约束FSEQ((0))
DF__T_SPM_PRO__FPROM__7E4CFF59默认值约束FPROMOTIONPROJECTID((0))
DF__T_SPM_PRO__FPROM__7F412392默认值约束FPROMOTIONPROJECTGROUPID((0))

促销申请单-促销明细_F

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONAPPLYENTRY_F促销明细PromotionApplyEntry
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
价格FPricePriceFPRICEdecimal132310((0.0))
预计费用金额FAmountAmountFAMOUNTdecimal132310((0.0))
费用预算余额FBalanceAmountBalanceAmountFBALANCEAMOUNTdecimal132310((0.0))
公司承担金额FOrgCostAmountOrgCostAmountFORGCOSTAMOUNTdecimal132310((0.0))
供应商承担金额FSupplierCostAmountSupplierCostAmountFSUPPLIERCOSTAMOUNTdecimal132310((0.0))
客户承担金额FCustomerCostAmountCustomerCostAmountFCUSTOMERCOSTAMOUNTdecimal132310((0.0))
公司承担比例%FOrgCostRateOrgCostRateFORGCOSTRATEdecimal132310((0.0))
客户承担比例%FCustomerCostRateCustomerCostRateFCUSTOMERCOSTRATEdecimal132310((0.0))
供应商承担比例%FSupplierCostRateSupplierCostRateFSUPPLIERCOSTRATEdecimal132310((0.0))
未关联费用申请金额FUnFeesAmountUnFeesAmountFUNFEESAMOUNTdecimal132310((0.0))
未关联供应商应收金额FUnSupplierARAmountUnSupplierARAmountFUNSUPPLIERARAMOUNTdecimal132310((0.0))
未关联客户应收金额FUnCustomerARAmountUnCustomerARAmountFUNCUSTOMERARAMOUNTdecimal132310((0.0))
累计费用申请金额FTotalFeesAmountTotalFeesAmountFTOTALFEESAMOUNTdecimal132310((0.0))
累计供应商应收金额FTotalSupplierARAmountTotalSupplierARAmountFTOTALSUPPLIERARAMOUNTdecimal132310((0.0))
累计客户应收金额FTotalCustomerARAmountTotalCustomerARAmountFTOTALCUSTOMERARAMOUNTdecimal132310((0.0))
累计报销金额FTotalReimburseAmountTotalReimburseAmountFTOTALREIMBURSEAMOUNTdecimal132310((0.0))
索引
名称类型字段
PK_SPM_PROMOTIONAPPLYE_FICLUSTEREDFENTRYID
IDX_SPM_PROMOAPPE_F_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_SPM_PROMOTIONAPPLYE_FIPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONAPPLYE_FI主键约束FENTRYID
DF__T_SPM_PRO__FORGC__1F3B53DD默认值约束FORGCOSTAMOUNT((0.0))
DF__T_SPM_PRO__FORGC__202F7816默认值约束FORGCOSTRATE((0.0))
DF__T_SPM_PRO__FSUPP__21239C4F默认值约束FSUPPLIERCOSTAMOUNT((0.0))
DF__T_SPM_PRO__FSUPP__2217C088默认值约束FSUPPLIERCOSTRATE((0.0))
DF__T_SPM_PRO__FCUST__230BE4C1默认值约束FCUSTOMERCOSTAMOUNT((0.0))
DF__T_SPM_PRO__FCUST__240008FA默认值约束FCUSTOMERCOSTRATE((0.0))
DF__T_SPM_PRO__FUNFE__24F42D33默认值约束FUNFEESAMOUNT((0.0))
DF__T_SPM_PRO__FUNSU__25E8516C默认值约束FUNSUPPLIERARAMOUNT((0.0))
DF__T_SPM_PRO__FUNCU__26DC75A5默认值约束FUNCUSTOMERARAMOUNT((0.0))
DF__T_SPM_PRO__FTOTA__27D099DE默认值约束FTOTALFEESAMOUNT((0.0))
DF__T_SPM_PRO__FTOTA__28C4BE17默认值约束FTOTALSUPPLIERARAMOUNT((0.0))
DF__T_SPM_PRO__FTOTA__29B8E250默认值约束FTOTALCUSTOMERARAMOUNT((0.0))
DF__T_SPM_PRO__FTOTA__2AAD0689默认值约束FTOTALREIMBURSEAMOUNT((0.0))
DF__T_SPM_PRO__FENTR__4F921070默认值约束FENTRYID((0))
DF__T_SPM_PROMO__FID__508634A9默认值约束FID((0))
DF__T_SPM_PRO__FPRIC__517A58E2默认值约束FPRICE((0.0))
DF__T_SPM_PRO__FAMOU__526E7D1B默认值约束FAMOUNT((0.0))
DF__T_SPM_PRO__FBALA__5362A154默认值约束FBALANCEAMOUNT((0.0))

促销申请单-促销明细_L

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONAPPLYENTRY_L促销明细PromotionApplyEntry
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
品名FVerietyVerietyFVERIETYnvarchar100500(' ')
备注FRemarkRemarkFREMARKnvarchar5102550(' ')
索引
名称类型字段
PK_SPM_PROMOTIONAPPLYE_LCLUSTEREDFPKID
IDX_SPM_PROMOAPPE_ENTRYIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_SPM_PROMOTIONAPPLYE_LPKFPKID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONAPPLYE_L主键约束FPKID
DF__T_SPM_PRO__FPKID__49D9371A默认值约束FPKID((0))
DF__T_SPM_PRO__FENTR__4ACD5B53默认值约束FENTRYID((0))
DF__T_SPM_PRO__FLOCA__4BC17F8C默认值约束FLOCALEID((0))
DF__T_SPM_PRO__FVERI__4CB5A3C5默认值约束FVERIETY(' ')
DF__T_SPM_PRO__FREMA__4DA9C7FE默认值约束FREMARK(' ')

促销申请单-组织范围

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONAPPLYORG组织范围SPM_PromotionApplyOrg
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
参与促销组织FPartakeOrgIdPartakeOrgIdFPARTAKEORGIDint4100((0))
部门FPromotionDeptIdPromotionDeptIdFPROMOTIONDEPTIDint4100((0))
预计销售收入FExpectAchivementExpectAchivementFEXPECTACHIVEMENTdecimal132310((0.00))
预计费用FExpectAmountExpectAmountFEXPECTAMOUNTdecimal132310((0.00))
促销开始时间FPromotionStartDatePromotionStartDateFPROMOTIONSTARTDATEdatetime8233
促销结束日期FPromotionEndDatePromotionEndDateFPROMOTIONENDDATEdatetime8233
索引
名称类型字段
PK_SPM_PROMOTIONAPPLYORGCLUSTEREDFENTRYORGID
IDX_SPM_PROMOAPPEO_FIDNONCLUSTEREDFID
IDX_SPM_PROMOAPPEO_ORGIDNONCLUSTEREDFPARTAKEORGIDFPROMOTIONSTARTDATEFPROMOTIONENDDATEFID
主外键
名称类型字段
PK_SPM_PROMOTIONAPPLYORGPKFENTRYORGID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONAPPLYORG主键约束FENTRYORGID
DF__T_SPM_PROMO__FID__2B1FA5D0默认值约束FID((0))
DF__T_SPM_PRO__FENTR__2C13CA09默认值约束FENTRYORGID((0))
DF__T_SPM_PROM__FSEQ__2D07EE42默认值约束FSEQ((0))
DF__T_SPM_PRO__FPART__2DFC127B默认值约束FPARTAKEORGID((0))
DF__T_SPM_PRO__FPROM__2EF036B4默认值约束FPROMOTIONDEPTID((0))
DF__T_SPM_PRO__FEXPE__2FE45AED默认值约束FEXPECTACHIVEMENT((0.00))
DF__T_SPM_PRO__FEXPE__30D87F26默认值约束FEXPECTAMOUNT((0.00))

促销申请单-组织范围_L

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONAPPLYORG_L组织范围SPM_PromotionApplyOrg
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
促销职责FDutyDesDutyDesFDUTYDESnvarchar5102550(' ')
索引
名称类型字段
PK_SPM_PROMOTIONAPPLYORG_LCLUSTEREDFPKID
IDX_SPM_PROMOAPPE_L_ORGIDNONCLUSTEREDFENTRYORGID
主外键
名称类型字段
PK_SPM_PROMOTIONAPPLYORG_LPKFPKID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONAPPLYORG_L主键约束FPKID
DF__T_SPM_PRO__FPKID__32C0C798默认值约束FPKID((0))
DF__T_SPM_PRO__FLOCA__33B4EBD1默认值约束FLOCALEID((0))
DF__T_SPM_PRO__FENTR__34A9100A默认值约束FENTRYORGID((0))
DF__T_SPM_PRO__FDUTY__359D3443默认值约束FDUTYDES(' ')

促销申请单-客户范围

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONAPPLYCUST客户范围SPM_PromotionApplyCust
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
客户编码FCustomerIDCustomerIDFCUSTOMERIDint4100((0))
客户类别编码FCustomerTypeIDCustomerTypeIDFCUSTOMERTYPEIDvarchar36360(' ')
客户内码FCustMasterIDCustMasterIDFCUSTMASTERIDint4100((0))
索引
名称类型字段
PK_SPM_PROMOTIONAPPLYCUSTCLUSTEREDFENTRYID
IDX_SPM_PROAPPLYCUST_EIDNONCLUSTEREDFID
IDX_SPM_PROAPPLYCUST_CUSTIDNONCLUSTEREDFCUSTMASTERIDFCUSTOMERTYPEIDFID
主外键
名称类型字段
PK_SPM_PROMOTIONAPPLYCUSTPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONAPPLYCUST主键约束FENTRYID
DF__T_SPM_PROMO__FID__361EB935默认值约束FID((0))
DF__T_SPM_PRO__FENTR__3712DD6E默认值约束FENTRYID((0))
DF__T_SPM_PROM__FSEQ__380701A7默认值约束FSEQ((0))
DF__T_SPM_PRO__FCUST__38FB25E0默认值约束FCUSTOMERID((0))
DF__T_SPM_PRO__FCUST__39EF4A19默认值约束FCUSTOMERTYPEID(' ')
DF__T_SPM_PRO__FCUST__3AE36E52默认值约束FCUSTMASTERID((0))

促销申请单-促销赠品信息

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONAPPLYPMATENTRY促销赠品信息SPM_PromotionApplyPMatEntry
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
物料编码FPresentMaterialIDMaterialIDFMATERIALIDint4100((0))
辅助属性FPresentAssistPropertyIDAssistPropertyIDFASSISTPROPERTYIDint4100((0))
基本计量单位FBasePresentUnitIDBasePresentUnitIDFBASEUNITIDint4100((0))
预计赠送基本数量FBasePresentQtyBasePresentQtyFBASEPRESENTQTYdecimal132310((0))
计量单位FPresentUnitIDPresentUnitIDFUNITIDint4100((0))
预计赠送数量FPresentQtyPresentQtyFPRESENTQTYdecimal132310((0))
赠品促销基本限量FBaseLimitPresentQtyBaseLimitPresentQtyFBASELIMITPRESENTQTYdecimal132310((0))
赠品促销限量FLimitPresentQtyLimitPresentQtyFLIMITPRESENTQTYdecimal132310((0))
预计成本价FCostPriceCostPriceFCOSTPRICEdecimal132310((0))
备注FPresentRemarkRemarkFREMARKnvarchar5102550(' ')
物料内码FPresentMatMasterIDMatMasterIDFMATMASTERIDint4100((0))
索引
名称类型字段
PK_SPM_PROMOTIONAPPLYPMATENTCLUSTEREDFENTRYID
IDX_SPM_PROAPPLYPM_IDNONCLUSTEREDFID
IDX_SPM_PROAPPLYPM_MIDNONCLUSTEREDFMATMASTERIDFBASEUNITIDFID
主外键
名称类型字段
PK_SPM_PROMOTIONAPPLYPMATENTPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONAPPLYPMATENT主键约束FENTRYID
DF__T_SPM_PRO__FENTR__11E158BF默认值约束FENTRYID((0))
DF__T_SPM_PROMO__FID__12D57CF8默认值约束FID((0))
DF__T_SPM_PROM__FSEQ__13C9A131默认值约束FSEQ((0))
DF__T_SPM_PRO__FMATE__14BDC56A默认值约束FMATERIALID((0))
DF__T_SPM_PRO__FASSI__15B1E9A3默认值约束FASSISTPROPERTYID((0))
DF__T_SPM_PRO__FBASE__16A60DDC默认值约束FBASEUNITID((0))
DF__T_SPM_PRO__FBASE__179A3215默认值约束FBASEPRESENTQTY((0))
DF__T_SPM_PRO__FUNIT__188E564E默认值约束FUNITID((0))
DF__T_SPM_PRO__FPRES__19827A87默认值约束FPRESENTQTY((0))
DF__T_SPM_PRO__FBASE__1A769EC0默认值约束FBASELIMITPRESENTQTY((0))
DF__T_SPM_PRO__FLIMI__1B6AC2F9默认值约束FLIMITPRESENTQTY((0))
DF__T_SPM_PRO__FCOST__1C5EE732默认值约束FCOSTPRICE((0))
DF__T_SPM_PRO__FREMA__1D530B6B默认值约束FREMARK(' ')
DF__T_SPM_PRO__FMATM__1E472FA4默认值约束FMATMASTERID((0))

促销申请单-促销商品信息

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONAPPLYMATENTRY促销商品信息SPM_PromotionApplyMatEntry
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
物料编码FMaterialIDMaterialIDFMATERIALIDint4100((0))
辅助属性FAssistPropertyIDAssistPropertyIDFASSISTPROPERTYIDint4100((0))
基本计量单位FBaseMatUnitIDBaseMatUnitIDFBASEUNITIDint4100((0))
预计基本销量FBasePlanSaleQtyBasePlanSaleQtyFBASEPLANSALEQTYdecimal132310((0))
计量单位FMatUnitIDMatUnitIDFUNITIDint4100((0))
预计销量FPlanSaleQtyPlanSaleQtyFPLANSALEQTYdecimal132310((0))
预计销售额FPlanSaleAmountPlanSaleAmountFPLANSALEAMOUNTdecimal132310((0))
商品促销限量FLimitSaleQtyLimitSaleQtyFLIMITSALEQTYdecimal132310((0))
商品促销基本限量FBaseLimitSaleQtyBaseLimitSaleQtyFBASELIMITSALEQTYdecimal132310((0))
实际销量FActualSaleQtyActualSaleQtyFACTUALSALEQTYdecimal132310((0))
实际基本销量FBaseActualSaleQtyBaseActualSaleQtyFBASEACTUALSALEQTYdecimal132310((0))
备注FMatRemarkRemarkFREMARKnvarchar5102550(' ')
物料内码FMatMasterIDMatMasterIDFMATMASTERIDint4100((0))
索引
名称类型字段
PK_SPM_PROMOTIONAPPLYMATENTRCLUSTEREDFENTRYID
IDX_SPM_PROMENTRY_MAT_IDNONCLUSTEREDFID
IDX_SPM_PROMENTRY_MIDNONCLUSTEREDFMATMASTERIDFBASEUNITIDFID
主外键
名称类型字段
PK_SPM_PROMOTIONAPPLYMATENTRPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONAPPLYMATENTR主键约束FENTRYID
DF__T_SPM_PROMO__FID__01AAF0F6默认值约束FID((0))
DF__T_SPM_PRO__FENTR__029F152F默认值约束FENTRYID((0))
DF__T_SPM_PROM__FSEQ__03933968默认值约束FSEQ((0))
DF__T_SPM_PRO__FMATE__04875DA1默认值约束FMATERIALID((0))
DF__T_SPM_PRO__FASSI__057B81DA默认值约束FASSISTPROPERTYID((0))
DF__T_SPM_PRO__FBASE__066FA613默认值约束FBASEUNITID((0))
DF__T_SPM_PRO__FUNIT__0763CA4C默认值约束FUNITID((0))
DF__T_SPM_PRO__FBASE__0857EE85默认值约束FBASEPLANSALEQTY((0))
DF__T_SPM_PRO__FPLAN__094C12BE默认值约束FPLANSALEQTY((0))
DF__T_SPM_PRO__FPLAN__0A4036F7默认值约束FPLANSALEAMOUNT((0))
DF__T_SPM_PRO__FLIMI__0B345B30默认值约束FLIMITSALEQTY((0))
DF__T_SPM_PRO__FBASE__0C287F69默认值约束FBASELIMITSALEQTY((0))
DF__T_SPM_PRO__FACTU__0D1CA3A2默认值约束FACTUALSALEQTY((0))
DF__T_SPM_PRO__FBASE__0E10C7DB默认值约束FBASEACTUALSALEQTY((0))
DF__T_SPM_PRO__FREMA__0F04EC14默认值约束FREMARK(' ')
DF__T_SPM_PRO__FMATM__0FF9104D默认值约束FMATMASTERID((0))

1.1.7 促销结案报告

促销结案报告-单据头

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONAPPRAISE单据头SPM_PromotionAppraise
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
促销申请FPromotionApplyIdPromotionApplyIdFPROMOTIONAPPLYIDint4100((0))
实际促销利润增长%FActualProfitIncRateActualProfitIncRateFACTUALPROFITINCRATEdecimal132310((0.0))
总体目标达成率%FGoalAchieveRateGoalAchieveRateFGOALACHIEVERATEdecimal132310((0.0))
结案人FAppraiseUserIdAppraiseUserIdFAPPRAISEUSERIDint4100((0))
结案日期FAppraiseDateAppraiseDateFAPPRAISEDATEdatetime8233(getdate())
实际促销总费用FActualTotalAmountActualTotalAmountFACTUALTOTALAMOUNTdecimal132310((0.00))
实际销售总收入FActualInComeActualInComeFACTUALINCOMEdecimal132310((0.00))
总体促销效果FTotalEffectTotalEffectFTOTALEFFECTchar110(' ')
结案状态FAppraiseStatusAppraiseStatusFAPPRAISESTATUSchar110('B')
币别FCurrencyIDCurrencyIDFCURRENCYIDint4100((0))
预计促销总费用FExpectTotalAmountExpectTotalAmountFEXPECTTOTALAMOUNTdecimal132310((0.00))
预计销售总收入FInComeAmountInComeAmountFINCOMEAMOUNTdecimal132310((0.00))
预计促销利润增长%FExpectProfitIncRateExpectProfitIncRateFEXPECTPROFITINCRATEdecimal132310((0.0))
索引
名称类型字段
PK_SPM_PROMOTIONAPPRAISECLUSTEREDFID
IDX_SPM_PROMO_APPLY_FIDNONCLUSTEREDFPROMOTIONAPPLYID
IDX_SPM_PROMOPRAISE_DATENONCLUSTEREDFAPPRAISEDATE
主外键
名称类型字段
PK_SPM_PROMOTIONAPPRAISEPKFID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONAPPRAISE主键约束FID
DF__T_SPM_PROMO__FID__328BBD6E默认值约束FID((0))
DF__T_SPM_PRO__FPROM__337FE1A7默认值约束FPROMOTIONAPPLYID((0))
DF__T_SPM_PRO__FACTU__347405E0默认值约束FACTUALTOTALAMOUNT((0.00))
DF__T_SPM_PRO__FACTU__35682A19默认值约束FACTUALINCOME((0.00))
DF__T_SPM_PRO__FACTU__365C4E52默认值约束FACTUALPROFITINCRATE((0.0))
DF__T_SPM_PRO__FGOAL__3750728B默认值约束FGOALACHIEVERATE((0.0))
DF__T_SPM_PRO__FTOTA__384496C4默认值约束FTOTALEFFECT(' ')
DF__T_SPM_PRO__FAPPR__3938BAFD默认值约束FAPPRAISEUSERID((0))
DF__T_SPM_PRO__FAPPR__3A2CDF36默认值约束FAPPRAISEDATE(getdate())
DF__T_SPM_PRO__FAPPR__3B21036F默认值约束FAPPRAISESTATUS('B')
DF__T_SPM_PRO__FEXPE__3C1527A8默认值约束FEXPECTTOTALAMOUNT((0.00))
DF__T_SPM_PRO__FINCO__3D094BE1默认值约束FINCOMEAMOUNT((0.00))
DF__T_SPM_PRO__FEXPE__3DFD701A默认值约束FEXPECTPROFITINCRATE((0.0))
DF__T_SPM_PRO__FCURR__3EF19453默认值约束FCURRENCYID((0))

促销结案报告-单据头_L

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONAPPRAISE_L单据头SPM_PromotionAppraise
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
促销政策FPromotionPolicyIdPromotionPolicyIdFPROMOTIONPOLICYIDnvarchar5102550(' ')
促销改进意见FImprovementImprovementFIMPROVEMENTnvarchar5102550(' ')
促销效果评估FPromotionEffectRptPromotionEffectRptFPROMOTIONEFFECTRPTnvarchar5102550(' ')
索引
名称类型字段
PK_SPM_PROMOTIONAPPRAISE_LCLUSTEREDFPKID
IDX_SPM_PROMOTIONAPPRAISE_LNONCLUSTEREDFID
主外键
名称类型字段
PK_SPM_PROMOTIONAPPRAISE_LPKFPKID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONAPPRAISE_L主键约束FPKID
DF__T_SPM_PRO__FPKID__37857CB5默认值约束FPKID((0))
DF__T_SPM_PRO__FLOCA__3879A0EE默认值约束FLOCALEID((0))
DF__T_SPM_PROMO__FID__396DC527默认值约束FID((0))
DF__T_SPM_PRO__FPROM__3A61E960默认值约束FPROMOTIONPOLICYID(' ')
DF__T_SPM_PRO__FIMPR__3B560D99默认值约束FIMPROVEMENT(' ')
DF__T_SPM_PRO__FPROM__3C4A31D2默认值约束FPROMOTIONEFFECTRPT(' ')

促销结案报告-单据体

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONAPPRAISEENTRY单据体SPM_PromotionAppraiseEntry
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
参与促销组织FPartakeOrgIdPartakeOrgIdFPARTAKEORGIDint4100((0))
目标达成率%FAchiveRateEntryAchiveRateEntryFACHIVERATEENTRYdecimal132310((0.00))
促销效果FEffectEntryEffectEntryFEFFECTENTRYchar110(' ')
部门FDeptIdDeptIdFDEPTIDint4100((0))
预计销售收入FExpectSaleInComeExpectSaleInComeFEXPECTSALEINCOMEdecimal132310((0.00))
预计费用FExpectAmountExpectAmountFEXPECTAMOUNTdecimal132310((0.00))
实际销售收入FActualSaleIncomeActualSaleIncomeFACTUALSALEINCOMEdecimal132310((0.00))
实际费用FActualAmountActualAmountFACTUALAMOUNTdecimal132310((0.00))
促销申请单IDFEntryApplyIdEntryApplyIdFENTRYAPPLYIDint4100((0))
索引
名称类型字段
PK_SPM_PROMOTIONAPPRAISEENTRCLUSTEREDFENTRYID
IDX_SPM_PROMOTIONAPPRAISE_FIDNONCLUSTEREDFID
IDX_SPM_APPRAISEENTRY_ORGNONCLUSTEREDFPARTAKEORGID
IDX_SPM_APPLY_IDNONCLUSTEREDFENTRYAPPLYID
主外键
名称类型字段
PK_SPM_PROMOTIONAPPRAISEENTRPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONAPPRAISEENTR主键约束FENTRYID
DF__T_SPM_PRO__FTOTA__5C44621D默认值约束FTOTALARAMOUNT((0))
DF__T_SPM_PRO__FTOTA__5D388656默认值约束FTOTALAPAMOUNT((0))
DF__T_SPM_PROMO__FID__5F936E0F默认值约束FID((0))
DF__T_SPM_PRO__FENTR__60879248默认值约束FENTRYID((0))
DF__T_SPM_PROM__FSEQ__617BB681默认值约束FSEQ((0))
DF__T_SPM_PRO__FPART__626FDABA默认值约束FPARTAKEORGID((0))
DF__T_SPM_PRO__FDEPT__6363FEF3默认值约束FDEPTID((0))
DF__T_SPM_PRO__FEXPE__6458232C默认值约束FEXPECTSALEINCOME((0.00))
DF__T_SPM_PRO__FEXPE__654C4765默认值约束FEXPECTAMOUNT((0.00))
DF__T_SPM_PRO__FACTU__66406B9E默认值约束FACTUALSALEINCOME((0.00))
DF__T_SPM_PRO__FACTU__67348FD7默认值约束FACTUALAMOUNT((0.00))
DF__T_SPM_PRO__FACHI__6828B410默认值约束FACHIVERATEENTRY((0.00))
DF__T_SPM_PRO__FEFFE__691CD849默认值约束FEFFECTENTRY(' ')
DF__T_SPM_PRO__FENTR__6A10FC82默认值约束FENTRYAPPLYID((0))

促销结案报告-促销商品信息

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONPRAISEMATENTRY促销商品信息SPM_PROMOTIONPRAISEMATENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
物料编码FMaterialIDMaterialIDFMATERIALIDint4100((0))
辅助属性FAssistPropertyIDAssistPropertyIDFASSISTPROPERTYIDint4100((0))
基本计量单位FBaseMatUnitIDBaseMatUnitIDFBASEUNITIDint4100((0))
计量单位FMatUnitIDMatUnitIDFUNITIDint4100((0))
预计销售基本数量FBasePlanSaleQtyBasePlanSaleQtyFBASEPLANSALEQTYdecimal132310((0))
预计销售量FPlanSaleQtyPlanSaleQtyFPLANSALEQTYdecimal132310((0))
预计销售金额FPlanSaleAmountPlanSaleAmountFPLANSALEAMOUNTdecimal132310((0))
促销限量FLimitSaleQtyLimitSaleQtyFLIMITSALEQTYdecimal132310((0))
促销基本限量FBaseLimitSaleQtyBaseLimitSaleQtyFBASELIMITSALEQTYdecimal132310((0))
实际销售数量FActualSaleQtyActualSaleQtyFACTUALSALEQTYdecimal132310((0))
实际销售基本数量FBaseActualSaleQtyBaseActualSaleQtyFBASEACTUALSALEQTYdecimal132310((0))
备注FRemarkRemarkFREMARKnvarchar5102550(' ')
物料分配内码FMatMasterIDMatMasterIDFMATMASTERIDint4100((0))
索引
名称类型字段
PK_SPM_PROPRAISEMATENTRCLUSTEREDFENTRYID
IDX_SPM_PROPMENTRY_IDNONCLUSTEREDFID
IDX_SPM_PROPMENTRY_MIDNONCLUSTEREDFMATMASTERIDFBASEUNITIDFID
IDX_SPM_PROPMENTRY_MATIDNONCLUSTEREDFMATERIALIDFID
主外键
名称类型字段
PK_SPM_PROPRAISEMATENTRPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROPRAISEMATENTR主键约束FENTRYID
DF__T_SPM_PROMO__FID__3CCBB6C4默认值约束FID((0))
DF__T_SPM_PRO__FENTR__3DBFDAFD默认值约束FENTRYID((0))
DF__T_SPM_PROM__FSEQ__3EB3FF36默认值约束FSEQ((0))
DF__T_SPM_PRO__FMATE__3FA8236F默认值约束FMATERIALID((0))
DF__T_SPM_PRO__FASSI__409C47A8默认值约束FASSISTPROPERTYID((0))
DF__T_SPM_PRO__FBASE__41906BE1默认值约束FBASEUNITID((0))
DF__T_SPM_PRO__FUNIT__4284901A默认值约束FUNITID((0))
DF__T_SPM_PRO__FBASE__4378B453默认值约束FBASEPLANSALEQTY((0))
DF__T_SPM_PRO__FPLAN__446CD88C默认值约束FPLANSALEQTY((0))
DF__T_SPM_PRO__FPLAN__4560FCC5默认值约束FPLANSALEAMOUNT((0))
DF__T_SPM_PRO__FLIMI__465520FE默认值约束FLIMITSALEQTY((0))
DF__T_SPM_PRO__FBASE__47494537默认值约束FBASELIMITSALEQTY((0))
DF__T_SPM_PRO__FACTU__483D6970默认值约束FACTUALSALEQTY((0))
DF__T_SPM_PRO__FBASE__49318DA9默认值约束FBASEACTUALSALEQTY((0))
DF__T_SPM_PRO__FREMA__4A25B1E2默认值约束FREMARK(' ')
DF__T_SPM_PRO__FMATM__4B19D61B默认值约束FMATMASTERID((0))

促销结案报告-促销赠品信息

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONPRAISEPMENTRY促销赠品信息SPM_PROMOTIONPRAISEPMENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
物料编码FPresentMaterialIDMaterialIDFMATERIALIDint4100((0))
辅助属性FPresentAssistPropertyIDAssistPropertyIDFASSISTPROPERTYIDint4100((0))
基本计量单位FBasePresentUnitIDBasePresentUnitIDFBASEUNITIDint4100((0))
基本赠送数量FBasePresentQtyBasePresentQtyFBASEPRESENTQTYdecimal132310((0))
计量单位FPresentUnitIDPresentUnitIDFUNITIDint4100((0))
赠送数量FPresentQtyPresentQtyFPRESENTQTYdecimal132310((0))
促销基本限量FBaseLimitPresentQtyBaseLimitPresentQtyFBASELIMITPRESENTQTYdecimal132310((0))
促销限量FLimitPresentQtyLimitPresentQtyFLIMITPRESENTQTYdecimal132310((0))
成本价FCostPriceCostPriceFCOSTPRICEdecimal132310((0))
备注FPresentRemarkRemarkFREMARKnvarchar5102550(' ')
物料分配内码FPresentMatMasterIDMatMasterIDFMATMASTERIDint4100((0))
实际赠送基本数量FBaseActualPresentQtyBaseActualPresentQtyFBASEACTUALPRESENTQTYdecimal132310((0))
实际赠送数量FActualPresentQtyActualPresentQtyFACTUALPRESENTQTYdecimal132310((0))
索引
名称类型字段
PK_SPM_PROPRAISEPMATENTCLUSTEREDFENTRYID
IDX_SPM_PROPRAISEPM_IDNONCLUSTEREDFID
IDX_SPM_PROPRAISEPM_MIDNONCLUSTEREDFMATMASTERIDFBASEUNITIDFID
IDX_SPM_PROPRAISEPM_MATIDNONCLUSTEREDFMATERIALIDFID
主外键
名称类型字段
PK_SPM_PROPRAISEPMATENTPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROPRAISEPMATENT主键约束FENTRYID
DF__T_SPM_PRO__FENTR__4D021E8D默认值约束FENTRYID((0))
DF__T_SPM_PROMO__FID__4DF642C6默认值约束FID((0))
DF__T_SPM_PROM__FSEQ__4EEA66FF默认值约束FSEQ((0))
DF__T_SPM_PRO__FMATE__4FDE8B38默认值约束FMATERIALID((0))
DF__T_SPM_PRO__FASSI__50D2AF71默认值约束FASSISTPROPERTYID((0))
DF__T_SPM_PRO__FBASE__51C6D3AA默认值约束FBASEUNITID((0))
DF__T_SPM_PRO__FBASE__52BAF7E3默认值约束FBASEPRESENTQTY((0))
DF__T_SPM_PRO__FUNIT__53AF1C1C默认值约束FUNITID((0))
DF__T_SPM_PRO__FPRES__54A34055默认值约束FPRESENTQTY((0))
DF__T_SPM_PRO__FBASE__5597648E默认值约束FBASELIMITPRESENTQTY((0))
DF__T_SPM_PRO__FLIMI__568B88C7默认值约束FLIMITPRESENTQTY((0))
DF__T_SPM_PRO__FCOST__577FAD00默认值约束FCOSTPRICE((0))
DF__T_SPM_PRO__FREMA__5873D139默认值约束FREMARK(' ')
DF__T_SPM_PRO__FMATM__5967F572默认值约束FMATMASTERID((0))
DF__T_SPM_PRO__FACTU__5A5C19AB默认值约束FACTUALPRESENTQTY((0))
DF__T_SPM_PRO__FBASE__5B503DE4默认值约束FBASEACTUALPRESENTQTY((0))

促销结案报告-组织范围

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONPRAISE_ORG组织范围PromotionPraise_Org
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
参与促销组织FPromotionOrgIDPromotionOrgIDFPROMOTIONORGIDint4100((0))
促销开始日期FPromotionStartDatePromotionStartDateFPROMOTIONSTARTDATEdatetime8233
促销结束日期FPromotionEndDatePromotionEndDateFPROMOTIONENDDATEdatetime8233
预计销售额FOrgExpectSaleAmountExpectSaleAmountFEXPECTSALEAMOUNTdecimal132310((0))
实际销售额FActualSaleAmountActualSaleAmountFACTUALSALEAMOUNTdecimal132310((0))
备注FOrgRemarkOrgRemarkFREMARKnvarchar5102550(' ')
索引
名称类型字段
PK_SPM_PROMOTIONPRAISE_ORGCLUSTEREDFENTRYID
IDX_SPM_PROMOTIONPARISEE_ORGNONCLUSTEREDFPROMOTIONORGIDFID
IDX_SPM_PROMOTIONPARISEE_IDNONCLUSTEREDFID
主外键
名称类型字段
PK_SPM_PROMOTIONPRAISE_ORGPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONPRAISE_ORG主键约束FENTRYID
DF__T_SPM_PROMO__FID__5F20CEC8默认值约束FID((0))
DF__T_SPM_PRO__FENTR__6014F301默认值约束FENTRYID((0))
DF__T_SPM_PROM__FSEQ__6109173A默认值约束FSEQ((0))
DF__T_SPM_PRO__FPROM__61FD3B73默认值约束FPROMOTIONORGID((0))
DF__T_SPM_PRO__FEXPE__62F15FAC默认值约束FEXPECTACHIVEMENT((0.00))
DF__T_SPM_PRO__FEXPE__63E583E5默认值约束FEXPECTSALEAMOUNT((0))
DF__T_SPM_PRO__FACTU__64D9A81E默认值约束FACTUALSALEAMOUNT((0))
DF__T_SPM_PRO__FREMA__65CDCC57默认值约束FREMARK(' ')

促销结案报告-促销明细信息

概述
表名称实体名称ORM实体名
T_SPM_PRAISEERENTRY促销明细信息PraiseEREntry
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
费用项目FPromotionProjectIDPromotionProjectFPROMOTIONPROJECTIDint4100((0))
数量FDetailQtyDetailQtyFQTYdecimal132310((0))
价格FDetailPriceDetailPriceFPRICEdecimal132310((0.0))
预计费用金额FExpenseAmountExpenseAmountFAMOUNTdecimal132310((0.0))
费用预算余额FBalanceAmountBalanceAmountFBALANCEAMOUNTdecimal132310((0.0))
公司承担金额FOrgCostAmountOrgCostAmountFORGCOSTAMOUNTdecimal132310((0.0))
公司承担比例%FOrgCostRateOrgCostRateFORGCOSTRATEdecimal132310((0.0))
供应商承担金额FSupplierCostAmountSupplierCostAmountFSUPPLIERCOSTAMOUNTdecimal132310((0.0))
供应商承担比例%FSupplierCostRateSupplierCostRateFSUPPLIERCOSTRATEdecimal132310((0.0))
客户承担金额FCustomerCostAmountCustomerCostAmountFCUSTOMERCOSTAMOUNTdecimal132310((0.0))
客户承担比例%FCustomerCostRateCustomerCostRateFCUSTOMERCOSTRATEdecimal132310((0.0))
累计付款金额FTotalAPAmountTotalAPAmountFTOTALAPAMOUNTdecimal132310((0.0))
累计收款金额FTotalARAmountTotalARAmountFTOTALARAMOUNTdecimal132310((0.0))
品名FVerietyVerietyFVERIETYnvarchar100500(' ')
备注FEntryRemarkRemarkFREMARKnvarchar5102550(' ')
索引
名称类型字段
PK_SPM_PRAISEERENTRYCLUSTEREDFENTRYID
IDX_SPM_PRAISEERENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_SPM_PRAISEERENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PRAISEERENTRY主键约束FENTRYID
DF__T_SPM_PRA__FENTR__67B614C9默认值约束FENTRYID((0))
DF__T_SPM_PRAIS__FID__68AA3902默认值约束FID((0))
DF__T_SPM_PRAI__FSEQ__699E5D3B默认值约束FSEQ((0))
DF__T_SPM_PRA__FPROM__6A928174默认值约束FPROMOTIONPROJECTID((0))
DF__T_SPM_PRA__FVERI__6B86A5AD默认值约束FVERIETY(' ')
DF__T_SPM_PRAI__FQTY__6C7AC9E6默认值约束FQTY((0))
DF__T_SPM_PRA__FPRIC__6D6EEE1F默认值约束FPRICE((0.0))
DF__T_SPM_PRA__FAMOU__6E631258默认值约束FAMOUNT((0.0))
DF__T_SPM_PRA__FBALA__6F573691默认值约束FBALANCEAMOUNT((0.0))
DF__T_SPM_PRA__FORGC__704B5ACA默认值约束FORGCOSTAMOUNT((0.0))
DF__T_SPM_PRA__FORGC__713F7F03默认值约束FORGCOSTRATE((0.0))
DF__T_SPM_PRA__FSUPP__7233A33C默认值约束FSUPPLIERCOSTAMOUNT((0.0))
DF__T_SPM_PRA__FSUPP__7327C775默认值约束FSUPPLIERCOSTRATE((0.0))
DF__T_SPM_PRA__FCUST__741BEBAE默认值约束FCUSTOMERCOSTAMOUNT((0.0))
DF__T_SPM_PRA__FCUST__75100FE7默认值约束FCUSTOMERCOSTRATE((0.0))
DF__T_SPM_PRA__FTOTA__76043420默认值约束FTOTALARAMOUNT((0.0))
DF__T_SPM_PRA__FTOTA__76F85859默认值约束FTOTALAPAMOUNT((0.0))
DF__T_SPM_PRA__FREMA__77EC7C92默认值约束FREMARK(' ')

促销结案报告-客户范围

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONPRAISECUST客户范围PromotionPraise_Cust
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
客户编码FCustomerIDCustomerIDFCUSTOMERIDint4100((0))
客户类别编码FCustomerTypeIDCustomerTypeIDFCUSTOMERTYPEIDvarchar36360(' ')
客户内码FCustMasterIDCustMasterIDFCUSTMASTERIDint4100((0))
索引
名称类型字段
PK_SPM_PROMOTIONPRAISECUST_ECLUSTEREDFENTRYID
IDX_SPM_PROMOTIONPRAISEC_CIDNONCLUSTEREDFCUSTMASTERIDFCUSTOMERTYPEIDFCUSTFULLPARENTIDFID
IDX_SPM_PROMOTIONPRAISEC_IDNONCLUSTEREDFID
主外键
名称类型字段
PK_SPM_PROMOTIONPRAISECUST_EPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONPRAISECUST_E主键约束FENTRYID
DF__T_SPM_PRO__FCUST__36D8087D默认值约束FCUSTGROUPID((0))
DF__T_SPM_PRO__FCUST__37CC2CB6默认值约束FCUSTFULLPARENTID(' ')
DF__T_SPM_PROMO__FID__79D4C504默认值约束FID((0))
DF__T_SPM_PRO__FENTR__7AC8E93D默认值约束FENTRYID((0))
DF__T_SPM_PROM__FSEQ__7BBD0D76默认值约束FSEQ((0))
DF__T_SPM_PRO__FCUST__7CB131AF默认值约束FCUSTOMERID((0))
DF__T_SPM_PRO__FCUST__7DA555E8默认值约束FCUSTOMERTYPEID(' ')
DF__T_SPM_PRO__FCUST__7E997A21默认值约束FCUSTMASTERID((0))

1.1.8 累计促销统计表

累计促销统计表-单据头

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONCOUNT单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar100500(' ')
销售组织FSaleOrgIdSaleOrgIdFSALEORGIDint4100((0))
客户FCustomerIdCustomerIdFCUSTOMERIDint4100((0))
币别FCurrencyIdCurrencyIdFCURRENCYIDint4100((0))
数据来源FDataSourceDataSourceFDATASOURCEvarchar30300(' ')
是否补赠FIsGiveUpIsGiveUpFISGIVEUPchar110(' ')
客户分配内码FCustMasterIdCustMasterIdFCUSTMASTERIDint4100((0))
创建人FCreatorIdFCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233
修改人FModifierIdFModifierIdFMODIFIERIDint4100((0))
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
统计时间FCountTimeCountTimeFCOUNTTIMEdatetime8233(getdate())
客户类别FCustomerTypeIdCustomerTypeIdFCUSTOMERTYPEIDvarchar36360(' ')
促销政策FSPPolicyIdSPPolicyIdFSPPOLICYIDint4100((0))
促销开始时间FStartTimeStartTimeFSTARTTIMEdatetime8233
促销结束时间FEndTimeEndTimeFENDTIMEdatetime8233
初始累计开始时间FCountStartTimeCountStartTimeFCOUNTSTARTTIMEdatetime8233
初始累计结束时间FCountEndTimeCountEndTimeFCOUNTENDTIMEdatetime8233
单据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
促销政策参与组织分录IDFSaleOrgEntryIDSaleOrgEntryIDFSALEORGENTRYIDint4100((0))
促销政策参与组织分录IDFCustomerEntryIDCustomerEntryIDFCUSTOMERENTRYIDint4100((0))
索引
名称类型字段
PK_SPM_PROMOTIONCOUNTCLUSTEREDFID
IDX_SPM_PROMOTIONCOUNT_TNONCLUSTEREDFSTARTTIMEFENDTIMEFCUSTMASTERIDFSALEORGIDFCUSTOMERTYPEIDFSPPOLICYID
IDX_SPM_PROMOTIONCOUNT_CNONCLUSTEREDFSALEORGIDFCUSTMASTERIDFSTARTTIMEFENDTIMEFCUSTOMERTYPEID
IDX_SPM_PROMOTIONCOUNT_PIDNONCLUSTEREDFSPPOLICYIDFCUSTOMERENTRYIDFSALEORGENTRYIDFID
主外键
名称类型字段
PK_SPM_PROMOTIONCOUNTPKFID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONCOUNT主键约束FID
DF__T_SPM_PROMO__FID__2BC453AF默认值约束FID((0))
DF__T_SPM_PRO__FBILL__2CB877E8默认值约束FBILLNO(' ')
DF__T_SPM_PRO__FSALE__2DAC9C21默认值约束FSALEORGID((0))
DF__T_SPM_PRO__FCURR__2EA0C05A默认值约束FCURRENCYID((0))
DF__T_SPM_PRO__FCUST__2F94E493默认值约束FCUSTOMERTYPEID(' ')
DF__T_SPM_PRO__FCUST__308908CC默认值约束FCUSTOMERID((0))
DF__T_SPM_PRO__FCUST__317D2D05默认值约束FCUSTMASTERID((0))
DF__T_SPM_PRO__FSPPO__3271513E默认值约束FSPPOLICYID((0))
DF__T_SPM_PRO__FISGI__33657577默认值约束FISGIVEUP(' ')
DF__T_SPM_PRO__FCREA__345999B0默认值约束FCREATORID((0))
DF__T_SPM_PRO__FMODI__354DBDE9默认值约束FMODIFIERID((0))
DF__T_SPM_PRO__FDATA__3641E222默认值约束FDATASOURCE(' ')
DF__T_SPM_PRO__FCOUN__3736065B默认值约束FCOUNTTIME(getdate())
DF__T_SPM_PRO__FDOCU__382A2A94默认值约束FDOCUMENTSTATUS(' ')
DF__T_SPM_PRO__FSALE__54C66942默认值约束FSALEORGENTRYID((0))
DF__T_SPM_PRO__FCUST__55BA8D7B默认值约束FCUSTOMERENTRYID((0))

累计促销统计表-单据体

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONCOUNTENTRY单据体FEntity
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
组号FGroupNumberGroupNumberFGROUPNUMBERint4100((0))
物料分组FMaterialGroupIdMaterialGroupIdFMATERIALGROUPIDint4100((0))
物料FMaterialIdMaterialIdFMATERIALIDint4100((0))
基本计量单位FBaseUnitIDBaseUnitIDFBASEUNITIDint4100((0))
计量单位FUnitIDUnitIDFUNITIDint4100((0))
初始累计基本数量FBaseInitQtyBaseInitQtyFBASEINITQTYdecimal132310((0))
初始累计数量FInitQtyInitQtyFINITQTYdecimal132310((0))
初始累计金额FInitAmountInitAmountFINITAMOUNTdecimal132310((0))
促销累计基本数量FBaseSPMCountQtyBaseSPMCountQtyFBASESPMCOUNTQTYdecimal132310((0))
促销累计数量FSPMCountQtySPMCountQtyFSPMCOUNTQTYdecimal132310((0))
促销累计金额FSPMCountAmountSPMCountAmountFSPMCOUNTAMOUNTdecimal132310((0))
赠品累计赠送基本数量FBasePresentCountQtyBasePresentCountQtyFBASEPRESENTCOUNTQTYdecimal132310((0))
赠品累计赠送数量FPresentCountQtyPresentCountQtyFPRESENTCOUNTQTYdecimal132310((0))
辅助属性FAuxPropIdAuxPropIdFAUXPROPIDint4100((0))
物料分配内码FMatMasterIdMatMasterIdFMATMASTERIDint4100((0))
赠品FPresentTypePresentTypeFPRESENTTYPEvarchar20200(' ')
累计促销总数量FQtyQtyFQTYdecimal132310((0))
累计促销基本总数量FBaseQtyBaseQtyFBASEQTYdecimal132310((0))
累计促销总金额FAmountAmountFAMOUNTdecimal132310((0))
促销政策分录IDFPolicyEntryIdPolicyEntryIdFPOLICYENTRYIDint4100((0))
索引
名称类型字段
PK_SPM_PROMOTIONCOUNTENTRYCLUSTEREDFENTRYID
IDX_SPM_PROMOTIONCOUNTE_IDNONCLUSTEREDFID
IDX_SPM_PROMOTIONCOUNTE_MNONCLUSTEREDFMATMASTERIDFMATERIALGROUPIDFIDFGROUPNUMBER
IDX_SPM_PROMOTIONCOUNTE_MGNONCLUSTEREDFMATERIALGROUPIDFMATERIALIDFID
主外键
名称类型字段
PK_SPM_PROMOTIONCOUNTENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONCOUNTENTRY主键约束FENTRYID
DF__T_SPM_PRO__FENTR__3A127306默认值约束FENTRYID((0))
DF__T_SPM_PROMO__FID__3B06973F默认值约束FID((0))
DF__T_SPM_PROM__FSEQ__3BFABB78默认值约束FSEQ((0))
DF__T_SPM_PRO__FPOLI__3CEEDFB1默认值约束FPOLICYENTRYID((0))
DF__T_SPM_PRO__FGROU__3DE303EA默认值约束FGROUPNUMBER((0))
DF__T_SPM_PRO__FMATE__3ED72823默认值约束FMATERIALGROUPID((0))
DF__T_SPM_PRO__FMATE__3FCB4C5C默认值约束FMATERIALID((0))
DF__T_SPM_PRO__FMATM__40BF7095默认值约束FMATMASTERID((0))
DF__T_SPM_PRO__FBASE__41B394CE默认值约束FBASEUNITID((0))
DF__T_SPM_PRO__FUNIT__42A7B907默认值约束FUNITID((0))
DF__T_SPM_PRO__FAUXP__439BDD40默认值约束FAUXPROPID((0))
DF__T_SPM_PRO__FBASE__44900179默认值约束FBASEINITQTY((0))
DF__T_SPM_PRO__FINIT__458425B2默认值约束FINITQTY((0))
DF__T_SPM_PRO__FINIT__467849EB默认值约束FINITAMOUNT((0))
DF__T_SPM_PRO__FBASE__476C6E24默认值约束FBASESPMCOUNTQTY((0))
DF__T_SPM_PRO__FSPMC__4860925D默认值约束FSPMCOUNTQTY((0))
DF__T_SPM_PRO__FSPMC__4954B696默认值约束FSPMCOUNTAMOUNT((0))
DF__T_SPM_PRO__FBASE__4A48DACF默认值约束FBASEPRESENTCOUNTQTY((0))
DF__T_SPM_PRO__FPRES__4B3CFF08默认值约束FPRESENTCOUNTQTY((0))
DF__T_SPM_PRO__FPRES__4C312341默认值约束FPRESENTCOUNT(' ')
DF__T_SPM_PROM__FQTY__4D25477A默认值约束FQTY((0))
DF__T_SPM_PRO__FBASE__4E196BB3默认值约束FBASEQTY((0))
DF__T_SPM_PRO__FAMOU__4F0D8FEC默认值约束FAMOUNT((0))
DF__T_SPM_PRO__FPRES__5001B425默认值约束FPRESENTTYPE(' ')

累计促销统计表-明细分组汇总

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONCOUNTGROUP明细分组汇总SPM_PromotionCountGroup
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
组号FGroupGroupNumberGroupGroupNumberFGROUPNUMBERint4100((0))
分组总数量FGroupQtyGroupQtyFGROUPQTYdecimal132310((0))
分组总基本数量FBaseGroupQtyBaseGroupQtyFBASEGROUPQTYdecimal132310((0))
分组总金额FGroupAmountGroupAmountFGROUPAMOUNTdecimal132310((0))
累计促销分组数量FGroupSpmCountQtyGroupSpmCountQtyFGROUPSPMCOUNTQTYdecimal132310((0))
累计促销分组基本数量FBaseGroupSpmCountQtyBaseGroupSpmCountQtyFBASEGROUPSPMCOUNTQTYdecimal132310((0))
累计促销分组金额FGroupSpmCountAmountGroupSpmCountAmountFGROUPSPMCOUNTAMOUNTdecimal132310((0))
累计促销分组赠品基本数量FBaseGroupPresentQtyBaseGroupPresentQtyFBASEGROUPPRESENTQTYdecimal132310((0))
累计促销分录赠品数量FGroupPresentQtyGroupPresentQtyFGROUPPRESENTQTYdecimal132310((0))
索引
名称类型字段
PK_SPM_PROMOTIONCOUNTGROUPCLUSTEREDFENTRYID
IDX_SPM_PROMOTIONCG_IDNONCLUSTEREDFIDFGROUPNUMBER
主外键
名称类型字段
PK_SPM_PROMOTIONCOUNTGROUPPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONCOUNTGROUP主键约束FENTRYID
DF__T_SPM_PRO__FENTR__57A2D5ED默认值约束FENTRYID((0))
DF__T_SPM_PROMO__FID__5896FA26默认值约束FID((0))
DF__T_SPM_PRO__FGROU__598B1E5F默认值约束FGROUPQTY((0))
DF__T_SPM_PRO__FBASE__5A7F4298默认值约束FBASEGROUPQTY((0))
DF__T_SPM_PRO__FGROU__5B7366D1默认值约束FGROUPAMOUNT((0))
DF__T_SPM_PRO__FGROU__5C678B0A默认值约束FGROUPSPMCOUNTQTY((0))
DF__T_SPM_PRO__FBASE__5D5BAF43默认值约束FBASEGROUPSPMCOUNTQTY((0))
DF__T_SPM_PRO__FGROU__5E4FD37C默认值约束FGROUPSPMCOUNTAMOUNT((0))
DF__T_SPM_PRO__FGROU__5F43F7B5默认值约束FGROUPNUMBER((0))
DF__T_SPM_PRO__FGROU__612C4027默认值约束FGROUPPRESENTQTY((0))
DF__T_SPM_PRO__FBASE__62206460默认值约束FBASEGROUPPRESENTQTY((0))

1.1.9 促销模式

促销模式-单据头

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONMODE单据头SPM_PromotionMode
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
促销模式编码FNumberFNumberFNUMBERnvarchar100500(' ')
促销类型FPromotionTypeIdFPromotionTypeIdFPROMOTIONTYPEIDint4100((0))
促销方式FPromotionWayIdFPromotionWayIdFPROMOTIONWAYIDint4100((0))
参与促销政策匹配FIsMatchPolicyFIsMatchPolicyFISMATCHPOLICYchar110(' ')
系统预置FIsSystemFIsSystemFISSYSTEMchar110(' ')
禁用FForbidStatusFForbidStatusFFORBIDSTATUSchar110(' ')
索引
名称类型字段
PK_SPM_PROMOTIONMODECLUSTEREDFPROMOTIONMODEID
IDX_SPM_PROMOTIONMODEL_NUMNONCLUSTEREDFNUMBER
主外键
名称类型字段
PK_SPM_PROMOTIONMODEPKFPROMOTIONMODEID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONMODE主键约束FPROMOTIONMODEID
DF__T_SPM_PRO__FPROM__021D903D默认值约束FPROMOTIONMODEID((0))
DF__T_SPM_PRO__FNUMB__0311B476默认值约束FNUMBER(' ')
DF__T_SPM_PRO__FISMA__0405D8AF默认值约束FISMATCHPOLICY(' ')
DF__T_SPM_PRO__FISSY__04F9FCE8默认值约束FISSYSTEM(' ')
DF__T_SPM_PRO__FPROM__05EE2121默认值约束FPROMOTIONTYPEID((0))
DF__T_SPM_PRO__FPROM__06E2455A默认值约束FPROMOTIONWAYID((0))
DF__T_SPM_PRO__FFORB__07D66993默认值约束FFORBIDSTATUS(' ')

促销模式-单据头_L

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONMODE_L单据头SPM_PromotionMode
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
促销模式名称FNameFNameFNAMEnvarchar100500(' ')
索引
名称类型字段
PK_SPM_PROMOTIONMODE_LCLUSTEREDFPKID
IDX_SPM_PROMOTIONMODEL_IDNONCLUSTEREDFPROMOTIONMODEID
主外键
名称类型字段
PK_SPM_PROMOTIONMODE_LPKFPKID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONMODE_L主键约束FPKID
DF__T_SPM_PRO__FPKID__554AE9C6默认值约束FPKID((0))
DF__T_SPM_PRO__FPROM__563F0DFF默认值约束FPROMOTIONMODEID((0))
DF__T_SPM_PRO__FLOCA__57333238默认值约束FLOCALEID((0))
DF__T_SPM_PRO__FNAME__58275671默认值约束FNAME(' ')

促销模式-单据体

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONMODEENTRY单据体SPM_PromotionMode_Entry
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
属性字段FPropertyFPropertyFPROPERTYnvarchar100500(' ')
支持FIsShowFIsShowFISSHOWchar110(' ')
索引
名称类型字段
PK_SPM_PROMOTIONMODEENTRYCLUSTEREDFENTRYID
IDX_SPM_PROMOTIONMODE_MIDNONCLUSTEREDFPROMOTIONMODEID
主外键
名称类型字段
PK_SPM_PROMOTIONMODEENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONMODEENTRY主键约束FENTRYID
DF__T_SPM_PRO__FENTR__5A0F9EE3默认值约束FENTRYID((0))
DF__T_SPM_PRO__FPROM__5B03C31C默认值约束FPROMOTIONMODEID((0))
DF__T_SPM_PROM__FSEQ__5BF7E755默认值约束FSEQ((0))
DF__T_SPM_PRO__FPROP__5CEC0B8E默认值约束FPROPERTY(' ')
DF__T_SPM_PRO__FISSH__5DE02FC7默认值约束FISSHOW(' ')

促销模式-单据体_L

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONMODEENTRY_L单据体SPM_PromotionMode_Entry
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
属性FPropertyNameFPropertyNameFPROPERTYNAMEnvarchar100500(' ')
属性说明FDescriptionFDescriptionFDESCRIPTIONnvarchar5102550(' ')
索引
名称类型字段
PK_SPM_PROMOTIONMODEENTRY_LCLUSTEREDFPKID
IDX_SPM_PROMOMODEL_ENTRYIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_SPM_PROMOTIONMODEENTRY_LPKFPKID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONMODEENTRY_L主键约束FPKID
DF__T_SPM_PRO__FPKID__70F3043B默认值约束FPKID((0))
DF__T_SPM_PRO__FENTR__71E72874默认值约束FENTRYID((0))
DF__T_SPM_PRO__FLOCA__72DB4CAD默认值约束FLOCALEID((0))
DF__T_SPM_PRO__FPROP__73CF70E6默认值约束FPROPERTYNAME(' ')
DF__T_SPM_PRO__FDESC__74C3951F默认值约束FDESCRIPTION(' ')

1.1.10 促销政策

促销政策-基本信息

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONPOLICY基本信息PromotionPolicy
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
促销政策编码FBillNoNUMBERFNUMBERnvarchar60300(' ')
单据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
主题FNAMENAMEFNAMEnvarchar100500(' ')
创建组织FCompanyOrgUnitIDCompanyOrgUnitIDFCOMPANYORGUNITIDint4100((0))
币别FCurrencyIDCurrencyIDFCURRENCYIDint4100((0))
赠品种类限制FPresentLimitPresentLimitFPRESENTLIMITvarchar20200(' ')
多组号执行策略FJudgementModelFCombo2FJUDGEMENTMODELvarchar20200(' ')
促销内容FContentContentFCONTENTnvarchar5102550(' ')
赠送限制数量FPresentQtyPresentQtyFPRESENTQTYdecimal132310((0.0))
促销模式FPromotionModeIDPromotionModeIDFPROMOTIONMODEIDint4100((0))
来自促销申请FPromotionApplyPromotionApplyFPROMOTIONAPPLYint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233
最后修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
最后修改日期FModifyDateModifyDateFMODIFYDATEdatetime8233
审核人FApproverIdApproverIdFAPPROVERIDint4100((0))
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
创建人FCreatorIdCreatorIdFCREATORIDint4100((0))
失效人FForbiderIdForbiderIdFFORBIDERIDint4100((0))
失效日期FForbidDateForbidDateFFORBIDDATEdatetime8233
失效状态FForbidStatusForbidStatusFFORBIDSTATUSchar110(' ')
支持折扣率折上折FIsDoubleDiscountIsDoubleDiscountFISDOUBLEDISCOUNTchar110(' ')
赠品促销使用累计数量促销FIsUseSumPromotionIsUseSumPromotionFISUSESUMPROMOTIONchar110(' ')
统计初始累计数量FIsCountInitDataIsCountInitDataFISCOUNTINITDATAchar110(' ')
支持折扣额叠加折扣FIsDoubleDiscountAmtIsDoubleDiscountAmtFISDOUBLEDISCOUNTAMTchar110(' ')
索引
名称类型字段
PK_SPM_PROMOTIONPOLICYCLUSTEREDFID
IDX_SPM_PROMOTIONPOLICY_NUMNONCLUSTEREDFNUMBER
IDX_SPM_PROMOTIONPOLICY_SFPCINONCLUSTEREDFPROMOTIONMODEIDFDOCUMENTSTATUSFFORBIDSTATUSFCURRENCYIDFID
主外键
名称类型字段
PK_SPM_PROMOTIONPOLICYPKFID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONPOLICY主键约束FID
DF__T_SPM_PROMO__FID__08607978默认值约束FID((0))
DF__T_SPM_PRO__FNUMB__09549DB1默认值约束FNUMBER(' ')
DF__T_SPM_PRO__FISDO__096F3BAB默认值约束FISDOUBLEDISCOUNT(' ')
DF__T_SPM_PRO__FNAME__0A48C1EA默认值约束FNAME(' ')
DF__T_SPM_PRO__FDOCU__0B3CE623默认值约束FDOCUMENTSTATUS(' ')
DF__T_SPM_PRO__FCOMP__0C310A5C默认值约束FCOMPANYORGUNITID((0))
DF__T_SPM_PRO__FPROM__0D252E95默认值约束FPROMOTIONMODEID((0))
DF__T_SPM_PRO__FPRES__0E1952CE默认值约束FPRESENTLIMIT(' ')
DF__T_SPM_PRO__FJUDG__0F0D7707默认值约束FJUDGEMENTMODEL(' ')
DF__T_SPM_PRO__FCONT__10019B40默认值约束FCONTENT(' ')
DF__T_SPM_PRO__FPRES__10F5BF79默认值约束FPRESENTQTY((0.0))
DF__T_SPM_PRO__FCURR__11E9E3B2默认值约束FCURRENCYID((0))
DF__T_SPM_PRO__FPROM__12DE07EB默认值约束FPROMOTIONAPPLY((0))
DF__T_SPM_PRO__FCREA__13D22C24默认值约束FCREATORID((0))
DF__T_SPM_PRO__FMODI__14C6505D默认值约束FMODIFIERID((0))
DF__T_SPM_PRO__FAPPR__15BA7496默认值约束FAPPROVERID((0))
DF__T_SPM_PRO__FFORB__16AE98CF默认值约束FFORBIDERID((0))
DF__T_SPM_PRO__FFORB__17A2BD08默认值约束FFORBIDSTATUS(' ')
DF__T_SPM_PRO__FISUS__28E7E704默认值约束FISUSESUMPROMOTION(' ')
DF__T_SPM_PRO__FISCO__29DC0B3D默认值约束FISCOUNTINITDATA(' ')
DF__T_SPM_PRO__FISDO__3C67639B默认值约束FISDOUBLEDISCOUNTAMT(' ')

促销政策-物料范围

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONPOLICYENTRY物料范围PromotionPolicyEntry
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
组号FGroupNumberGroupNumberFGROUPNUMBERint4100((0))
物料编码FMaterialIDMaterialIDFMATERIALIDint4100((0))
计量单位FUnitIDUnitIDFUNITIDint4100((0))
购买数量FPurchaseQtyPurchaseQtyFPURCHASEQTYdecimal132310((0.0))
购买金额FPurchaseAmountPurchaseAmountFPURCHASEAMOUNTdecimal132310((0.0))
赠送数量FEntryPresentQtyEntryPresentQtyFENTRYPRESENTQTYdecimal132310((0.0))
促销价格FPromotionPricePromotionPriceFPROMOTIONPRICEdecimal132310((0.0))
折扣率%FDiscountRateFDiscountRateFDISCOUNTRATEdecimal132310((0.0))
折扣额FDiscountAmountDiscountAmountFDISCOUNTAMOUNTdecimal132310((0.0))
赠品FPresentTypePresentTypeFPRESENTTYPEvarchar20200(' ')
折扣方式FDiscountTypeDiscountTypeFDISCOUNTTYPEvarchar20200(' ')
备注FRemarkRemarkFREMARKnvarchar5102550(' ')
物料分组FMaterialGroupIDMaterialGroupIDFMATERIALGROUPIDint4100((0))
基本购买数量FBasePurchaseQtyBasePurchaseQtyFBASEPURCHASEQTYdecimal132310((0.0))
基本赠送数量FBasePresentQtyBasePresentQtyFBASEPRESENTQTYdecimal132310((0.0))
整单折扣率%FBillDiscountRateBillDiscountRateFBILLDISCOUNTRATEdecimal132310((0.0))
整单折扣额FBillDiscountAmountBillDiscountAmountFBILLDISCOUNTAMOUNTdecimal132310((0.0))
辅助属性FAssistPropertyIDAssistPropertyIDFASSISTPROPERTYIDint4100((0))
基本计量单位FBaseUnitIDBaseUnitIDFBASEUNITIDint4100((0))
赠送基数FPresentCycleQtyPresentCycleQtyFPRESENTCYCLEQTYdecimal132310((0.0))
物料内码FMatMasterIDFMatMasterIDFMASTERIDint4100((0))
组合方式FCompoundModeCompoundModeFCOMPOUNDMODEvarchar20200('1')
赠送品种限制FEntryPresentLimitEntryPresentLimitFENTRYPRESENTLIMITvarchar20200(' ')
品种数FEntryPresentLimitQtyEntryPresentLimitQtyFENTRYPRESENTLIMITQTYint4100((0))
赠送依据FPresentCycleTypePresentCycleTypeFPRESENTCYCLETYPEvarchar20200(' ')
批号FLotLotFLOTbigint8190((0))
自定义基础资料1FBaseData1BaseData1FBASEDATA1bigint8190((0))
自定义基础资料2FBaseData2BaseData2FBASEDATA2bigint8190((0))
自定义文本1FText1Text1FTEXT1nvarchar10005000(' ')
自定义文本2FText2Text2FTEXT2nvarchar10005000(' ')
自定义辅助资料1FAssistData1AssistData1FASSISTDATA1varchar36360(' ')
自定义辅助属料2FAssistData2AssistData2FASSISTDATA2varchar36360(' ')
赠品总数限制基数FPresentQtyLimitPresentQtyLimitFPRESENTQTYLIMITdecimal132310((0))
索引
名称类型字段
PK_SPM_PROMOTIONPOLICYENTRYCLUSTEREDFENTRYID
IDX_SPM_PROMOPOLICY_FIDNONCLUSTEREDFID
IDX_SPM_PROMOPOLICY_MFNONCLUSTEREDFMATERIALIDFUNITIDFID
IDX_SPM_PROMOPOLICY_MGFNONCLUSTEREDFMATERIALGROUPIDFID
IDX_SPM_PROMOPOLICY_MUGINONCLUSTEREDFMASTERIDFUNITIDFMATERIALGROUPIDFID
主外键
名称类型字段
PK_SPM_PROMOTIONPOLICYENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONPOLICYENTRY主键约束FENTRYID
DF__T_SPM_PRO__FREMA__0055435C默认值约束FREMARK(' ')
DF__T_SPM_PRO__FBASE__01496795默认值约束FBASEPURCHASEQTY((0.0))
DF__T_SPM_PRO__FBASE__023D8BCE默认值约束FBASEPRESENTQTY((0.0))
DF__T_SPM_PRO__FBASE__0331B007默认值约束FBASEUNITID((0))
DF__T_SPM_PRO__FMATE__0425D440默认值约束FMATERIALGROUPID((0))
DF__T_SPM_PRO__FMATE__0519F879默认值约束FMATERIALID((0))
DF__T_SPM_PRO__FMAST__060E1CB2默认值约束FMASTERID((0))
DF__T_SPM_PRO__FASSI__070240EB默认值约束FASSISTPROPERTYID((0))
DF__T_SPM_PRO__FBILL__07F66524默认值约束FBILLDISCOUNTRATE((0.0))
DF__T_SPM_PRO__FBILL__08EA895D默认值约束FBILLDISCOUNTAMOUNT((0.0))
DF__T_SPM_PRO__FPRES__318125B8默认值约束FPRESENTCYCLETYPE(' ')
DF__T_SPM_PROM__FLOT__5525C268默认值约束FLOT((0))
DF__T_SPM_PRO__FLOT___5619E6A1默认值约束FLOT_TEXT(' ')
DF__T_SPM_PRO__FBASE__570E0ADA默认值约束FBASEDATA1((0))
DF__T_SPM_PRO__FBASE__58022F13默认值约束FBASEDATA2((0))
DF__T_SPM_PRO__FTEXT__58F6534C默认值约束FTEXT1(' ')
DF__T_SPM_PRO__FTEXT__59EA7785默认值约束FTEXT2(' ')
DF__T_SPM_PRO__FASSI__5ADE9BBE默认值约束FASSISTDATA1(' ')
DF__T_SPM_PRO__FASSI__5BD2BFF7默认值约束FASSISTDATA2(' ')
DF__T_SPM_PRO__FPRES__5FBFED46默认值约束FPRESENTCYCLEQTY((0.0))
DF__T_SPM_PRO__FCOMP__6B519B83默认值约束FCOMPOUNDMODE('1')
DF__T_SPM_PRO__FPRES__719A4DDD默认值约束FPRESENTQTYLIMIT((0))
DF__T_SPM_PRO__FENTR__71FE9912默认值约束FENTRYPRESENTLIMITQTY((0))
DF__T_SPM_PRO__FENTR__72F2BD4B默认值约束FENTRYPRESENTLIMIT(' ')
DF__T_SPM_PRO__FENTR__73EF6C77默认值约束FENTRYID((0))
DF__T_SPM_PROMO__FID__74E390B0默认值约束FID((0))
DF__T_SPM_PROM__FSEQ__75D7B4E9默认值约束FSEQ((0))
DF__T_SPM_PRO__FGROU__76CBD922默认值约束FGROUPNUMBER((0))
DF__T_SPM_PRO__FUNIT__77BFFD5B默认值约束FUNITID((0))
DF__T_SPM_PRO__FPRES__78B42194默认值约束FPRESENTTYPE(' ')
DF__T_SPM_PRO__FPURC__79A845CD默认值约束FPURCHASEQTY((0.0))
DF__T_SPM_PRO__FPURC__7A9C6A06默认值约束FPURCHASEAMOUNT((0.0))
DF__T_SPM_PRO__FENTR__7B908E3F默认值约束FENTRYPRESENTQTY((0.0))
DF__T_SPM_PRO__FPROM__7C84B278默认值约束FPROMOTIONPRICE((0.0))
DF__T_SPM_PRO__FDISC__7D78D6B1默认值约束FDISCOUNTTYPE(' ')
DF__T_SPM_PRO__FDISC__7E6CFAEA默认值约束FDISCOUNTRATE((0.0))
DF__T_SPM_PRO__FDISC__7F611F23默认值约束FDISCOUNTAMOUNT((0.0))

促销政策-参与销售组织

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONSALEORG参与销售组织PromotionSaleOrg
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
销售组织编码FSaleOrgIDSaleOrgIDFSALEORGIDint4100((0))
开始时间FStartTimeStartTimeFSTARTTIMEdatetime8233
结束时间FEndTimeEndTimeFENDTIMEdatetime8233
是否补赠FIsGiveUpIsGiveUpFISGIVEUPchar110(' ')
初始累计开始时间FInitStartTimeInitStartTimeFINITSTARTTIMEdatetime8233
初始累计结束时间FInitEndTimeInitEndTimeFINITENDTIMEdatetime8233
索引
名称类型字段
PK_SPM_PROMOTIONSALEORGCLUSTEREDFENTRYID
IDX_SPM_PROMOSALEORG_FIDNONCLUSTEREDFID
IDX_SPM_PROMOSALEORG_SIDNONCLUSTEREDFSALEORGIDFSTARTTIMEFENDTIMEFID
主外键
名称类型字段
PK_SPM_PROMOTIONSALEORGPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONSALEORG主键约束FENTRYID
DF__T_SPM_PRO__FENTR__09BEB205默认值约束FENTRYID((0))
DF__T_SPM_PROMO__FID__0AB2D63E默认值约束FID((0))
DF__T_SPM_PROM__FSEQ__0BA6FA77默认值约束FSEQ((0))
DF__T_SPM_PRO__FSALE__0C9B1EB0默认值约束FSALEORGID((0))
DF__T_SPM_PRO__FISGI__27F3C2CB默认值约束FISGIVEUP(' ')

促销政策-参与客户

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONCUSTOMER参与客户PromotionCustomer
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
客户编码FCustomerIDCustomerIDFCUSTOMERIDint4100((0))
客户类别FCustomerTypeIdCustomerTypeIdFCUSTOMERTYPEIDvarchar36360(' ')
客户内码FMasterIDFMasterIDFMASTERIDint4100((0))
行状态(参与客户)FCustRowStatusFCustRowStatusFCUSTROWSTATUSchar110(' ')
行审核人(参与客户)FCustAuditorIdFCustAuditorIdFCUSTAUDITORIDint4100((0))
行审核时间(参与客户)FCustAuditTimeFCustAuditTimeFCUSTAUDITTIMEdatetime8233
客户分组FCustGroupIDFCustGroupIDFCUSTGROUPIDbigint8190((0))
客户分组上级FCustFullParentIdFCustFullParentIdFCUSTFULLPARENTIDvarchar1001000(' ')
索引
名称类型字段
PK_SPM_PROMOTIONCUSTOMERCLUSTEREDFENTRYID
IDX_SPM_PROMOCUSTOMER_FIDNONCLUSTEREDFID
IDX_SPM_PROMOCUST_CUST_FIDNONCLUSTEREDFCUSTOMERIDFCUSTOMERTYPEIDFCUSTFULLPARENTIDFID
IDX_SPM_PROMOCUST_CMST_FIDNONCLUSTEREDFMASTERIDFCUSTOMERTYPEIDFCUSTFULLPARENTIDFID
主外键
名称类型字段
PK_SPM_PROMOTIONCUSTOMERPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONCUSTOMER主键约束FENTRYID
DF__T_SPM_PRO__FCUST__34EFC00B默认值约束FCUSTGROUPID((0))
DF__T_SPM_PRO__FCUST__35E3E444默认值约束FCUSTFULLPARENTID(' ')
DF__T_SPM_PRO__FCUST__3896D2B7默认值约束FCUSTROWSTATUS(' ')
DF__T_SPM_PRO__FCUST__398AF6F0默认值约束FCUSTAUDITORID((0))
DF__T_SPM_PRO__FENTR__6D426EE8默认值约束FENTRYID((0))
DF__T_SPM_PROMO__FID__6E369321默认值约束FID((0))
DF__T_SPM_PROM__FSEQ__6F2AB75A默认值约束FSEQ((0))
DF__T_SPM_PRO__FCUST__701EDB93默认值约束FCUSTOMERID((0))
DF__T_SPM_PRO__FMAST__7112FFCC默认值约束FMASTERID((0))
DF__T_SPM_PRO__FCUST__72072405默认值约束FCUSTOMERTYPEID(' ')

促销政策-促销例外信息

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONPOLICYEXENTRY促销例外信息PromotionPolicyExEntry
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
物料编码FExMaterialIDFExMaterialIDFMATERIALIDint4100((0))
物料内码FExMatMasterIDFExMatMasterIDFMATMASTERIDint4100((0))
辅助属性FAuxPropIDFAuxPropIDFAUXPROPIDint4100((0))
基本计量单位FBaseExUnitIDFBaseExUnitIDFBASEUNITIDint4100((0))
计量单位FExUnitIDFExUnitIDFUNITIDint4100((0))
物料分组FGroupIDFGroupIDFMATERIALGROUPIDint4100((0))
索引
名称类型字段
PK_SPM_PROMOTIONPOLICYEXENTRCLUSTEREDFENTRYID
IDX_SPM_PROPOLICYEXE_IDNONCLUSTEREDFID
IDX_SPM_PROPOLICYEXE_MIDNONCLUSTEREDFMATERIALIDFID
IDX_SPM_PROPOLICYEXE_MGIDNONCLUSTEREDFMATERIALGROUPIDFMATERIALIDFID
主外键
名称类型字段
PK_SPM_PROMOTIONPOLICYEXENTRPKFENTRYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONPOLICYEXENTR主键约束FENTRYID
DF__T_SPM_PRO__FENTR__0822E45B默认值约束FENTRYID((0))
DF__T_SPM_PROMO__FID__09170894默认值约束FID((0))
DF__T_SPM_PROM__FSEQ__0A0B2CCD默认值约束FSEQ((0))
DF__T_SPM_PRO__FMATE__0AFF5106默认值约束FMATERIALGROUPID((0))
DF__T_SPM_PRO__FMATE__0BF3753F默认值约束FMATERIALID((0))
DF__T_SPM_PRO__FMATM__0CE79978默认值约束FMATMASTERID((0))
DF__T_SPM_PRO__FBASE__0DDBBDB1默认值约束FBASEUNITID((0))
DF__T_SPM_PRO__FUNIT__0ECFE1EA默认值约束FUNITID((0))
DF__T_SPM_PRO__FAUXP__0FC40623默认值约束FAUXPROPID((0))

1.1.11 促销费用项目

促销费用项目-单据头

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONPROJECT单据头
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
数据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
禁用状态FForbidStatusForbidStatusFFORBIDSTATUSchar110(' ')
费用项目编码FNumberNumberFNUMBERnvarchar60300(' ')
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
创建人FCreatorIdCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
费用类型FPromotionProjectGroupIDPromotionProjectGroupIDFPROMOTIONPROJECTGROUPIDint4100((0))
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
禁用人FForbiderIDForbiderIDFFORBIDERIDint4100((0))
禁用日期FForbidDateForbidDateFFORBIDDATEdatetime8233
审核人FApproverIDApproverIDFAPPROVERIDint4100((0))
索引
名称类型字段
PK_SPM_PROMOTIONPROJECTCLUSTEREDFPROMOTIONPROJECTID
IDX_SPM_PROMOPRONUMNONCLUSTEREDFNUMBERFDOCUMENTSTATUSFFORBIDSTATUSFPROMOTIONPROJECTGROUPID
IDX_SPM_PROMOPRO_GPNONCLUSTEREDFPROMOTIONPROJECTGROUPIDFDOCUMENTSTATUSFFORBIDSTATUS
主外键
名称类型字段
PK_SPM_PROMOTIONPROJECTPKFPROMOTIONPROJECTID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONPROJECT主键约束FPROMOTIONPROJECTID
DF__T_SPM_PRO__FPROM__38AEAB18默认值约束FPROMOTIONPROJECTID((0))
DF__T_SPM_PRO__FNUMB__39A2CF51默认值约束FNUMBER(' ')
DF__T_SPM_PRO__FDOCU__3A96F38A默认值约束FDOCUMENTSTATUS(' ')
DF__T_SPM_PRO__FFORB__3B8B17C3默认值约束FFORBIDSTATUS(' ')
DF__T_SPM_PRO__FMODI__3C7F3BFC默认值约束FMODIFIERID((0))
DF__T_SPM_PRO__FCREA__3D736035默认值约束FCREATORID((0))
DF__T_SPM_PRO__FFORB__3E67846E默认值约束FFORBIDERID((0))
DF__T_SPM_PRO__FAPPR__3F5BA8A7默认值约束FAPPROVERID((0))
DF__T_SPM_PRO__FPROM__404FCCE0默认值约束FPROMOTIONPROJECTGROUPID((0))

促销费用项目-单据头_L

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONPROJECT_L单据头
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
费用项目名称FNameNameFNAMEnvarchar100500(' ')
描述FDescriptionDescriptionFDESCRIPTIONnvarchar5102550(' ')
索引
名称类型字段
PK_SPM_PROMOTIONPROJECT_LCLUSTEREDFPKID
IDX_SPM_PROMOPROL_IDNONCLUSTEREDFPROMOTIONPROJECTID
主外键
名称类型字段
PK_SPM_PROMOTIONPROJECT_LPKFPKID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONPROJECT_L主键约束FPKID
DF__T_SPM_PRO__FPKID__259BD6A4默认值约束FPKID((0))
DF__T_SPM_PRO__FPROM__268FFADD默认值约束FPROMOTIONPROJECTID((0))
DF__T_SPM_PRO__FLOCA__27841F16默认值约束FLOCALEID((0))
DF__T_SPM_PRO__FNAME__2878434F默认值约束FNAME(' ')
DF__T_SPM_PRO__FDESC__296C6788默认值约束FDESCRIPTION(' ')

1.1.12 促销类型

促销类型-单据头

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONTYPE单据头SPM_PromotionType
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
编码FNumberNumberFNUMBERnvarchar100500(' ')
系统预置FIsSystemIsSystemFISSYSTEMchar110(' ')
禁用FForbidStatusForbidStatusFFORBIDSTATUSchar110(' ')
索引
名称类型字段
PK_SPM_PROMOTIONTYPECLUSTEREDFPROMOTIONTYPEID
IDX_SPM_PROMOTIONTYPE_NUMNONCLUSTEREDFNUMBERFFORBIDSTATUS
主外键
名称类型字段
PK_SPM_PROMOTIONTYPEPKFPROMOTIONTYPEID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONTYPE主键约束FPROMOTIONTYPEID
DF__T_SPM_PRO__FPROM__76ABDD91默认值约束FPROMOTIONTYPEID((0))
DF__T_SPM_PRO__FNUMB__77A001CA默认值约束FNUMBER(' ')
DF__T_SPM_PRO__FISSY__78942603默认值约束FISSYSTEM(' ')
DF__T_SPM_PRO__FFORB__79884A3C默认值约束FFORBIDSTATUS(' ')

促销类型-单据头_L

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONTYPE_L单据头SPM_PromotionType
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
名称FNameNameFNAMEnvarchar100500(' ')
描述FDescriptionDescriptionFDESCRIPTIONnvarchar5102550(' ')
索引
名称类型字段
PK_SPM_PROMOTIONTYPE_LCLUSTEREDFPKID
IDX_SPM_PROMOTYPEL_TYPEIDNONCLUSTEREDFPROMOTIONTYPEID
主外键
名称类型字段
PK_SPM_PROMOTIONTYPE_LPKFPKID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONTYPE_L主键约束FPKID
DF__T_SPM_PRO__FPKID__5FC87839默认值约束FPKID((0))
DF__T_SPM_PRO__FPROM__60BC9C72默认值约束FPROMOTIONTYPEID((0))
DF__T_SPM_PRO__FLOCA__61B0C0AB默认值约束FLOCALEID((0))
DF__T_SPM_PRO__FNAME__62A4E4E4默认值约束FNAME(' ')
DF__T_SPM_PRO__FDESC__6399091D默认值约束FDESCRIPTION(' ')

1.1.13 促销方式

促销方式-单据头

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONWAY单据头SPM_PromotionWay
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
编码FNumberNumberFNUMBERnvarchar100500(' ')
系统预置FIsSystemIsSystemFISSYSTEMchar110(' ')
禁用FForbidStatusForbidStatusFFORBIDSTATUSchar110(' ')
促销类型FPromotionTypeIdFPromotionTypeIdFPROMOTIONTYPEIDint4100((0))
索引
名称类型字段
PK_SPM_PROMOTIONWAYCLUSTEREDFPROMOTIONWAYID
IDX_SPM_PROMOWAY_NUMNONCLUSTEREDFNUMBERFFORBIDSTATUS
主外键
名称类型字段
PK_SPM_PROMOTIONWAYPKFPROMOTIONWAYID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONWAY主键约束FPROMOTIONWAYID
DF__T_SPM_PRO__FPROM__6B3A2AE5默认值约束FPROMOTIONWAYID((0))
DF__T_SPM_PRO__FNUMB__6C2E4F1E默认值约束FNUMBER(' ')
DF__T_SPM_PRO__FFORB__6D227357默认值约束FFORBIDSTATUS(' ')
DF__T_SPM_PRO__FISSY__6E169790默认值约束FISSYSTEM(' ')
DF__T_SPM_PRO__FPROM__6F0ABBC9默认值约束FPROMOTIONTYPEID((0))

促销方式-单据头_L

概述
表名称实体名称ORM实体名
T_SPM_PROMOTIONWAY_L单据头SPM_PromotionWay
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
描述FDescriptionDescriptionFDESCRIPTIONnvarchar5102550(' ')
名称FNameNameFNAMEnvarchar100500(' ')
索引
名称类型字段
PK_SPM_PROMOTIONWAY_LCLUSTEREDFPKID
IDX_SPM_PROMOTIONWAYL_NUMNONCLUSTEREDFPROMOTIONWAYID
主外键
名称类型字段
PK_SPM_PROMOTIONWAY_LPKFPKID
触发器
约束
名称类型字段描述
PK_SPM_PROMOTIONWAY_L主键约束FPKID
DF__T_SPM_PRO__FPKID__6581518F默认值约束FPKID((0))
DF__T_SPM_PRO__FPROM__667575C8默认值约束FPROMOTIONWAYID((0))
DF__T_SPM_PRO__FLOCA__67699A01默认值约束FLOCALEID((0))
DF__T_SPM_PRO__FDESC__685DBE3A默认值约束FDESCRIPTION(' ')
DF__T_SPM_PRO__FNAME__6951E273默认值约束FNAME(' ')