目 录

1 税务管理

1.1 发票管理

1.1.1 引出方案设置

引出方案设置-单据头

概述
表名称实体名称ORM实体名
T_IV_SALESIEXPIMP单据头IV_SALESIEXPIMP
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
数据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110
禁用状态FForbidStatusForbidStatusFFORBIDSTATUSchar110(' ')
编码FNumberNumberFNUMBERnvarchar60300(' ')
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
创建人FCreatorIdCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
禁用人FForbiderIDForbiderIDFFORBIDERIDint4100((0))
使用组织FUseOrgIdUseOrgIdFUSEORGIDint4100((0))
审核人FAuditorIDAuditorIDFAUDITORIDint4100((0))
审核日期FAuditDateAuditDateFAUDITDATEdatetime8233
创建组织FCreateOrgIdCreateOrgIdFCREATEORGIDint4100((0))
禁用日期FForbidDateForbidDateFFORBIDDATEdatetime8233
系统预置FIsSysPresetIsSysPresetFISSYSPRESETchar110('0')
分隔符类型FCompartTypeCompartTypeFCOMPARTTYPEchar110('0')
关联类型FLinkTypeLinkTypeFLINKTYPEvarchar36360(' ')
单据类型FBillBillFBILLvarchar36360(' ')
字段标识符FSeparateCharSeparateCharFSEPARATECHARnvarchar20100
分隔符FCompartCharCompartCharFCOMPARTCHARnvarchar20100
索引
名称类型字段
PK_IV_SALESIEXPIMPCLUSTEREDFID
IDX_IV_SIEXPIMP_FNUMBERNONCLUSTEREDFNUMBER
主外键
名称类型字段
PK_IV_SALESIEXPIMPPKFID
触发器
约束
名称类型字段描述
PK_IV_SALESIEXPIMP主键约束FID
DF_T_IV_SALESIEXPIMP_FID默认值约束FID((0))
DF__T_IV_SALE__FMAST__22D5DD76默认值约束FMASTERID((0))
DF__T_IV_SALE__FNUMB__23CA01AF默认值约束FNUMBER(' ')
DF__T_IV_SALE__FBILL__24BE25E8默认值约束FBILL(' ')
DF__T_IV_SALE__FLINK__25B24A21默认值约束FLINKTYPE(' ')
DF__T_IV_SALE__FCOMP__26A66E5A默认值约束FCOMPARTTYPE('0')
DF__T_IV_SALE__FFORB__279A9293默认值约束FFORBIDSTATUS(' ')
DF__T_IV_SALE__FCREA__288EB6CC默认值约束FCREATEORGID((0))
DF__T_IV_SALE__FUSEO__2982DB05默认值约束FUSEORGID((0))
DF__T_IV_SALE__FCREA__2A76FF3E默认值约束FCREATORID((0))
DF__T_IV_SALE__FMODI__2B6B2377默认值约束FMODIFIERID((0))
DF__T_IV_SALE__FAUDI__2C5F47B0默认值约束FAUDITORID((0))
DF__T_IV_SALE__FFORB__2D536BE9默认值约束FFORBIDERID((0))
DF__T_IV_SALE__FISSY__2E479022默认值约束FISSYSPRESET('0')

引出方案设置-单据头_L

概述
表名称实体名称ORM实体名
T_IV_SALESIEXPIMP_L单据头IV_SALESIEXPIMP
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
名称FNameNameFNAMEnvarchar160800(' ')
描述FDescriptionDescriptionFDESCRIPTIONnvarchar5102550
索引
名称类型字段
PK_IV_SALESIEXPIMP_LCLUSTEREDFPKID
IDX_IV_SIEXPIMP_L_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALESIEXPIMP_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_SALESIEXPIMP_L主键约束FPKID
DF_T_IV_SALESIEXPIMP_L_FPKID默认值约束FPKID((0))
DF__T_IV_SALESI__FID__54382EE0默认值约束FID((0))
DF__T_IV_SALE__FLOCA__552C5319默认值约束FLOCALEID((0))
DF__T_IV_SALE__FNAME__56207752默认值约束FNAME(' ')

引出方案设置-字段映射关系

概述
表名称实体名称ORM实体名
T_IV_SALESIFIELDSMAP字段映射关系IV_SALESIFIELDSMAP
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
目标单字段名称FTargetNameTargetNameFTARGETNAMEnvarchar5102550(' ')
目标单字段FTargetKeyTargetKeyFTARGETKEYnvarchar5102550(' ')
公式FIsFormulaIsFormulaFISFORMULAchar110
源单字段名称FSourceNameSourceNameFSOURCENAMEnvarchar5102550
源单字段标识FSourceKeySourceKeyFSOURCEKEYnvarchar5102550
公式描述FFormulaDescFormulaDescFFORMULADESCnvarchar5102550
默认值FDefaultValueDefaultValueFDEFAULTVALUEnvarchar5102550
公式FFormulaFormulaFFORMULAnvarchar5102550
过滤FIsFilterIsFilterFISFILTERchar110
索引
名称类型字段
PK_IV_SALESIFIELDSMAPCLUSTEREDFENTRYID
IDX_IV_SALESIFIELDSMAPNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALESIFIELDSMAPPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALESIFIELDSMAP主键约束FENTRYID
DF_T_IV_SALESIFIELDSMAP_FENTRYID默认值约束FENTRYID((0))
DF__T_IV_SALESI__FID__16A510BB默认值约束FID((0))
DF__T_IV_SALES__FSEQ__179934F4默认值约束FSEQ((0))
DF__T_IV_SALE__FTARG__188D592D默认值约束FTARGETNAME(' ')
DF__T_IV_SALE__FTARG__19817D66默认值约束FTARGETKEY(' ')

引出方案设置-基础资料对应关系

概述
表名称实体名称ORM实体名
T_IV_SALESIBDMAP基础资料对应关系IV_SALESIBDMAP
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
基础资料字段FBaseDataFieldBaseDataFieldFBASEDATAFIELDnvarchar5102550
金蝶K/3系统名称FBDSystemNameBDSystemNameFBDSYSTEMNAMEnvarchar160800
文本文件名称FFileDataNameFileDataNameFFILEDATANAMEnvarchar5102550
基础资料字段标识FBaseDataFieldKeyBaseDataFieldKeyFBASEDATAFIELDKEYnvarchar5102550
索引
名称类型字段
PK_IV_SALESIBDMAPCLUSTEREDFENTRYID
IDX_IV_SALESIBDMAPNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALESIBDMAPPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALESIBDMAP主键约束FENTRYID
DF_T_IV_SALESIBDMAP_FENTRYID默认值约束FENTRYID((0))
DF__T_IV_SALESI__FID__3FDC3078默认值约束FID((0))

引出方案设置-文本文件字段

概述
表名称实体名称ORM实体名
T_IV_SALESIFILEFIELDS文本文件字段IV_SALESIFILEFIELDS
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
位置FEntityNameEntityNameFENTITYNAMEnvarchar72360
实体标识FEntityKeyEntityKeyFENTITYKEYnvarchar72360
字段名称FFileFieldNameFileFieldNameFFILEFIELDNAMEnvarchar160800
字段标识FFileFieldKeyFileFieldKeyFFILEFIELDKEYnvarchar160800
字段属性FPropertyNamePropertyNameFPROPERTYNAMEnvarchar72360
字段类型FDataTypeNameDataTypeNameFDATATYPENAMEchar110('0')
字段类型FDataTypeDataTypeFDATATYPEint4100
表头表体匹配FBodyNumberBodyNumberFBODYNUMBERchar110
索引
名称类型字段
PK_IV_SALESIFILEFIELDSCLUSTEREDFENTRYID
IDX_IV_SALESIFILEFIELDSNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALESIFILEFIELDSPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALESIFILEFIELDS主键约束FENTRYID
DF_T_IV_SALESIFILEFIELDS_FENTRYID默认值约束FENTRYID((0))
DF__T_IV_SALESI__FID__1B69C5D8默认值约束FID((0))
DF__T_IV_SALES__FSEQ__1C5DEA11默认值约束FSEQ((0))
DF__T_IV_SALE__FDATA__1D520E4A默认值约束FDATATYPENAME('0')

1.1.2 电子化归档日志

电子化归档日志-单据头

概述
表名称实体名称ORM实体名
T_IV_ARCHIVELOG单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
日志编号FBillNoBillNoFBILLNOnvarchar160800(' ')
日志状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
创建人FCreatorIdFCreatorIdFCREATORIDint4100((0))
创建时间FCreateDateFCreateDateFCREATEDATEdatetime8233(getdate())
账簿FACCOUNTBOOKIDACCOUNTBOOKIDFACCOUNTBOOKIDint4100((0))
会计年度FYEARYEARFYEARint4100((0))
会计期间FPERIODPERIODFPERIODint4100((0))
归档中心编号FARCHIVECODEARCHIVECODEFARCHIVECODEnvarchar5102550(' ')
归档操作编号FOPERATENUMBEROPERATENUMBERFOPERATENUMBERnvarchar5102550(' ')
后台任务编号FBGTASKNUMBERBGTASKNUMBERFBGTASKNUMBERnvarchar5102550(' ')
结束时间FENDTIMEENDTIMEFENDTIMEdatetime8233
操作状态FSTATUSSTATUSFSTATUSvarchar20200(' ')
开始时间FSTARTTIMESTARTTIMEFSTARTTIMEdatetime8233
索引
名称类型字段
PK_IV_ARCHIVELOGCLUSTEREDFID
IDX_IV_ARCHIVELOG_FBILLNONONCLUSTEREDFBILLNO
IDX_IV_ARCHIVELOG_STARTNONCLUSTEREDFSTARTTIME
IDX_IV_ARCHIVELOG_ENDNONCLUSTEREDFENDTIME
IDX_IV_ARCHIVELOG_CREATENONCLUSTEREDFCREATEDATE
主外键
名称类型字段
PK_IV_ARCHIVELOGPKFID
触发器
约束
名称类型字段描述
PK_IV_ARCHIVELOG主键约束FID
DF__T_IV_ARCHIV__FID__2F1DB30C默认值约束FID((0))
DF__T_IV_ARCH__FBILL__3011D745默认值约束FBILLNO(' ')
DF__T_IV_ARCH__FDOCU__3105FB7E默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_ARCH__FCREA__31FA1FB7默认值约束FCREATORID((0))
DF__T_IV_ARCH__FCREA__32EE43F0默认值约束FCREATEDATE(getdate())
DF__T_IV_ARCH__FACCO__33E26829默认值约束FACCOUNTBOOKID((0))
DF__T_IV_ARCH__FYEAR__34D68C62默认值约束FYEAR((0))
DF__T_IV_ARCH__FPERI__35CAB09B默认值约束FPERIOD((0))
DF__T_IV_ARCH__FARCH__36BED4D4默认值约束FARCHIVECODE(' ')
DF__T_IV_ARCH__FOPER__37B2F90D默认值约束FOPERATENUMBER(' ')
DF__T_IV_ARCH__FBGTA__38A71D46默认值约束FBGTASKNUMBER(' ')
DF__T_IV_ARCH__FSTAT__399B417F默认值约束FSTATUS(' ')

电子化归档日志-单据体

概述
表名称实体名称ORM实体名
T_IV_ARCHIVELOGENTRY单据体Entity
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
操作时间FOPERATETIMEOPERATETIMEFOPERATETIMEdatetime8233
描述信息FDESCRIPTIONDESCRIPTIONFDESCRIPTIONnvarchar5102550(' ')
类型FTYPETYPEFTYPEvarchar20200(' ')
表单标识FFORMIDFORMIDFFORMIDvarchar1001000(' ')
单据内码FBILLIDBILLIDFBILLIDint4100((0))
附件内码FATTACHMENTIDATTACHMENTIDFATTACHMENTIDint4100((0))
是否成功FISSUCCESSISSUCCESSFISSUCCESSchar110('1')
索引
名称类型字段
PK_IV_ARCHIVELOGENTRYCLUSTEREDFENTRYID
IDX_IV_ARCHIVELOGENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_ARCHIVELOGENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_ARCHIVELOGENTRY主键约束FENTRYID
DF__T_IV_ARCH__FENTR__3B8389F1默认值约束FENTRYID((0))
DF__T_IV_ARCHIV__FID__3C77AE2A默认值约束FID((0))
DF__T_IV_ARCH__FDESC__3D6BD263默认值约束FDESCRIPTION(' ')
DF__T_IV_ARCH__FTYPE__3E5FF69C默认值约束FTYPE(' ')
DF__T_IV_ARCH__FFORM__3F541AD5默认值约束FFORMID(' ')
DF__T_IV_ARCH__FBILL__40483F0E默认值约束FBILLID((0))
DF__T_IV_ARCH__FATTA__413C6347默认值约束FATTACHMENTID((0))
DF__T_IV_ARCH__FISSU__42308780默认值约束FISSUCCESS('1')

1.1.3 归档系统设置

归档系统设置-单据头

概述
表名称实体名称ORM实体名
T_IV_ARCHIVESETTING单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar160800(' ')
归档中心接口地址FARCHIVESYSTEMURLARCHIVESYSTEMURLFARCHIVESYSTEMURLnvarchar5102550(' ')
凭证附件参与归档FINCLUDEVOUCHERATTACHMENTFINCLUDEVOUCHERATTACHMENTFINCLUDEVOUCHERATTACHMENTchar110('0')
归档中心登录地址FARCHIVESYSTEMLOGINURLARCHIVESYSTEMLOGINURLFARCHIVESYSTEMLOGINURLnvarchar5102550(' ')
索引
名称类型字段
PK_IV_ARCHIVESETTINGCLUSTEREDFID
主外键
名称类型字段
PK_IV_ARCHIVESETTINGPKFID
触发器
约束
名称类型字段描述
PK_IV_ARCHIVESETTING主键约束FID
DF__T_IV_ARCH__FINCL__0E4865D4默认值约束FINCLUDEVOUCHERATTACHMENT('0')
DF__T_IV_ARCH__FARCH__0F3C8A0D默认值约束FARCHIVESYSTEMLOGINURL(' ')
DF__T_IV_ARCHIV__FID__47E960D6默认值约束FID((0))
DF__T_IV_ARCH__FBILL__48DD850F默认值约束FBILLNO(' ')
DF__T_IV_ARCH__FARCH__49D1A948默认值约束FARCHIVESYSTEMURL(' ')

归档系统设置-单据体

概述
表名称实体名称ORM实体名
T_IV_ARCHIVESETTINGENTRY单据体Entity
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
账簿FBOOKIDBOOKIDFBOOKIDint4100((0))
档案中心编号FARCHIVECENTERNUMBERARCHIVECENTERNUMBERFARCHIVECENTERNUMBERnvarchar5102550(' ')
授权码FAUTHCODEAUTHCODEFAUTHCODEnvarchar5102550(' ')
索引
名称类型字段
PK_IV_ARCHIVESETTINGENTRYCLUSTEREDFENTRYID
IDX_IV_ARCHIVESETTING_FIDNONCLUSTEREDFID
IDX_IV_ARCHIVESETTING_BOOKIDNONCLUSTEREDFBOOKID
主外键
名称类型字段
PK_IV_ARCHIVESETTINGENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_ARCHIVESETTINGENTRY主键约束FENTRYID
DF__T_IV_ARCH__FENTR__4BB9F1BA默认值约束FENTRYID((0))
DF__T_IV_ARCHIV__FID__4CAE15F3默认值约束FID((0))
DF__T_IV_ARCHI__FSEQ__4DA23A2C默认值约束FSEQ((0))
DF__T_IV_ARCH__FBOOK__4E965E65默认值约束FBOOKID((0))
DF__T_IV_ARCH__FARCH__4F8A829E默认值约束FARCHIVECENTERNUMBER(' ')
DF__T_IV_ARCH__FAUTH__507EA6D7默认值约束FAUTHCODE(' ')

归档系统设置-凭证单据

概述
表名称实体名称ORM实体名
T_IV_ARCHIVEBILLRANGE凭证单据BillRange
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
生成凭证的单据FBILLFORMIDFBILLFORMIDFBILLFORMIDvarchar36360(' ')
单据附件参与归档FINCLUDEATTACHMENTFINCLUDEATTACHMENTFINCLUDEATTACHMENTchar110('0')
索引
名称类型字段
PK_IV_ARCHIVEBILLRANGECLUSTEREDFENTRYID
IDX_IV_ARCHIVEBILLRANGE_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_ARCHIVEBILLRANGEPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_ARCHIVEBILLRANGE主键约束FENTRYID
DF__T_IV_ARCH__FENTR__03CAD761默认值约束FENTRYID((0))
DF__T_IV_ARCHIV__FID__04BEFB9A默认值约束FID((0))
DF__T_IV_ARCHI__FSEQ__05B31FD3默认值约束FSEQ((0))
DF__T_IV_ARCH__FBILL__06A7440C默认值约束FBILLFORMID(' ')
DF__T_IV_ARCH__FINCL__079B6845默认值约束FINCLUDEATTACHMENT('0')

归档系统设置-上游单据

概述
表名称实体名称ORM实体名
T_IV_ARCHIVESRCBILLRANGE上游单据SrcBillRange
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
上游单据FSRCBILLFORMIDFSRCBILLFORMIDFSRCBILLFORMIDvarchar36360(' ')
单据附件参与归档FSRCINCLUDEATTACHMENTFSRCINCLUDEATTACHMENTFSRCINCLUDEATTACHMENTchar110('0')
索引
名称类型字段
PK_IV_ARCHIVESRCBILLRANGECLUSTEREDFDETAILID
IDX_IV_ARCHIVESBILLRANGE_EIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_IV_ARCHIVESRCBILLRANGEPKFDETAILID
触发器
约束
名称类型字段描述
PK_IV_ARCHIVESRCBILLRANGE主键约束FDETAILID
DF__T_IV_ARCH__FENTR__0983B0B7默认值约束FENTRYID((0))
DF__T_IV_ARCH__FDETA__0A77D4F0默认值约束FDETAILID((0))
DF__T_IV_ARCHI__FSEQ__0B6BF929默认值约束FSEQ((0))
DF__T_IV_ARCH__FSRCB__0C601D62默认值约束FSRCBILLFORMID(' ')
DF__T_IV_ARCH__FSRCI__0D54419B默认值约束FSRCINCLUDEATTACHMENT('0')

归档系统设置-套打模板设置

概述
表名称实体名称ORM实体名
T_IV_ARCHIVEPRINTTEMPLATE套打模板设置PRINTTEMPLATESETTING
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
归档对象FFORMIDFFORMIDFFORMIDvarchar36360(' ')
单据类型FBILLTYPEIDFBILLTYPEIDFBILLTYPEIDvarchar36360(' ')
套打模板FPRINTTEMPLATEIDFPRINTTEMPLATEIDFPRINTTEMPLATEIDvarchar36360(' ')
索引
名称类型字段
PK_IV_ARCHIVEPRINTTEMPLATECLUSTEREDFENTRYID
IDX_IV_ARCHIVEPRINTTEM_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_ARCHIVEPRINTTEMPLATEPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_ARCHIVEPRINTTEMPLATE主键约束FENTRYID
DF__T_IV_ARCH__FENTR__65BDB392默认值约束FENTRYID((0))
DF__T_IV_ARCHIV__FID__66B1D7CB默认值约束FID((0))
DF__T_IV_ARCHI__FSEQ__67A5FC04默认值约束FSEQ((0))
DF__T_IV_ARCH__FFORM__689A203D默认值约束FFORMID(' ')
DF__T_IV_ARCH__FBILL__698E4476默认值约束FBILLTYPEID(' ')
DF__T_IV_ARCH__FPRIN__6A8268AF默认值约束FPRINTTEMPLATEID(' ')

1.1.4 智能收票设置

智能收票设置-单据头

概述
表名称实体名称ORM实体名
T_IV_AUTORECINVPARA单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
数据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
禁用状态FForbidStatusForbidStatusFFORBIDSTATUSchar110(' ')
方案编码FNumberNumberFNUMBERnvarchar160800(' ')
执行间隔(小时)FExecutionIntervalExecutionIntervalFEXECUTIONINTERVALint4100((1))
创建组织FMainOrgIdMainOrgIdFMAINORGIDint4100((0))
下次执行时间FNextTimeNextTimeFNEXTTIMEdatetime8233
执行时间FExecutionTimeExecutionTimeFEXECUTIONTIMEdatetime8233
创建人FCreatorIdCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233(getdate())
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
修改日期FModifyDateModifyDateFMODIFYDATEdatetime8233
审核日期FAuditDateAuditDateFAUDITDATEdatetime8233
审核人FAuditorIDAuditorIDFAUDITORIDint4100((0))
执行人FExecutorExecutorFEXECUTORint4100((0))
(已弃用)云通行证用户名FCloudPassUserCloudPassUserFCLOUDPASSUSERnvarchar5102550(' ')
(已弃用)云通行证密码FCloudPasswordCloudPasswordFCLOUDPASSWORDnvarchar5102550(' ')
索引
名称类型字段
PK_IV_AUTORECINVPARACLUSTEREDFID
IDX_IV_AUTORECPARA_FNUMBERNONCLUSTEREDFNUMBER
主外键
名称类型字段
PK_IV_AUTORECINVPARAPKFID
触发器
约束
名称类型字段描述
PK_IV_AUTORECINVPARA主键约束FID
DF__T_IV_AUTORE__FID__6F91D01C默认值约束FID((0))
DF__T_IV_AUTO__FMAST__7085F455默认值约束FMASTERID((0))
DF__T_IV_AUTO__FNUMB__717A188E默认值约束FNUMBER(' ')
DF__T_IV_AUTO__FDOCU__726E3CC7默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_AUTO__FFORB__73626100默认值约束FFORBIDSTATUS(' ')
DF__T_IV_AUTO__FCREA__74568539默认值约束FCREATORID((0))
DF__T_IV_AUTO__FCREA__754AA972默认值约束FCREATEDATE(getdate())
DF__T_IV_AUTO__FMODI__763ECDAB默认值约束FMODIFIERID((0))
DF__T_IV_AUTO__FAUDI__7732F1E4默认值约束FAUDITORID((0))
DF__T_IV_AUTO__FEXEC__7827161D默认值约束FEXECUTOR((0))
DF__T_IV_AUTO__FMAIN__791B3A56默认值约束FMAINORGID((0))
DF__T_IV_AUTO__FEXEC__7A0F5E8F默认值约束FEXECUTIONINTERVAL((1))
DF__T_IV_AUTO__FCLOU__7B0382C8默认值约束FCLOUDPASSUSER(' ')
DF__T_IV_AUTO__FCLOU__7BF7A701默认值约束FCLOUDPASSWORD(' ')

智能收票设置-单据头_L

概述
表名称实体名称ORM实体名
T_IV_AUTORECINVPARA_L单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
方案名称FNameNameFNAMEnvarchar5102550(' ')
摘要FDescriptionDescriptionFDESCRIPTIONnvarchar5102550(' ')
索引
名称类型字段
PK_IV_AUTORECINVPARA_LCLUSTEREDFPKID
IDX_IV_AUTORECPARA_L_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_AUTORECINVPARA_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_AUTORECINVPARA_L主键约束FPKID
DF__T_IV_AUTO__FPKID__6237D4FE默认值约束FPKID((0))
DF__T_IV_AUTORE__FID__632BF937默认值约束FID((0))
DF__T_IV_AUTO__FLOCA__64201D70默认值约束FLOCALEID((0))
DF__T_IV_AUTO__FNAME__651441A9默认值约束FNAME(' ')
DF__T_IV_AUTO__FDESC__660865E2默认值约束FDESCRIPTION(' ')

智能收票设置-单据体

概述
表名称实体名称ORM实体名
T_IV_AUTORECINVPARAENTRY单据体Entity
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
业务组织FOrgIdOrgIdFORGIDint4100((0))
纳税识别号FTaxNumberTaxNumberFTAXNUMBERnvarchar2001000(' ')
收票范围FRangeRangeFRANGEnvarchar40200(' ')
备注FRemarkRemarkFREMARKnvarchar5102550(' ')
发票类型FInvoiceTypeInvoiceTypeFINVOICETYPEnvarchar40200(' ')
认证状态FConfirmStatusConfirmStatusFCONFIRMSTATUSnvarchar40200(' ')
索引
名称类型字段
PK_IV_AUTORECINVPARAENTRYCLUSTEREDFENTRYID
IDX_IV_AUTORECPARAENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_AUTORECINVPARAENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_AUTORECINVPARAENTRY主键约束FENTRYID
DF__T_IV_AUTO__FINVO__4F2204F8默认值约束FINVOICETYPE(' ')
DF__T_IV_AUTO__FCONF__50162931默认值约束FCONFIRMSTATUS(' ')
DF__T_IV_AUTO__FENTR__67F0AE54默认值约束FENTRYID((0))
DF__T_IV_AUTORE__FID__68E4D28D默认值约束FID((0))
DF__T_IV_AUTOR__FSEQ__69D8F6C6默认值约束FSEQ((0))
DF__T_IV_AUTO__FORGI__6ACD1AFF默认值约束FORGID((0))
DF__T_IV_AUTO__FTAXN__6BC13F38默认值约束FTAXNUMBER(' ')
DF__T_IV_AUTO__FRANG__6CB56371默认值约束FRANGE(' ')
DF__T_IV_AUTO__FREMA__6DA987AA默认值约束FREMARK(' ')

1.1.5 发票业务单据模板

1.1.6 (已弃用)物料对应表

(已弃用)物料对应表-单据头

概述
表名称实体名称ORM实体名
T_IV_CORRESPONDTABLE单据头FBillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
数据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
禁用状态FForbidStatusForbidStatusFFORBIDSTATUSchar110(' ')
编码FNumberNumberFNUMBERnvarchar5102550(' ')
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
创建人FCreatorIdCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
审核人FAuditorIDFAuditorIDFAUDITORIDint4100((0))
审核日期FAuditDateFAuditDateFAUDITDATEdatetime8233
禁用日期FFORBIDDATEFFORBIDDATEFFORBIDDATEdatetime8233
禁用人FFORBIDERIDFFORBIDERIDFFORBIDERIDint4100((0))
创建组织FCreateOrgIdFCreateOrgIdFCREATEORGIDint4100((0))
使用组织FUseOrgIdFUseOrgIdFUSEORGIDint4100((0))
系统预置FIsSysPresetFIsSysPresetFISSYSPRESETchar110('0')
结算组织FSettleOrgIdFSettleOrgIdFSETTLEORGIDint4100((0))
电子发票销货方名称FSupplierNameFSupplierNameFSUPPLIERNAMEnvarchar5102550(' ')
供应商FSupplierFSupplierFSUPPLIERint4100((0))
仅本供应商可以使用FNoShareFNoShareFNOSHAREchar110('0')
索引
名称类型字段
PK_IV_CORRESPONDTABLECLUSTEREDFCORRETABLEID
IDX_IV_CORRETABLE_FNUMBERNONCLUSTEREDFNUMBER
主外键
名称类型字段
PK_IV_CORRESPONDTABLEPKFCORRETABLEID
触发器
约束
名称类型字段描述
PK_IV_CORRESPONDTABLE主键约束FCORRETABLEID
DF__T_IV_CORR__FCORR__5F825829默认值约束FCORRETABLEID((0))
DF__T_IV_CORR__FMAST__60767C62默认值约束FMASTERID((0))
DF__T_IV_CORR__FNUMB__616AA09B默认值约束FNUMBER(' ')
DF__T_IV_CORR__FDOCU__625EC4D4默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_CORR__FFORB__6352E90D默认值约束FFORBIDSTATUS(' ')
DF__T_IV_CORR__FCREA__64470D46默认值约束FCREATEORGID((0))
DF__T_IV_CORR__FUSEO__653B317F默认值约束FUSEORGID((0))
DF__T_IV_CORR__FCREA__662F55B8默认值约束FCREATORID((0))
DF__T_IV_CORR__FMODI__672379F1默认值约束FMODIFIERID((0))
DF__T_IV_CORR__FAUDI__68179E2A默认值约束FAUDITORID((0))
DF__T_IV_CORR__FFORB__690BC263默认值约束FFORBIDERID((0))
DF__T_IV_CORR__FISSY__69FFE69C默认值约束FISSYSPRESET('0')
DF__T_IV_CORR__FSETT__6AF40AD5默认值约束FSETTLEORGID((0))
DF__T_IV_CORR__FSUPP__6BE82F0E默认值约束FSUPPLIER((0))
DF__T_IV_CORR__FSUPP__6CDC5347默认值约束FSUPPLIERNAME(' ')
DF__T_IV_CORR__FNOSH__6DD07780默认值约束FNOSHARE('0')

(已弃用)物料对应表-单据头_L

概述
表名称实体名称ORM实体名
T_IV_CORRESPONDTABLE_L单据头FBillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
名称FNameNameFNAMEnvarchar5102550(' ')
描述FDescriptionDescriptionFDESCRIPTIONnvarchar5102550
索引
名称类型字段
PK_IV_CORRESPONDTABLE_LCLUSTEREDFPKID
IDX_IV_CT_L_FCORRETABLEIDNONCLUSTEREDFCORRETABLEID
主外键
名称类型字段
PK_IV_CORRESPONDTABLE_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_CORRESPONDTABLE_L主键约束FPKID
DF__T_IV_CORR__FPKID__7665BD81默认值约束FPKID((0))
DF__T_IV_CORR__FCORR__7759E1BA默认值约束FCORRETABLEID((0))
DF__T_IV_CORR__FLOCA__784E05F3默认值约束FLOCALEID((0))
DF__T_IV_CORR__FNAME__79422A2C默认值约束FNAME(' ')

(已弃用)物料对应表-单据体

概述
表名称实体名称ORM实体名
T_IV_CORRESPONDTABLEENTRY单据体FEntity
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
是否物料FIsMaterialFIsMaterialFISMATERIALchar110('1')
物料FMaterialIdFMaterialIdFMATERIALIDint4100((0))
费用项目FExpenseIdFExpenseIdFEXPENSEIDint4100((0))
商品名称FGoodsNameFGoodsNameFGOODSNAMEnvarchar5102550(' ')
索引
名称类型字段
PK_IV_CORRESPONDTABLEENTRYCLUSTEREDFENTRYID
IDX_IV_CTE_FCORRETABLEIDNONCLUSTEREDFCORRETABLEID
主外键
名称类型字段
PK_IV_CORRESPONDTABLEENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_CORRESPONDTABLEENTRY主键约束FENTRYID
DF__T_IV_CORR__FENTR__6FB8BFF2默认值约束FENTRYID((0))
DF__T_IV_CORR__FCORR__70ACE42B默认值约束FCORRETABLEID((0))
DF__T_IV_CORR__FISMA__71A10864默认值约束FISMATERIAL('1')
DF__T_IV_CORR__FMATE__72952C9D默认值约束FMATERIALID((0))
DF__T_IV_CORR__FEXPE__738950D6默认值约束FEXPENSEID((0))
DF__T_IV_CORR__FGOOD__747D750F默认值约束FGOODSNAME(' ')

1.1.7 金税开票单

金税开票单-单据头

概述
表名称实体名称ORM实体名
T_IV_GTINVOICE单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar160800(' ')
数据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
购货方名称FPURNAMEPURNAMEFPURNAMEnvarchar5102550(' ')
购货方纳税识别号FPURTAXNUMBERPURTAXNUMBERFPURTAXNUMBERnvarchar5102550(' ')
购货方地址电话FPURMAILINFOPURMAILINFOFPURMAILINFOnvarchar5102550(' ')
购货方开户行及账号FPURBANKINFOPURBANKINFOFPURBANKINFOnvarchar5102550(' ')
不含税金额FSUMAMOUNTSUMAMOUNTFSUMAMOUNTdecimal132310((0))
税额FSUMTAXAMOUNTSUMTAXAMOUNTFSUMTAXAMOUNTdecimal132310((0))
价税合计FSUMALLAMOUNTSUMALLAMOUNTFSUMALLAMOUNTdecimal132310((0))
发票种类FINVOICEKINDINVOICEKINDFINVOICEKINDchar110(' ')
发票类型FINVOICETYPEINVOICETYPEFINVOICETYPEchar110(' ')
含税标识FINCLUDETAXINCLUDETAXFINCLUDETAXchar110(' ')
开票日期FINVOICEDATEINVOICEDATEFINVOICEDATEdatetime8233
销售方名称FSALENAMESALENAMEFSALENAMEnvarchar5102550(' ')
销售方纳税人识别号FSALETAXNUMBERSALETAXNUMBERFSALETAXNUMBERnvarchar5102550(' ')
销售方地址电话FSALEMAILINFOSALEMAILINFOFSALEMAILINFOnvarchar5102550(' ')
销售方开户行及账号FSALEBANKINFOSALEBANKINFOFSALEBANKINFOnvarchar5102550(' ')
开票人FDRAWERDRAWERFDRAWERnvarchar100500(' ')
收款人FPAYEEPAYEEFPAYEEnvarchar100500(' ')
复核人FREVIEWERREVIEWERFREVIEWERnvarchar100500(' ')
原发票代码FSOURCEIVCODESOURCEIVCODEFSOURCEIVCODEnvarchar100500(' ')
原发票号码FSOURCEIVNUMBERSOURCEIVNUMBERFSOURCEIVNUMBERnvarchar100500(' ')
备注FREMARKREMARKFREMARKnvarchar5102550(' ')
币别FCURRENCYIDCURRENCYIDFCURRENCYIDint4100((0))
创建人FCreatorIdFCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233(getdate())
来源组织FSOURCEORGIDSOURCEORGIDFSOURCEORGIDint4100((0))
发票代码FIVCODEIVCODEFIVCODEnvarchar100500(' ')
发票号码FIVNUMBERIVNUMBERFIVNUMBERnvarchar100500(' ')
是否作废(已弃用)FISINVALIDISINVALIDFISINVALIDchar110('0')
作废日期FINVALIDDATEINVALIDDATEFINVALIDDATEdatetime8233
清单标识FHAVEIVLISTHAVEIVLISTFHAVEIVLISTchar110('0')
开票流水号FSerialNumberSERIALNUMBERFSERIALNUMBERnvarchar100500(' ')
原开票流水号FSOURCESERIALNUMSOURCESERIALNUMFSOURCESERIALNUMnvarchar100500(' ')
购货方收票手机号FPURPHONENUMBERPURPHONENUMBERFPURPHONENUMBERnvarchar100500(' ')
开票类型FTYPETYPEFTYPEchar110('0')
金税盘机号FGTDISKNUMBERGTDISKNUMBERFGTDISKNUMBERnvarchar100500(' ')
信息表编号FINFOTABLENUMBERINFOTABLENUMBERFINFOTABLENUMBERnvarchar5102550(' ')
开票状态FGTSTATUSGTSTATUSFGTSTATUSchar110('0')
是否拆分产生FISGENERATEDBYSPLITISGENERATEDBYSPLITFISGENERATEDBYSPLITchar110('0')
收购发票标识FPURCHASEINVOICEMARKPURCHASEINVOICEMARKFPURCHASEINVOICEMARKchar110('0')
购货方电子邮箱FPUREMAILPUREMAILFPUREMAILnvarchar5102550(' ')
校验码FCHECKCODECHECKCODEFCHECKCODEvarchar1001000(' ')
已重新生成FISREBUILDISREBUILDFISREBUILDchar110(' ')
上游单据内码FSRCBILLIDSRCBILLIDFSRCBILLIDint4100((0))
打印发票次数FGTPRINTCOUNTFGTPRINTCOUNTFGTPRINTCOUNTint4100((0))
打印发票时间FGTPRINTTIMEGTPRINTTIMEFGTPRINTTIMEdatetime8233
打印清单次数FGTPRINTLISTCOUNTGTPRINTLISTCOUNTFGTPRINTLISTCOUNTint4100((0))
打印清单时间FGTPRINTLISTTIMEGTPRINTLISTTIMEFGTPRINTLISTTIMEdatetime8233
电子发票地址FPDFURLPDFURLFPDFURLnvarchar5102550(' ')
离线开票标识FRESFLAGFRESFLAGFRESFLAGchar110('0')
税控设备类型FTAXSERVICEPROVIDERTAXSERVICEPROVIDERFTAXSERVICEPROVIDERvarchar20200(' ')
原蓝字发票类型FSOURCEIVTYPESOURCEIVTYPEFSOURCEIVTYPEvarchar20200(' ')
冲红原因FRUSHREDREASONRUSHREDREASONFRUSHREDREASONvarchar20200(' ')
原蓝票填开日期FSOURCEIVDATESOURCEIVDATEFSOURCEIVDATEdatetime8233
索引
名称类型字段
PK_IV_GTINVOICECLUSTEREDFID
IDX_IV_GTINVOICE_FBILLNONONCLUSTEREDFBILLNO
IDX_IV_GTINVOICE_FIVDATENONCLUSTEREDFINVOICEDATE
主外键
名称类型字段
PK_IV_GTINVOICEPKFID
触发器
约束
名称类型字段描述
PK_IV_GTINVOICE主键约束FID
DF__T_IV_GTIN__FISGE__01E655D8默认值约束FISGENERATEDBYSPLIT('0')
DF__T_IV_GTIN__FGTST__02DA7A11默认值约束FGTSTATUS('0')
DF__T_IV_GTIN__FPDFU__208711A0默认值约束FPDFURL(' ')
DF__T_IV_GTIN__FGTPR__263FEAF6默认值约束FGTPRINTCOUNT((0))
DF__T_IV_GTIN__FGTPR__27340F2F默认值约束FGTPRINTLISTCOUNT((0))
DF__T_IV_GTIN__FINFO__33D1EBD0默认值约束FINFOTABLENUMBER(' ')
DF__T_IV_GTIN__FRESF__3A9E4B63默认值约束FRESFLAG('0')
DF__T_IV_GTINVO__FID__3ECB6FD4默认值约束FID((0))
DF__T_IV_GTIN__FBILL__3FBF940D默认值约束FBILLNO(' ')
DF__T_IV_GTIN__FDOCU__40B3B846默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_GTIN__FPURN__41A7DC7F默认值约束FPURNAME(' ')
DF__T_IV_GTIN__FPURT__429C00B8默认值约束FPURTAXNUMBER(' ')
DF__T_IV_GTIN__FPURM__439024F1默认值约束FPURMAILINFO(' ')
DF__T_IV_GTIN__FPURB__4484492A默认值约束FPURBANKINFO(' ')
DF__T_IV_GTIN__FISRE__44EE8F48默认值约束FISREBUILD(' ')
DF__T_IV_GTIN__FSUMA__45786D63默认值约束FSUMAMOUNT((0))
DF__T_IV_GTIN__FSRCB__45E2B381默认值约束FSRCBILLID((0))
DF__T_IV_GTIN__FSUMT__466C919C默认值约束FSUMTAXAMOUNT((0))
DF__T_IV_GTIN__FSUMA__4760B5D5默认值约束FSUMALLAMOUNT((0))
DF__T_IV_GTIN__FSOUR__4854DA0E默认值约束FSOURCEORGID((0))
DF__T_IV_GTIN__FCURR__4948FE47默认值约束FCURRENCYID((0))
DF__T_IV_GTIN__FINVO__4A3D2280默认值约束FINVOICEKIND(' ')
DF__T_IV_GTIN__FINVO__4B3146B9默认值约束FINVOICETYPE(' ')
DF__T_IV_GTIN__FINCL__4C256AF2默认值约束FINCLUDETAX(' ')
DF__T_IV_GTIN__FSALE__4D198F2B默认值约束FSALENAME(' ')
DF__T_IV_GTIN__FSALE__4E0DB364默认值约束FSALETAXNUMBER(' ')
DF__T_IV_GTIN__FSALE__4F01D79D默认值约束FSALEMAILINFO(' ')
DF__T_IV_GTIN__FCHEC__4FD3D00A默认值约束FCHECKCODE(' ')
DF__T_IV_GTIN__FSALE__4FF5FBD6默认值约束FSALEBANKINFO(' ')
DF__T_IV_GTIN__FDRAW__50EA200F默认值约束FDRAWER(' ')
DF__T_IV_GTIN__FPAYE__51DE4448默认值约束FPAYEE(' ')
DF__T_IV_GTIN__FREVI__52D26881默认值约束FREVIEWER(' ')
DF__T_IV_GTIN__FSOUR__53C68CBA默认值约束FSOURCEIVCODE(' ')
DF__T_IV_GTIN__FSOUR__54BAB0F3默认值约束FSOURCEIVNUMBER(' ')
DF__T_IV_GTIN__FREMA__55AED52C默认值约束FREMARK(' ')
DF__T_IV_GTIN__FPURC__55D2C970默认值约束FPURCHASEINVOICEMARK('0')
DF__T_IV_GTIN__FCREA__56A2F965默认值约束FCREATORID((0))
DF__T_IV_GTIN__FCREA__57971D9E默认值约束FCREATEDATE(getdate())
DF__T_IV_GTIN__FIVCO__588B41D7默认值约束FIVCODE(' ')
DF__T_IV_GTIN__FIVNU__597F6610默认值约束FIVNUMBER(' ')
DF__T_IV_GTIN__FISIN__5A738A49默认值约束FISINVALID('0')
DF__T_IV_GTIN__FHAVE__5B67AE82默认值约束FHAVEIVLIST('0')
DF__T_IV_GTIN__FPURE__69D9C21D默认值约束FPUREMAIL(' ')
DF__T_IV_GTIN__FTAXS__7337AA41默认值约束FTAXSERVICEPROVIDER(' ')
DF__T_IV_GTIN__FSOUR__74E0CEDC默认值约束FSOURCEIVTYPE(' ')
DF__T_IV_GTIN__FRUSH__75D4F315默认值约束FRUSHREDREASON(' ')
DF__T_IV_GTIN__FSERI__7ACB4B42默认值约束FSERIALNUMBER(' ')
DF__T_IV_GTIN__FSOUR__7BBF6F7B默认值约束FSOURCESERIALNUM(' ')
DF__T_IV_GTIN__FPURP__7CB393B4默认值约束FPURPHONENUMBER(' ')
DF__T_IV_GTIN__FTYPE__7DA7B7ED默认值约束FTYPE('0')
DF__T_IV_GTIN__FGTDI__7E31C7D2默认值约束FGTDISKNUMBER(' ')

金税开票单-单据体

概述
表名称实体名称ORM实体名
T_IV_GTINVOICEENTRY单据体Entity
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
税目FTAXITEMTAXITEMFTAXITEMnvarchar2001000(' ')
项目名称FITEMNAMEITEMNAMEFITEMNAMEnvarchar2001000(' ')
单位FUNITUNITFUNITnvarchar100500(' ')
规格FSPECIFICATIONSSPECIFICATIONSFSPECIFICATIONSnvarchar100500(' ')
数量FQTYQTYFQTYdecimal132310((0))
单价FPRICEPRICEFPRICEdecimal132310((0))
金额FAMOUNTAMOUNTFAMOUNTdecimal132310((0))
税额FTAXAMOUNTTAXAMOUNTFTAXAMOUNTdecimal132310((0))
源单类型FSourceBillTypeFSourceBillTypeFSOURCEBILLTYPEvarchar36360(' ')
源单编号FSourceBillNoFSourceBillNoFSOURCEBILLNOnvarchar160800(' ')
项目类型FISDISCOUNTISDISCOUNTFISDISCOUNTchar110(' ')
税收分类编码_基础资料FTAXCODEIDTAXCODEIDFTAXCODEIDint4100((0))
税收分类编码FTAXCODETAXCODEFTAXCODEnvarchar100500(' ')
税收优惠政策FTAXPOLICYTAXPOLICYFTAXPOLICYnvarchar5102550(' ')
版本FVERSIONVERSIONFVERSIONnvarchar100500(' ')
折扣额FDISCOUNTAMOUNTDISCOUNTAMOUNTFDISCOUNTAMOUNTdecimal132310((0))
税率(%)FTAXRATETAXRATEFTAXRATEdecimal132310((0))
源单不含税单价(用于单据转换)FSRCNOTAXPRICESRCNOTAXPRICEFSRCNOTAXPRICEdecimal132310((0))
数量精度FQTYPRECISIONQTYPRECISIONFQTYPRECISIONint4100((0))
免征额FDEDUCTIONDEDUCTIONFDEDUCTIONdecimal132310((0))
免征税额FTAXDEDUCTIONTAXDEDUCTIONFTAXDEDUCTIONdecimal132310((0))
税收分类简称FTAXCODEABBREVIATIONTAXCODEABBREVIATIONFTAXCODEABBREVIATIONnvarchar100500(' ')
源单含税单价(用于单据转换)FSRCTAXPRICESRCTAXPRICEFSRCTAXPRICEdecimal132310((0))
索引
名称类型字段
PK_IV_GTINVOICEENTRYCLUSTEREDFENTRYID
IDX_IV_GTINVOICEENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_GTINVOICEENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_GTINVOICEENTRY主键约束FENTRYID
DF__T_IV_GTIN__FENTR__0D341440默认值约束FENTRYID((0))
DF__T_IV_GTINVO__FID__0E283879默认值约束FID((0))
DF__T_IV_GTIN__FSOUR__0F1C5CB2默认值约束FSOURCEBILLTYPE(' ')
DF__T_IV_GTIN__FSOUR__101080EB默认值约束FSOURCEBILLNO(' ')
DF__T_IV_GTINV__FSEQ__1104A524默认值约束FSEQ((0))
DF__T_IV_GTIN__FTAXI__11F8C95D默认值约束FTAXITEM(' ')
DF__T_IV_GTIN__FISDI__12ECED96默认值约束FISDISCOUNT(' ')
DF__T_IV_GTIN__FITEM__13E111CF默认值约束FITEMNAME(' ')
DF__T_IV_GTIN__FUNIT__14D53608默认值约束FUNIT(' ')
DF__T_IV_GTIN__FSPEC__15C95A41默认值约束FSPECIFICATIONS(' ')
DF__T_IV_GTINV__FQTY__16BD7E7A默认值约束FQTY((0))
DF__T_IV_GTIN__FPRIC__17B1A2B3默认值约束FPRICE((0))
DF__T_IV_GTIN__FTAXC__185E41F8默认值约束FTAXCODEABBREVIATION(' ')
DF__T_IV_GTIN__FAMOU__18A5C6EC默认值约束FAMOUNT((0))
DF__T_IV_GTIN__FTAXA__1A8E0F5E默认值约束FTAXAMOUNT((0))
DF__T_IV_GTIN__FTAXR__1999EB25默认值约束FTAXRATE((0))
DF__T_IV_GTIN__FDEDU__58AF361B默认值约束FDEDUCTION((0))
DF__T_IV_GTIN__FTAXD__59A35A54默认值约束FTAXDEDUCTION((0))
DF__T_IV_GTIN__FQTYP__5C7FC6FF默认值约束FQTYPRECISION((0))
DF__T_IV_GTIN__FSRCT__601ABC20默认值约束FSRCTAXPRICE((0))
DF__T_IV_GTIN__FSRCN__604F8C8C默认值约束FSRCNOTAXPRICE((0))
DF__T_IV_GTIN__FDISC__6936AAEC默认值约束FDISCOUNTAMOUNT((0))
DF__T_IV_GTIN__FTAXC__6A3FDDBE默认值约束FTAXCODE(' ')
DF__T_IV_GTIN__FTAXP__6B3401F7默认值约束FTAXPOLICY(' ')
DF__T_IV_GTIN__FVERS__6C282630默认值约束FVERSION(' ')
DF__T_IV_GTIN__FTAXC__6D1C4A69默认值约束FTAXCODEID((0))

金税开票单-关联关系表

概述
表名称实体名称ORM实体名
T_IV_GTINVOICEENTRY_LK关联关系表FEntity_Link
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值
业务流程图FEntity_Link_FFlowIdFlowIdFFLOWIDvarchar36360(' ')
推进路线FEntity_Link_FFlowLineIdFlowLineIdFFLOWLINEIDint4100((0))
转换规则FEntity_Link_FRuleIdRuleIdFRULEIDvarchar36360(' ')
源单表内码FEntity_Link_FSTableIdSTableIdFSTABLEIDint4100((0))
源单表FEntity_Link_FSTableNameSTableNameFSTABLENAMEvarchar30300(' ')
源单内码FEntity_Link_FSBillIdSBillIdFSBILLIDint4100((0))
源单分录内码FEntity_Link_FSIdSIdFSIDint4100((0))
索引
名称类型字段
PK_IV_GTINVOICEENTRY_LKCLUSTEREDFLINKID
IDX_IV_GTINVOICEENTRY_LKNONCLUSTEREDFSBILLIDFSIDFENTRYID
IDX_IV_GTINVOICEENTRY_LK_EIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_IV_GTINVOICEENTRY_LKPKFLINKID
触发器
约束
名称类型字段描述
PK_IV_GTINVOICEENTRY_LK主键约束FLINKID
DF__T_IV_GTIN__FLINK__1C7657D0默认值约束FLINKID((0))
DF__T_IV_GTIN__FSTAB__1D6A7C09默认值约束FSTABLEID((0))
DF__T_IV_GTIN__FSBIL__1E5EA042默认值约束FSBILLID((0))
DF__T_IV_GTINV__FSID__1F52C47B默认值约束FSID((0))
DF__T_IV_GTIN__FENTR__2046E8B4默认值约束FENTRYID((0))
DF__T_IV_GTIN__FIVLN__213B0CED默认值约束FIVLNKTRACKERID(' ')
DF__T_IV_GTIN__FIVLN__222F3126默认值约束FIVLNKSSTATE(' ')
DF__T_IV_GTIN__FIVLN__2323555F默认值约束FIVLNKAMOUNT((0))
DF__T_IV_GTIN__FRECL__24177998默认值约束FRECLNKTRACKERID(' ')
DF__T_IV_GTIN__FRECL__250B9DD1默认值约束FRECLNKSSTATE(' ')
DF__T_IV_GTIN__FRECL__25FFC20A默认值约束FRECLNKAMOUNT((0))
DF__T_IV_GTIN__FFLOW__26F3E643默认值约束FFLOWID(' ')
DF__T_IV_GTIN__FFLOW__27E80A7C默认值约束FFLOWLINEID((0))
DF__T_IV_GTIN__FRULE__28DC2EB5默认值约束FRULEID(' ')
DF__T_IV_GTIN__FSTAB__29D052EE默认值约束FSTABLENAME(' ')
DF__T_IV_GTIN__FALLA__2AC47727默认值约束FALLAMOUNTFOROLD((0))
DF__T_IV_GTIN__FALLA__2BB89B60默认值约束FALLAMOUNTFOR((0))

1.1.8 金税连接设置

金税连接设置-单据头

概述
表名称实体名称ORM实体名
T_IV_GTSETTING单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar160800(' ')
数据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
开票地址示例:FEXAMPLEURLEXAMPLEURLFEXAMPLEURLnvarchar5102550(' ')
收票地址示例:FEXAMPLEURLFORRECEIVEEXAMPLEURLFORRECEIVEFEXAMPLEURLFORRECEIVEnvarchar5102550(' ')
(已移到表体)票无忧ClientIdFPiaozoneClientIdPiaozoneClientIdFPIAOZONECLIENTIDnvarchar5102550(' ')
百望盘校验范围:FBWAMOUNTDIFFRANGEBWAMOUNTDIFFRANGEFBWAMOUNTDIFFRANGEdecimal132310((0))
航信盘校验范围:FHXAMOUNTDIFFRANGEHXAMOUNTDIFFRANGEFHXAMOUNTDIFFRANGEdecimal132310((0))
税务ukey盘校验范围:FUKeyAMOUNTDIFFRANGEFUKeyAMOUNTDIFFRANGEFUKEYAMOUNTDIFFRANGEdecimal132310((0))
全电发票校验范围:FQDAMOUNTDIFFRANGEQDAMOUNTDIFFRANGEFQDAMOUNTDIFFRANGEdecimal132310((0))
全电发票校验范围:FQDTAXAMOUNTDIFFRANGEQDTAXAMOUNTDIFFRANGEFQDTAXAMOUNTDIFFRANGEdecimal132310((0))
税务ukey盘校验范围:FUKeyTAXAMOUNTDIFFRANGEUKeyTAXAMOUNTDIFFRANGEFUKEYTAXAMOUNTDIFFRANGEdecimal132310((0))
百望盘校验范围:FBWTAXAMOUNTDIFFRANGEBWTAXAMOUNTDIFFRANGEFBWTAXAMOUNTDIFFRANGEdecimal132310((0))
航信盘校验范围:FHXTAXAMOUNTDIFFRANGEHXTAXAMOUNTDIFFRANGEFHXTAXAMOUNTDIFFRANGEdecimal132310((0))
校验公式的计算结果,保留至小数点后FKPQSRULEKPQSRULEFKPQSRULEchar110('0')
保留几位小数FRoundNumberRoundNumberFROUNDNUMBERint4100((0))
索引
名称类型字段
PK_IV_GTSETTINGCLUSTEREDFID
主外键
名称类型字段
PK_IV_GTSETTINGPKFID
触发器
约束
名称类型字段描述
PK_IV_GTSETTING主键约束FID
DF__T_IV_GTSE__FEXAM__00CE3D5B默认值约束FEXAMPLEURL(' ')
DF__T_IV_GTSE__FBWAM__2A4A8AEC默认值约束FBWAMOUNTDIFFRANGE((0))
DF__T_IV_GTSE__FHXAM__2B3EAF25默认值约束FHXAMOUNTDIFFRANGE((0))
DF__T_IV_GTSE__FQDAM__2C32D35E默认值约束FQDAMOUNTDIFFRANGE((0))
DF__T_IV_GTSE__FUKEY__2D26F797默认值约束FUKEYAMOUNTDIFFRANGE((0))
DF__T_IV_GTSE__FBWTA__2E1B1BD0默认值约束FBWTAXAMOUNTDIFFRANGE((0))
DF__T_IV_GTSE__FHXTA__2F0F4009默认值约束FHXTAXAMOUNTDIFFRANGE((0))
DF__T_IV_GTSE__FUKEY__30036442默认值约束FUKEYTAXAMOUNTDIFFRANGE((0))
DF__T_IV_GTSE__FQDTA__30F7887B默认值约束FQDTAXAMOUNTDIFFRANGE((0))
DF__T_IV_GTSE__FKPQS__31EBACB4默认值约束FKPQSRULE('0')
DF__T_IV_GTSE__FROUN__32DFD0ED默认值约束FROUNDNUMBER((0))
DF__T_IV_GTSE__FEXAM__56FB2C7C默认值约束FEXAMPLEURLFORRECEIVE(' ')
DF__T_IV_GTSE__FPIAO__7BC29CD7默认值约束FPIAOZONECLIENTID(' ')
DF__T_IV_GTSETT__FID__7DF1D0B0默认值约束FID((0))
DF__T_IV_GTSE__FBILL__7EE5F4E9默认值约束FBILLNO(' ')
DF__T_IV_GTSE__FDOCU__7FDA1922默认值约束FDOCUMENTSTATUS(' ')

金税连接设置-连接设置

概述
表名称实体名称ORM实体名
T_IV_GTSETTINGENTRY连接设置Entity
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
业务组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
开票地址FGTURLGTURLFGTURLnvarchar5102550(' ')
企业名称FCOMPANYNAMECOMPANYNAMEFCOMPANYNAMEnvarchar5102550(' ')
纳税人识别号FTAXNUMBERTAXNUMBERFTAXNUMBERnvarchar5102550(' ')
企业地址电话FMAILINFOMAILINFOFMAILINFOnvarchar5102550(' ')
企业开户行及账号FBANKINFOBANKINFOFBANKINFOnvarchar5102550(' ')
CA密码FCACODECACODEFCACODEnvarchar5102550(' ')
专票开票限额FICLIMITICLIMITFICLIMITdecimal132310((0))
普票开票限额FOCLIMITOCLIMITFOCLIMITdecimal132310((0))
电子发票对应企业TIDFTIDTIDFTIDnvarchar100500(' ')
电子发票对应企业FTNAMETNAMEFTNAMEnvarchar5102550(' ')
金税盘机号FGTDISKNUMBERGTDISKNUMBERFGTDISKNUMBERnvarchar100500(' ')
是否主盘FISMAINDISKISMAINDISKFISMAINDISKchar110('1')
金税盘名称FDISKNAMEDISKNAMEFDISKNAMEnvarchar5102550(' ')
收票地址FRECEIVEURLRECEIVEURLFRECEIVEURLnvarchar5102550(' ')
税盘登记地址FREGISTERADDRESSREGISTERADDRESSFREGISTERADDRESSnvarchar100500(' ')
税务平台密码FTAXPLATFORMPASSTAXPLATFORMPASSFTAXPLATFORMPASSnvarchar100500(' ')
税盘设备编号FDEVICENUMBERDEVICENUMBERFDEVICENUMBERnvarchar5102550(' ')
发票云ClientIdFPIAOZONECLIENTID_EPIAOZONECLIENTID_EFPIAOZONECLIENTIDnvarchar5102550(' ')
发票云ClientSecretFPIAOZONECLIENTSECRET_EPIAOZONECLIENTSECRET_EFPIAOZONECLIENTSECRETnvarchar5102550(' ')
发票云加密密钥FPIAOZONEENCRYPTKEYPIAOZONEENCRYPTKEYFPIAOZONEENCRYPTKEYnvarchar100500(' ')
税控设备类型FTAXSERVICEPROVIDERTAXSERVICEPROVIDERFTAXSERVICEPROVIDERvarchar20200('HTXX')
开票限行FLINELIMITLINELIMITFLINELIMITint4100((0))
无盘收票FISNOTAXDISKISNOTAXDISKFISNOTAXDISKchar110('0')
电子普票开票限额FELECTRICOCLIMITELECTRICOCLIMITFELECTRICOCLIMITdecimal132310((0))
电子专票开票限额FELECTRICICLIMITELECTRICICLIMITFELECTRICICLIMITdecimal132310((0))
是否托管电票FISDEPOSITISDEPOSITFISDEPOSITchar110('1')
显示发票卷FSHOWINVOICEVOLUMESHOWINVOICEVOLUMEFSHOWINVOICEVOLUMEchar110('0')
启动全电发票FIsQdElectronicIVFIsQdElectronicIVFISQDELECTRONICIVchar110('0')
索引
名称类型字段
PK_IV_GTSETTINGENTRYCLUSTEREDFENTRYID
IDX_IV_GTSETTINGENTRY_FORGIDNONCLUSTEREDFSETTLEORGID
主外键
名称类型字段
PK_IV_GTSETTINGENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_GTSETTINGENTRY主键约束FENTRYID
DF__T_IV_GTSE__FGTDI__010E347D默认值约束FGTDISKNUMBER(' ')
DF__T_IV_GTSE__FISMA__020258B6默认值约束FISMAINDISK('1')
DF__T_IV_GTSE__FENTR__02B685CD默认值约束FENTRYID((0))
DF__T_IV_GTSE__FDISK__02F67CEF默认值约束FDISKNAME(' ')
DF__T_IV_GTSETT__FID__03AAAA06默认值约束FID((0))
DF__T_IV_GTSET__FSEQ__049ECE3F默认值约束FSEQ((0))
DF__T_IV_GTSE__FSETT__0592F278默认值约束FSETTLEORGID((0))
DF__T_IV_GTSE__FGTUR__068716B1默认值约束FGTURL(' ')
DF__T_IV_GTSE__FCOMP__077B3AEA默认值约束FCOMPANYNAME(' ')
DF__T_IV_GTSE__FTAXN__086F5F23默认值约束FTAXNUMBER(' ')
DF__T_IV_GTSE__FMAIL__0963835C默认值约束FMAILINFO(' ')
DF__T_IV_GTSE__FTAXS__098777A0默认值约束FTAXSERVICEPROVIDER('HTXX')
DF__T_IV_GTSE__FOCLI__0A229D6B默认值约束FOCLIMIT((0))
DF__T_IV_GTSE__FBANK__0A57A795默认值约束FBANKINFO(' ')
DF__T_IV_GTSE__FICLI__0B16C1A4默认值约束FICLIMIT((0))
DF__T_IV_GTSE__FCACO__0B4BCBCE默认值约束FCACODE(' ')
DF__T_IV_GTSE__FELEC__1DAAA4F5默认值约束FELECTRICOCLIMIT((0))
DF__T_IV_GTSE__FELEC__1E9EC92E默认值约束FELECTRICICLIMIT((0))
DF__T_IV_GTSE__FISDE__1F92ED67默认值约束FISDEPOSIT('1')
DF__T_IV_GTSE__FISQD__33D3F526默认值约束FISQDELECTRONICIV('0')
DF__T_IV_GTSE__FDEVI__36AE587B默认值约束FDEVICENUMBER(' ')
DF__T_IV_GTSE__FISNO__4E2DE0BF默认值约束FISNOTAXDISK('0')
DF__T_IV_GTSE__FRECE__57EF50B5默认值约束FRECEIVEURL(' ')
DF__T_IV_GTSE__FREGI__58E374EE默认值约束FREGISTERADDRESS(' ')
DF__T_IV_GTSE__FTAXP__59D79927默认值约束FTAXPLATFORMPASS(' ')
DF__T_IV_GTSE__FSHOW__5FF2F8FF默认值约束FSHOWINVOICEVOLUME('0')
DF__T_IV_GTSE__FPIAO__64801023默认值约束FPIAOZONECLIENTID(' ')
DF__T_IV_GTSE__FPIAO__6574345C默认值约束FPIAOZONECLIENTSECRET(' ')
DF__T_IV_GTSE__FLINE__68E59DE4默认值约束FLINELIMIT((0))
DF__T_IV_GTSET__FTID__78E302D0默认值约束FTID(' ')
DF__T_IV_GTSE__FTNAM__79D72709默认值约束FTNAME(' ')
DF__T_IV_GTSE__FPIAO__7F09E92D默认值约束FPIAOZONEENCRYPTKEY(' ')

金税连接设置-转换规则

概述
表名称实体名称ORM实体名
T_IV_GTSETTINGCONVERT转换规则EntityConvert
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
转换规则&销售增值税专用发票FSALESICCRIDFSALESICCRIDFSALESICCRIDnvarchar100500(' ')
转换规则&销售普通发票FSALESOCCRIDFSALESOCCRIDFSALESOCCRIDnvarchar100500(' ')
转换规则&销项费用普通发票FSALEEXINVCRIDFSALEEXINVCRIDFSALEEXINVCRIDnvarchar100500(' ')
转换规则&销项费用增值税专用发票FSALEEXVATINCRIDFSALEEXVATINCRIDFSALEEXVATINCRIDnvarchar100500(' ')
转换规则&采购普通发票FPURCHASECRIDFPURCHASECRIDFPURCHASECRIDnvarchar100500(' ')
描述FREMARKFREMARKFREMARKnvarchar2001000(' ')
修改人FModifierIdFModifierIdFMODIFIERIDbigint8190((0))
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
索引
名称类型字段
PK_IV_GTSETTINGCONVERTCLUSTEREDFENTRYID
主外键
名称类型字段
PK_IV_GTSETTINGCONVERTPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_GTSETTINGCONVERT主键约束FENTRYID
DF__T_IV_GTSE__FENTR__6D5ED55A默认值约束FENTRYID((0))
DF__T_IV_GTSETT__FID__6E52F993默认值约束FID((0))
DF__T_IV_GTSET__FSEQ__6F471DCC默认值约束FSEQ((0))
DF__T_IV_GTSE__FSALE__703B4205默认值约束FSALESICCRID(' ')
DF__T_IV_GTSE__FSALE__712F663E默认值约束FSALESOCCRID(' ')
DF__T_IV_GTSE__FSALE__72238A77默认值约束FSALEEXINVCRID(' ')
DF__T_IV_GTSE__FSALE__7317AEB0默认值约束FSALEEXVATINCRID(' ')
DF__T_IV_GTSE__FPURC__740BD2E9默认值约束FPURCHASECRID(' ')
DF__T_IV_GTSE__FREMA__74FFF722默认值约束FREMARK(' ')
DF__T_IV_GTSE__FMODI__75F41B5B默认值约束FMODIFIERID((0))

1.1.9 金税连接设置明细(基础资料)

金税连接设置明细(基础资料)-单据头

概述
表名称实体名称ORM实体名
T_IV_GTSETTINGENTRY单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
业务组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
金税盘机号FGTDISKNUMBERGTDISKNUMBERFGTDISKNUMBERnvarchar100500(' ')
金税盘名称FDISKNAMEDISKNAMEFDISKNAMEnvarchar5102550(' ')
是否主盘FISMAINDISKISMAINDISKFISMAINDISKchar110('1')
企业名称FCOMPANYNAMECOMPANYNAMEFCOMPANYNAMEnvarchar5102550(' ')
纳税人识别号FTAXNUMBERTAXNUMBERFTAXNUMBERnvarchar5102550(' ')
税盘设备编号FDEVICENUMBERDEVICENUMBERFDEVICENUMBERnvarchar5102550(' ')
索引
名称类型字段
PK_IV_GTSETTINGENTRYCLUSTEREDFENTRYID
IDX_IV_GTSETTINGENTRY_FORGIDNONCLUSTEREDFSETTLEORGID
主外键
名称类型字段
PK_IV_GTSETTINGENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_GTSETTINGENTRY主键约束FENTRYID
DF__T_IV_GTSE__FGTDI__010E347D默认值约束FGTDISKNUMBER(' ')
DF__T_IV_GTSE__FISMA__020258B6默认值约束FISMAINDISK('1')
DF__T_IV_GTSE__FENTR__02B685CD默认值约束FENTRYID((0))
DF__T_IV_GTSE__FDISK__02F67CEF默认值约束FDISKNAME(' ')
DF__T_IV_GTSETT__FID__03AAAA06默认值约束FID((0))
DF__T_IV_GTSET__FSEQ__049ECE3F默认值约束FSEQ((0))
DF__T_IV_GTSE__FSETT__0592F278默认值约束FSETTLEORGID((0))
DF__T_IV_GTSE__FGTUR__068716B1默认值约束FGTURL(' ')
DF__T_IV_GTSE__FCOMP__077B3AEA默认值约束FCOMPANYNAME(' ')
DF__T_IV_GTSE__FTAXN__086F5F23默认值约束FTAXNUMBER(' ')
DF__T_IV_GTSE__FMAIL__0963835C默认值约束FMAILINFO(' ')
DF__T_IV_GTSE__FTAXS__098777A0默认值约束FTAXSERVICEPROVIDER('HTXX')
DF__T_IV_GTSE__FOCLI__0A229D6B默认值约束FOCLIMIT((0))
DF__T_IV_GTSE__FBANK__0A57A795默认值约束FBANKINFO(' ')
DF__T_IV_GTSE__FICLI__0B16C1A4默认值约束FICLIMIT((0))
DF__T_IV_GTSE__FCACO__0B4BCBCE默认值约束FCACODE(' ')
DF__T_IV_GTSE__FELEC__1DAAA4F5默认值约束FELECTRICOCLIMIT((0))
DF__T_IV_GTSE__FELEC__1E9EC92E默认值约束FELECTRICICLIMIT((0))
DF__T_IV_GTSE__FISDE__1F92ED67默认值约束FISDEPOSIT('1')
DF__T_IV_GTSE__FISQD__33D3F526默认值约束FISQDELECTRONICIV('0')
DF__T_IV_GTSE__FDEVI__36AE587B默认值约束FDEVICENUMBER(' ')
DF__T_IV_GTSE__FISNO__4E2DE0BF默认值约束FISNOTAXDISK('0')
DF__T_IV_GTSE__FRECE__57EF50B5默认值约束FRECEIVEURL(' ')
DF__T_IV_GTSE__FREGI__58E374EE默认值约束FREGISTERADDRESS(' ')
DF__T_IV_GTSE__FTAXP__59D79927默认值约束FTAXPLATFORMPASS(' ')
DF__T_IV_GTSE__FSHOW__5FF2F8FF默认值约束FSHOWINVOICEVOLUME('0')
DF__T_IV_GTSE__FPIAO__64801023默认值约束FPIAOZONECLIENTID(' ')
DF__T_IV_GTSE__FPIAO__6574345C默认值约束FPIAOZONECLIENTSECRET(' ')
DF__T_IV_GTSE__FLINE__68E59DE4默认值约束FLINELIMIT((0))
DF__T_IV_GTSET__FTID__78E302D0默认值约束FTID(' ')
DF__T_IV_GTSE__FTNAM__79D72709默认值约束FTNAME(' ')
DF__T_IV_GTSE__FPIAO__7F09E92D默认值约束FPIAOZONEENCRYPTKEY(' ')

1.1.10 税收分类编码

税收分类编码-单据头

概述
表名称实体名称ORM实体名
T_IV_GTTAXCODE单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
数据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
禁用状态FForbidStatusForbidStatusFFORBIDSTATUSchar110(' ')
编码FNumberNumberFNUMBERnvarchar60300(' ')
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
创建人FCreatorIdCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
税收分类编码FTAXCODETAXCODEFTAXCODEnvarchar100500(' ')
上级编码FPARENTCODEPARENTCODEFPARENTCODEnvarchar100500(' ')
税率FTAXRATETAXRATEFTAXRATEnvarchar100500(' ')
税收优惠政策内容FTAXPOLICYTAXPOLICYFTAXPOLICYnvarchar5102550(' ')
版本FVERSIONVERSIONFVERSIONnvarchar100500(' ')
汇总项FISSUMMARYISSUMMARYFISSUMMARYchar110('0')
系统预置FSYSPRESETSYSPRESETFSYSPRESETchar110('0')
审核日期FAuditDateFAuditDateFAUDITDATEdatetime8233
创建组织FCreateOrgIdFCreateOrgIdFCREATEORGIDint4100((0))
审核人FAuditorIDFAuditorIDFAUDITORIDint4100((0))
使用组织FUseOrgIdFUseOrgIdFUSEORGIDint4100((0))
简称FTAXCODEABBREVIATIONTAXCODEABBREVIATIONFTAXCODEABBREVIATIONnvarchar100500(' ')
索引
名称类型字段
PK_IV_GTTAXCODECLUSTEREDFID
IDX_IV_GTTAXCODE_FNUMBERNONCLUSTEREDFNUMBER
IDX_IV_GTTAXCODE_FTAXCODENONCLUSTEREDFTAXCODE
主外键
名称类型字段
PK_IV_GTTAXCODEPKFID
触发器
约束
名称类型字段描述
PK_IV_GTTAXCODE主键约束FID
DF__T_IV_GTTA__FTAXC__176A1DBF默认值约束FTAXCODEABBREVIATION(' ')
DF__T_IV_GTTAXC__FID__54509C9F默认值约束FID((0))
DF__T_IV_GTTA__FMAST__5544C0D8默认值约束FMASTERID((0))
DF__T_IV_GTTA__FNUMB__5638E511默认值约束FNUMBER(' ')
DF__T_IV_GTTA__FDOCU__572D094A默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_GTTA__FFORB__58212D83默认值约束FFORBIDSTATUS(' ')
DF__T_IV_GTTA__FCREA__591551BC默认值约束FCREATEORGID((0))
DF__T_IV_GTTA__FUSEO__5A0975F5默认值约束FUSEORGID((0))
DF__T_IV_GTTA__FCREA__5AFD9A2E默认值约束FCREATORID((0))
DF__T_IV_GTTA__FMODI__5BF1BE67默认值约束FMODIFIERID((0))
DF__T_IV_GTTA__FAUDI__5CE5E2A0默认值约束FAUDITORID((0))
DF__T_IV_GTTA__FTAXC__5DDA06D9默认值约束FTAXCODE(' ')
DF__T_IV_GTTA__FPARE__5ECE2B12默认值约束FPARENTCODE(' ')
DF__T_IV_GTTA__FTAXR__5FC24F4B默认值约束FTAXRATE(' ')
DF__T_IV_GTTA__FTAXP__60B67384默认值约束FTAXPOLICY(' ')
DF__T_IV_GTTA__FVERS__61AA97BD默认值约束FVERSION(' ')
DF__T_IV_GTTA__FSYSP__629EBBF6默认值约束FSYSPRESET('0')
DF__T_IV_GTTA__FISSU__6392E02F默认值约束FISSUMMARY('0')

税收分类编码-单据头_L

概述
表名称实体名称ORM实体名
T_IV_GTTAXCODE_L单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
名称FNameNameFNAMEnvarchar5102550(' ')
说明FDescriptionDescriptionFDESCRIPTIONnvarchar400020000(' ')
索引
名称类型字段
PK_IV_GTTAXCODE_LCLUSTEREDFPKID
IDX_IV_GTTAXCODE_L_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_GTTAXCODE_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_GTTAXCODE_L主键约束FPKID
DF__T_IV_GTTA__FPKID__657B28A1默认值约束FPKID((0))
DF__T_IV_GTTAXC__FID__666F4CDA默认值约束FID((0))
DF__T_IV_GTTA__FLOCA__67637113默认值约束FLOCALEID((0))
DF__T_IV_GTTA__FNAME__6857954C默认值约束FNAME(' ')
DF__T_IV_GTTA__FDESC__694BB985默认值约束FDESCRIPTION(' ')

1.1.11 匹配应付执行记录

匹配应付执行记录-单据头

概述
表名称实体名称ORM实体名
T_IV_MATCHAPEXRECORD单据头IV_MATCHAPEXRECORD
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
执行时间FExecutetimeExecutetimeFEXECUTETIMEdatetime8233
匹配组织FMatchOrgIdMatchOrgIdFMATCHORGIDint4100((0))
操作用户FOperateUserIdOperateUserIdFOPERATEUSERIDint4100((0))
匹配方式FMatchingModeMatchingModeFMATCHINGMODEchar110(' ')
收票单号FRecInvBillNoRecInvBillNoFRECINVBILLNOnvarchar160800(' ')
发票日期FInvoiceDateInvoiceDateFINVOICEDATEdatetime8233
收票单行数FRecInvEntryRowRecInvEntryRowFRECINVENTRYROWint4100((0))
匹配应付单张数FMatchAPQtyMatchAPQtyFMATCHAPQTYint4100((0))
匹配应付单行数FMatchAPEntryRowMatchAPEntryRowFMATCHAPENTRYROWint4100((0))
收票单匹配字段FRecInvMatchFieldRecInvMatchFieldFRECINVMATCHFIELDnvarchar400020000(' ')
应付单匹配字段FPayBillMatchFieldPayBillMatchFieldFPAYBILLMATCHFIELDnvarchar400020000(' ')
发票反审核FInvoiceUnAuditInvoiceUnAuditFINVOICEUNAUDITnvarchar100500(' ')
匹配状态FMatchStatusMatchStatusFMATCHSTATUSchar110(' ')
备注FRemarksRemarksFREMARKSnvarchar5102550(' ')
匹配方案名称FMatchAPSchemeMatchAPSchemeFMATCHAPSCHEMEint4100((0))
关联单号FRelatedBillNoRelatedBillNoFRELATEDBILLNOnvarchar160800(' ')
索引
名称类型字段
PK_T_IV_MATCHAPEXRECORDCLUSTEREDFID
IDX_IV_MATCHAPEXRECORD_FNONONCLUSTEREDFRECINVBILLNO
主外键
名称类型字段
PK_T_IV_MATCHAPEXRECORDPKFID
触发器
约束
名称类型字段描述
PK_T_IV_MATCHAPEXRECORD主键约束FID
DF__T_IV_MATCHA__FID__05215052默认值约束FID((0))
DF__T_IV_MATC__FMATC__0615748B默认值约束FMATCHORGID((0))
DF__T_IV_MATC__FOPER__070998C4默认值约束FOPERATEUSERID((0))
DF__T_IV_MATC__FMATC__07FDBCFD默认值约束FMATCHINGMODE(' ')
DF__T_IV_MATC__FRECI__08F1E136默认值约束FRECINVBILLNO(' ')
DF__T_IV_MATC__FRECI__09E6056F默认值约束FRECINVENTRYROW((0))
DF__T_IV_MATC__FMATC__0ADA29A8默认值约束FMATCHAPQTY((0))
DF__T_IV_MATC__FMATC__0BCE4DE1默认值约束FMATCHAPENTRYROW((0))
DF__T_IV_MATC__FRECI__0CC2721A默认值约束FRECINVMATCHFIELD(' ')
DF__T_IV_MATC__FPAYB__0DB69653默认值约束FPAYBILLMATCHFIELD(' ')
DF__T_IV_MATC__FMATC__0EAABA8C默认值约束FMATCHSTATUS(' ')
DF__T_IV_MATC__FINVO__0F9EDEC5默认值约束FINVOICEUNAUDIT(' ')
DF__T_IV_MATC__FREMA__109302FE默认值约束FREMARKS(' ')
DF__T_IV_MATC__FMATC__11872737默认值约束FMATCHAPSCHEME((0))
DF__T_IV_MATC__FRELA__127B4B70默认值约束FRELATEDBILLNO(' ')

1.1.12 匹配应付方案

匹配应付方案-单据头

概述
表名称实体名称ORM实体名
T_IV_MATCHAPSCHEME单据头IV_MatchAPScheme
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
数据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
禁用状态FForbidStatusForbidStatusFFORBIDSTATUSchar110(' ')
方案编码FNumberNumberFNUMBERnvarchar60300(' ')
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
创建人FCreatorIdCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
审核日期FAuditDateFAuditDateFAUDITDATEdatetime8233
创建组织FCreateOrgIdFCreateOrgIdFCREATEORGIDint4100((0))
审核人FAuditorIDFAuditorIDFAUDITORIDint4100((0))
默认方案FIsDefaultIsDefaultFISDEFAULTchar110(' ')
禁用人FForbidderIDFForbidderIDFFORBIDDERIDint4100((0))
禁用日期FForbidDateFForbidDateFFORBIDDATEdatetime8233
系统预置FSYSPRESETFSYSPRESETFSYSPRESETchar110(' ')
使用组织FUseOrgIdFUseOrgIdFUSEORGIDint4100((0))
索引
名称类型字段
PK_T_IV_MATCHAPSCHEMECLUSTEREDFID
IDX_IV_MATCHAPSCHEME_FNUMBERNONCLUSTEREDFNUMBER
主外键
名称类型字段
PK_T_IV_MATCHAPSCHEMEPKFID
触发器
约束
名称类型字段描述
PK_T_IV_MATCHAPSCHEME主键约束FID
DF__T_IV_MATCHA__FID__146393E2默认值约束FID((0))
DF__T_IV_MATC__FNUMB__1557B81B默认值约束FNUMBER(' ')
DF__T_IV_MATC__FDOCU__164BDC54默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_MATC__FFORB__1740008D默认值约束FFORBIDSTATUS(' ')
DF__T_IV_MATC__FMODI__183424C6默认值约束FMODIFIERID((0))
DF__T_IV_MATC__FCREA__192848FF默认值约束FCREATORID((0))
DF__T_IV_MATC__FCREA__1A1C6D38默认值约束FCREATEORGID((0))
DF__T_IV_MATC__FUSEO__1B109171默认值约束FUSEORGID((0))
DF__T_IV_MATC__FAUDI__1C04B5AA默认值约束FAUDITORID((0))
DF__T_IV_MATC__FFORB__1CF8D9E3默认值约束FFORBIDDERID((0))
DF__T_IV_MATC__FISDE__1DECFE1C默认值约束FISDEFAULT(' ')
DF__T_IV_MATC__FSYSP__1EE12255默认值约束FSYSPRESET(' ')
DF__T_IV_MATC__FMAST__1FD5468E默认值约束FMASTERID((0))

匹配应付方案-单据头_L

概述
表名称实体名称ORM实体名
T_IV_MATCHAPSCHEME_L单据头IV_MatchAPScheme
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
方案名称FNameNameFNAMEnvarchar5102550(' ')
方案说明FDescriptionDescriptionFDESCRIPTIONnvarchar10245120(' ')
索引
名称类型字段
PK_T_IV_MATCHAPSCHEME_LCLUSTEREDFPKID
IDX_IV_MATCHAPSCHEME_L_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_T_IV_MATCHAPSCHEME_LPKFPKID
触发器
约束
名称类型字段描述
PK_T_IV_MATCHAPSCHEME_L主键约束FPKID
DF__T_IV_MATC__FPKID__21BD8F00默认值约束FPKID((0))
DF__T_IV_MATCHA__FID__22B1B339默认值约束FID((0))
DF__T_IV_MATC__FLOCA__23A5D772默认值约束FLOCALEID((0))
DF__T_IV_MATC__FNAME__2499FBAB默认值约束FNAME(' ')
DF__T_IV_MATC__FDESC__258E1FE4默认值约束FDESCRIPTION(' ')

匹配应付方案-单据体

概述
表名称实体名称ORM实体名
T_IV_MATCHAPSCHEMEENTRY单据体IV_MatchAPSchemeEntry
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
收票单字段FReceiveInvoiceFieldReceiveInvoiceFieldFRECEIVEDINVOICEFIELDvarchar1001000
应付单字段FPayBillFieldPayBillFieldFPAYBILLFIELDvarchar1001000(' ')
是否匹配(已停用)FIsMatchedFsMatchedFISMATCHEDchar110(' ')
索引
名称类型字段
PK_T_IV_MATCHAPSCHEMEENTRYCLUSTEREDFENTRYID
IDX_IV_MATCHAPSCHEMEENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_T_IV_MATCHAPSCHEMEENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_T_IV_MATCHAPSCHEMEENTRY主键约束FENTRYID
DF__T_IV_MATCHA__FID__27766856默认值约束FID((0))
DF__T_IV_MATC__FENTR__286A8C8F默认值约束FENTRYID((0))
DF__T_IV_MATCH__FSEQ__295EB0C8默认值约束FSEQ((0))
DF__T_IV_MATC__FPAYB__2A52D501默认值约束FPAYBILLFIELD(' ')
DF__T_IV_MATC__FISMA__2B46F93A默认值约束FISMATCHED(' ')

1.1.13 物料对应表

物料对应表-单据头

概述
表名称实体名称ORM实体名
T_IV_MATERIALMATCH单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar160800(' ')
数据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
修改日期FModifyDateModifyDateFMODIFYDATEdatetime8233
审核人FAuditorIDAuditorIDFAUDITORIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233(getdate())
审核日期FAuditDateAuditDateFAUDITDATEdatetime8233
创建人FCreatorIdCreatorIdFCREATORIDint4100((0))
结算组织FOrgIdOrgIdFORGIDint4100((0))
供应商FSupplierSupplierFSUPPLIERint4100((0))
对应关系完整度%FCRSPINTEGRITYCRSPINTEGRITYFCRSPINTEGRITYdecimal132310((0))
最近更新时间FLASTUPDATETIMELASTUPDATETIMEFLASTUPDATETIMEdatetime8233
索引
名称类型字段
PK_IV_MATERIALMATCHCLUSTEREDFID
IDX_IV_MATERIALMATCH_FSUPIDNONCLUSTEREDFSUPPLIER
IDX_IV_MATERIALMATCH_FBILLNONONCLUSTEREDFBILLNO
主外键
名称类型字段
PK_IV_MATERIALMATCHPKFID
触发器
约束
名称类型字段描述
PK_IV_MATERIALMATCH主键约束FID
DF__T_IV_MATE__FDOCU__00BC5C1E默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_MATE__FCRSP__0150BF6E默认值约束FCRSPINTEGRITY((0))
DF__T_IV_MATE__FCREA__01B08057默认值约束FCREATORID((0))
DF__T_IV_MATE__FCREA__02A4A490默认值约束FCREATEDATE(getdate())
DF__T_IV_MATE__FMODI__0398C8C9默认值约束FMODIFIERID((0))
DF__T_IV_MATE__FAUDI__048CED02默认值约束FAUDITORID((0))
DF__T_IV_MATE__FSUPP__0581113B默认值约束FSUPPLIER((0))
DF__T_IV_MATE__FORGI__06753574默认值约束FORGID((0))
DF__T_IV_MATERI__FID__7ED413AC默认值约束FID((0))
DF__T_IV_MATE__FBILL__7FC837E5默认值约束FBILLNO(' ')

物料对应表-单据体

概述
表名称实体名称ORM实体名
T_IV_MATERIALMATCHENTRY单据体Entity
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
物料编码FMaterialMaterialFMATERIALint4100((0))
计价单位FUnitIDUnitIDFUNITIDint4100((0))
对应货物名称FMatchingNameMatchingNameFMATCHINGNAMEnvarchar5102550(' ')
对应单位FMatchingUnitMatchingUnitFMATCHINGUNITnvarchar5102550(' ')
对应规格型号FMATCHINGSPECMATCHINGSPECFMATCHINGSPECnvarchar5102550(' ')
标记不匹配FNOMATCHTAGNOMATCHTAGFNOMATCHTAGchar110('0')
费用项目编码FCOSTIDFCOSTIDFCOSTIDint4100((0))
索引
名称类型字段
PK_IV_MATERIALMATCHENTRYCLUSTEREDFENTRYID
IDX_IV_MATCHENTRY_FMATCHINGNONCLUSTEREDFMATCHINGNAMEFMATCHINGUNIT
IDX_IV_MATCHENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_MATERIALMATCHENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_MATERIALMATCHENTRY主键约束FENTRYID
DF__T_IV_MATE__FNOMA__0244E3A7默认值约束FNOMATCHTAG('0')
DF__T_IV_MATE__FENTR__085D7DE6默认值约束FENTRYID((0))
DF__T_IV_MATE__FMATC__08935367默认值约束FMATCHINGSPEC(' ')
DF__T_IV_MATERI__FID__0951A21F默认值约束FID((0))
DF__T_IV_MATER__FSEQ__0A45C658默认值约束FSEQ((0))
DF__T_IV_MATE__FMATE__0B39EA91默认值约束FMATERIAL((0))
DF__T_IV_MATE__FUNIT__0C2E0ECA默认值约束FUNITID((0))
DF__T_IV_MATE__FMATC__0D223303默认值约束FMATCHINGNAME(' ')
DF__T_IV_MATE__FMATC__0E16573C默认值约束FMATCHINGUNIT(' ')
DF__T_IV_MATE__FCOST__34C8195F默认值约束FCOSTID((0))
DF__T_IV_MATE__FCOST__35BC3D98默认值约束FCOSTNAME(' ')

1.1.14 采购增值税专用发票

采购增值税专用发票-单据头

概述
表名称实体名称ORM实体名
T_IV_PURCHASEIC单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar60300(' ')
单据状态FDOCUMENTSTATUSDOCUMENTSTATUSFDOCUMENTSTATUSchar110(' ')
业务日期FDATEDATEFDATEdatetime8233(getdate())
币别FCURRENCYIDCURRENCYIDFCURRENCYIDint4100((0))
开票方式FBILLINGWAYBILLINGWAYFBILLINGWAYchar110('0')
发票号FINVOICENOINVOICENOFINVOICENOnvarchar400020000(' ')
发票日期FINVOICEDATEINVOICEDATEFINVOICEDATEdatetime8233
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
采购组织FPURCHASEORGIDPURCHASEORGIDFPURCHASEORGIDint4100((0))
采购部门FPURCHASEDEPTIDPURCHASEDEPTIDFPURCHASEDEPTIDint4100((0))
采购组FPURCHASERGROUPIDPURCHASERGROUPIDFPURCHASERGROUPIDint4100((0))
表头基本-开票核销状态FOPENSTATUSOPENSTATUSFOPENSTATUSchar110('A')
结算方式FSETTLETYPEIDSETTLETYPEIDFSETTLETYPEIDint4100((0))
汇率FEXCHANGERATEEXCHANGERATEFEXCHANGERATEdecimal132310((0))
汇率类型FEXCHANGETYPEEXCHANGETYPEFEXCHANGETYPEint4100((0))
本位币FMAINBOOKSTDCURRIDMAINBOOKSTDCURRIDFMAINBOOKSTDCURRIDint4100((0))
不含税金额FHEADAUXPRICEFORHEADAUXPRICEFORFHEADAUXPRICEFORdecimal132310((0))
税额FTAXAMOUNTFORTAXAMOUNTFORFTAXAMOUNTFORdecimal132310((0))
价税合计FAFTERTOTALTAXFORAFTERTOTALTAXFORFAFTERTOTALTAXFORdecimal132310((0))
税额本位币FTAXAMOUNTTAXAMOUNTFTAXAMOUNTdecimal132310((0))
价税合计本位币FAFTERTOTALTAXAFTERTOTALTAXFAFTERTOTALTAXdecimal132310((0))
不含税金额本位币FHEADAUXPRICEHEADAUXPRICEFHEADAUXPRICEdecimal132310((0))
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233(getdate())
审核人FAPPROVERIDAPPROVERIDFAPPROVERIDint4100((0))
创建人FCREATORIDFCREATORIDFCREATORIDint4100((0))
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
单据类型FBillTypeIDBILLTYPEIDFBILLTYPEIDvarchar36360(' ')
采购员FPURCHASERIDPURCHASERIDFPURCHASERIDint4100((0))
供应商FSUPPLIERIDSUPPLIERIDFSUPPLIERIDint4100((0))
会计核算体系FACCOUNTSYSTEMACCOUNTSYSTEMFACCOUNTSYSTEMint4100((0))
按含税单价录入FISTAXISTAXFISTAXchar110(' ')
作废人FCancellerIdCancellerIdFCANCELLERIDint4100
作废状态FCancelStatusCancelStatusFCANCELSTATUSchar110('A')
作废日期FCancelDateCancelDateFCANCELDATEdatetime8233
红蓝字FRedBlueRedBlueFREDBLUEchar110('0')
税额计入成本FISTAXINCOSTISTAXINCOSTFISTAXINCOSTchar110('0')
发票生成方式FGenTypeFGenTypeFGENTYPEint4100((0))
收票手机号(电子发票)FPhoneNumberFPhoneNumberFPHONENUMBERnvarchar100500(' ')
纳税人识别号(电子发票)FOwnRevenueNumberFOwnRevenueNumberFOWNREVENUENUMBERnvarchar100500(' ')
发票代码(电子发票)FInvoiceCodeFInvoiceCodeFINVOICECODEnvarchar100500(' ')
随机码(电子发票)FRandomCodeFRandomCodeFRAMDOMCODEnvarchar100500(' ')
税控状态(电子发票)FElectronicStatusFElectronicStatusFELECTRONICSTATUSchar110('0')
开票流水号(电子发票)FSerialNumberFSerialNumberFSERIALNUMBERvarchar400040000(' ')
源单立账类型FSrcSetAccountTypeFSrcSetAccountTypeFSRCSETACCOUNTTYPEchar110('1')
扫描点FScanPointFScanPointFSCANPOINTint4100((0))
不参与开票核销FISHookMatchFISHookMatchFISHOOKMATCHchar110('0')
归档号FARCHIVENOFARCHIVENOFARCHIVENOvarchar1001000(' ')
反写开票数量FWBOPENQTYFWBOPENQTYFWBOPENQTYchar110('0')
备注FREMARKFREMARKFREMARKnvarchar5102550(' ')
索引
名称类型字段
PK_IV_PURCHASEICCLUSTEREDFID
IDX_IV_PURCHASEICNONCLUSTEREDFBILLTYPEID
IDX_IV_PURCHASEIC_FARCHIVENONONCLUSTEREDFARCHIVENO
主外键
名称类型字段
PK_IV_PURCHASEICPKFID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEIC主键约束FID
DF__T_IV_PURC__FWBOP__02228611默认值约束FWBOPENQTY('0')
DF__T_IV_PURC__FISHO__041FAB52默认值约束FISHOOKMATCH('0')
DF_T_IV_PURCHASEIC_FID默认值约束FID((0))
DF__T_IV_PURC__FSRCS__1BF734E3默认值约束FSRCSETACCOUNTTYPE('1')
DF__T_IV_PURC__FBILL__3A98586E默认值约束FBILLTYPEID(' ')
DF__T_IV_PURC__FBILL__3B8C7CA7默认值约束FBILLNO(' ')
DF__T_IV_PURC__FREDB__3C80A0E0默认值约束FREDBLUEWORDIC((0))
DF__T_IV_PURC__FREDB__580034D1默认值约束FREDBLUE('0')
DF__T_IV_PURC__FDATE__3D74C519默认值约束FDATE(getdate())
DF__T_IV_PURC__FSUPP__3E68E952默认值约束FSUPPLIERID((0))
DF__T_IV_PURC__FCURR__3F5D0D8B默认值约束FCURRENCYID((0))
DF__T_IV_PURC__FBILL__405131C4默认值约束FBILLINGWAY('0')
DF__T_IV_PURC__FINVO__414555FD默认值约束FINVOICENO(' ')
DF__T_IV_PURC__FOPEN__42397A36默认值约束FOPENSTATUS('A')
DF__T_IV_PURC__FSETT__432D9E6F默认值约束FSETTLEORGID((0))
DF__T_IV_PURC__FPURC__4421C2A8默认值约束FPURCHASEORGID((0))
DF__T_IV_PURC__FPURC__58F4590A默认值约束FPURCHASERGROUPID((0))
DF__T_IV_PURC__FPURC__460A0B1A默认值约束FPURCHASEDEPTID((0))
DF__T_IV_PURC__FPURC__46FE2F53默认值约束FPURCHASERID((0))
DF__T_IV_PURC__FRECE__47F2538C默认值约束FRECEIVEORGID((0))
DF__T_IV_PURC__FPAYO__48E677C5默认值约束FPAYORGID((0))
DF__T_IV_PURC__FSETT__49DA9BFE默认值约束FSETTLETYPEID((0))
DF__T_IV_PURC__FMAIN__4ACEC037默认值约束FMAINBOOKSTDCURRID((0))
DF__T_IV_PURC__FEXCH__4BC2E470默认值约束FEXCHANGETYPE((0))
DF__T_IV_PURC__FEXCH__4CB708A9默认值约束FEXCHANGERATE((0))
DF__T_IV_PURC__FTAXA__4DAB2CE2默认值约束FTAXAMOUNTFOR((0))
DF__T_IV_PURC__FTAXA__4E9F511B默认值约束FTAXAMOUNT((0))
DF__T_IV_PURC__FHEAD__4F937554默认值约束FHEADAUXPRICEFOR((0))
DF__T_IV_PURC__FPAYA__322C9612默认值约束FPAYABLEID((0))
DF__T_IV_PURC__FHEAD__5087998D默认值约束FHEADAUXPRICE((0))
DF__T_IV_PURC__FAFTE__517BBDC6默认值约束FAFTERTOTALTAXFOR((0))
DF__T_IV_PURC__FSCAN__34DB1EA2默认值约束FSCANPOINT((0))
DF__T_IV_PURC__FAFTE__526FE1FF默认值约束FAFTERTOTALTAX((0))
DF__T_IV_PURC__FCREA__53640638默认值约束FCREATORID((0))
DF__T_IV_PURC__FCREA__54582A71默认值约束FCREATEDATE(getdate())
DF__T_IV_PURC__FMODI__554C4EAA默认值约束FMODIFIERID((0))
DF__T_IV_PURC__FDOCU__564072E3默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_PURC__FAPPR__5734971C默认值约束FAPPROVERID((0))
DF__T_IV_PURC__FACCO__5828BB55默认值约束FACCOUNTSYSTEM((0))
DF__T_IV_PURC__FFORM__591CDF8E默认值约束FFORMID(' ')
DF__T_IV_PURC__FISTA__5A1103C7默认值约束FISTAX(' ')
DF__T_IV_PURC__FCANC__5B052800默认值约束FCANCELSTATUS('A')
DF__T_IV_PURC__FARCH__51775D50默认值约束FARCHIVENO(' ')
DF__T_IV_PURC__FGENT__5816408B默认值约束FGENTYPE((0))
DF__T_IV_PURC__FELEC__58D55A9A默认值约束FELECTRONICSTATUS('0')
DF__T_IV_PURC__FOWNR__59C97ED3默认值约束FOWNREVENUENUMBER(' ')
DF__T_IV_PURC__FINVO__5ABDA30C默认值约束FINVOICECODE(' ')
DF__T_IV_PURC__FRAMD__5BB1C745默认值约束FRAMDOMCODE(' ')
DF__T_IV_PURC__FSERI__5D9A0FB7默认值约束FSERIALNUMBER(' ')
DF__T_IV_PURC__FPHON__5CA5EB7E默认值约束FPHONENUMBER(' ')
DF__T_IV_PURC__FISPR__6B7E1ABA默认值约束FISPRICEEXCLUDETAX('1')
DF__T_IV_PURC__FISTA__70158549默认值约束FISTAXINCOST('0')
DF__T_IV_PURC__FREMA__78B15FC0默认值约束FREMARK(' ')

采购增值税专用发票-单据头_O

概述
表名称实体名称ORM实体名
T_IV_PURCHASEIC_O单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
开票供应商FIVSUPPLIERIDIVSUPPLIERIDFIVSUPPLIERIDint4100((0))
源单业务类型FSRCBUSINESSTYPEFSRCBUSINESSTYPEFSRCBUSINESSTYPEvarchar20200(' ')
索引
名称类型字段
PK_IV_PURCHASEIC_OCLUSTEREDFID
主外键
名称类型字段
PK_IV_PURCHASEIC_OPKFID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEIC_O主键约束FID
DF__T_IV_PURC__FSRCB__2B9111FD默认值约束FSRCBUSINESSTYPE(' ')
DF__T_IV_PURC__FINVO__44A83D6E默认值约束FINVOICETITLE(' ')
DF__T_IV_PURC__FTAXR__459C61A7默认值约束FTAXREGISTERCODE(' ')
DF__T_IV_PURC__FOPEN__469085E0默认值约束FOPENBANKNAME(' ')
DF__T_IV_PURC__FBANK__4784AA19默认值约束FBANKCODE(' ')
DF__T_IV_PURCH__FTEL__4878CE52默认值约束FTEL(' ')
DF__T_IV_PURC__FADDR__496CF28B默认值约束FADDRESS(' ')
DF__T_IV_PURC__FSOUR__4A6116C4默认值约束FSOURCEIVCODE(' ')
DF__T_IV_PURC__FSOUR__4B553AFD默认值约束FSOURCEIVNUMBER(' ')
DF__T_IV_PURC__FIVCO__4C495F36默认值约束FIVCODE(' ')
DF__T_IV_PURC__FIVNU__4D3D836F默认值约束FIVNUMBER(' ')
DF__T_IV_PURC__FCHEC__4DEB8798默认值约束FCHECKCODE(' ')
DF__T_IV_PURC__FGTST__4E31A7A8默认值约束FGTSTATUS('0')
DF__T_IV_PURC__FGTPR__4F25CBE1默认值约束FGTPRINTCOUNT((0))
DF__T_IV_PURC__FGTPR__5019F01A默认值约束FGTPRINTLISTCOUNT((0))
DF__T_IV_PURC__FHAVE__510E1453默认值约束FHAVEIVLIST('0')
DF__T_IV_PURC__FDRAW__5202388C默认值约束FDRAWER(' ')
DF__T_IV_PURC__FPAYE__52F65CC5默认值约束FPAYEE(' ')
DF__T_IV_PURC__FREVI__53EA80FE默认值约束FREVIEWER(' ')
DF__T_IV_PURC__FGTDI__54DEA537默认值约束FGTDISKNUMBER(' ')
DF__T_IV_PURC__FPDFU__6D3FAD14默认值约束FPDFURLCOPY(' ')
DF__T_IV_PURC__FSOUR__6E33D14D默认值约束FSOURCESERIALNUM(' ')
DF__T_IV_PURC__FSOUR__6F27F586默认值约束FSOURCEIVTYPE(' ')
DF__T_IV_PURC__FRUSH__701C19BF默认值约束FRUSHREDREASON(' ')
DF__T_IV_PURCHA__FID__72D8511B默认值约束FID((0))
DF__T_IV_PURC__FIVSU__73CC7554默认值约束FIVSUPPLIERID((0))

采购增值税专用发票-采购增值税专用发票明细

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICENTRY采购增值税专用发票明细PURCHASEICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
源单内码FSRCBILLIDSRCBILLIDFSRCBILLIDint4100((0))
源单行内码FSRCROWIDSRCROWIDFSRCROWIDint4100((0))
源单行号FSRCSEQFSRCSEQFSRCSEQint4100((0))
物料编码FMATERIALIDMATERIALIDFMATERIALIDint4100((0))
单价FAUXPRICEAUXPRICEFAUXPRICEdecimal132310((0))
含税单价FAUXTAXPRICEAUXTAXPRICEFAUXTAXPRICEdecimal132310((0.0))
采购订单FPURCHASEORDERNOPURCHASEORDERNOFPURCHASEORDERNOnvarchar160800
价格系数FPRICECOEFFICIENTPRICECOEFFICIENFPRICECOEFFICIENTdecimal9196((0.0))
计价数量FPRICEQTYPRICEQTYFPRICEQTYdecimal132310((0.0))
不含税金额FAMOUNTFORAMOUNTFORFAMOUNTFORdecimal132310((0.0))
税率(%)FTAXRATETAXRATEFTAXRATEdecimal9196((0.0))
税额FDETAILTAXAMOUNTFORDETAILTAXAMOUNTFORFDETAILTAXAMOUNTFORdecimal132310((0.0))
价税合计FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0.0))
备注FCOMMENTCOMMENTFCOMMENTnvarchar5102550(' ')
表体明细-开票核销状态FOPENSTATUS_DOPENSTATUSFOPENSTATUSchar110('A')
表体明细-已开票核销金额FOPENAMOUNTFOR_DOPENAMOUNTFORFOPENAMOUNTFORdecimal132310((0))
表体明细-未开票核销金额FNOTOPENAMOUNTFOR_DNOTOPENAMOUNTFORFNOTOPENAMOUNTFORdecimal132310((0))
基本单位数量FBASICUNITQTYBASICUNITQTYFBASICUNITQTYdecimal132310((0))
基本单位FBASICUNITIDBASICUNITIDFBASICUNITIDint4100((0))
计价单位FPRICEUNITIDFUnitIDFPRICEUNITIDint4100((0))
基本单位关联数量(无效)FBaseJoinQtyFBaseJoinQtyFBASEJOINQTYdecimal132310((0))
源单类型FSOURCETYPESOURCETYPEFSOURCETYPEvarchar50500(' ')
源单编号FSRCBILLNOSRCBILLNOFSRCBILLNOnvarchar3201600(' ')
源单基本单位数量(无效)FSRCBASICQTYSRCBASICQTYFSRCBASICQTYdecimal132310((0.0))
源单已开票基本单位数量(无效)FSRCIVBASICQTYSRCIVBASICQTYFSRCIVBASICQTYdecimal132310((0.0))
计划计价数量(无效)FPLANPRICEQTYPLANPRICEQTYFPLANPRICEQTYdecimal132310((0.0))
表体明细-未开票核销数量FNOTOPENQTY_DNOTOPENQTYFNOTOPENQTYdecimal132310((0))
表体明细-已开票核销数量FOPENQTY_DOPENQTYFOPENQTYdecimal132310((0))
上游采购发票价税合计FTempAmountTempAmountFTEMPAMOUNTdecimal132310((0))
已下推发票数量FPUSHREDQTYPUSHREDQTYFPUSHREDQTYdecimal132310((0))
已核销不含税金额FMatchNotTaxAmtForMatchNotTaxAmtForFMATCHNOTTAXAMTFORdecimal132310((0))
基本单位单价FBASICUNITPRICEFORBASICUNITPRICEFORFBASICUNITPRICEFORdecimal132310((0))
上游特殊核销金额FSpecialAmountForSpecialAmountForFSPECIALAMOUNTFORdecimal132310((0))
开票结束FISENDBILLFISENDBILLFISENDBILLchar110
折扣率(%)FENTRYDISCOUNTRATEENTRYDISCOUNTRATEFENTRYDISCOUNTRATEdecimal132310((0))
折扣额FDISCOUNTAMOUNTFORDISCOUNTAMOUNTFORFDISCOUNTAMOUNTFORdecimal132310((0))
已核销金额本位币FOPENAMOUNTFOPENAMOUNTFOPENAMOUNTdecimal132310((0))
已核销不含税金额本位币FMATCHNOTTAXAMTFMATCHNOTTAXAMTFMATCHNOTTAXAMTdecimal132310((0))
是否工序加工下推FISFromOperProcDFISFromOperProcDFISFROMOPERPROCDchar110(' ')
索引
名称类型字段
PK_IV_PURCHASEICENTRYCLUSTEREDFENTRYID
IDX_IV_PURCHASEICENTRY_FIDNONCLUSTEREDFIDFENTRYID
主外键
名称类型字段
PK_IV_PURCHASEICENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICENTRY主键约束FENTRYID
DF_T_IV_PURCHASEICENTRY_FENTRYID默认值约束FENTRYID((0))
DF_T_IV_PURCHASEICENTRY_FID默认值约束FID((0))
DF__T_IV_PURCH__FSEQ__7D2535DA默认值约束FSEQ((0))
DF__T_IV_PURC__FSOUR__7E195A13默认值约束FSOURCETYPE(' ')
DF__T_IV_PURC__FSRCB__7F0D7E4C默认值约束FSRCBILLID((0))
DF__T_IV_PURC__FSRCB__0001A285默认值约束FSRCBILLNO(' ')
DF__T_IV_PURC__FSRCR__00F5C6BE默认值约束FSRCROWID((0))
DF__T_IV_PURC__FSRCS__01E9EAF7默认值约束FSRCSEQ((0))
DF__T_IV_PURC__FMATE__02DE0F30默认值约束FMATERIALID((0))
DF__T_IV_PURC__FAUXP__03D23369默认值约束FAUXPRICE((0))
DF__T_IV_PURC__FAUXT__04C657A2默认值约束FAUXTAXPRICE((0.0))
DF__T_IV_PURC__FPRIC__06AEA014默认值约束FPRICECOEFFICIENT((0.0))
DF__T_IV_PURC__FPRIC__07A2C44D默认值约束FPRICEUNITID((0))
DF__T_IV_PURC__FPRIC__0896E886默认值约束FPRICEQTY((0.0))
DF__T_IV_PURC__FPLAN__098B0CBF默认值约束FPLANPRICEQTY((0.0))
DF__T_IV_PURC__FAMOU__0E4FC1DC默认值约束FAMOUNTFOR((0.0))
DF__T_IV_PURC__FTAXR__10380A4E默认值约束FTAXRATE((0.0))
DF__T_IV_PURC__FDETA__112C2E87默认值约束FDETAILTAXAMOUNTFOR((0.0))
DF__T_IV_PURC__FALLA__131476F9默认值约束FALLAMOUNTFOR((0.0))
DF__T_IV_PURC__FCOMM__14FCBF6B默认值约束FCOMMENT(' ')
DF__T_IV_PURC__FPAYC__17D92C16默认值约束FPAYCONDITIONID((0))
DF__T_IV_PURC__FOPEN__19C17488默认值约束FOPENSTATUS('A')
DF__T_IV_PURC__FOPEN__1AB598C1默认值约束FOPENAMOUNTFOR((0))
DF__T_IV_PURC__FTEMP__15C49637默认值约束FTEMPAMOUNT((0))
DF__T_IV_PURC__FNOTO__1C9DE133默认值约束FNOTOPENAMOUNTFOR((0))
DF__T_IV_PURC__FOPEN__1E8629A5默认值约束FOPENQTY((0))
DF__T_IV_PURC__FNOTO__1F7A4DDE默认值约束FNOTOPENQTY((0))
DF__T_IV_PURC__FBASI__206E7217默认值约束FBASICUNITID((0))
DF__T_IV_PURC__FBASI__21629650默认值约束FBASICUNITPRICEFOR((0))
DF__T_IV_PURC__FBASI__234ADEC2默认值约束FBASICUNITQTY((0))
DF__T_IV_PURC__FHOOK__243F02FB默认值约束FHOOKSTATUS('A')
DF__T_IV_PURC__FHOOK__25332734默认值约束FHOOKAMOUNTFOR((0))
DF__T_IV_PURC__FHOOK__271B6FA6默认值约束FHOOKQTY((0))
DF__T_IV_PURC__FUNHO__280F93DF默认值约束FUNHOOKAMOUNTFOR((0))
DF__T_IV_PURC__FUNHO__29F7DC51默认值约束FUNHOOKQTY((0))
DF__T_IV_PURC__FBASE__2DC86D35默认值约束FBASEJOINQTY((0))
DF__T_IV_PURC__FSRCP__30A4D9E0默认值约束FSRCPRICEQTY((0.0))
DF__T_IV_PURC__FSRCR__3198FE19默认值约束FSRCREALATEQTY((0.0))
DF__T_IV_PURC__FSRCB__328D2252默认值约束FSRCBASICQTY((0.0))
DF__T_IV_PURC__FSRCI__3381468B默认值约束FSRCIVBASICQTY((0.0))
DF__T_IV_PURC__FOPEN__24E4146E默认值约束FOPENAMOUNT((0))
DF__T_IV_PURC__FPUSH__57411AC2默认值约束FPUSHREDQTY((0))
DF__T_IV_PURC__FMATC__25D838A7默认值约束FMATCHNOTTAXAMT((0))
DF__T_IV_PURC__FMATC__58353EFB默认值约束FMATCHNOTTAXAMTFOR((0))
DF__T_IV_PURC__FSPEC__7B4A3C65默认值约束FSPECIALAMOUNTFOR((0))
DF__T_IV_PURC__FISFR__6D141D9D默认值约束FISFROMOPERPROCD(' ')
DF__T_IV_PURC__FENTR__737C01D9默认值约束FENTRYDISCOUNTRATE((0))
DF__T_IV_PURC__FDISC__74702612默认值约束FDISCOUNTAMOUNTFOR((0))

采购增值税专用发票-采购增值税专用发票明细_O

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICENTRY_O采购增值税专用发票明细PURCHASEICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
可抵扣税额FDEDUCTTAXFORDEDUCTTAXFORFDEDUCTTAXFORdecimal132310((0))
可抵扣税额本位币FDEDUCTTAX_DDEDUCTTAX_DFDEDUCTTAX_Ddecimal132310((0))
是否抵扣FISDEDUCTISDEDUCTFISDEDUCTchar110('0')
抵扣日期FDEDUCTDATEDEDUCTDATEFDEDUCTDATEdatetime8233
尾差处理标识FTAILDIFFFLAGTAILDIFFFLAGFTAILDIFFFLAGchar110('0')
辅助属性FAUXPROPIDFAUXPROPIDFAUXPROPIDint4100((0))
批号FLotFLotFLOTint4100((0))
折扣额本位币FDISCOUNTAMOUNTDISCOUNTAMOUNTFDISCOUNTAMOUNTdecimal132310((0))
税额本位币FDETAILTAXAMOUNTDETAILTAXAMOUNTFDETAILTAXAMOUNTdecimal132310((0))
不含税金额本位币FNOTAXAMOUNTNOTAXAMOUNTFNOTAXAMOUNTdecimal132310((0))
价税合计本位币FALLAMOUNTALLAMOUNTFALLAMOUNTdecimal132310((0))
索引
名称类型字段
PK_IV_PURCHASEICENTRY_OCLUSTEREDFENTRYID
IDX_IV_PURCHASEICENTRY_O_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_PURCHASEICENTRY_OPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICENTRY_O主键约束FENTRYID
DF__T_IV_PURC__FTAIL__195D5329默认值约束FTAILDIFFFLAG('0')
DF__T_IV_PURC__FDISC__2ACC36C3默认值约束FDISCOUNTAMOUNT((0))
DF__T_IV_PURC__FDETA__2BC05AFC默认值约束FDETAILTAXAMOUNT((0))
DF__T_IV_PURC__FNOTA__2CB47F35默认值约束FNOTAXAMOUNT((0))
DF__T_IV_PURC__FALLA__2DA8A36E默认值约束FALLAMOUNT((0))
DF__T_IV_PURCHA__FID__4E3DF984默认值约束FID((0))
DF__T_IV_PURC__FAUXP__4F321DBD默认值约束FAUXPROPID((0))
DF__T_IV_PURCH__FLOT__502641F6默认值约束FLOT((0))
DF__T_IV_PURC__FLOT___511A662F默认值约束FLOT_TEXT(' ')
DF__T_IV_PURC__FDEDU__61F4B080默认值约束FDEDUCTTAXFOR((0))
DF__T_IV_PURC__FDEDU__62E8D4B9默认值约束FDEDUCTTAX_D((0))
DF__T_IV_PURC__FISDE__63DCF8F2默认值约束FISDEDUCT('0')

采购增值税专用发票-采购增值税专用发票明细_L

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICENTRY_L采购增值税专用发票明细PURCHASEICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
物料说明FMaterialDescMaterialDescFMATERIALDESCnvarchar5102550(' ')
索引
名称类型字段
PK_IV_PURCHASEICENTRY_LCLUSTEREDFPKID
IDX_IV_PURCHASEICENTRY_LNONCLUSTEREDFENTRYIDFLOCALEID
主外键
名称类型字段
PK_IV_PURCHASEICENTRY_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICENTRY_L主键约束FPKID
IDX_IV_PURCHASEICENTRY_L唯一约束FENTRYID
IDX_IV_PURCHASEICENTRY_L唯一约束FLOCALEID
DF__T_IV_PURC__FENTR__6B8B37ED默认值约束FENTRYID((0))
DF__T_IV_PURCHA__FID__6C7F5C26默认值约束FID((0))
DF__T_IV_PURC__FPKID__6D73805F默认值约束FPKID((0))
DF__T_IV_PURC__FMATE__6E67A498默认值约束FMATERIALDESC(' ')
DF__T_IV_PURC__FLOCA__6F5BC8D1默认值约束FLOCALEID((0))

采购增值税专用发票-扫描信息

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICSCAN扫描信息PURCHASEICSCAN
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
发票代码FCODESCFCODESCFCODESCvarchar50500(' ')
发票号FNUMBERSCFNUMBERSCFNUMBERSCvarchar30300(' ')
发票金额FAMOUNTSCFAMOUNTSCFAMOUNTSCdecimal132310((0))
发票日期FINVOICEDATESCFINVOICEDATESCFINVOICEDATESCdatetime8233
索引
名称类型字段
PK_IV_PURCHASEICSCANCLUSTEREDFENTRYID
IDX_IV_PURCHASEICSCAN_FLAGNONCLUSTEREDFFLAG
主外键
名称类型字段
PK_IV_PURCHASEICSCANPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICSCAN主键约束FENTRYID
DF__T_IV_PURCHA__FID__4BBE83FA默认值约束FID((0))
DF__T_IV_PURC__FCODE__4CB2A833默认值约束FCODESC(' ')
DF__T_IV_PURC__FNUMB__4DA6CC6C默认值约束FNUMBERSC(' ')
DF__T_IV_PURC__FAMOU__4E9AF0A5默认值约束FAMOUNTSC((0))
DF__T_IV_PURC__FENTR__4F8F14DE默认值约束FENTRYID((0))
DF__T_IV_PURC__FFLAG__50833917默认值约束FFLAG(' ')

采购增值税专用发票-收票信息

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICRECINV收票信息RecInvInfo
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
收票单FRecInvRecInvFRECINVint4100((0))
从源单携带FISFROMSRCBILLISFROMSRCBILLFISFROMSRCBILLchar110('0')
索引
名称类型字段
PK_IV_PURCHASEICRECINVCLUSTEREDFENTRYID
IDX_IV_PURIVRECINV_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_PURCHASEICRECINVPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICRECINV主键约束FENTRYID
DF__T_IV_PURC__FENTR__532A9B98默认值约束FENTRYID((0))
DF__T_IV_PURCHA__FID__541EBFD1默认值约束FID((0))
DF__T_IV_PURCH__FSEQ__5512E40A默认值约束FSEQ((0))
DF__T_IV_PURC__FRECI__56070843默认值约束FRECINV((0))
DF__T_IV_PURC__FISFR__6297C7B1默认值约束FISFROMSRCBILL('0')

采购增值税专用发票-关联关系表

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICENTRY_LK关联关系表FPURCHASEICENTRY_Link
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值
业务流程图FPURCHASEICENTRY_Link_FFlowIdFlowIdFFLOWIDvarchar36360(' ')
推进路线FPURCHASEICENTRY_Link_FFlowLineIdFlowLineIdFFLOWLINEIDint4100((0))
转换规则FPURCHASEICENTRY_Link_FRuleIdRuleIdFRULEIDvarchar36360(' ')
源单表内码FPURCHASEICENTRY_Link_FSTableIdSTableIdFSTABLEIDint4100
源单表FPURCHASEICENTRY_Link_FSTableNameSTableNameFSTABLENAMEvarchar30300(' ')
源单内码FPURCHASEICENTRY_Link_FSBillIdSBillIdFSBILLIDint4100((0))
源单分录内码FPURCHASEICENTRY_Link_FSIdSIdFSIDint4100((0))
原始携带量FPURCHASEICENTRY_Link_FBASICUNITQTYOldBASICUNITQTYOldFBASICUNITQTYOLDdecimal132310((0))
修改携带量FPURCHASEICENTRY_Link_FBASICUNITQTYBASICUNITQTYFBASICUNITQTYdecimal132310((0))
原始携带量FPURCHASEICENTRY_Link_FALLAMOUNTFOROldALLAMOUNTFOROldFALLAMOUNTFOROLDdecimal132310((0))
修改携带量FPURCHASEICENTRY_Link_FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0))
迁移图FPURCHASEICENTRY_Link_FIVLnkTrackerIdFIVLnkTrackerIdFIVLNKTRACKERIDnvarchar2001000
上游状态FPURCHASEICENTRY_Link_FIVLnkSStateFIVLnkSStateFIVLNKSSTATEnvarchar4002000
数量FIVLnkFPURCHASEICENTRY_Link_FIVLnkAmountFIVLnkAmountFIVLNKAMOUNTdecimal132310
索引
名称类型字段
PK_IV_PURCHASEICENTRY_LKCLUSTEREDFLINKID
IDX_IV_PURCHASEICLK_IDINFONONCLUSTEREDFSBILLIDFSIDFENTRYID
IDX_IV_PURSEICENY_LK_ENTRYIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_IV_PURCHASEICENTRY_LKPKFLINKID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICENTRY_LK主键约束FLINKID
DF__T_IV_PURC__FFLOW__36B44F9F默认值约束FFLOWID(' ')
DF__T_IV_PURC__FFLOW__37A873D8默认值约束FFLOWLINEID((0))
DF__T_IV_PURC__FRULE__389C9811默认值约束FRULEID(' ')
DF__T_IV_PURC__FSTAB__3990BC4A默认值约束FSTABLENAME(' ')
DF__T_IV_PURC__FBASI__3A84E083默认值约束FBASICUNITQTYOLD((0))
DF__T_IV_PURC__FBASI__3B7904BC默认值约束FBASICUNITQTY((0))
DF__T_IV_PURC__FALLA__3D9E48BE默认值约束FALLAMOUNTFOROLD((0))
DF__T_IV_PURC__FALLA__3E926CF7默认值约束FALLAMOUNTFOR((0))
DF_T_IV_PURCHASEICENTRY_LK_FLINKID默认值约束FLINKID((0))
DF__T_IV_PURC__FSBIL__0D1BA681默认值约束FSBILLID((0))
DF__T_IV_PURCH__FSID__0E0FCABA默认值约束FSID((0))
DF__T_IV_PURC__FENTR__0F03EEF3默认值约束FENTRYID((0))

1.1.15 全部采购发票

全部采购发票-单据头

概述
表名称实体名称ORM实体名
T_IV_PURCHASEIC单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar60300(' ')
单据状态FDOCUMENTSTATUSDOCUMENTSTATUSFDOCUMENTSTATUSchar110(' ')
业务日期FDATEDATEFDATEdatetime8233(getdate())
币别FCURRENCYIDCURRENCYIDFCURRENCYIDint4100((0))
开票方式FBILLINGWAYBILLINGWAYFBILLINGWAYchar110('0')
发票号FINVOICENOINVOICENOFINVOICENOnvarchar400020000(' ')
发票日期FINVOICEDATEINVOICEDATEFINVOICEDATEdatetime8233
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
采购组织FPURCHASEORGIDPURCHASEORGIDFPURCHASEORGIDint4100((0))
采购部门FPURCHASEDEPTIDPURCHASEDEPTIDFPURCHASEDEPTIDint4100((0))
采购组FPURCHASERGROUPIDPURCHASERGROUPIDFPURCHASERGROUPIDint4100((0))
表头基本-开票核销状态FOPENSTATUSOPENSTATUSFOPENSTATUSchar110('A')
结算方式FSETTLETYPEIDSETTLETYPEIDFSETTLETYPEIDint4100((0))
汇率FEXCHANGERATEEXCHANGERATEFEXCHANGERATEdecimal132310((0))
汇率类型FEXCHANGETYPEEXCHANGETYPEFEXCHANGETYPEint4100((0))
本位币FMAINBOOKSTDCURRIDMAINBOOKSTDCURRIDFMAINBOOKSTDCURRIDint4100((0))
不含税金额FHEADAUXPRICEFORHEADAUXPRICEFORFHEADAUXPRICEFORdecimal132310((0))
税额FTAXAMOUNTFORTAXAMOUNTFORFTAXAMOUNTFORdecimal132310((0))
价税合计FAFTERTOTALTAXFORAFTERTOTALTAXFORFAFTERTOTALTAXFORdecimal132310((0))
税额本位币FTAXAMOUNTTAXAMOUNTFTAXAMOUNTdecimal132310((0))
价税合计本位币FAFTERTOTALTAXAFTERTOTALTAXFAFTERTOTALTAXdecimal132310((0))
不含税金额本位币FHEADAUXPRICEHEADAUXPRICEFHEADAUXPRICEdecimal132310((0))
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233(getdate())
审核人FAPPROVERIDAPPROVERIDFAPPROVERIDint4100((0))
创建人FCREATORIDFCREATORIDFCREATORIDint4100((0))
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
单据类型FBillTypeIDBILLTYPEIDFBILLTYPEIDvarchar36360(' ')
采购员FPURCHASERIDPURCHASERIDFPURCHASERIDint4100((0))
供应商FSUPPLIERIDSUPPLIERIDFSUPPLIERIDint4100((0))
会计核算体系FACCOUNTSYSTEMACCOUNTSYSTEMFACCOUNTSYSTEMint4100((0))
按含税单价录入FISTAXISTAXFISTAXchar110(' ')
作废人FCancellerIdCancellerIdFCANCELLERIDint4100
作废状态FCancelStatusCancelStatusFCANCELSTATUSchar110('A')
作废日期FCancelDateCancelDateFCANCELDATEdatetime8233
红蓝字FRedBlueRedBlueFREDBLUEchar110('0')
税额计入成本FISTAXINCOSTISTAXINCOSTFISTAXINCOSTchar110('0')
发票生成方式FGenTypeFGenTypeFGENTYPEint4100((0))
收票手机号(电子发票)FPhoneNumberFPhoneNumberFPHONENUMBERnvarchar100500(' ')
纳税人识别号(电子发票)FOwnRevenueNumberFOwnRevenueNumberFOWNREVENUENUMBERnvarchar100500(' ')
发票代码(电子发票)FInvoiceCodeFInvoiceCodeFINVOICECODEnvarchar100500(' ')
随机码(电子发票)FRandomCodeFRandomCodeFRAMDOMCODEnvarchar100500(' ')
税控状态(电子发票)FElectronicStatusFElectronicStatusFELECTRONICSTATUSchar110('0')
开票流水号(电子发票)FSerialNumberFSerialNumberFSERIALNUMBERvarchar400040000(' ')
源单立账类型FSrcSetAccountTypeFSrcSetAccountTypeFSRCSETACCOUNTTYPEchar110('1')
索引
名称类型字段
PK_IV_PURCHASEICCLUSTEREDFID
IDX_IV_PURCHASEICNONCLUSTEREDFBILLTYPEID
IDX_IV_PURCHASEIC_FARCHIVENONONCLUSTEREDFARCHIVENO
主外键
名称类型字段
PK_IV_PURCHASEICPKFID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEIC主键约束FID
DF__T_IV_PURC__FWBOP__02228611默认值约束FWBOPENQTY('0')
DF__T_IV_PURC__FISHO__041FAB52默认值约束FISHOOKMATCH('0')
DF_T_IV_PURCHASEIC_FID默认值约束FID((0))
DF__T_IV_PURC__FSRCS__1BF734E3默认值约束FSRCSETACCOUNTTYPE('1')
DF__T_IV_PURC__FBILL__3A98586E默认值约束FBILLTYPEID(' ')
DF__T_IV_PURC__FBILL__3B8C7CA7默认值约束FBILLNO(' ')
DF__T_IV_PURC__FREDB__3C80A0E0默认值约束FREDBLUEWORDIC((0))
DF__T_IV_PURC__FREDB__580034D1默认值约束FREDBLUE('0')
DF__T_IV_PURC__FDATE__3D74C519默认值约束FDATE(getdate())
DF__T_IV_PURC__FSUPP__3E68E952默认值约束FSUPPLIERID((0))
DF__T_IV_PURC__FCURR__3F5D0D8B默认值约束FCURRENCYID((0))
DF__T_IV_PURC__FBILL__405131C4默认值约束FBILLINGWAY('0')
DF__T_IV_PURC__FINVO__414555FD默认值约束FINVOICENO(' ')
DF__T_IV_PURC__FOPEN__42397A36默认值约束FOPENSTATUS('A')
DF__T_IV_PURC__FSETT__432D9E6F默认值约束FSETTLEORGID((0))
DF__T_IV_PURC__FPURC__4421C2A8默认值约束FPURCHASEORGID((0))
DF__T_IV_PURC__FPURC__58F4590A默认值约束FPURCHASERGROUPID((0))
DF__T_IV_PURC__FPURC__460A0B1A默认值约束FPURCHASEDEPTID((0))
DF__T_IV_PURC__FPURC__46FE2F53默认值约束FPURCHASERID((0))
DF__T_IV_PURC__FRECE__47F2538C默认值约束FRECEIVEORGID((0))
DF__T_IV_PURC__FPAYO__48E677C5默认值约束FPAYORGID((0))
DF__T_IV_PURC__FSETT__49DA9BFE默认值约束FSETTLETYPEID((0))
DF__T_IV_PURC__FMAIN__4ACEC037默认值约束FMAINBOOKSTDCURRID((0))
DF__T_IV_PURC__FEXCH__4BC2E470默认值约束FEXCHANGETYPE((0))
DF__T_IV_PURC__FEXCH__4CB708A9默认值约束FEXCHANGERATE((0))
DF__T_IV_PURC__FTAXA__4DAB2CE2默认值约束FTAXAMOUNTFOR((0))
DF__T_IV_PURC__FTAXA__4E9F511B默认值约束FTAXAMOUNT((0))
DF__T_IV_PURC__FHEAD__4F937554默认值约束FHEADAUXPRICEFOR((0))
DF__T_IV_PURC__FPAYA__322C9612默认值约束FPAYABLEID((0))
DF__T_IV_PURC__FHEAD__5087998D默认值约束FHEADAUXPRICE((0))
DF__T_IV_PURC__FAFTE__517BBDC6默认值约束FAFTERTOTALTAXFOR((0))
DF__T_IV_PURC__FSCAN__34DB1EA2默认值约束FSCANPOINT((0))
DF__T_IV_PURC__FAFTE__526FE1FF默认值约束FAFTERTOTALTAX((0))
DF__T_IV_PURC__FCREA__53640638默认值约束FCREATORID((0))
DF__T_IV_PURC__FCREA__54582A71默认值约束FCREATEDATE(getdate())
DF__T_IV_PURC__FMODI__554C4EAA默认值约束FMODIFIERID((0))
DF__T_IV_PURC__FDOCU__564072E3默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_PURC__FAPPR__5734971C默认值约束FAPPROVERID((0))
DF__T_IV_PURC__FACCO__5828BB55默认值约束FACCOUNTSYSTEM((0))
DF__T_IV_PURC__FFORM__591CDF8E默认值约束FFORMID(' ')
DF__T_IV_PURC__FISTA__5A1103C7默认值约束FISTAX(' ')
DF__T_IV_PURC__FCANC__5B052800默认值约束FCANCELSTATUS('A')
DF__T_IV_PURC__FARCH__51775D50默认值约束FARCHIVENO(' ')
DF__T_IV_PURC__FGENT__5816408B默认值约束FGENTYPE((0))
DF__T_IV_PURC__FELEC__58D55A9A默认值约束FELECTRONICSTATUS('0')
DF__T_IV_PURC__FOWNR__59C97ED3默认值约束FOWNREVENUENUMBER(' ')
DF__T_IV_PURC__FINVO__5ABDA30C默认值约束FINVOICECODE(' ')
DF__T_IV_PURC__FRAMD__5BB1C745默认值约束FRAMDOMCODE(' ')
DF__T_IV_PURC__FSERI__5D9A0FB7默认值约束FSERIALNUMBER(' ')
DF__T_IV_PURC__FPHON__5CA5EB7E默认值约束FPHONENUMBER(' ')
DF__T_IV_PURC__FISPR__6B7E1ABA默认值约束FISPRICEEXCLUDETAX('1')
DF__T_IV_PURC__FISTA__70158549默认值约束FISTAXINCOST('0')
DF__T_IV_PURC__FREMA__78B15FC0默认值约束FREMARK(' ')

全部采购发票-单据头_O

概述
表名称实体名称ORM实体名
T_IV_PURCHASEIC_O单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
开票供应商FIVSUPPLIERIDIVSUPPLIERIDFIVSUPPLIERIDint4100((0))
索引
名称类型字段
PK_IV_PURCHASEIC_OCLUSTEREDFID
主外键
名称类型字段
PK_IV_PURCHASEIC_OPKFID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEIC_O主键约束FID
DF__T_IV_PURC__FSRCB__2B9111FD默认值约束FSRCBUSINESSTYPE(' ')
DF__T_IV_PURC__FINVO__44A83D6E默认值约束FINVOICETITLE(' ')
DF__T_IV_PURC__FTAXR__459C61A7默认值约束FTAXREGISTERCODE(' ')
DF__T_IV_PURC__FOPEN__469085E0默认值约束FOPENBANKNAME(' ')
DF__T_IV_PURC__FBANK__4784AA19默认值约束FBANKCODE(' ')
DF__T_IV_PURCH__FTEL__4878CE52默认值约束FTEL(' ')
DF__T_IV_PURC__FADDR__496CF28B默认值约束FADDRESS(' ')
DF__T_IV_PURC__FSOUR__4A6116C4默认值约束FSOURCEIVCODE(' ')
DF__T_IV_PURC__FSOUR__4B553AFD默认值约束FSOURCEIVNUMBER(' ')
DF__T_IV_PURC__FIVCO__4C495F36默认值约束FIVCODE(' ')
DF__T_IV_PURC__FIVNU__4D3D836F默认值约束FIVNUMBER(' ')
DF__T_IV_PURC__FCHEC__4DEB8798默认值约束FCHECKCODE(' ')
DF__T_IV_PURC__FGTST__4E31A7A8默认值约束FGTSTATUS('0')
DF__T_IV_PURC__FGTPR__4F25CBE1默认值约束FGTPRINTCOUNT((0))
DF__T_IV_PURC__FGTPR__5019F01A默认值约束FGTPRINTLISTCOUNT((0))
DF__T_IV_PURC__FHAVE__510E1453默认值约束FHAVEIVLIST('0')
DF__T_IV_PURC__FDRAW__5202388C默认值约束FDRAWER(' ')
DF__T_IV_PURC__FPAYE__52F65CC5默认值约束FPAYEE(' ')
DF__T_IV_PURC__FREVI__53EA80FE默认值约束FREVIEWER(' ')
DF__T_IV_PURC__FGTDI__54DEA537默认值约束FGTDISKNUMBER(' ')
DF__T_IV_PURC__FPDFU__6D3FAD14默认值约束FPDFURLCOPY(' ')
DF__T_IV_PURC__FSOUR__6E33D14D默认值约束FSOURCESERIALNUM(' ')
DF__T_IV_PURC__FSOUR__6F27F586默认值约束FSOURCEIVTYPE(' ')
DF__T_IV_PURC__FRUSH__701C19BF默认值约束FRUSHREDREASON(' ')
DF__T_IV_PURCHA__FID__72D8511B默认值约束FID((0))
DF__T_IV_PURC__FIVSU__73CC7554默认值约束FIVSUPPLIERID((0))

全部采购发票-采购发票明细

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICENTRY采购发票明细PURCHASEICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
源单内码FSRCBILLIDSRCBILLIDFSRCBILLIDint4100((0))
源单行内码FSRCROWIDFSRCROWIDFSRCROWIDint4100((0))
源单行号FSRCSEQFSRCSEQFSRCSEQint4100((0))
物料编码FMATERIALIDMATERIALIDFMATERIALIDint4100((0))
单价FAUXPRICEAUXPRICEFAUXPRICEdecimal132310((0))
含税单价FAUXTAXPRICEAUXTAXPRICEFAUXTAXPRICEdecimal132310((0.0))
采购订单FPURCHASEORDERNOPURCHASEORDERNOFPURCHASEORDERNOnvarchar160800
价格系数FPRICECOEFFICIENTPRICECOEFFICIENFPRICECOEFFICIENTdecimal9196((0.0))
计价数量FPRICEQTYPRICEQTYFPRICEQTYdecimal132310((0.0))
不含税金额FAMOUNTFORAMOUNTFORFAMOUNTFORdecimal132310((0.0))
税率(%)FTAXRATETAXRATEFTAXRATEdecimal9196((0.0))
税额FDETAILTAXAMOUNTFORDETAILTAXAMOUNTFORFDETAILTAXAMOUNTFORdecimal132310((0.0))
价税合计FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0.0))
备注FCOMMENTCOMMENTFCOMMENTnvarchar5102550(' ')
表体明细-开票核销状态FOPENSTATUS_DOPENSTATUSFOPENSTATUSchar110('A')
表体明细-已开票核销金额FOPENAMOUNTFOR_DOPENAMOUNTFORFOPENAMOUNTFORdecimal132310((0))
表体明细-未开票核销金额FNOTOPENAMOUNTFOR_DNOTOPENAMOUNTFORFNOTOPENAMOUNTFORdecimal132310((0))
基本单位数量FBASICUNITQTYBASICUNITQTYFBASICUNITQTYdecimal132310((0))
基本单位FBASICUNITIDBASICUNITIDFBASICUNITIDint4100((0))
计价单位FPRICEUNITIDFUnitIDFPRICEUNITIDint4100((0))
基本单位关联数量(无效)FBaseJoinQtyFBaseJoinQtyFBASEJOINQTYdecimal132310((0))
源单类型FSOURCETYPESOURCETYPEFSOURCETYPEvarchar50500(' ')
源单编号FSRCBILLNOSRCBILLNOFSRCBILLNOnvarchar3201600(' ')
源单基本单位数量(无效)FSRCBASICQTYSRCBASICQTYFSRCBASICQTYdecimal132310((0.0))
源单已开票基本单位数量(无效)FSRCIVBASICQTYSRCIVBASICQTYFSRCIVBASICQTYdecimal132310((0.0))
计划计价数量(无效)FPLANPRICEQTYPLANPRICEQTYFPLANPRICEQTYdecimal132310((0.0))
表体明细-未开票核销数量FNOTOPENQTY_DNOTOPENQTYFNOTOPENQTYdecimal132310((0))
表体明细-已开票核销数量FOPENQTY_DOPENQTYFOPENQTYdecimal132310((0))
已下推发票数量FPUSHREDQTYPUSHREDQTYFPUSHREDQTYdecimal132310((0))
已核销不含税金额FMatchNotTaxAmtForMatchNotTaxAmtForFMATCHNOTTAXAMTFORdecimal132310((0))
基本单位单价FBASICUNITPRICEFORBASICUNITPRICEFORFBASICUNITPRICEFORdecimal132310((0))
上游特殊核销金额FSpecialAmountForSpecialAmountForFSPECIALAMOUNTFORdecimal132310((0))
索引
名称类型字段
PK_IV_PURCHASEICENTRYCLUSTEREDFENTRYID
IDX_IV_PURCHASEICENTRY_FIDNONCLUSTEREDFIDFENTRYID
主外键
名称类型字段
PK_IV_PURCHASEICENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICENTRY主键约束FENTRYID
DF_T_IV_PURCHASEICENTRY_FENTRYID默认值约束FENTRYID((0))
DF_T_IV_PURCHASEICENTRY_FID默认值约束FID((0))
DF__T_IV_PURCH__FSEQ__7D2535DA默认值约束FSEQ((0))
DF__T_IV_PURC__FSOUR__7E195A13默认值约束FSOURCETYPE(' ')
DF__T_IV_PURC__FSRCB__7F0D7E4C默认值约束FSRCBILLID((0))
DF__T_IV_PURC__FSRCB__0001A285默认值约束FSRCBILLNO(' ')
DF__T_IV_PURC__FSRCR__00F5C6BE默认值约束FSRCROWID((0))
DF__T_IV_PURC__FSRCS__01E9EAF7默认值约束FSRCSEQ((0))
DF__T_IV_PURC__FMATE__02DE0F30默认值约束FMATERIALID((0))
DF__T_IV_PURC__FAUXP__03D23369默认值约束FAUXPRICE((0))
DF__T_IV_PURC__FAUXT__04C657A2默认值约束FAUXTAXPRICE((0.0))
DF__T_IV_PURC__FPRIC__06AEA014默认值约束FPRICECOEFFICIENT((0.0))
DF__T_IV_PURC__FPRIC__07A2C44D默认值约束FPRICEUNITID((0))
DF__T_IV_PURC__FPRIC__0896E886默认值约束FPRICEQTY((0.0))
DF__T_IV_PURC__FPLAN__098B0CBF默认值约束FPLANPRICEQTY((0.0))
DF__T_IV_PURC__FAMOU__0E4FC1DC默认值约束FAMOUNTFOR((0.0))
DF__T_IV_PURC__FTAXR__10380A4E默认值约束FTAXRATE((0.0))
DF__T_IV_PURC__FDETA__112C2E87默认值约束FDETAILTAXAMOUNTFOR((0.0))
DF__T_IV_PURC__FALLA__131476F9默认值约束FALLAMOUNTFOR((0.0))
DF__T_IV_PURC__FCOMM__14FCBF6B默认值约束FCOMMENT(' ')
DF__T_IV_PURC__FPAYC__17D92C16默认值约束FPAYCONDITIONID((0))
DF__T_IV_PURC__FOPEN__19C17488默认值约束FOPENSTATUS('A')
DF__T_IV_PURC__FOPEN__1AB598C1默认值约束FOPENAMOUNTFOR((0))
DF__T_IV_PURC__FTEMP__15C49637默认值约束FTEMPAMOUNT((0))
DF__T_IV_PURC__FNOTO__1C9DE133默认值约束FNOTOPENAMOUNTFOR((0))
DF__T_IV_PURC__FOPEN__1E8629A5默认值约束FOPENQTY((0))
DF__T_IV_PURC__FNOTO__1F7A4DDE默认值约束FNOTOPENQTY((0))
DF__T_IV_PURC__FBASI__206E7217默认值约束FBASICUNITID((0))
DF__T_IV_PURC__FBASI__21629650默认值约束FBASICUNITPRICEFOR((0))
DF__T_IV_PURC__FBASI__234ADEC2默认值约束FBASICUNITQTY((0))
DF__T_IV_PURC__FHOOK__243F02FB默认值约束FHOOKSTATUS('A')
DF__T_IV_PURC__FHOOK__25332734默认值约束FHOOKAMOUNTFOR((0))
DF__T_IV_PURC__FHOOK__271B6FA6默认值约束FHOOKQTY((0))
DF__T_IV_PURC__FUNHO__280F93DF默认值约束FUNHOOKAMOUNTFOR((0))
DF__T_IV_PURC__FUNHO__29F7DC51默认值约束FUNHOOKQTY((0))
DF__T_IV_PURC__FBASE__2DC86D35默认值约束FBASEJOINQTY((0))
DF__T_IV_PURC__FSRCP__30A4D9E0默认值约束FSRCPRICEQTY((0.0))
DF__T_IV_PURC__FSRCR__3198FE19默认值约束FSRCREALATEQTY((0.0))
DF__T_IV_PURC__FSRCB__328D2252默认值约束FSRCBASICQTY((0.0))
DF__T_IV_PURC__FSRCI__3381468B默认值约束FSRCIVBASICQTY((0.0))
DF__T_IV_PURC__FOPEN__24E4146E默认值约束FOPENAMOUNT((0))
DF__T_IV_PURC__FPUSH__57411AC2默认值约束FPUSHREDQTY((0))
DF__T_IV_PURC__FMATC__25D838A7默认值约束FMATCHNOTTAXAMT((0))
DF__T_IV_PURC__FMATC__58353EFB默认值约束FMATCHNOTTAXAMTFOR((0))
DF__T_IV_PURC__FSPEC__7B4A3C65默认值约束FSPECIALAMOUNTFOR((0))
DF__T_IV_PURC__FISFR__6D141D9D默认值约束FISFROMOPERPROCD(' ')
DF__T_IV_PURC__FENTR__737C01D9默认值约束FENTRYDISCOUNTRATE((0))
DF__T_IV_PURC__FDISC__74702612默认值约束FDISCOUNTAMOUNTFOR((0))

全部采购发票-采购发票明细_O

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICENTRY_O采购发票明细PURCHASEICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
可抵扣税额FDEDUCTTAXFORDEDUCTTAXFORFDEDUCTTAXFORdecimal132310((0))
可抵扣税额本位币FDEDUCTTAX_DDEDUCTTAX_DFDEDUCTTAX_Ddecimal132310((0))
是否抵扣FISDEDUCTISDEDUCTFISDEDUCTchar110('0')
抵扣日期FDEDUCTDATEDEDUCTDATEFDEDUCTDATEdatetime8233
尾差处理标识FTAILDIFFFLAGTAILDIFFFLAGFTAILDIFFFLAGchar110('0')
索引
名称类型字段
PK_IV_PURCHASEICENTRY_OCLUSTEREDFENTRYID
IDX_IV_PURCHASEICENTRY_O_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_PURCHASEICENTRY_OPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICENTRY_O主键约束FENTRYID
DF__T_IV_PURC__FTAIL__195D5329默认值约束FTAILDIFFFLAG('0')
DF__T_IV_PURC__FDISC__2ACC36C3默认值约束FDISCOUNTAMOUNT((0))
DF__T_IV_PURC__FDETA__2BC05AFC默认值约束FDETAILTAXAMOUNT((0))
DF__T_IV_PURC__FNOTA__2CB47F35默认值约束FNOTAXAMOUNT((0))
DF__T_IV_PURC__FALLA__2DA8A36E默认值约束FALLAMOUNT((0))
DF__T_IV_PURCHA__FID__4E3DF984默认值约束FID((0))
DF__T_IV_PURC__FAUXP__4F321DBD默认值约束FAUXPROPID((0))
DF__T_IV_PURCH__FLOT__502641F6默认值约束FLOT((0))
DF__T_IV_PURC__FLOT___511A662F默认值约束FLOT_TEXT(' ')
DF__T_IV_PURC__FDEDU__61F4B080默认值约束FDEDUCTTAXFOR((0))
DF__T_IV_PURC__FDEDU__62E8D4B9默认值约束FDEDUCTTAX_D((0))
DF__T_IV_PURC__FISDE__63DCF8F2默认值约束FISDEDUCT('0')

全部采购发票-采购发票明细_L

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICENTRY_L采购发票明细PURCHASEICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
物料说明FMaterialDescMaterialDescFMATERIALDESCnvarchar5102550(' ')
索引
名称类型字段
PK_IV_PURCHASEICENTRY_LCLUSTEREDFPKID
IDX_IV_PURCHASEICENTRY_LNONCLUSTEREDFENTRYIDFLOCALEID
主外键
名称类型字段
PK_IV_PURCHASEICENTRY_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICENTRY_L主键约束FPKID
IDX_IV_PURCHASEICENTRY_L唯一约束FENTRYID
IDX_IV_PURCHASEICENTRY_L唯一约束FLOCALEID
DF__T_IV_PURC__FENTR__6B8B37ED默认值约束FENTRYID((0))
DF__T_IV_PURCHA__FID__6C7F5C26默认值约束FID((0))
DF__T_IV_PURC__FPKID__6D73805F默认值约束FPKID((0))
DF__T_IV_PURC__FMATE__6E67A498默认值约束FMATERIALDESC(' ')
DF__T_IV_PURC__FLOCA__6F5BC8D1默认值约束FLOCALEID((0))

1.1.16 采购发票类型

1.1.17 采购普通发票

采购普通发票-单据头

概述
表名称实体名称ORM实体名
T_IV_PURCHASEIC单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar60300(' ')
单据状态FDOCUMENTSTATUSDOCUMENTSTATUSFDOCUMENTSTATUSchar110(' ')
业务日期FDATEDATEFDATEdatetime8233(getdate())
币别FCURRENCYIDCURRENCYIDFCURRENCYIDint4100((0))
开票方式FBILLINGWAYBILLINGWAYFBILLINGWAYchar110('0')
发票号FINVOICENOINVOICENOFINVOICENOnvarchar400020000(' ')
发票日期FINVOICEDATEINVOICEDATEFINVOICEDATEdatetime8233
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
采购组织FPURCHASEORGIDPURCHASEORGIDFPURCHASEORGIDint4100((0))
采购部门FPURCHASEDEPTIDPURCHASEDEPTIDFPURCHASEDEPTIDint4100((0))
采购组FPURCHASERGROUPIDPURCHASERGROUPIDFPURCHASERGROUPIDint4100((0))
表头基本-开票核销状态FOPENSTATUSOPENSTATUSFOPENSTATUSchar110('A')
结算方式FSETTLETYPEIDSETTLETYPEIDFSETTLETYPEIDint4100((0))
汇率FEXCHANGERATEEXCHANGERATEFEXCHANGERATEdecimal132310((0))
汇率类型FEXCHANGETYPEEXCHANGETYPEFEXCHANGETYPEint4100((0))
本位币FMAINBOOKSTDCURRIDMAINBOOKSTDCURRIDFMAINBOOKSTDCURRIDint4100((0))
不含税金额FHEADAUXPRICEFORHEADAUXPRICEFORFHEADAUXPRICEFORdecimal132310((0))
税额FTAXAMOUNTFORTAXAMOUNTFORFTAXAMOUNTFORdecimal132310((0))
金额FAFTERTOTALTAXFORAFTERTOTALTAXFORFAFTERTOTALTAXFORdecimal132310((0))
税额本位币FTAXAMOUNTTAXAMOUNTFTAXAMOUNTdecimal132310((0))
金额本位币FAFTERTOTALTAXAFTERTOTALTAXFAFTERTOTALTAXdecimal132310((0))
不含税金额本位币FHEADAUXPRICEHEADAUXPRICEFHEADAUXPRICEdecimal132310((0))
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233(getdate())
审核人FAPPROVERIDAPPROVERIDFAPPROVERIDint4100((0))
创建人FCREATORIDFCREATORIDFCREATORIDint4100((0))
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
单据类型FBillTypeIDBILLTYPEIDFBILLTYPEIDvarchar36360(' ')
采购员FPURCHASERIDPURCHASERIDFPURCHASERIDint4100((0))
供应商FSUPPLIERIDSUPPLIERIDFSUPPLIERIDint4100((0))
会计核算体系FACCOUNTSYSTEMACCOUNTSYSTEMFACCOUNTSYSTEMint4100((0))
按含税单价录入FISTAXISTAXFISTAXchar110(' ')
作废人FCancellerIdCancellerIdFCANCELLERIDint4100
作废状态FCancelStatusCancelStatusFCANCELSTATUSchar110('A')
作废日期FCancelDateCancelDateFCANCELDATEdatetime8233
红蓝字FRedBlueRedBlueFREDBLUEchar110('0')
税额计入成本FISTAXINCOSTISTAXINCOSTFISTAXINCOSTchar110('0')
发票生成方式FGenTypeFGenTypeFGENTYPEint4100((0))
收票手机号(电子发票)FPhoneNumberFPhoneNumberFPHONENUMBERnvarchar100500(' ')
纳税人识别号(电子发票)FOwnRevenueNumberFOwnRevenueNumberFOWNREVENUENUMBERnvarchar100500(' ')
发票代码(电子发票)FInvoiceCodeFInvoiceCodeFINVOICECODEnvarchar100500(' ')
随机码(电子发票)FRandomCodeFRandomCodeFRAMDOMCODEnvarchar100500(' ')
税控状态(电子发票)FElectronicStatusFElectronicStatusFELECTRONICSTATUSchar110('0')
开票流水号FSerialNumberFSerialNumberFSERIALNUMBERvarchar400040000(' ')
源单立账类型FSrcSetAccountTypeFSrcSetAccountTypeFSRCSETACCOUNTTYPEchar110('1')
应付单内码FPAYABLEIDFPAYABLEIDFPAYABLEIDint4100((0))
价外税FISPRICEEXCLUDETAXISPRICEEXCLUDETAXFISPRICEEXCLUDETAXchar110('1')
不参与开票核销FISHookMatchFISHookMatchFISHOOKMATCHchar110('0')
扫描点FScanPointFScanPointFSCANPOINTint4100((0))
归档号FARCHIVENOFARCHIVENOFARCHIVENOvarchar1001000(' ')
反写开票数量FWBOPENQTYFWBOPENQTYFWBOPENQTYchar110('0')
备注FREMARKFREMARKFREMARKnvarchar5102550(' ')
索引
名称类型字段
PK_IV_PURCHASEICCLUSTEREDFID
IDX_IV_PURCHASEICNONCLUSTEREDFBILLTYPEID
IDX_IV_PURCHASEIC_FARCHIVENONONCLUSTEREDFARCHIVENO
主外键
名称类型字段
PK_IV_PURCHASEICPKFID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEIC主键约束FID
DF__T_IV_PURC__FWBOP__02228611默认值约束FWBOPENQTY('0')
DF__T_IV_PURC__FISHO__041FAB52默认值约束FISHOOKMATCH('0')
DF_T_IV_PURCHASEIC_FID默认值约束FID((0))
DF__T_IV_PURC__FSRCS__1BF734E3默认值约束FSRCSETACCOUNTTYPE('1')
DF__T_IV_PURC__FBILL__3A98586E默认值约束FBILLTYPEID(' ')
DF__T_IV_PURC__FBILL__3B8C7CA7默认值约束FBILLNO(' ')
DF__T_IV_PURC__FREDB__3C80A0E0默认值约束FREDBLUEWORDIC((0))
DF__T_IV_PURC__FREDB__580034D1默认值约束FREDBLUE('0')
DF__T_IV_PURC__FDATE__3D74C519默认值约束FDATE(getdate())
DF__T_IV_PURC__FSUPP__3E68E952默认值约束FSUPPLIERID((0))
DF__T_IV_PURC__FCURR__3F5D0D8B默认值约束FCURRENCYID((0))
DF__T_IV_PURC__FBILL__405131C4默认值约束FBILLINGWAY('0')
DF__T_IV_PURC__FINVO__414555FD默认值约束FINVOICENO(' ')
DF__T_IV_PURC__FOPEN__42397A36默认值约束FOPENSTATUS('A')
DF__T_IV_PURC__FSETT__432D9E6F默认值约束FSETTLEORGID((0))
DF__T_IV_PURC__FPURC__4421C2A8默认值约束FPURCHASEORGID((0))
DF__T_IV_PURC__FPURC__58F4590A默认值约束FPURCHASERGROUPID((0))
DF__T_IV_PURC__FPURC__460A0B1A默认值约束FPURCHASEDEPTID((0))
DF__T_IV_PURC__FPURC__46FE2F53默认值约束FPURCHASERID((0))
DF__T_IV_PURC__FRECE__47F2538C默认值约束FRECEIVEORGID((0))
DF__T_IV_PURC__FPAYO__48E677C5默认值约束FPAYORGID((0))
DF__T_IV_PURC__FSETT__49DA9BFE默认值约束FSETTLETYPEID((0))
DF__T_IV_PURC__FMAIN__4ACEC037默认值约束FMAINBOOKSTDCURRID((0))
DF__T_IV_PURC__FEXCH__4BC2E470默认值约束FEXCHANGETYPE((0))
DF__T_IV_PURC__FEXCH__4CB708A9默认值约束FEXCHANGERATE((0))
DF__T_IV_PURC__FTAXA__4DAB2CE2默认值约束FTAXAMOUNTFOR((0))
DF__T_IV_PURC__FTAXA__4E9F511B默认值约束FTAXAMOUNT((0))
DF__T_IV_PURC__FHEAD__4F937554默认值约束FHEADAUXPRICEFOR((0))
DF__T_IV_PURC__FPAYA__322C9612默认值约束FPAYABLEID((0))
DF__T_IV_PURC__FHEAD__5087998D默认值约束FHEADAUXPRICE((0))
DF__T_IV_PURC__FAFTE__517BBDC6默认值约束FAFTERTOTALTAXFOR((0))
DF__T_IV_PURC__FSCAN__34DB1EA2默认值约束FSCANPOINT((0))
DF__T_IV_PURC__FAFTE__526FE1FF默认值约束FAFTERTOTALTAX((0))
DF__T_IV_PURC__FCREA__53640638默认值约束FCREATORID((0))
DF__T_IV_PURC__FCREA__54582A71默认值约束FCREATEDATE(getdate())
DF__T_IV_PURC__FMODI__554C4EAA默认值约束FMODIFIERID((0))
DF__T_IV_PURC__FDOCU__564072E3默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_PURC__FAPPR__5734971C默认值约束FAPPROVERID((0))
DF__T_IV_PURC__FACCO__5828BB55默认值约束FACCOUNTSYSTEM((0))
DF__T_IV_PURC__FFORM__591CDF8E默认值约束FFORMID(' ')
DF__T_IV_PURC__FISTA__5A1103C7默认值约束FISTAX(' ')
DF__T_IV_PURC__FCANC__5B052800默认值约束FCANCELSTATUS('A')
DF__T_IV_PURC__FARCH__51775D50默认值约束FARCHIVENO(' ')
DF__T_IV_PURC__FGENT__5816408B默认值约束FGENTYPE((0))
DF__T_IV_PURC__FELEC__58D55A9A默认值约束FELECTRONICSTATUS('0')
DF__T_IV_PURC__FOWNR__59C97ED3默认值约束FOWNREVENUENUMBER(' ')
DF__T_IV_PURC__FINVO__5ABDA30C默认值约束FINVOICECODE(' ')
DF__T_IV_PURC__FRAMD__5BB1C745默认值约束FRAMDOMCODE(' ')
DF__T_IV_PURC__FSERI__5D9A0FB7默认值约束FSERIALNUMBER(' ')
DF__T_IV_PURC__FPHON__5CA5EB7E默认值约束FPHONENUMBER(' ')
DF__T_IV_PURC__FISPR__6B7E1ABA默认值约束FISPRICEEXCLUDETAX('1')
DF__T_IV_PURC__FISTA__70158549默认值约束FISTAXINCOST('0')
DF__T_IV_PURC__FREMA__78B15FC0默认值约束FREMARK(' ')

采购普通发票-单据头_O

概述
表名称实体名称ORM实体名
T_IV_PURCHASEIC_O单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
开票供应商FIVSUPPLIERIDIVSUPPLIERIDFIVSUPPLIERIDint4100((0))
联系电话FTELTELFTELnvarchar5102550(' ')
收款人FPAYEEPAYEEFPAYEEnvarchar100500(' ')
清单标识FHAVEIVLISTHAVEIVLISTFHAVEIVLISTchar110('0')
金税盘机号FGTDISKNUMBERGTDISKNUMBERFGTDISKNUMBERnvarchar100500(' ')
通讯地址FADDRESSADDRESSFADDRESSnvarchar5102550(' ')
银行账号FBANKCODEBANKCODEFBANKCODEnvarchar5102550(' ')
发票代码FIVCODEIVCODEFIVCODEnvarchar5102550(' ')
纳税人识别号FTAXREGISTERCODETAXREGISTERCODEFTAXREGISTERCODEnvarchar5102550(' ')
打印清单次数FGTPRINTLISTCOUNTGTPRINTLISTCOUNTFGTPRINTLISTCOUNTint4100((0))
开票人FDRAWERDRAWERFDRAWERnvarchar100500(' ')
原发票代码FSOURCEIVCODESOURCEIVCODEFSOURCEIVCODEnvarchar5102550(' ')
开户银行FOPENBANKNAMEOPENBANKNAMEFOPENBANKNAMEnvarchar5102550(' ')
复核人FREVIEWERREVIEWERFREVIEWERnvarchar100500(' ')
原发票号码FSOURCEIVNUMBERSOURCEIVNUMBERFSOURCEIVNUMBERnvarchar5102550(' ')
发票抬头FINVOICETITLEINVOICETITLEFINVOICETITLEnvarchar5102550(' ')
打印次数FGTPRINTCOUNTGTPRINTCOUNTFGTPRINTCOUNTint4100((0))
发票号码FIVNUMBERIVNUMBERFIVNUMBERnvarchar5102550(' ')
开票状态FGTSTATUSGTSTATUSFGTSTATUSchar110('0')
校验码FCHECKCODECHECKCODEFCHECKCODEvarchar400040000(' ')
源单业务类型FSRCBUSINESSTYPEFSRCBUSINESSTYPEFSRCBUSINESSTYPEvarchar20200(' ')
原蓝字发票类型FSOURCEIVTYPESOURCEIVTYPEFSOURCEIVTYPEvarchar20200(' ')
原蓝票填开日期FSOURCEIVDATESOURCEIVDATEFSOURCEIVDATEdatetime8233
冲红原因FRUSHREDREASONRUSHREDREASONFRUSHREDREASONvarchar20200(' ')
电子发票地址FPDFURLCOPYFPDFURLCOPYFPDFURLCOPYnvarchar5102550(' ')
原开票流水号FSOURCESERIALNUMSOURCESERIALNUMFSOURCESERIALNUMvarchar400040000(' ')
索引
名称类型字段
PK_IV_PURCHASEIC_OCLUSTEREDFID
主外键
名称类型字段
PK_IV_PURCHASEIC_OPKFID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEIC_O主键约束FID
DF__T_IV_PURC__FSRCB__2B9111FD默认值约束FSRCBUSINESSTYPE(' ')
DF__T_IV_PURC__FINVO__44A83D6E默认值约束FINVOICETITLE(' ')
DF__T_IV_PURC__FTAXR__459C61A7默认值约束FTAXREGISTERCODE(' ')
DF__T_IV_PURC__FOPEN__469085E0默认值约束FOPENBANKNAME(' ')
DF__T_IV_PURC__FBANK__4784AA19默认值约束FBANKCODE(' ')
DF__T_IV_PURCH__FTEL__4878CE52默认值约束FTEL(' ')
DF__T_IV_PURC__FADDR__496CF28B默认值约束FADDRESS(' ')
DF__T_IV_PURC__FSOUR__4A6116C4默认值约束FSOURCEIVCODE(' ')
DF__T_IV_PURC__FSOUR__4B553AFD默认值约束FSOURCEIVNUMBER(' ')
DF__T_IV_PURC__FIVCO__4C495F36默认值约束FIVCODE(' ')
DF__T_IV_PURC__FIVNU__4D3D836F默认值约束FIVNUMBER(' ')
DF__T_IV_PURC__FCHEC__4DEB8798默认值约束FCHECKCODE(' ')
DF__T_IV_PURC__FGTST__4E31A7A8默认值约束FGTSTATUS('0')
DF__T_IV_PURC__FGTPR__4F25CBE1默认值约束FGTPRINTCOUNT((0))
DF__T_IV_PURC__FGTPR__5019F01A默认值约束FGTPRINTLISTCOUNT((0))
DF__T_IV_PURC__FHAVE__510E1453默认值约束FHAVEIVLIST('0')
DF__T_IV_PURC__FDRAW__5202388C默认值约束FDRAWER(' ')
DF__T_IV_PURC__FPAYE__52F65CC5默认值约束FPAYEE(' ')
DF__T_IV_PURC__FREVI__53EA80FE默认值约束FREVIEWER(' ')
DF__T_IV_PURC__FGTDI__54DEA537默认值约束FGTDISKNUMBER(' ')
DF__T_IV_PURC__FPDFU__6D3FAD14默认值约束FPDFURLCOPY(' ')
DF__T_IV_PURC__FSOUR__6E33D14D默认值约束FSOURCESERIALNUM(' ')
DF__T_IV_PURC__FSOUR__6F27F586默认值约束FSOURCEIVTYPE(' ')
DF__T_IV_PURC__FRUSH__701C19BF默认值约束FRUSHREDREASON(' ')
DF__T_IV_PURCHA__FID__72D8511B默认值约束FID((0))
DF__T_IV_PURC__FIVSU__73CC7554默认值约束FIVSUPPLIERID((0))

采购普通发票-采购普通发票明细

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICENTRY采购普通发票明细PURCHASEICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
源单内码FSRCBILLIDSRCBILLIDFSRCBILLIDint4100((0))
源单行内码FSRCROWIDSRCROWIDFSRCROWIDint4100((0))
源单行号FSRCSEQFSRCSEQFSRCSEQint4100((0))
物料编码FMATERIALIDMATERIALIDFMATERIALIDint4100((0))
不含税单价FAUXPRICEAUXPRICEFAUXPRICEdecimal132310((0))
单价FAUXTAXPRICEAUXTAXPRICEFAUXTAXPRICEdecimal132310((0.0))
采购订单号FPURCHASEORDERNOPURCHASEORDERNOFPURCHASEORDERNOnvarchar160800
价格系数FPRICECOEFFICIENTPRICECOEFFICIENFPRICECOEFFICIENTdecimal9196((0.0))
计价数量FPRICEQTYPRICEQTYFPRICEQTYdecimal132310((0.0))
不含税金额FAMOUNTFORAMOUNTFORFAMOUNTFORdecimal132310((0.0))
税率(%)FTAXRATETAXRATEFTAXRATEdecimal9196((0.0))
税额FDETAILTAXAMOUNTFORDETAILTAXAMOUNTFORFDETAILTAXAMOUNTFORdecimal132310((0.0))
金额FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0.0))
备注FCOMMENTCOMMENTFCOMMENTnvarchar5102550(' ')
表体明细-开票核销状态FOPENSTATUS_DOPENSTATUSFOPENSTATUSchar110('A')
表体明细-已开票核销金额FOPENAMOUNTFOR_DOPENAMOUNTFORFOPENAMOUNTFORdecimal132310((0))
表体明细-未开票核销金额FNOTOPENAMOUNTFOR_DNOTOPENAMOUNTFORFNOTOPENAMOUNTFORdecimal132310((0))
基本单位数量FBASICUNITQTYBASICUNITQTYFBASICUNITQTYdecimal132310((0))
基本单位FBASICUNITIDBASICUNITIDFBASICUNITIDint4100((0))
计价单位FPRICEUNITIDFUnitIDFPRICEUNITIDint4100((0))
基本单位关联数量(无效)FBaseJoinQtyFBaseJoinQtyFBASEJOINQTYdecimal132310((0))
源单类型FSOURCETYPESOURCETYPEFSOURCETYPEvarchar50500(' ')
源单编号FSRCBILLNOSRCBILLNOFSRCBILLNOnvarchar3201600(' ')
源单基本单位数量(无效)FSRCBASICQTYSRCBASICQTYFSRCBASICQTYdecimal132310((0.0))
源单已开票基本单位数量(无效)FSRCIVBASICQTYSRCIVBASICQTYFSRCIVBASICQTYdecimal132310((0.0))
计划计价数量(无效)FPLANPRICEQTYPLANPRICEQTYFPLANPRICEQTYdecimal132310((0.0))
表体明细-未开票核销数量FNOTOPENQTY_DNOTOPENQTYFNOTOPENQTYdecimal132310((0))
表体明细-已开票核销数量FOPENQTY_DOPENQTYFOPENQTYdecimal132310((0))
上游采购发票价税合计FTempAmountTempAmountFTEMPAMOUNTdecimal132310((0))
已下推发票数量FPUSHREDQTYPUSHREDQTYFPUSHREDQTYdecimal132310((0))
已核销不含税金额FMatchNotTaxAmtForMatchNotTaxAmtForFMATCHNOTTAXAMTFORdecimal132310((0))
基本单位单价FBASICUNITPRICEFORBASICUNITPRICEFORFBASICUNITPRICEFORdecimal132310((0))
上游特殊核销金额FSpecialAmountForSpecialAmountForFSPECIALAMOUNTFORdecimal132310((0))
开票结束FISENDBILLFISENDBILLFISENDBILLchar110
折扣率(%)FENTRYDISCOUNTRATEENTRYDISCOUNTRATEFENTRYDISCOUNTRATEdecimal132310((0))
折扣额FDISCOUNTAMOUNTFORDISCOUNTAMOUNTFORFDISCOUNTAMOUNTFORdecimal132310((0))
已核销金额本位币FOPENAMOUNTFOPENAMOUNTFOPENAMOUNTdecimal132310((0))
已核销不含税金额本位币FMATCHNOTTAXAMTFMATCHNOTTAXAMTFMATCHNOTTAXAMTdecimal132310((0))
是否工序结算下推FISFromOperProcDFISFromOperProcDFISFROMOPERPROCDchar110(' ')
索引
名称类型字段
PK_IV_PURCHASEICENTRYCLUSTEREDFENTRYID
IDX_IV_PURCHASEICENTRY_FIDNONCLUSTEREDFIDFENTRYID
主外键
名称类型字段
PK_IV_PURCHASEICENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICENTRY主键约束FENTRYID
DF_T_IV_PURCHASEICENTRY_FENTRYID默认值约束FENTRYID((0))
DF_T_IV_PURCHASEICENTRY_FID默认值约束FID((0))
DF__T_IV_PURCH__FSEQ__7D2535DA默认值约束FSEQ((0))
DF__T_IV_PURC__FSOUR__7E195A13默认值约束FSOURCETYPE(' ')
DF__T_IV_PURC__FSRCB__7F0D7E4C默认值约束FSRCBILLID((0))
DF__T_IV_PURC__FSRCB__0001A285默认值约束FSRCBILLNO(' ')
DF__T_IV_PURC__FSRCR__00F5C6BE默认值约束FSRCROWID((0))
DF__T_IV_PURC__FSRCS__01E9EAF7默认值约束FSRCSEQ((0))
DF__T_IV_PURC__FMATE__02DE0F30默认值约束FMATERIALID((0))
DF__T_IV_PURC__FAUXP__03D23369默认值约束FAUXPRICE((0))
DF__T_IV_PURC__FAUXT__04C657A2默认值约束FAUXTAXPRICE((0.0))
DF__T_IV_PURC__FPRIC__06AEA014默认值约束FPRICECOEFFICIENT((0.0))
DF__T_IV_PURC__FPRIC__07A2C44D默认值约束FPRICEUNITID((0))
DF__T_IV_PURC__FPRIC__0896E886默认值约束FPRICEQTY((0.0))
DF__T_IV_PURC__FPLAN__098B0CBF默认值约束FPLANPRICEQTY((0.0))
DF__T_IV_PURC__FAMOU__0E4FC1DC默认值约束FAMOUNTFOR((0.0))
DF__T_IV_PURC__FTAXR__10380A4E默认值约束FTAXRATE((0.0))
DF__T_IV_PURC__FDETA__112C2E87默认值约束FDETAILTAXAMOUNTFOR((0.0))
DF__T_IV_PURC__FALLA__131476F9默认值约束FALLAMOUNTFOR((0.0))
DF__T_IV_PURC__FCOMM__14FCBF6B默认值约束FCOMMENT(' ')
DF__T_IV_PURC__FPAYC__17D92C16默认值约束FPAYCONDITIONID((0))
DF__T_IV_PURC__FOPEN__19C17488默认值约束FOPENSTATUS('A')
DF__T_IV_PURC__FOPEN__1AB598C1默认值约束FOPENAMOUNTFOR((0))
DF__T_IV_PURC__FTEMP__15C49637默认值约束FTEMPAMOUNT((0))
DF__T_IV_PURC__FNOTO__1C9DE133默认值约束FNOTOPENAMOUNTFOR((0))
DF__T_IV_PURC__FOPEN__1E8629A5默认值约束FOPENQTY((0))
DF__T_IV_PURC__FNOTO__1F7A4DDE默认值约束FNOTOPENQTY((0))
DF__T_IV_PURC__FBASI__206E7217默认值约束FBASICUNITID((0))
DF__T_IV_PURC__FBASI__21629650默认值约束FBASICUNITPRICEFOR((0))
DF__T_IV_PURC__FBASI__234ADEC2默认值约束FBASICUNITQTY((0))
DF__T_IV_PURC__FHOOK__243F02FB默认值约束FHOOKSTATUS('A')
DF__T_IV_PURC__FHOOK__25332734默认值约束FHOOKAMOUNTFOR((0))
DF__T_IV_PURC__FHOOK__271B6FA6默认值约束FHOOKQTY((0))
DF__T_IV_PURC__FUNHO__280F93DF默认值约束FUNHOOKAMOUNTFOR((0))
DF__T_IV_PURC__FUNHO__29F7DC51默认值约束FUNHOOKQTY((0))
DF__T_IV_PURC__FBASE__2DC86D35默认值约束FBASEJOINQTY((0))
DF__T_IV_PURC__FSRCP__30A4D9E0默认值约束FSRCPRICEQTY((0.0))
DF__T_IV_PURC__FSRCR__3198FE19默认值约束FSRCREALATEQTY((0.0))
DF__T_IV_PURC__FSRCB__328D2252默认值约束FSRCBASICQTY((0.0))
DF__T_IV_PURC__FSRCI__3381468B默认值约束FSRCIVBASICQTY((0.0))
DF__T_IV_PURC__FOPEN__24E4146E默认值约束FOPENAMOUNT((0))
DF__T_IV_PURC__FPUSH__57411AC2默认值约束FPUSHREDQTY((0))
DF__T_IV_PURC__FMATC__25D838A7默认值约束FMATCHNOTTAXAMT((0))
DF__T_IV_PURC__FMATC__58353EFB默认值约束FMATCHNOTTAXAMTFOR((0))
DF__T_IV_PURC__FSPEC__7B4A3C65默认值约束FSPECIALAMOUNTFOR((0))
DF__T_IV_PURC__FISFR__6D141D9D默认值约束FISFROMOPERPROCD(' ')
DF__T_IV_PURC__FENTR__737C01D9默认值约束FENTRYDISCOUNTRATE((0))
DF__T_IV_PURC__FDISC__74702612默认值约束FDISCOUNTAMOUNTFOR((0))

采购普通发票-采购普通发票明细_O

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICENTRY_O采购普通发票明细PURCHASEICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
可抵扣税额FDEDUCTTAXFORDEDUCTTAXFORFDEDUCTTAXFORdecimal132310((0))
可抵扣税额本位币FDEDUCTTAX_DDEDUCTTAX_DFDEDUCTTAX_Ddecimal132310((0))
是否抵扣FISDEDUCTISDEDUCTFISDEDUCTchar110('0')
抵扣日期FDEDUCTDATEDEDUCTDATEFDEDUCTDATEdatetime8233
尾差处理标识FTAILDIFFFLAGTAILDIFFFLAGFTAILDIFFFLAGchar110('0')
辅助属性FAUXPROPIDFAUXPROPIDFAUXPROPIDint4100((0))
批号FLotFLotFLOTint4100((0))
折扣额本位币FDISCOUNTAMOUNTDISCOUNTAMOUNTFDISCOUNTAMOUNTdecimal132310((0))
税额本位币FDETAILTAXAMOUNTDETAILTAXAMOUNTFDETAILTAXAMOUNTdecimal132310((0))
不含税金额本位币FNOTAXAMOUNTNOTAXAMOUNTFNOTAXAMOUNTdecimal132310((0))
金额本位币FALLAMOUNTALLAMOUNTFALLAMOUNTdecimal132310((0))
索引
名称类型字段
PK_IV_PURCHASEICENTRY_OCLUSTEREDFENTRYID
IDX_IV_PURCHASEICENTRY_O_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_PURCHASEICENTRY_OPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICENTRY_O主键约束FENTRYID
DF__T_IV_PURC__FTAIL__195D5329默认值约束FTAILDIFFFLAG('0')
DF__T_IV_PURC__FDISC__2ACC36C3默认值约束FDISCOUNTAMOUNT((0))
DF__T_IV_PURC__FDETA__2BC05AFC默认值约束FDETAILTAXAMOUNT((0))
DF__T_IV_PURC__FNOTA__2CB47F35默认值约束FNOTAXAMOUNT((0))
DF__T_IV_PURC__FALLA__2DA8A36E默认值约束FALLAMOUNT((0))
DF__T_IV_PURCHA__FID__4E3DF984默认值约束FID((0))
DF__T_IV_PURC__FAUXP__4F321DBD默认值约束FAUXPROPID((0))
DF__T_IV_PURCH__FLOT__502641F6默认值约束FLOT((0))
DF__T_IV_PURC__FLOT___511A662F默认值约束FLOT_TEXT(' ')
DF__T_IV_PURC__FDEDU__61F4B080默认值约束FDEDUCTTAXFOR((0))
DF__T_IV_PURC__FDEDU__62E8D4B9默认值约束FDEDUCTTAX_D((0))
DF__T_IV_PURC__FISDE__63DCF8F2默认值约束FISDEDUCT('0')

采购普通发票-采购普通发票明细_L

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICENTRY_L采购普通发票明细PURCHASEICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
物料说明FMaterialDescMaterialDescFMATERIALDESCnvarchar5102550(' ')
索引
名称类型字段
PK_IV_PURCHASEICENTRY_LCLUSTEREDFPKID
IDX_IV_PURCHASEICENTRY_LNONCLUSTEREDFENTRYIDFLOCALEID
主外键
名称类型字段
PK_IV_PURCHASEICENTRY_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICENTRY_L主键约束FPKID
IDX_IV_PURCHASEICENTRY_L唯一约束FENTRYID
IDX_IV_PURCHASEICENTRY_L唯一约束FLOCALEID
DF__T_IV_PURC__FENTR__6B8B37ED默认值约束FENTRYID((0))
DF__T_IV_PURCHA__FID__6C7F5C26默认值约束FID((0))
DF__T_IV_PURC__FPKID__6D73805F默认值约束FPKID((0))
DF__T_IV_PURC__FMATE__6E67A498默认值约束FMATERIALDESC(' ')
DF__T_IV_PURC__FLOCA__6F5BC8D1默认值约束FLOCALEID((0))

采购普通发票-扫描信息

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICSCAN扫描信息PURCHASEICSCAN
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
发票代码FCODESCFCODESCFCODESCvarchar50500(' ')
发票号FNUMBERSCFNUMBERSCFNUMBERSCvarchar30300(' ')
发票金额FAMOUNTSCFAMOUNTSCFAMOUNTSCdecimal132310((0))
发票日期FINVOICEDATESCFINVOICEDATESCFINVOICEDATESCdatetime8233
索引
名称类型字段
PK_IV_PURCHASEICSCANCLUSTEREDFENTRYID
IDX_IV_PURCHASEICSCAN_FLAGNONCLUSTEREDFFLAG
主外键
名称类型字段
PK_IV_PURCHASEICSCANPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICSCAN主键约束FENTRYID
DF__T_IV_PURCHA__FID__4BBE83FA默认值约束FID((0))
DF__T_IV_PURC__FCODE__4CB2A833默认值约束FCODESC(' ')
DF__T_IV_PURC__FNUMB__4DA6CC6C默认值约束FNUMBERSC(' ')
DF__T_IV_PURC__FAMOU__4E9AF0A5默认值约束FAMOUNTSC((0))
DF__T_IV_PURC__FENTR__4F8F14DE默认值约束FENTRYID((0))
DF__T_IV_PURC__FFLAG__50833917默认值约束FFLAG(' ')

采购普通发票-收票信息

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICRECINV收票信息RecInvInfo
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
收票单FRecInvRecInvFRECINVint4100((0))
从源单携带FISFROMSRCBILLISFROMSRCBILLFISFROMSRCBILLchar110('0')
索引
名称类型字段
PK_IV_PURCHASEICRECINVCLUSTEREDFENTRYID
IDX_IV_PURIVRECINV_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_PURCHASEICRECINVPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICRECINV主键约束FENTRYID
DF__T_IV_PURC__FENTR__532A9B98默认值约束FENTRYID((0))
DF__T_IV_PURCHA__FID__541EBFD1默认值约束FID((0))
DF__T_IV_PURCH__FSEQ__5512E40A默认值约束FSEQ((0))
DF__T_IV_PURC__FRECI__56070843默认值约束FRECINV((0))
DF__T_IV_PURC__FISFR__6297C7B1默认值约束FISFROMSRCBILL('0')

采购普通发票-关联关系表

概述
表名称实体名称ORM实体名
T_IV_PURCHASEICENTRY_LK关联关系表FPURCHASEICENTRY_Link
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值
业务流程图FPURCHASEICENTRY_Link_FFlowIdFlowIdFFLOWIDvarchar36360(' ')
推进路线FPURCHASEICENTRY_Link_FFlowLineIdFlowLineIdFFLOWLINEIDint4100((0))
转换规则FPURCHASEICENTRY_Link_FRuleIdRuleIdFRULEIDvarchar36360(' ')
源单表内码FPURCHASEICENTRY_Link_FSTableIdSTableIdFSTABLEIDint4100
源单表FPURCHASEICENTRY_Link_FSTableNameSTableNameFSTABLENAMEvarchar30300(' ')
源单内码FPURCHASEICENTRY_Link_FSBillIdSBillIdFSBILLIDint4100((0))
源单分录内码FPURCHASEICENTRY_Link_FSIdSIdFSIDint4100((0))
原始携带量FPURCHASEICENTRY_Link_FBASICUNITQTYOldBASICUNITQTYOldFBASICUNITQTYOLDdecimal132310((0))
修改携带量FPURCHASEICENTRY_Link_FBASICUNITQTYBASICUNITQTYFBASICUNITQTYdecimal132310((0))
原始携带量FPURCHASEICENTRY_Link_FALLAMOUNTFOROldALLAMOUNTFOROldFALLAMOUNTFOROLDdecimal132310((0))
修改携带量FPURCHASEICENTRY_Link_FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0))
迁移图FPURCHASEICENTRY_Link_FIVLnkTrackerIdFIVLnkTrackerIdFIVLNKTRACKERIDnvarchar2001000
上游状态FPURCHASEICENTRY_Link_FIVLnkSStateFIVLnkSStateFIVLNKSSTATEnvarchar4002000
数量FIVLnkFPURCHASEICENTRY_Link_FIVLnkAmountFIVLnkAmountFIVLNKAMOUNTdecimal132310
索引
名称类型字段
PK_IV_PURCHASEICENTRY_LKCLUSTEREDFLINKID
IDX_IV_PURCHASEICLK_IDINFONONCLUSTEREDFSBILLIDFSIDFENTRYID
IDX_IV_PURSEICENY_LK_ENTRYIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_IV_PURCHASEICENTRY_LKPKFLINKID
触发器
约束
名称类型字段描述
PK_IV_PURCHASEICENTRY_LK主键约束FLINKID
DF__T_IV_PURC__FFLOW__36B44F9F默认值约束FFLOWID(' ')
DF__T_IV_PURC__FFLOW__37A873D8默认值约束FFLOWLINEID((0))
DF__T_IV_PURC__FRULE__389C9811默认值约束FRULEID(' ')
DF__T_IV_PURC__FSTAB__3990BC4A默认值约束FSTABLENAME(' ')
DF__T_IV_PURC__FBASI__3A84E083默认值约束FBASICUNITQTYOLD((0))
DF__T_IV_PURC__FBASI__3B7904BC默认值约束FBASICUNITQTY((0))
DF__T_IV_PURC__FALLA__3D9E48BE默认值约束FALLAMOUNTFOROLD((0))
DF__T_IV_PURC__FALLA__3E926CF7默认值约束FALLAMOUNTFOR((0))
DF_T_IV_PURCHASEICENTRY_LK_FLINKID默认值约束FLINKID((0))
DF__T_IV_PURC__FSBIL__0D1BA681默认值约束FSBILLID((0))
DF__T_IV_PURCH__FSID__0E0FCABA默认值约束FSID((0))
DF__T_IV_PURC__FENTR__0F03EEF3默认值约束FENTRYID((0))

1.1.18 进项费用普通发票

进项费用普通发票-单据头

概述
表名称实体名称ORM实体名
T_IV_PUREXPINV单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar60300(' ')
单据状态FDOCUMENTSTATUSDOCUMENTSTATUSFDOCUMENTSTATUSchar110(' ')
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233(getdate())
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
审核人FAPPROVERIDAPPROVERIDFAPPROVERIDint4100((0))
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
创建人FCREATORIDFCREATORIDFCREATORIDint4100((0))
结算方式FSETTLETYPEIDSETTLETYPEIDFSETTLETYPEIDint4100((0))
采购组FPURCHASERGROUPIDPURCHASERGROUPIDFPURCHASERGROUPIDint4100((0))
汇率类型FEXCHANGETYPEEXCHANGETYPEFEXCHANGETYPEint4100((0))
汇率FEXCHANGERATEEXCHANGERATEFEXCHANGERATEdecimal132310((0))
税额FDEDUCTIBLETAXFORDEDUCTIBLETAXFORFDEDUCTIBLETAXFORdecimal132310((0))
税额本位币FDEDUCTIBLETAXDEDUCTIBLETAXFDEDUCTIBLETAXdecimal132310((0))
不含税金额本位币FHEADAUXPRICEHEADAUXPRICEFHEADAUXPRICEdecimal132310((0))
不含税金额FHEADAUXPRICEFORHEADAUXPRICEFORFHEADAUXPRICEFORdecimal132310((0))
本位币FMAINBOOKSTDCURRIDMAINBOOKSTDCURRIDFMAINBOOKSTDCURRIDint4100((0))
采购员FPURCHASERIDPURCHASERIDFPURCHASERIDint4100((0))
采购部门FPURCHASEDEPTIDPURCHASEDEPTIDFPURCHASEDEPTIDint4100((0))
金额本位币FAmountAmountFAMOUNTdecimal132310((0))
发票号FINVOICENOINVOICENOFINVOICENOnvarchar400020000(' ')
发票日期FINVOICEDATEINVOICEDATEFINVOICEDATEdatetime8233
单据类型FBillTypeIDBillTypeIDFBILLTYPEIDvarchar36360(' ')
币别FCURRENCYIDCURRENCYIDFCURRENCYIDint4100((0))
采购组织FPURCHASEORGIDPURCHASEORGIDFPURCHASEORGIDint4100((0))
开票方式FBILLINGWAYBILLINGWAYFBILLINGWAYchar110('0')
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
金额FAMOUNTFORAMOUNTFORFAMOUNTFORdecimal132310((0))
业务日期FDATEDATEFDATEdatetime8233(getdate())
会计核算体系FACCOUNTSYSTEMACCOUNTSYSTEMFACCOUNTSYSTEMint4100((0))
应付单同步生成FIsByPayableIsByPayableFISBYPAYABLEchar110('0')
应付单内码FPayableIDPayableIDFPAYABLEIDint4100
表头基本-开票核销状态FOPENSTATUSOPENSTATUSFOPENSTATUSchar110('A')
作废状态FCancelStatusCancelStatusFCANCELSTATUSchar110('A')
作废日期FCancelDateCancelDateFCANCELDATEdatetime8233
作废人FCancellerIdCancellerIdFCANCELLERIDint4100
红蓝字FRedBlueRedBlueFREDBLUEchar110('0')
税控状态(电子发票)FElectronicStatusFElectronicStatusFELECTRONICSTATUSchar110('0')
纳税人识别号(电子发票)FOwnRevenueNumberFOwnRevenueNumberFOWNREVENUENUMBERnvarchar100500(' ')
发票代码(电子发票)FInvoiceCodeFInvoiceCodeFINVOICECODEnvarchar100500(' ')
随机码(电子发票)FRandomCodeFRandomCodeFRAMDOMCODEnvarchar100500(' ')
收票手机号(电子发票)FPhoneNumberFPhoneNumberFPHONENUMBERnvarchar100500(' ')
开票流水号(电子发票)FSerialNumberFSerialNumberFSERIALNUMBERnvarchar100500(' ')
往来单位FSUPPLIERIDSUPPLIERIDFSUPPLIERIDint4100((0))
往来单位类型FCONTACTUNITTYPEFCONTACTUNITTYPEFCONTACTUNITTYPEvarchar36360('BD_Supplier')
纳税人识别号FTAXNUMBERTAXNUMBERFTAXNUMBERnvarchar100500(' ')
不参与开票核销FISHookMatchFISHookMatchFISHOOKMATCHchar110('0')
扫描点FScanPointFScanPointFSCANPOINTint4100((0))
归档号FARCHIVENOFARCHIVENOFARCHIVENOnvarchar2001000(' ')
价外税FISPRICEEXCLUDETAXFCheckBoxFISPRICEEXCLUDETAXchar110(' ')
备注FREMARKFREMARKFREMARKnvarchar5102550(' ')
索引
名称类型字段
PK_IV_PUREXPINVCLUSTEREDFID
IDX_IV_PUREXPINVNONCLUSTEREDFBILLTYPEID
IDX_IV_PUREXPINV_FARCHIVENONONCLUSTEREDFARCHIVENO
主外键
名称类型字段
PK_IV_PUREXPINVPKFID
触发器
约束
名称类型字段描述
PK_IV_PUREXPINV主键约束FID
DF__T_IV_PURE__FISHO__06E8A012默认值约束FISHOOKMATCH('0')
DF__T_IV_PURE__FISPR__0BE0FA75默认值约束FISPRICEEXCLUDETAX(' ')
DF__T_IV_PURE__FFORM__364B386C默认值约束FFORMID('IV_PUREXPINV')
DF__T_IV_PURE__FISTA__373F5CA5默认值约束FISTAX('1')
DF__T_IV_PURE__FSCAN__3D7064A3默认值约束FSCANPOINT((0))
DF_T_IV_PUREXPINV_FID默认值约束FID((0))
DF__T_IV_PURE__FBILL__1121418F默认值约束FBILLTYPEID(' ')
DF__T_IV_PURE__FBILL__121565C8默认值约束FBILLNO(' ')
DF__T_IV_PURE__FREDB__13098A01默认值约束FREDBLUEWORDIC((0))
DF__T_IV_PURE__FDATE__13FDAE3A默认值约束FDATE(getdate())
DF__T_IV_PURE__FSUPP__14F1D273默认值约束FSUPPLIERID((0))
DF__T_IV_PURE__FCURR__15E5F6AC默认值约束FCURRENCYID((0))
DF__T_IV_PURE__FBILL__16DA1AE5默认值约束FBILLINGWAY('0')
DF__T_IV_PURE__FOPEN__5ADCA17C默认值约束FOPENSTATUS('A')
DF__T_IV_PURE__FINVO__17CE3F1E默认值约束FINVOICENO(' ')
DF__T_IV_PURE__FSETT__18C26357默认值约束FSETTLEORGID((0))
DF__T_IV_PURE__FPURC__19B68790默认值约束FPURCHASEORGID((0))
DF__T_IV_PURE__FPURC__5BD0C5B5默认值约束FPURCHASERGROUPID((0))
DF__T_IV_PURE__FPURC__1B9ED002默认值约束FPURCHASEDEPTID((0))
DF__T_IV_PURE__FPURC__1C92F43B默认值约束FPURCHASERID((0))
DF__T_IV_PURE__FSETT__1E7B3CAD默认值约束FSETTLETYPEID((0))
DF__T_IV_PURE__FMAIN__1F6F60E6默认值约束FMAINBOOKSTDCURRID((0))
DF__T_IV_PURE__FEXCH__2063851F默认值约束FEXCHANGETYPE((0))
DF__T_IV_PURE__FEXCH__2157A958默认值约束FEXCHANGERATE((0))
DF__T_IV_PURE__FAMOU__224BCD91默认值约束FAMOUNTFOR((0))
DF__T_IV_PURE__FELEC__513438D2默认值约束FELECTRONICSTATUS('0')
DF__T_IV_PURE__FAMOU__233FF1CA默认值约束FAMOUNT((0))
DF__T_IV_PURE__FOWNR__52285D0B默认值约束FOWNREVENUENUMBER(' ')
DF__T_IV_PURE__FHEAD__24341603默认值约束FHEADAUXPRICEFOR((0))
DF__T_IV_PURE__FINVO__531C8144默认值约束FINVOICECODE(' ')
DF__T_IV_PURE__FHEAD__25283A3C默认值约束FHEADAUXPRICE((0))
DF__T_IV_PURE__FRAMD__5410A57D默认值约束FRAMDOMCODE(' ')
DF__T_IV_PURE__FDEDU__261C5E75默认值约束FDEDUCTIBLETAXFOR((0))
DF__T_IV_PURE__FPHON__5504C9B6默认值约束FPHONENUMBER(' ')
DF__T_IV_PURE__FDEDU__271082AE默认值约束FDEDUCTIBLETAX((0))
DF__T_IV_PURE__FSERI__55F8EDEF默认值约束FSERIALNUMBER(' ')
DF__T_IV_PURE__FCREA__2804A6E7默认值约束FCREATORID((0))
DF__T_IV_PURE__FCREA__28F8CB20默认值约束FCREATEDATE(getdate())
DF__T_IV_PURE__FMODI__29ECEF59默认值约束FMODIFIERID((0))
DF__T_IV_PURE__FDOCU__2AE11392默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_PURE__FAPPR__2BD537CB默认值约束FAPPROVERID((0))
DF__T_IV_PURE__FARCH__5B00C78A默认值约束FARCHIVENO(' ')
DF__T_IV_PURE__FCANC__5CC4E9EE默认值约束FCANCELSTATUS('A')
DF__T_IV_PURE__FACCO__2CC95C04默认值约束FACCOUNTSYSTEM((0))
DF__T_IV_PURE__FISBY__2DBD803D默认值约束FISBYPAYABLE('0')
DF__T_IV_PURE__FREDB__5DB90E27默认值约束FREDBLUE('0')
DF__T_IV_PURE__FTAXN__5E241F9C默认值约束FTAXNUMBER(' ')
DF__T_IV_PURE__FCONT__5F1843D5默认值约束FCONTACTUNITTYPE('BD_Supplier')
DF__T_IV_PURE__FREMA__79A583F9默认值约束FREMARK(' ')

进项费用普通发票-单据头_O

概述
表名称实体名称ORM实体名
T_IV_PUREXPINV_O单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
源单立账类型FSrcSetAccountTypeFSrcSetAccountTypeFSRCSETACCOUNTTYPEchar110('1')
索引
名称类型字段
主外键
名称类型字段
触发器
约束
名称类型字段描述
DF__T_IV_PUREXP__FID__2B32842E默认值约束FID((0))
DF__T_IV_PURE__FSRCS__2C26A867默认值约束FSRCSETACCOUNTTYPE('1')

进项费用普通发票-进项费用普通发票明细

概述
表名称实体名称ORM实体名
T_IV_PUREXPINVENTRY进项费用普通发票明细PUREXPINVENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
费用项目编码FEXPENSEIDEXPENSEIDFEXPENSEIDint4100((0))
计价单位FUnitIDUnitIDFUNITIDint4100((0))
计价数量FQtyQtyFQTYdecimal132310((0.0))
单价FUNITPRICEUNITPRICEFUNITPRICEdecimal132310((0))
金额FAMOUNTFOR_DAMOUNTFORFAMOUNTFORdecimal132310((0.0))
税率(%)FTAXRATETAXRATEFTAXRATEdecimal9196((0.0))
税额FDEDUCTIBLETAXFOR_DDEDUCTIBLETAXFORFDEDUCTIBLETAXFORdecimal132310((0))
不含税金额FHEADAUXPRICEFOR_DHEADAUXPRICEFORFHEADAUXPRICEFORdecimal132310((0))
备注FCOMMENTCOMMENTFCOMMENTnvarchar5102550(' ')
对应应付单明细内码FPayableEntryIDPayableEntryIDFPAYABLEENTRYIDint4100
表体明细-开票核销状态FOPENSTATUS_DOPENSTATUSFOPENSTATUSchar110('A')
表体明细-已开票核销金额FOPENAMOUNTFOR_DOPENAMOUNTFORFOPENAMOUNTFORdecimal132310((0))
表体明细-未开票核销金额FNOTOPENAMOUNTFOR_DNOTOPENAMOUNTFORFNOTOPENAMOUNTFORdecimal132310((0))
源单类型FSOURCETYPESOURCETYPEFSOURCETYPEvarchar50500(' ')
源单行内码FSRCROWIDSRCROWIDFSRCROWIDint4100((0))
源单行号FSRCSEQSRCSEQFSRCSEQint4100((0))
源单内码FSRCBILLIDFSRCBILLIDFSRCBILLIDint4100((0))
源单编号FSRCBILLNOSRCBILLNOFSRCBILLNOnvarchar3201600(' ')
已下推红字发票金额FPushRedAmountForPushRedAmountForFPUSHREDAMOUNTFORdecimal132310((0))
计入成本FINCLUDECOSTINCLUDECOSTFINCLUDECOSTchar110('0')
不含税金额本位币FHEADAUXPRICE_DFHEADAUXPRICE_DFHEADAUXPRICEdecimal132310((0))
税额本位币FDEDUCTIBLETAX_DDEDUCTIBLETAX_DFDEDUCTIBLETAX_Ddecimal132310((0))
金额本位币FAMOUNT_DAMOUNT_DFAMOUNT_Ddecimal132310((0))
可抵扣税额FDEDUCTTAXFORDEDUCTTAXFORFDEDUCTTAXFORdecimal132310((0))
可抵扣税额本位币FDEDUCTTAX_DDEDUCTTAX_DFDEDUCTTAX_Ddecimal132310((0))
是否抵扣FISDEDUCTISDEDUCTFISDEDUCTchar110('0')
抵扣日期FDEDUCTDATEDEDUCTDATEFDEDUCTDATEdatetime8233
不参与核销FDONOTMATCHDONOTMATCHFDONOTMATCHchar110('0')
已核销不含税金额FMatchNotTaxAmtForMatchNotTaxAmtForFMATCHNOTTAXAMTFORdecimal132310((0))
已完全到票FISINVOICEALLARRIVEDISINVOICEALLARRIVEDFISINVOICEALLARRIVEDchar110('0')
索引
名称类型字段
PK_IV_PUREXPINVENTRYCLUSTEREDFENTRYID
IDX_IV_PUREXPINVENTRY_FIDNONCLUSTEREDFIDFENTRYID
主外键
名称类型字段
PK_IV_PUREXPINVENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PUREXPINVENTRY主键约束FENTRYID
DF__T_IV_PURE__FDEDU__28E3EE51默认值约束FDEDUCTIBLETAX_D((0))
DF__T_IV_PURE__FAMOU__29D8128A默认值约束FAMOUNT_D((0))
DF__T_IV_PURE__FNOTA__383380DE默认值约束FNOTAXPRICE((0))
DF__T_IV_PURE__FISIN__3C629F91默认值约束FISINVOICEALLARRIVED('0')
DF__T_IV_PURE__FMATC__4832AE42默认值约束FMATCHNOTTAXAMTFOR((0))
DF_T_IV_PUREXPINVENTRY_FENTRYID默认值约束FENTRYID((0))
DF_T_IV_PUREXPINVENTRY_FID默认值约束FID((0))
DF__T_IV_PUREX__FSEQ__02D32238默认值约束FSEQ((0))
DF__T_IV_PURE__FSOUR__4EABD4C1默认值约束FSOURCETYPE(' ')
DF__T_IV_PURE__FSRCB__4F9FF8FA默认值约束FSRCBILLID((0))
DF__T_IV_PURE__FSRCB__50941D33默认值约束FSRCBILLNO(' ')
DF__T_IV_PURE__FSRCR__5188416C默认值约束FSRCROWID((0))
DF__T_IV_PURE__FSRCS__527C65A5默认值约束FSRCSEQ((0))
DF__T_IV_PURE__FEXPE__03C74671默认值约束FEXPENSEID((0))
DF__T_IV_PURE__FEXPE__04BB6AAA默认值约束FEXPENSENAME(' ')
DF__T_IV_PURE__FUNIT__05AF8EE3默认值约束FUNITPRICE((0))
DF__T_IV_PURE__FUNIT__06A3B31C默认值约束FUNITID((0))
DF__T_IV_PUREX__FQTY__0797D755默认值约束FQTY((0.0))
DF__T_IV_PURE__FAMOU__088BFB8E默认值约束FAMOUNTFOR((0.0))
DF__T_IV_PURE__FHEAD__0A744400默认值约束FHEADAUXPRICEFOR((0))
DF__T_IV_PURE__FDEDU__0C5C8C72默认值约束FDEDUCTIBLETAXFOR((0))
DF__T_IV_PURE__FTAXR__0E44D4E4默认值约束FTAXRATE((0.0))
DF__T_IV_PURE__FCOMM__0F38F91D默认值约束FCOMMENT(' ')
DF__T_IV_PURE__FOPEN__537089DE默认值约束FOPENSTATUS('A')
DF__T_IV_PURE__FOPEN__5464AE17默认值约束FOPENAMOUNTFOR((0))
DF__T_IV_PURE__FNOTO__5558D250默认值约束FNOTOPENAMOUNTFOR((0))
DF__T_IV_PURE__FPUSH__564CF689默认值约束FPUSHREDAMOUNTFOR((0))
DF__T_IV_PURE__FINCL__63B50BFB默认值约束FINCLUDECOST('0')
DF__T_IV_PURE__FHEAD__64A93034默认值约束FHEADAUXPRICE((0))
DF__T_IV_PURE__FDEDU__64D11D2B默认值约束FDEDUCTTAXFOR((0))
DF__T_IV_PURE__FDEDU__65C54164默认值约束FDEDUCTTAX_D((0))
DF__T_IV_PURE__FISDE__66B9659D默认值约束FISDEDUCT('0')
DF__T_IV_PURE__FDONO__67AD89D6默认值约束FDONOTMATCH('0')

进项费用普通发票-扫描信息

概述
表名称实体名称ORM实体名
T_IV_PUREXPINVSCAN扫描信息PUREXPINVSCAN
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
发票代码FCODESCFCODESCFCODESCvarchar50500(' ')
发票号FNUMBERSCFNUMBERSCFNUMBERSCvarchar30300(' ')
发票金额FAMOUNTSCFAMOUNTSCFAMOUNTSCdecimal132310((0))
发票日期FINVOICEDATESCFINVOICEDATESCFINVOICEDATESCdatetime8233
索引
名称类型字段
PK_IV_PUREXPINVSCANCLUSTEREDFENTRYID
IDX_IV_PUREXPINVSCAN_FLAGNONCLUSTEREDFFLAG
主外键
名称类型字段
PK_IV_PUREXPINVSCANPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PUREXPINVSCAN主键约束FENTRYID
DF__T_IV_PUREXP__FID__5CE90FFC默认值约束FID((0))
DF__T_IV_PURE__FCODE__5DDD3435默认值约束FCODESC(' ')
DF__T_IV_PURE__FNUMB__5ED1586E默认值约束FNUMBERSC(' ')
DF__T_IV_PURE__FAMOU__5FC57CA7默认值约束FAMOUNTSC((0))
DF__T_IV_PURE__FENTR__60B9A0E0默认值约束FENTRYID((0))
DF__T_IV_PURE__FFLAG__61ADC519默认值约束FFLAG(' ')

进项费用普通发票-收票信息

概述
表名称实体名称ORM实体名
T_IV_PUREXPINVRECINV收票信息RecInvInfo
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
收票单FRecInvRecInvFRECINVint4100((0))
从源单携带FISFROMSRCBILLISFROMSRCBILLFISFROMSRCBILLchar110('0')
索引
名称类型字段
PK_IV_PUREXPINVRECINVCLUSTEREDFENTRYID
IDX_IV_PUREXPIVRECINV_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_PUREXPINVRECINVPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PUREXPINVRECINV主键约束FENTRYID
DF__T_IV_PURE__FENTR__4E65E67B默认值约束FENTRYID((0))
DF__T_IV_PUREXP__FID__4F5A0AB4默认值约束FID((0))
DF__T_IV_PUREX__FSEQ__504E2EED默认值约束FSEQ((0))
DF__T_IV_PURE__FRECI__51425326默认值约束FRECINV((0))
DF__T_IV_PURE__FISFR__638BEBEA默认值约束FISFROMSRCBILL('0')

进项费用普通发票-关联关系表

概述
表名称实体名称ORM实体名
T_IV_PUREXPINVENTRY_LK关联关系表FPUREXPINVENTRY_Link
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值
业务流程图FPUREXPINVENTRY_Link_FFlowIdFlowIdFFLOWIDvarchar36360(' ')
推进路线FPUREXPINVENTRY_Link_FFlowLineIdFlowLineIdFFLOWLINEIDint4100((0))
转换规则FPUREXPINVENTRY_Link_FRuleIdRuleIdFRULEIDvarchar36360(' ')
源单表内码FPUREXPINVENTRY_Link_FSTableIdSTableIdFSTABLEIDint4100
源单表FPUREXPINVENTRY_Link_FSTableNameSTableNameFSTABLENAMEvarchar30300(' ')
源单内码FPUREXPINVENTRY_Link_FSBillIdSBillIdFSBILLIDint4100((0))
源单分录内码FPUREXPINVENTRY_Link_FSIdSIdFSIDint4100((0))
原始携带量FPUREXPINVENTRY_Link_FAMOUNTFOR_DOldAMOUNTFOROldFAMOUNTFOR_DOLDdecimal132310((0))
修改携带量FPUREXPINVENTRY_Link_FAMOUNTFOR_DAMOUNTFORFAMOUNTFOR_Ddecimal132310((0))
索引
名称类型字段
PK_IV_PUREXPINVENTRY_LKCLUSTEREDFLINKID
IDX_IV_PUREXPINVENTRY_LKNONCLUSTEREDFSBILLIDFSIDFENTRYID
IDX_IV_PUREXPINVENTRY_LK_EIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_IV_PUREXPINVENTRY_LKPKFLINKID
触发器
约束
名称类型字段描述
PK_IV_PUREXPINVENTRY_LK主键约束FLINKID
DF_T_IV_PUREXPINVENTRY_LK_FLINKID默认值约束FLINKID((0))
DF__T_IV_PURE__FSBIL__1E72B1BA默认值约束FSBILLID((0))
DF__T_IV_PUREX__FSID__1F66D5F3默认值约束FSID((0))
DF__T_IV_PURE__FENTR__205AFA2C默认值约束FENTRYID((0))
DF__T_IV_PURE__FFLOW__214F1E65默认值约束FFLOWID(' ')
DF__T_IV_PURE__FFLOW__2243429E默认值约束FFLOWLINEID((0))
DF__T_IV_PURE__FRULE__233766D7默认值约束FRULEID(' ')
DF__T_IV_PURE__FSTAB__242B8B10默认值约束FSTABLENAME(' ')
DF__T_IV_PURE__FAMOU__251FAF49默认值约束FAMOUNTFOR_DOLD((0))
DF__T_IV_PURE__FAMOU__2613D382默认值约束FAMOUNTFOR_D((0))

1.1.19 进项费用增值税发票

进项费用增值税发票-单据头

概述
表名称实体名称ORM实体名
T_IV_PUREXPINV单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar60300(' ')
单据状态FDOCUMENTSTATUSDOCUMENTSTATUSFDOCUMENTSTATUSchar110(' ')
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233(getdate())
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
审核人FAPPROVERIDAPPROVERIDFAPPROVERIDint4100((0))
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
创建人FCREATORIDFCREATORIDFCREATORIDint4100((0))
结算方式FSETTLETYPEIDSETTLETYPEIDFSETTLETYPEIDint4100((0))
采购组FPURCHASERGROUPIDPURCHASERGROUPIDFPURCHASERGROUPIDint4100((0))
汇率类型FEXCHANGETYPEEXCHANGETYPEFEXCHANGETYPEint4100((0))
汇率FEXCHANGERATEEXCHANGERATEFEXCHANGERATEdecimal132310((0))
税额FDEDUCTIBLETAXFORDEDUCTIBLETAXFORFDEDUCTIBLETAXFORdecimal132310((0))
税额本位币FDEDUCTIBLETAXDEDUCTIBLETAXFDEDUCTIBLETAXdecimal132310((0))
不含税金额本位币FHEADAUXPRICEHEADAUXPRICEFHEADAUXPRICEdecimal132310((0))
不含税金额FHEADAUXPRICEFORHEADAUXPRICEFORFHEADAUXPRICEFORdecimal132310((0))
本位币FMAINBOOKSTDCURRIDMAINBOOKSTDCURRIDFMAINBOOKSTDCURRIDint4100((0))
采购员FPURCHASERIDPURCHASERIDFPURCHASERIDint4100((0))
采购部门FPURCHASEDEPTIDPURCHASEDEPTIDFPURCHASEDEPTIDint4100((0))
价税合计本位币FAmountAmountFAMOUNTdecimal132310((0))
发票号FINVOICENOINVOICENOFINVOICENOnvarchar400020000(' ')
发票日期FINVOICEDATEINVOICEDATEFINVOICEDATEdatetime8233
单据类型FBillTypeIDBillTypeIDFBILLTYPEIDvarchar36360(' ')
币别FCURRENCYIDCURRENCYIDFCURRENCYIDint4100((0))
采购组织FPURCHASEORGIDPURCHASEORGIDFPURCHASEORGIDint4100((0))
开票方式FBILLINGWAYBILLINGWAYFBILLINGWAYchar110('0')
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
价税合计FAMOUNTFORAMOUNTFORFAMOUNTFORdecimal132310((0))
业务日期FDATEDATEFDATEdatetime8233(getdate())
会计核算体系FACCOUNTSYSTEMACCOUNTSYSTEMFACCOUNTSYSTEMint4100((0))
应付单同步生成FIsByPayableIsByPayableFISBYPAYABLEchar110('0')
应付单内码FPayableIDPayableIDFPAYABLEIDint4100
表头基本-开票核销状态FOPENSTATUSOPENSTATUSFOPENSTATUSchar110('A')
作废状态FCancelStatusCancelStatusFCANCELSTATUSchar110('A')
作废日期FCancelDateCancelDateFCANCELDATEdatetime8233
作废人FCancellerIdCancellerIdFCANCELLERIDint4100
红蓝字FRedBlueRedBlueFREDBLUEchar110('0')
税控状态(电子发票)FElectronicStatusFElectronicStatusFELECTRONICSTATUSchar110('0')
纳税人识别号(电子发票)FOwnRevenueNumberFOwnRevenueNumberFOWNREVENUENUMBERnvarchar100500(' ')
发票代码(电子发票)FInvoiceCodeFInvoiceCodeFINVOICECODEnvarchar100500(' ')
随机码(电子发票)FRandomCodeFRandomCodeFRAMDOMCODEnvarchar100500(' ')
收票手机号(电子发票)FPhoneNumberFPhoneNumberFPHONENUMBERnvarchar100500(' ')
开票流水号(电子发票)FSerialNumberFSerialNumberFSERIALNUMBERnvarchar100500(' ')
按含税单价录入FISTAXFISTAXFISTAXchar110('1')
往来单位类型FCONTACTUNITTYPEFCONTACTUNITTYPEFCONTACTUNITTYPEvarchar36360('BD_Supplier')
往来单位FSUPPLIERIDSUPPLIERIDFSUPPLIERIDint4100((0))
纳税人识别号FTAXNUMBERTAXNUMBERFTAXNUMBERnvarchar100500(' ')
不参与开票核销FISHookMatchFISHookMatchFISHOOKMATCHchar110('0')
扫描点FScanPointFScanPointFSCANPOINTint4100((0))
归档号FARCHIVENOFARCHIVENOFARCHIVENOnvarchar2001000(' ')
价外税FISPRICEEXCLUDETAXFCheckBoxFISPRICEEXCLUDETAXchar110(' ')
备注FREMARKFREMARKFREMARKnvarchar5102550(' ')
索引
名称类型字段
PK_IV_PUREXPINVCLUSTEREDFID
IDX_IV_PUREXPINVNONCLUSTEREDFBILLTYPEID
IDX_IV_PUREXPINV_FARCHIVENONONCLUSTEREDFARCHIVENO
主外键
名称类型字段
PK_IV_PUREXPINVPKFID
触发器
约束
名称类型字段描述
PK_IV_PUREXPINV主键约束FID
DF__T_IV_PURE__FISHO__06E8A012默认值约束FISHOOKMATCH('0')
DF__T_IV_PURE__FISPR__0BE0FA75默认值约束FISPRICEEXCLUDETAX(' ')
DF__T_IV_PURE__FFORM__364B386C默认值约束FFORMID('IV_PUREXPINV')
DF__T_IV_PURE__FISTA__373F5CA5默认值约束FISTAX('1')
DF__T_IV_PURE__FSCAN__3D7064A3默认值约束FSCANPOINT((0))
DF_T_IV_PUREXPINV_FID默认值约束FID((0))
DF__T_IV_PURE__FBILL__1121418F默认值约束FBILLTYPEID(' ')
DF__T_IV_PURE__FBILL__121565C8默认值约束FBILLNO(' ')
DF__T_IV_PURE__FREDB__13098A01默认值约束FREDBLUEWORDIC((0))
DF__T_IV_PURE__FDATE__13FDAE3A默认值约束FDATE(getdate())
DF__T_IV_PURE__FSUPP__14F1D273默认值约束FSUPPLIERID((0))
DF__T_IV_PURE__FCURR__15E5F6AC默认值约束FCURRENCYID((0))
DF__T_IV_PURE__FBILL__16DA1AE5默认值约束FBILLINGWAY('0')
DF__T_IV_PURE__FOPEN__5ADCA17C默认值约束FOPENSTATUS('A')
DF__T_IV_PURE__FINVO__17CE3F1E默认值约束FINVOICENO(' ')
DF__T_IV_PURE__FSETT__18C26357默认值约束FSETTLEORGID((0))
DF__T_IV_PURE__FPURC__19B68790默认值约束FPURCHASEORGID((0))
DF__T_IV_PURE__FPURC__5BD0C5B5默认值约束FPURCHASERGROUPID((0))
DF__T_IV_PURE__FPURC__1B9ED002默认值约束FPURCHASEDEPTID((0))
DF__T_IV_PURE__FPURC__1C92F43B默认值约束FPURCHASERID((0))
DF__T_IV_PURE__FSETT__1E7B3CAD默认值约束FSETTLETYPEID((0))
DF__T_IV_PURE__FMAIN__1F6F60E6默认值约束FMAINBOOKSTDCURRID((0))
DF__T_IV_PURE__FEXCH__2063851F默认值约束FEXCHANGETYPE((0))
DF__T_IV_PURE__FEXCH__2157A958默认值约束FEXCHANGERATE((0))
DF__T_IV_PURE__FAMOU__224BCD91默认值约束FAMOUNTFOR((0))
DF__T_IV_PURE__FELEC__513438D2默认值约束FELECTRONICSTATUS('0')
DF__T_IV_PURE__FAMOU__233FF1CA默认值约束FAMOUNT((0))
DF__T_IV_PURE__FOWNR__52285D0B默认值约束FOWNREVENUENUMBER(' ')
DF__T_IV_PURE__FHEAD__24341603默认值约束FHEADAUXPRICEFOR((0))
DF__T_IV_PURE__FINVO__531C8144默认值约束FINVOICECODE(' ')
DF__T_IV_PURE__FHEAD__25283A3C默认值约束FHEADAUXPRICE((0))
DF__T_IV_PURE__FRAMD__5410A57D默认值约束FRAMDOMCODE(' ')
DF__T_IV_PURE__FDEDU__261C5E75默认值约束FDEDUCTIBLETAXFOR((0))
DF__T_IV_PURE__FPHON__5504C9B6默认值约束FPHONENUMBER(' ')
DF__T_IV_PURE__FDEDU__271082AE默认值约束FDEDUCTIBLETAX((0))
DF__T_IV_PURE__FSERI__55F8EDEF默认值约束FSERIALNUMBER(' ')
DF__T_IV_PURE__FCREA__2804A6E7默认值约束FCREATORID((0))
DF__T_IV_PURE__FCREA__28F8CB20默认值约束FCREATEDATE(getdate())
DF__T_IV_PURE__FMODI__29ECEF59默认值约束FMODIFIERID((0))
DF__T_IV_PURE__FDOCU__2AE11392默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_PURE__FAPPR__2BD537CB默认值约束FAPPROVERID((0))
DF__T_IV_PURE__FARCH__5B00C78A默认值约束FARCHIVENO(' ')
DF__T_IV_PURE__FCANC__5CC4E9EE默认值约束FCANCELSTATUS('A')
DF__T_IV_PURE__FACCO__2CC95C04默认值约束FACCOUNTSYSTEM((0))
DF__T_IV_PURE__FISBY__2DBD803D默认值约束FISBYPAYABLE('0')
DF__T_IV_PURE__FREDB__5DB90E27默认值约束FREDBLUE('0')
DF__T_IV_PURE__FTAXN__5E241F9C默认值约束FTAXNUMBER(' ')
DF__T_IV_PURE__FCONT__5F1843D5默认值约束FCONTACTUNITTYPE('BD_Supplier')
DF__T_IV_PURE__FREMA__79A583F9默认值约束FREMARK(' ')

进项费用增值税发票-单据头_O

概述
表名称实体名称ORM实体名
T_IV_PUREXPINV_O单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
源单立账类型FSrcSetAccountTypeFSrcSetAccountTypeFSRCSETACCOUNTTYPEchar110('1')
索引
名称类型字段
主外键
名称类型字段
触发器
约束
名称类型字段描述
DF__T_IV_PUREXP__FID__2B32842E默认值约束FID((0))
DF__T_IV_PURE__FSRCS__2C26A867默认值约束FSRCSETACCOUNTTYPE('1')

进项费用增值税发票-进项费用增值税发票明细

概述
表名称实体名称ORM实体名
T_IV_PUREXPINVENTRY进项费用增值税发票明细PUREXPINVENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
费用项目编码FEXPENSEIDEXPENSEIDFEXPENSEIDint4100((0))
计价单位FUnitIDUnitIDFUNITIDint4100((0))
计价数量FQtyQtyFQTYdecimal132310((0.0))
含税单价FUNITPRICEUNITPRICEFUNITPRICEdecimal132310((0))
价税合计FAMOUNTFOR_DAMOUNTFORFAMOUNTFORdecimal132310((0.0))
税率(%)FTAXRATETAXRATEFTAXRATEdecimal9196((0.0))
税额FDEDUCTIBLETAXFOR_DDEDUCTIBLETAXFORFDEDUCTIBLETAXFORdecimal132310((0))
不含税金额FHEADAUXPRICEFOR_DHEADAUXPRICEFORFHEADAUXPRICEFORdecimal132310((0))
备注FCOMMENTCOMMENTFCOMMENTnvarchar5102550(' ')
对应应付单明细内码FPayableEntryIDPayableEntryIDFPAYABLEENTRYIDint4100
表体明细-开票核销状态FOPENSTATUS_DOPENSTATUSFOPENSTATUSchar110('A')
表体明细-已开票核销金额FOPENAMOUNTFOR_DOPENAMOUNTFORFOPENAMOUNTFORdecimal132310((0))
表体明细-未开票核销金额FNOTOPENAMOUNTFOR_DNOTOPENAMOUNTFORFNOTOPENAMOUNTFORdecimal132310((0))
源单类型FSOURCETYPESOURCETYPEFSOURCETYPEvarchar50500(' ')
源单行内码FSRCROWIDSRCROWIDFSRCROWIDint4100((0))
源单行号FSRCSEQSRCSEQFSRCSEQint4100((0))
源单内码FSRCBILLIDFSRCBILLIDFSRCBILLIDint4100((0))
源单编号FSRCBILLNOSRCBILLNOFSRCBILLNOnvarchar3201600(' ')
已下推红字发票金额FPushRedAmountForPushRedAmountForFPUSHREDAMOUNTFORdecimal132310((0))
计入成本FINCLUDECOSTINCLUDECOSTFINCLUDECOSTchar110('0')
不含税金额本位币FHEADAUXPRICE_DFHEADAUXPRICE_DFHEADAUXPRICEdecimal132310((0))
税额本位币FDEDUCTIBLETAX_DDEDUCTIBLETAX_DFDEDUCTIBLETAX_Ddecimal132310((0))
价税合计本位币FAMOUNT_DAMOUNT_DFAMOUNT_Ddecimal132310((0))
单价FNOTAXPRICENOTAXPRICEFNOTAXPRICEdecimal132310((0))
可抵扣税额FDEDUCTTAXFORDEDUCTTAXFORFDEDUCTTAXFORdecimal132310((0))
可抵扣税额本位币FDEDUCTTAX_DDEDUCTTAX_DFDEDUCTTAX_Ddecimal132310((0))
是否抵扣FISDEDUCTISDEDUCTFISDEDUCTchar110('0')
抵扣日期FDEDUCTDATEDEDUCTDATEFDEDUCTDATEdatetime8233
不参与核销FDONOTMATCHDONOTMATCHFDONOTMATCHchar110('0')
已核销不含税金额FMatchNotTaxAmtForMatchNotTaxAmtForFMATCHNOTTAXAMTFORdecimal132310((0))
已完全到票FISINVOICEALLARRIVEDISINVOICEALLARRIVEDFISINVOICEALLARRIVEDchar110('0')
索引
名称类型字段
PK_IV_PUREXPINVENTRYCLUSTEREDFENTRYID
IDX_IV_PUREXPINVENTRY_FIDNONCLUSTEREDFIDFENTRYID
主外键
名称类型字段
PK_IV_PUREXPINVENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PUREXPINVENTRY主键约束FENTRYID
DF__T_IV_PURE__FDEDU__28E3EE51默认值约束FDEDUCTIBLETAX_D((0))
DF__T_IV_PURE__FAMOU__29D8128A默认值约束FAMOUNT_D((0))
DF__T_IV_PURE__FNOTA__383380DE默认值约束FNOTAXPRICE((0))
DF__T_IV_PURE__FISIN__3C629F91默认值约束FISINVOICEALLARRIVED('0')
DF__T_IV_PURE__FMATC__4832AE42默认值约束FMATCHNOTTAXAMTFOR((0))
DF_T_IV_PUREXPINVENTRY_FENTRYID默认值约束FENTRYID((0))
DF_T_IV_PUREXPINVENTRY_FID默认值约束FID((0))
DF__T_IV_PUREX__FSEQ__02D32238默认值约束FSEQ((0))
DF__T_IV_PURE__FSOUR__4EABD4C1默认值约束FSOURCETYPE(' ')
DF__T_IV_PURE__FSRCB__4F9FF8FA默认值约束FSRCBILLID((0))
DF__T_IV_PURE__FSRCB__50941D33默认值约束FSRCBILLNO(' ')
DF__T_IV_PURE__FSRCR__5188416C默认值约束FSRCROWID((0))
DF__T_IV_PURE__FSRCS__527C65A5默认值约束FSRCSEQ((0))
DF__T_IV_PURE__FEXPE__03C74671默认值约束FEXPENSEID((0))
DF__T_IV_PURE__FEXPE__04BB6AAA默认值约束FEXPENSENAME(' ')
DF__T_IV_PURE__FUNIT__05AF8EE3默认值约束FUNITPRICE((0))
DF__T_IV_PURE__FUNIT__06A3B31C默认值约束FUNITID((0))
DF__T_IV_PUREX__FQTY__0797D755默认值约束FQTY((0.0))
DF__T_IV_PURE__FAMOU__088BFB8E默认值约束FAMOUNTFOR((0.0))
DF__T_IV_PURE__FHEAD__0A744400默认值约束FHEADAUXPRICEFOR((0))
DF__T_IV_PURE__FDEDU__0C5C8C72默认值约束FDEDUCTIBLETAXFOR((0))
DF__T_IV_PURE__FTAXR__0E44D4E4默认值约束FTAXRATE((0.0))
DF__T_IV_PURE__FCOMM__0F38F91D默认值约束FCOMMENT(' ')
DF__T_IV_PURE__FOPEN__537089DE默认值约束FOPENSTATUS('A')
DF__T_IV_PURE__FOPEN__5464AE17默认值约束FOPENAMOUNTFOR((0))
DF__T_IV_PURE__FNOTO__5558D250默认值约束FNOTOPENAMOUNTFOR((0))
DF__T_IV_PURE__FPUSH__564CF689默认值约束FPUSHREDAMOUNTFOR((0))
DF__T_IV_PURE__FINCL__63B50BFB默认值约束FINCLUDECOST('0')
DF__T_IV_PURE__FHEAD__64A93034默认值约束FHEADAUXPRICE((0))
DF__T_IV_PURE__FDEDU__64D11D2B默认值约束FDEDUCTTAXFOR((0))
DF__T_IV_PURE__FDEDU__65C54164默认值约束FDEDUCTTAX_D((0))
DF__T_IV_PURE__FISDE__66B9659D默认值约束FISDEDUCT('0')
DF__T_IV_PURE__FDONO__67AD89D6默认值约束FDONOTMATCH('0')

进项费用增值税发票-扫描信息

概述
表名称实体名称ORM实体名
T_IV_PUREXPINVSCAN扫描信息PURCHASEICSCAN
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
发票代码FCODESCFCODESCFCODESCvarchar50500(' ')
发票号FNUMBERSCFNUMBERSCFNUMBERSCvarchar30300(' ')
发票金额FAMOUNTSCFAMOUNTSCFAMOUNTSCdecimal132310((0))
发票日期FINVOICEDATESCFINVOICEDATESCFINVOICEDATESCdatetime8233
索引
名称类型字段
PK_IV_PUREXPINVSCANCLUSTEREDFENTRYID
IDX_IV_PUREXPINVSCAN_FLAGNONCLUSTEREDFFLAG
主外键
名称类型字段
PK_IV_PUREXPINVSCANPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PUREXPINVSCAN主键约束FENTRYID
DF__T_IV_PUREXP__FID__5CE90FFC默认值约束FID((0))
DF__T_IV_PURE__FCODE__5DDD3435默认值约束FCODESC(' ')
DF__T_IV_PURE__FNUMB__5ED1586E默认值约束FNUMBERSC(' ')
DF__T_IV_PURE__FAMOU__5FC57CA7默认值约束FAMOUNTSC((0))
DF__T_IV_PURE__FENTR__60B9A0E0默认值约束FENTRYID((0))
DF__T_IV_PURE__FFLAG__61ADC519默认值约束FFLAG(' ')

进项费用增值税发票-收票信息

概述
表名称实体名称ORM实体名
T_IV_PUREXPINVRECINV收票信息RecInvInfo
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
收票单FRecInvRecInvFRECINVint4100((0))
从源单携带FISFROMSRCBILLISFROMSRCBILLFISFROMSRCBILLchar110('0')
索引
名称类型字段
PK_IV_PUREXPINVRECINVCLUSTEREDFENTRYID
IDX_IV_PUREXPIVRECINV_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_PUREXPINVRECINVPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_PUREXPINVRECINV主键约束FENTRYID
DF__T_IV_PURE__FENTR__4E65E67B默认值约束FENTRYID((0))
DF__T_IV_PUREXP__FID__4F5A0AB4默认值约束FID((0))
DF__T_IV_PUREX__FSEQ__504E2EED默认值约束FSEQ((0))
DF__T_IV_PURE__FRECI__51425326默认值约束FRECINV((0))
DF__T_IV_PURE__FISFR__638BEBEA默认值约束FISFROMSRCBILL('0')

进项费用增值税发票-关联关系表

概述
表名称实体名称ORM实体名
T_IV_PUREXPINVENTRY_LK关联关系表FPUREXPINVENTRY_Link
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值
业务流程图FPUREXPINVENTRY_Link_FFlowIdFlowIdFFLOWIDvarchar36360(' ')
推进路线FPUREXPINVENTRY_Link_FFlowLineIdFlowLineIdFFLOWLINEIDint4100((0))
转换规则FPUREXPINVENTRY_Link_FRuleIdRuleIdFRULEIDvarchar36360(' ')
源单表内码FPUREXPINVENTRY_Link_FSTableIdSTableIdFSTABLEIDint4100
源单表FPUREXPINVENTRY_Link_FSTableNameSTableNameFSTABLENAMEvarchar30300(' ')
源单内码FPUREXPINVENTRY_Link_FSBillIdSBillIdFSBILLIDint4100((0))
源单分录内码FPUREXPINVENTRY_Link_FSIdSIdFSIDint4100((0))
原始携带量FPUREXPINVENTRY_Link_FAMOUNTFOR_DOldAMOUNTFOROldFAMOUNTFOR_DOLDdecimal132310((0))
修改携带量FPUREXPINVENTRY_Link_FAMOUNTFOR_DAMOUNTFORFAMOUNTFOR_Ddecimal132310((0))
索引
名称类型字段
PK_IV_PUREXPINVENTRY_LKCLUSTEREDFLINKID
IDX_IV_PUREXPINVENTRY_LKNONCLUSTEREDFSBILLIDFSIDFENTRYID
IDX_IV_PUREXPINVENTRY_LK_EIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_IV_PUREXPINVENTRY_LKPKFLINKID
触发器
约束
名称类型字段描述
PK_IV_PUREXPINVENTRY_LK主键约束FLINKID
DF_T_IV_PUREXPINVENTRY_LK_FLINKID默认值约束FLINKID((0))
DF__T_IV_PURE__FSBIL__1E72B1BA默认值约束FSBILLID((0))
DF__T_IV_PUREX__FSID__1F66D5F3默认值约束FSID((0))
DF__T_IV_PURE__FENTR__205AFA2C默认值约束FENTRYID((0))
DF__T_IV_PURE__FFLOW__214F1E65默认值约束FFLOWID(' ')
DF__T_IV_PURE__FFLOW__2243429E默认值约束FFLOWLINEID((0))
DF__T_IV_PURE__FRULE__233766D7默认值约束FRULEID(' ')
DF__T_IV_PURE__FSTAB__242B8B10默认值约束FSTABLENAME(' ')
DF__T_IV_PURE__FAMOU__251FAF49默认值约束FAMOUNTFOR_DOLD((0))
DF__T_IV_PURE__FAMOU__2613D382默认值约束FAMOUNTFOR_D((0))

1.1.20 发票云租户下属企业授权信息

发票云租户下属企业授权信息-单据头

概述
表名称实体名称ORM实体名
T_IV_PZCOMPANYAUTHINFO单据头
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
编号FNUMBERNUMBERFNUMBERvarchar50500(' ')
企业税号FCOMPANYTAXNOCOMPANYTAXNOFCOMPANYTAXNOvarchar1001000(' ')
发票云ClientIdFCLIENTIDCLIENTIDFCLIENTIDvarchar1001000(' ')
发票云ClientSecretFCLIENTSECRETCLIENTSECRETFCLIENTSECRETvarchar2552550(' ')
发票云EncryptKeyFENCRYPTKEYENCRYPTKEYFENCRYPTKEYvarchar2552550(' ')
发票云租户名称FTENANTIDTENANTIDFTENANTIDint4100((0))
创建人FCreatorIdCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233(getdate())
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
修改日期FModifyDateModifyDateFMODIFYDATEdatetime8233
索引
名称类型字段
PK_IV_PZCOMPANYAUTHCLUSTEREDFID
IDX_IV_PZCOMPANYAUTH_NONONCLUSTEREDFNUMBER
IDX_IV_PZCOMPANYAUTH_TAXNONONCLUSTEREDFCOMPANYTAXNO
主外键
名称类型字段
PK_IV_PZCOMPANYAUTHPKFID
触发器
约束
名称类型字段描述
PK_IV_PZCOMPANYAUTH主键约束FID
DF__T_IV_PZCOMP__FID__73B6CD2E默认值约束FID((0))
DF__T_IV_PZCO__FNUMB__74AAF167默认值约束FNUMBER(' ')
DF__T_IV_PZCO__FCOMP__759F15A0默认值约束FCOMPANYTAXNO(' ')
DF__T_IV_PZCO__FCLIE__769339D9默认值约束FCLIENTID(' ')
DF__T_IV_PZCO__FCLIE__77875E12默认值约束FCLIENTSECRET(' ')
DF__T_IV_PZCO__FENCR__787B824B默认值约束FENCRYPTKEY(' ')
DF__T_IV_PZCO__FTENA__796FA684默认值约束FTENANTID((0))
DF__T_IV_PZCO__FCREA__7A63CABD默认值约束FCREATORID((0))
DF__T_IV_PZCO__FCREA__7B57EEF6默认值约束FCREATEDATE(getdate())
DF__T_IV_PZCO__FMODI__7C4C132F默认值约束FMODIFIERID((0))

发票云租户下属企业授权信息-单据头_L

概述
表名称实体名称ORM实体名
T_IV_PZCOMPANYAUTHINFO_L单据头
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
企业名称FNAMENAMEFNAMEnvarchar5102550(' ')
索引
名称类型字段
PK_IV_PZCOMPANYAUTH_LCLUSTEREDFPKID
IDX_IV_PZCOMPANYAUTH_LNONCLUSTEREDFIDFLOCALEID
主外键
名称类型字段
PK_IV_PZCOMPANYAUTH_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_PZCOMPANYAUTH_L主键约束FPKID
DF__T_IV_PZCO__FLOCA__001CA413默认值约束FLOCALEID((0))
DF__T_IV_PZCO__FNAME__0110C84C默认值约束FNAME(' ')
DF__T_IV_PZCO__FPKID__7E345BA1默认值约束FPKID((0))
DF__T_IV_PZCOMP__FID__7F287FDA默认值约束FID((0))

1.1.21 发票云租户授权信息

发票云租户授权信息-单据头

概述
表名称实体名称ORM实体名
T_IV_PZTENANTAUTHINFO单据头
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
租户编号FTENANTNOTENANTNOFTENANTNOvarchar1001000(' ')
星空产品序列号FSERIALNOSERIALNOFSERIALNOvarchar1001000(' ')
租户ClientIdFCLIENTIDCLIENTIDFCLIENTIDvarchar1001000(' ')
租户ClientSecretFCLIENTSECRETCLIENTSECRETFCLIENTSECRETvarchar2552550(' ')
租户EncryptKeyFENCRYPTKEYENCRYPTKEYFENCRYPTKEYvarchar2552550(' ')
创建人FCreatorIdCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233(getdate())
索引
名称类型字段
PK_IV_PZTENANTAUTHINFOCLUSTEREDFID
IDX_IV_PZTENANTAUTH_NONONCLUSTEREDFTENANTNO
主外键
名称类型字段
PK_IV_PZTENANTAUTHINFOPKFID
触发器
约束
名称类型字段描述
PK_IV_PZTENANTAUTHINFO主键约束FID
DF__T_IV_PZTENA__FID__02F910BE默认值约束FID((0))
DF__T_IV_PZTE__FTENA__03ED34F7默认值约束FTENANTNO(' ')
DF__T_IV_PZTE__FCLIE__04E15930默认值约束FCLIENTID(' ')
DF__T_IV_PZTE__FCLIE__05D57D69默认值约束FCLIENTSECRET(' ')
DF__T_IV_PZTE__FENCR__06C9A1A2默认值约束FENCRYPTKEY(' ')
DF__T_IV_PZTE__FSERI__07BDC5DB默认值约束FSERIALNO(' ')
DF__T_IV_PZTE__FCREA__08B1EA14默认值约束FCREATORID((0))
DF__T_IV_PZTE__FCREA__09A60E4D默认值约束FCREATEDATE(getdate())

发票云租户授权信息-单据头_L

概述
表名称实体名称ORM实体名
T_IV_PZTENANTAUTHINFO_L单据头
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
租户名称FNAMENAMEFNAMEnvarchar5102550(' ')
索引
名称类型字段
PK_IV_PZTENANTAUTH_LCLUSTEREDFPKID
IDX_IV_PZTENANTAUTH_LNONCLUSTEREDFIDFLOCALEID
主外键
名称类型字段
PK_IV_PZTENANTAUTH_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_PZTENANTAUTH_L主键约束FPKID
DF__T_IV_PZTE__FPKID__0B8E56BF默认值约束FPKID((0))
DF__T_IV_PZTENA__FID__0C827AF8默认值约束FID((0))
DF__T_IV_PZTE__FLOCA__0D769F31默认值约束FLOCALEID((0))
DF__T_IV_PZTE__FNAME__0E6AC36A默认值约束FNAME(' ')

1.1.22 收票单

收票单-单据头

概述
表名称实体名称ORM实体名
T_IV_RECEIVEDINVOICE单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar160800(' ')
数据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
销售方开户行及账号FSALEBANKINFOSALEBANKINFOFSALEBANKINFOnvarchar5102550(' ')
发票号码FIVNUMBERIVNUMBERFIVNUMBERnvarchar100500(' ')
销售方纳税人识别号FSALETAXNUMBERSALETAXNUMBERFSALETAXNUMBERnvarchar5102550(' ')
销售方地址电话FSALEMAILINFOSALEMAILINFOFSALEMAILINFOnvarchar5102550(' ')
销售方名称FSALENAMESALENAMEFSALENAMEnvarchar5102550(' ')
发票代码FIVCODEIVCODEFIVCODEnvarchar100500(' ')
不含税金额FSUMAMOUNTSUMAMOUNTFSUMAMOUNTdecimal132310((0))
价税合计FSUMALLAMOUNTSUMALLAMOUNTFSUMALLAMOUNTdecimal132310((0))
税额FSUMTAXAMOUNTSUMTAXAMOUNTFSUMTAXAMOUNTdecimal132310((0))
开票日期FOPENDATEOPENDATEFOPENDATEdatetime8233
发票状态FSTATUSSTATUSFSTATUSvarchar10100(' ')
勾选日期FCHECKDATECHECKDATEFCHECKDATEdatetime8233
是否勾选FISCHECKISCHECKFISCHECKchar110('0')
勾选认证日期FCONFIRMDATECONFIRMDATEFCONFIRMDATEdatetime8233
是否勾选认证FISCONFIRMISCONFIRMFISCONFIRMchar110('0')
扫描认证日期FSCANCONFIRMDATESCANCONFIRMDATEFSCANCONFIRMDATEdatetime8233
是否扫描认证FISSCANCONFIRMISSCANCONFIRMFISSCANCONFIRMchar110('0')
发票类别FINVOICETYPEINVOICETYPEFINVOICETYPEvarchar10100(' ')
购货方开户行及账号FPURBANKINFOPURBANKINFOFPURBANKINFOnvarchar5102550(' ')
购货方纳税识别号FPURTAXNUMBERPURTAXNUMBERFPURTAXNUMBERnvarchar5102550(' ')
购货方地址电话FPURMAILINFOPURMAILINFOFPURMAILINFOnvarchar5102550(' ')
购货方名称FPURNAMEPURNAMEFPURNAMEnvarchar5102550(' ')
发票快照地址FPDFURLPDFURLFPDFURLnvarchar5102550(' ')
创建人FCreatorIdFCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233(getdate())
来源组织FSOURCEORGIDSOURCEORGIDFSOURCEORGIDint4100((0))
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
关联单据编号FLINKIVNUMBERLINKIVNUMBERFLINKIVNUMBERnvarchar2001000(' ')
关联单据类型FLINKBILLTYPELINKBILLTYPEFLINKBILLTYPEvarchar36360(' ')
发票原件地址FPICTUREURLPICTUREURLFPICTUREURLnvarchar5102550(' ')
查验状态FISEXAMINEISEXAMINEFISEXAMINEchar110('0')
查验结果FEXAMINEDESCEXAMINEDESCFEXAMINEDESCnvarchar5102550(' ')
发票云流水号FPIAOZONESERIALNUMBERPIAOZONESERIALNUMBERFPIAOZONESERIALNUMBERnvarchar5102550(' ')
生成方式FGENERATETYPEGENERATETYPEFGENERATETYPEchar110(' ')
开票人FDRAWERDRAWERFDRAWERnvarchar100500(' ')
收款人FPAYEEPAYEEFPAYEEnvarchar100500(' ')
复核人FREVIEWERREVIEWERFREVIEWERnvarchar100500(' ')
备注FRemarkREMARKFREMARKnvarchar5102550(' ')
校验码FCHECKCODECHECKCODEFCHECKCODEvarchar1001000(' ')
代开标识FPROXYMARKPROXYMARKFPROXYMARKchar110('0')
税款所属期FTAXPERIODTAXPERIODFTAXPERIODvarchar20200(' ')
关联单据内码FLINKBILLIDLINKBILLIDFLINKBILLIDbigint8190((0))
旅客姓名FPASSENGERNAMEPASSENGERNAMEFPASSENGERNAMEnvarchar2001000(' ')
税率FTAXRATE_HTAXRATEFTAXRATEdecimal132310((0))
民航发展基金FDEVELOPMENTFUNDDEVELOPMENTFUNDFDEVELOPMENTFUNDdecimal132310((0))
原始销售方纳税人识别号FORIGINALSALETAXNUMBERORIGINALSALETAXNUMBERFORIGINALSALETAXNUMBERnvarchar5102550(' ')
上车时间FTIMEGETONTIMEGETONFTIMEGETONnvarchar100500(' ')
下车时间FTIMEGETOFFTIMEGETOFFFTIMEGETOFFnvarchar100500(' ')
里程FMILEAGEMILEAGEFMILEAGEnvarchar100500(' ')
所在地FPLACEPLACEFPLACEnvarchar100500(' ')
车次FTRAINNUMTRAINNUMFTRAINNUMnvarchar100500(' ')
起点FSTATIONGETONSTATIONGETONFSTATIONGETONnvarchar100500(' ')
终点FSTATIONGETOFFSTATIONGETOFFFSTATIONGETOFFnvarchar100500(' ')
座位等级FSEATGRADESEATGRADEFSEATGRADEnvarchar100500(' ')
乘车时间FTRAINTIMETRAINTIMEFTRAINTIMEnvarchar100500(' ')
航班号FFLIGHTNUMFLIGHTNUMFFLIGHTNUMnvarchar100500(' ')
消费类型FCONSUMPTIONTYPECONSUMPTIONTYPEFCONSUMPTIONTYPEvarchar20200(' ')
是否可抵扣FISDEDUCTIONFISDEDUCTIONFISDEDUCTIONchar110(' ')
发票是否有修改FISREVISEFISREVISEFISREVISEchar110(' ')
索引
名称类型字段
PK_IV_RECEIVEDINVOICECLUSTEREDFID
IDX_IV_RECINV_FIVNUMBERNONCLUSTEREDFIVNUMBER
IDX_IV_RECINV_FLINKIVNONCLUSTEREDFLINKIVNUMBER
主外键
名称类型字段
PK_IV_RECEIVEDINVOICEPKFID
触发器
约束
名称类型字段描述
PK_IV_RECEIVEDINVOICE主键约束FID
DF__T_IV_RECE__FLINK__0A7B9BD9默认值约束FLINKBILLID((0))
DF__T_IV_RECE__FTAXR__11A19367默认值约束FTAXRATE((0))
DF__T_IV_RECE__FISDE__26AC614F默认值约束FISDEDUCTION(' ')
DF__T_IV_RECEIV__FID__2FE15F5B默认值约束FID((0))
DF__T_IV_RECE__FBILL__30D58394默认值约束FBILLNO(' ')
DF__T_IV_RECE__FDOCU__31C9A7CD默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_RECE__FPURN__32BDCC06默认值约束FPURNAME(' ')
DF__T_IV_RECE__FPURT__33B1F03F默认值约束FPURTAXNUMBER(' ')
DF__T_IV_RECE__FPURM__34A61478默认值约束FPURMAILINFO(' ')
DF__T_IV_RECE__FPURB__359A38B1默认值约束FPURBANKINFO(' ')
DF__T_IV_RECE__FSALE__368E5CEA默认值约束FSALENAME(' ')
DF__T_IV_RECE__FDEVE__3728E928默认值约束FDEVELOPMENTFUND((0))
DF__T_IV_RECE__FSALE__37828123默认值约束FSALETAXNUMBER(' ')
DF__T_IV_RECE__FSALE__3876A55C默认值约束FSALEMAILINFO(' ')
DF__T_IV_RECE__FSALE__396AC995默认值约束FSALEBANKINFO(' ')
DF__T_IV_RECE__FIVCO__3A5EEDCE默认值约束FIVCODE(' ')
DF__T_IV_RECE__FTIME__3A7100D5默认值约束FTIMEGETON(' ')
DF__T_IV_RECE__FIVNU__3B531207默认值约束FIVNUMBER(' ')
DF__T_IV_RECE__FTIME__3B65250E默认值约束FTIMEGETOFF(' ')
DF__T_IV_RECE__FSUMA__3C473640默认值约束FSUMAMOUNT((0))
DF__T_IV_RECE__FMILE__3C594947默认值约束FMILEAGE(' ')
DF__T_IV_RECE__FSUMT__3D3B5A79默认值约束FSUMTAXAMOUNT((0))
DF__T_IV_RECE__FPLAC__3D4D6D80默认值约束FPLACE(' ')
DF__T_IV_RECE__FSUMA__3E2F7EB2默认值约束FSUMALLAMOUNT((0))
DF__T_IV_RECE__FTRAI__3E4191B9默认值约束FTRAINNUM(' ')
DF__T_IV_RECE__FINVO__3F23A2EB默认值约束FINVOICETYPE(' ')
DF__T_IV_RECE__FSTAT__3F35B5F2默认值约束FSTATIONGETON(' ')
DF__T_IV_RECE__FISCO__4017C724默认值约束FISCONFIRM('0')
DF__T_IV_RECE__FSTAT__4029DA2B默认值约束FSTATIONGETOFF(' ')
DF__T_IV_RECE__FISSC__410BEB5D默认值约束FISSCANCONFIRM('0')
DF__T_IV_RECE__FSEAT__411DFE64默认值约束FSEATGRADE(' ')
DF__T_IV_RECE__FISEX__42000F96默认值约束FISEXAMINE('0')
DF__T_IV_RECE__FTRAI__4212229D默认值约束FTRAINTIME(' ')
DF__T_IV_RECE__FSTAT__42F433CF默认值约束FSTATUS(' ')
DF__T_IV_RECE__FFLIG__430646D6默认值约束FFLIGHTNUM(' ')
DF__T_IV_RECE__FCREA__43E85808默认值约束FCREATEDATE(getdate())
DF__T_IV_RECE__FCONS__43FA6B0F默认值约束FCONSUMPTIONTYPE(' ')
DF__T_IV_RECE__FPDFU__44DC7C41默认值约束FPDFURL(' ')
DF__T_IV_RECE__FISCH__45D0A07A默认值约束FISCHECK('0')
DF__T_IV_RECE__FCREA__46C4C4B3默认值约束FCREATORID((0))
DF__T_IV_RECE__FLINK__47B8E8EC默认值约束FLINKIVNUMBER(' ')
DF__T_IV_RECE__FSETT__48AD0D25默认值约束FSETTLEORGID((0))
DF__T_IV_RECE__FSOUR__49A1315E默认值约束FSOURCEORGID((0))
DF__T_IV_RECE__FORIG__49BC9AAF默认值约束FORIGINALSALETAXNUMBER(' ')
DF__T_IV_RECE__FPICT__4A955597默认值约束FPICTUREURL(' ')
DF__T_IV_RECE__FEFFE__4AB0BEE8默认值约束FEFFECTIVETAXAMOUNT((0))
DF__T_IV_RECE__FLINK__4B8979D0默认值约束FLINKBILLTYPE(' ')
DF__T_IV_RECE__FEXAM__4C7D9E09默认值约束FEXAMINEDESC(' ')
DF__T_IV_RECE__FPASS__4CF7635F默认值约束FPASSENGERNAME(' ')
DF__T_IV_RECE__FCHEC__51431E7D默认值约束FCHECKCODE(' ')
DF__T_IV_RECE__FPROX__523742B6默认值约束FPROXYMARK('0')
DF__T_IV_RECE__FISRE__53031235默认值约束FISREVISE(' ')
DF__T_IV_RECE__FTAXP__532B66EF默认值约束FTAXPERIOD(' ')
DF__T_IV_RECE__FDRAW__65C93A17默认值约束FDRAWER(' ')
DF__T_IV_RECE__FPIAO__66685895默认值约束FPIAOZONESERIALNUMBER(' ')
DF__T_IV_RECE__FPAYE__66BD5E50默认值约束FPAYEE(' ')
DF__T_IV_RECE__FGENE__675C7CCE默认值约束FGENERATETYPE(' ')
DF__T_IV_RECE__FREVI__67B18289默认值约束FREVIEWER(' ')
DF__T_IV_RECE__FREMA__68A5A6C2默认值约束FREMARK(' ')

收票单-单据体

概述
表名称实体名称ORM实体名
T_IV_RECEIVEDINVOICEENTRY单据体Entity
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
项目名称FITEMNAMEITEMNAMEFITEMNAMEnvarchar2001000(' ')
单位FUNITUNITFUNITnvarchar100500(' ')
规格FSPECIFICATIONSSPECIFICATIONSFSPECIFICATIONSnvarchar100500(' ')
数量FQTYQTYFQTYdecimal132310((0))
单价FPRICEPRICEFPRICEdecimal132310((0))
金额FAMOUNTAMOUNTFAMOUNTdecimal132310((0))
税率FTAXRATETAXRATEFTAXRATEdecimal132310((0))
税额FTAXAMOUNTTAXAMOUNTFTAXAMOUNTdecimal132310((0))
税收分类编码FTAXCODETAXCODEFTAXCODEnvarchar100500(' ')
金额合计FTOTALAMOUNTTOTALAMOUNTFTOTALAMOUNTdecimal132310((0))
索引
名称类型字段
PK_IV_RECEIVEDINVOICEENTRYCLUSTEREDFENTRYID
IDX_IV_RECINVENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_RECEIVEDINVOICEENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_RECEIVEDINVOICEENTRY主键约束FENTRYID
DF__T_IV_RECE__FTOTA__033907E0默认值约束FTOTALAMOUNT((0))
DF__T_IV_RECE__FENTR__246FACAF默认值约束FENTRYID((0))
DF__T_IV_RECEIV__FID__2563D0E8默认值约束FID((0))
DF__T_IV_RECEI__FSEQ__2657F521默认值约束FSEQ((0))
DF__T_IV_RECE__FITEM__274C195A默认值约束FITEMNAME(' ')
DF__T_IV_RECE__FUNIT__28403D93默认值约束FUNIT(' ')
DF__T_IV_RECE__FSPEC__293461CC默认值约束FSPECIFICATIONS(' ')
DF__T_IV_RECEI__FQTY__2A288605默认值约束FQTY((0))
DF__T_IV_RECE__FPRIC__2B1CAA3E默认值约束FPRICE((0))
DF__T_IV_RECE__FAMOU__2C10CE77默认值约束FAMOUNT((0))
DF__T_IV_RECE__FTAXR__2D04F2B0默认值约束FTAXRATE((0))
DF__T_IV_RECE__FTAXA__2DF916E9默认值约束FTAXAMOUNT((0))
DF__T_IV_RECE__FTAXC__53597CD4默认值约束FTAXCODE(' ')

1.1.23 收票单

收票单-单据头

概述
表名称实体名称ORM实体名
T_IV_RECEIVEDINVOICE单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
查验状态FISEXAMINEFISEXAMINEFISEXAMINEchar110('0')
是否勾选认证FISCONFIRMFISCONFIRMFISCONFIRMchar110('0')
不含税金额FSUMAMOUNTFSUMAMOUNTFSUMAMOUNTdecimal132310((0))
开票日期FOPENDATEFOPENDATEFOPENDATEdatetime8233
销售方名称FSALENAMEFSALENAMEFSALENAMEnvarchar5102550(' ')
价税合计FSUMALLAMOUNTFSUMALLAMOUNTFSUMALLAMOUNTdecimal132310((0))
发票状态FSTATUSFSTATUSFSTATUSvarchar10100(' ')
发票号码FIVNUMBERFIVNUMBERFIVNUMBERnvarchar100500(' ')
是否勾选FISCHECKFISCHECKFISCHECKchar110('0')
税额FSUMTAXAMOUNTFSUMTAXAMOUNTFSUMTAXAMOUNTdecimal132310((0))
发票代码FIVCODEFIVCODEFIVCODEnvarchar100500(' ')
数据状态FDocumentStatusFDocumentStatusFDOCUMENTSTATUSchar110(' ')
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233(getdate())
创建人FCreatorIdFCreatorIdFCREATORIDint4100((0))
关联单据编号FLINKIVNUMBERFLINKIVNUMBERFLINKIVNUMBERnvarchar2001000(' ')
关联单据类型FLINKBILLTYPEFLINKBILLTYPEFLINKBILLTYPEvarchar36360(' ')
来源组织FSOURCEORGIDFSOURCEORGIDFSOURCEORGIDint4100((0))
单据编号FBillNoFBillNoFBILLNOnvarchar160800(' ')
PDF地址FPDFURLPDFURLFPDFURLnvarchar5102550(' ')
发票图片地址FPICTUREURLPICTUREURLFPICTUREURLnvarchar5102550(' ')
销售方纳税人识别号FSALETAXNUMBERFSALETAXNUMBERFSALETAXNUMBERnvarchar5102550(' ')
发票类别FINVOICETYPEINVOICETYPEFINVOICETYPEvarchar10100(' ')
发票云流水号FPIAOZONESERIALNUMBERFPIAOZONESERIALNUMBERFPIAOZONESERIALNUMBERnvarchar5102550(' ')
旅客姓名FPASSENGERNAMEPASSENGERNAMEFPASSENGERNAMEnvarchar2001000(' ')
税率FTAXRATE_HTAXRATEFTAXRATEdecimal132310((0))
民航发展基金FDEVELOPMENTFUNDDEVELOPMENTFUNDFDEVELOPMENTFUNDdecimal132310((0))
下车时间FTIMEGETOFFTIMEGETOFFFTIMEGETOFFnvarchar100500(' ')
里程FMILEAGEMILEAGEFMILEAGEnvarchar100500(' ')
所在地FPLACEPLACEFPLACEnvarchar100500(' ')
上车时间FTIMEGETONTIMEGETONFTIMEGETONnvarchar100500(' ')
乘车时间FTRAINTIMETRAINTIMEFTRAINTIMEnvarchar100500(' ')
终点FSTATIONGETOFFSTATIONGETOFFFSTATIONGETOFFnvarchar100500(' ')
座位等级FSEATGRADESEATGRADEFSEATGRADEnvarchar100500(' ')
起点FSTATIONGETONSTATIONGETONFSTATIONGETONnvarchar100500(' ')
车次FTRAINNUMTRAINNUMFTRAINNUMnvarchar100500(' ')
航班号FFLIGHTNUMFLIGHTNUMFFLIGHTNUMnvarchar100500(' ')
消费类型FCONSUMPTIONTYPEFCONSUMPTIONTYPEFCONSUMPTIONTYPEvarchar20200(' ')
是否可抵扣FISDEDUCTIONFISDEDUCTIONFISDEDUCTIONchar110(' ')
发票是否有修改FISREVISEFISREVISEFISREVISEchar110(' ')
索引
名称类型字段
PK_IV_RECEIVEDINVOICECLUSTEREDFID
IDX_IV_RECINV_FIVNUMBERNONCLUSTEREDFIVNUMBER
IDX_IV_RECINV_FLINKIVNONCLUSTEREDFLINKIVNUMBER
主外键
名称类型字段
PK_IV_RECEIVEDINVOICEPKFID
触发器
约束
名称类型字段描述
PK_IV_RECEIVEDINVOICE主键约束FID
DF__T_IV_RECE__FLINK__0A7B9BD9默认值约束FLINKBILLID((0))
DF__T_IV_RECE__FTAXR__11A19367默认值约束FTAXRATE((0))
DF__T_IV_RECE__FISDE__26AC614F默认值约束FISDEDUCTION(' ')
DF__T_IV_RECEIV__FID__2FE15F5B默认值约束FID((0))
DF__T_IV_RECE__FBILL__30D58394默认值约束FBILLNO(' ')
DF__T_IV_RECE__FDOCU__31C9A7CD默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_RECE__FPURN__32BDCC06默认值约束FPURNAME(' ')
DF__T_IV_RECE__FPURT__33B1F03F默认值约束FPURTAXNUMBER(' ')
DF__T_IV_RECE__FPURM__34A61478默认值约束FPURMAILINFO(' ')
DF__T_IV_RECE__FPURB__359A38B1默认值约束FPURBANKINFO(' ')
DF__T_IV_RECE__FSALE__368E5CEA默认值约束FSALENAME(' ')
DF__T_IV_RECE__FDEVE__3728E928默认值约束FDEVELOPMENTFUND((0))
DF__T_IV_RECE__FSALE__37828123默认值约束FSALETAXNUMBER(' ')
DF__T_IV_RECE__FSALE__3876A55C默认值约束FSALEMAILINFO(' ')
DF__T_IV_RECE__FSALE__396AC995默认值约束FSALEBANKINFO(' ')
DF__T_IV_RECE__FIVCO__3A5EEDCE默认值约束FIVCODE(' ')
DF__T_IV_RECE__FTIME__3A7100D5默认值约束FTIMEGETON(' ')
DF__T_IV_RECE__FIVNU__3B531207默认值约束FIVNUMBER(' ')
DF__T_IV_RECE__FTIME__3B65250E默认值约束FTIMEGETOFF(' ')
DF__T_IV_RECE__FSUMA__3C473640默认值约束FSUMAMOUNT((0))
DF__T_IV_RECE__FMILE__3C594947默认值约束FMILEAGE(' ')
DF__T_IV_RECE__FSUMT__3D3B5A79默认值约束FSUMTAXAMOUNT((0))
DF__T_IV_RECE__FPLAC__3D4D6D80默认值约束FPLACE(' ')
DF__T_IV_RECE__FSUMA__3E2F7EB2默认值约束FSUMALLAMOUNT((0))
DF__T_IV_RECE__FTRAI__3E4191B9默认值约束FTRAINNUM(' ')
DF__T_IV_RECE__FINVO__3F23A2EB默认值约束FINVOICETYPE(' ')
DF__T_IV_RECE__FSTAT__3F35B5F2默认值约束FSTATIONGETON(' ')
DF__T_IV_RECE__FISCO__4017C724默认值约束FISCONFIRM('0')
DF__T_IV_RECE__FSTAT__4029DA2B默认值约束FSTATIONGETOFF(' ')
DF__T_IV_RECE__FISSC__410BEB5D默认值约束FISSCANCONFIRM('0')
DF__T_IV_RECE__FSEAT__411DFE64默认值约束FSEATGRADE(' ')
DF__T_IV_RECE__FISEX__42000F96默认值约束FISEXAMINE('0')
DF__T_IV_RECE__FTRAI__4212229D默认值约束FTRAINTIME(' ')
DF__T_IV_RECE__FSTAT__42F433CF默认值约束FSTATUS(' ')
DF__T_IV_RECE__FFLIG__430646D6默认值约束FFLIGHTNUM(' ')
DF__T_IV_RECE__FCREA__43E85808默认值约束FCREATEDATE(getdate())
DF__T_IV_RECE__FCONS__43FA6B0F默认值约束FCONSUMPTIONTYPE(' ')
DF__T_IV_RECE__FPDFU__44DC7C41默认值约束FPDFURL(' ')
DF__T_IV_RECE__FISCH__45D0A07A默认值约束FISCHECK('0')
DF__T_IV_RECE__FCREA__46C4C4B3默认值约束FCREATORID((0))
DF__T_IV_RECE__FLINK__47B8E8EC默认值约束FLINKIVNUMBER(' ')
DF__T_IV_RECE__FSETT__48AD0D25默认值约束FSETTLEORGID((0))
DF__T_IV_RECE__FSOUR__49A1315E默认值约束FSOURCEORGID((0))
DF__T_IV_RECE__FORIG__49BC9AAF默认值约束FORIGINALSALETAXNUMBER(' ')
DF__T_IV_RECE__FPICT__4A955597默认值约束FPICTUREURL(' ')
DF__T_IV_RECE__FEFFE__4AB0BEE8默认值约束FEFFECTIVETAXAMOUNT((0))
DF__T_IV_RECE__FLINK__4B8979D0默认值约束FLINKBILLTYPE(' ')
DF__T_IV_RECE__FEXAM__4C7D9E09默认值约束FEXAMINEDESC(' ')
DF__T_IV_RECE__FPASS__4CF7635F默认值约束FPASSENGERNAME(' ')
DF__T_IV_RECE__FCHEC__51431E7D默认值约束FCHECKCODE(' ')
DF__T_IV_RECE__FPROX__523742B6默认值约束FPROXYMARK('0')
DF__T_IV_RECE__FISRE__53031235默认值约束FISREVISE(' ')
DF__T_IV_RECE__FTAXP__532B66EF默认值约束FTAXPERIOD(' ')
DF__T_IV_RECE__FDRAW__65C93A17默认值约束FDRAWER(' ')
DF__T_IV_RECE__FPIAO__66685895默认值约束FPIAOZONESERIALNUMBER(' ')
DF__T_IV_RECE__FPAYE__66BD5E50默认值约束FPAYEE(' ')
DF__T_IV_RECE__FGENE__675C7CCE默认值约束FGENERATETYPE(' ')
DF__T_IV_RECE__FREVI__67B18289默认值约束FREVIEWER(' ')
DF__T_IV_RECE__FREMA__68A5A6C2默认值约束FREMARK(' ')

1.1.24 红字专票信息表

红字专票信息表-单据头

概述
表名称实体名称ORM实体名
T_IV_REDINVINFOTABLE单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar160800(' ')
数据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
税额FSUMTAXAMOUNTSUMTAXAMOUNTFSUMTAXAMOUNTdecimal132310((0))
销售方名称FSALENAMESALENAMEFSALENAMEnvarchar5102550(' ')
填开日期FOPENDATEOPENDATEFOPENDATEdatetime8233
不含税金额FSUMAMOUNTSUMAMOUNTFSUMAMOUNTdecimal132310((0))
销售方纳税人识别号FSALETAXNUMBERSALETAXNUMBERFSALETAXNUMBERnvarchar5102550(' ')
价税合计FSUMALLAMOUNTSUMALLAMOUNTFSUMALLAMOUNTdecimal132310((0))
原蓝字发票号码FIVNUMBERIVNUMBERFIVNUMBERnvarchar100500(' ')
原蓝字发票代码FIVCODEIVCODEFIVCODEnvarchar100500(' ')
购货方纳税识别号FPURTAXNUMBERPURTAXNUMBERFPURTAXNUMBERnvarchar5102550(' ')
购货方名称FPURNAMEPURNAMEFPURNAMEnvarchar5102550(' ')
含税标识FINCLUDETAXINCLUDETAXFINCLUDETAXchar110(' ')
信息表编号FInfoTableNumberInfoTableNumberFINFOTABLENUMBERnvarchar5102550(' ')
申请单号FRequestNumberRequestNumberFREQUESTNUMBERnvarchar5102550(' ')
状态码FStatusCodeStatusCodeFSTATUSCODEnvarchar5102550(' ')
状态描述FStatusDescStatusDescFSTATUSDESCnvarchar5102550(' ')
创建人FCreatorIdCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233(getdate())
来源组织FSOURCEORGIDSOURCEORGIDFSOURCEORGIDint4100((0))
金税盘机号FGTDISKNUMBERGTDISKNUMBERFGTDISKNUMBERnvarchar100500(' ')
源单类型FSOURCEFORMIDSOURCEFORMIDFSOURCEFORMIDvarchar36360(' ')
源单编号FSOURCEBILLNOSOURCEBILLNOFSOURCEBILLNOnvarchar2001000(' ')
源单内码FSOURCEBILLIDSOURCEBILLIDFSOURCEBILLIDbigint8190((0))
电子发票FISELECTRONICIVISELECTRONICIVFISELECTRONICIVchar110('0')
申请类型FAPPLICANTTYPEAPPLICANTTYPEFAPPLICANTTYPEvarchar20200(' ')
抵扣状态FDEDUCTIONSTATUSDEDUCTIONSTATUSFDEDUCTIONSTATUSvarchar20200(' ')
原蓝票填开日期FIVDATEIVDATEFIVDATEdatetime8233
索引
名称类型字段
PK_IV_REDINVINFOTABLECLUSTEREDFID
IDX_IV_REDINFOTABLE_TABLENONONCLUSTEREDFINFOTABLENUMBER
IDX_IV_REDINFOTABLE_IVNONCLUSTEREDFIVCODEFIVNUMBER
主外键
名称类型字段
PK_IV_REDINVINFOTABLEPKFID
触发器
约束
名称类型字段描述
PK_IV_REDINVINFOTABLE主键约束FID
DF__T_IV_REDINV__FID__13651C3E默认值约束FID((0))
DF__T_IV_REDI__FBILL__14594077默认值约束FBILLNO(' ')
DF__T_IV_REDI__FDOCU__154D64B0默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_REDI__FPURN__164188E9默认值约束FPURNAME(' ')
DF__T_IV_REDI__FPURT__1735AD22默认值约束FPURTAXNUMBER(' ')
DF__T_IV_REDI__FSALE__1829D15B默认值约束FSALENAME(' ')
DF__T_IV_REDI__FSALE__191DF594默认值约束FSALETAXNUMBER(' ')
DF__T_IV_REDI__FIVCO__1A1219CD默认值约束FIVCODE(' ')
DF__T_IV_REDI__FIVNU__1B063E06默认值约束FIVNUMBER(' ')
DF__T_IV_REDI__FSUMA__1BFA623F默认值约束FSUMAMOUNT((0))
DF__T_IV_REDI__FSUMT__1CEE8678默认值约束FSUMTAXAMOUNT((0))
DF__T_IV_REDI__FSUMA__1DE2AAB1默认值约束FSUMALLAMOUNT((0))
DF__T_IV_REDI__FCREA__1ED6CEEA默认值约束FCREATEDATE(getdate())
DF__T_IV_REDI__FCREA__1FCAF323默认值约束FCREATORID((0))
DF__T_IV_REDI__FINCL__20BF175C默认值约束FINCLUDETAX(' ')
DF__T_IV_REDI__FISEL__217B35D9默认值约束FISELECTRONICIV('0')
DF__T_IV_REDI__FINFO__21B33B95默认值约束FINFOTABLENUMBER(' ')
DF__T_IV_REDI__FREQU__22A75FCE默认值约束FREQUESTNUMBER(' ')
DF__T_IV_REDI__FSTAT__239B8407默认值约束FSTATUSCODE(' ')
DF__T_IV_REDI__FSTAT__248FA840默认值约束FSTATUSDESC(' ')
DF__T_IV_REDI__FSOUR__2BF72D9E默认值约束FSOURCEORGID((0))
DF__T_IV_REDI__FGTDI__2CEB51D7默认值约束FGTDISKNUMBER(' ')
DF__T_IV_REDI__FSOUR__2DDF7610默认值约束FSOURCEFORMID(' ')
DF__T_IV_REDI__FSOUR__2ED39A49默认值约束FSOURCEBILLNO(' ')
DF__T_IV_REDI__FSOUR__2FC7BE82默认值约束FSOURCEBILLID((0))
DF__T_IV_REDI__FAPPL__503886C7默认值约束FAPPLICANTTYPE(' ')
DF__T_IV_REDI__FDEDU__512CAB00默认值约束FDEDUCTIONSTATUS(' ')

红字专票信息表-单据体

概述
表名称实体名称ORM实体名
T_IV_REDINVINFOTABLEENTRY单据体Entity
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
项目名称FITEMNAMEITEMNAMEFITEMNAMEnvarchar5102550(' ')
单位FUNITUNITFUNITnvarchar100500(' ')
规格FSPECIFICATIONSSPECIFICATIONSFSPECIFICATIONSnvarchar100500(' ')
数量FQTYQTYFQTYdecimal132310((0))
单价FPRICEPRICEFPRICEdecimal132310((0))
金额FAMOUNTAMOUNTFAMOUNTdecimal132310((0))
税率(%)FTAXRATETAXRATEFTAXRATEdecimal132310((0))
税额FTAXAMOUNTTAXAMOUNTFTAXAMOUNTdecimal132310((0))
税收分类编码FTAXCODETAXCODEFTAXCODEnvarchar100500(' ')
税收优惠政策FTAXPOLICYTAXPOLICYFTAXPOLICYnvarchar100500(' ')
版本FVERSIONVERSIONFVERSIONnvarchar100500(' ')
索引
名称类型字段
PK_IV_REDINVINFOTABLEENTRYCLUSTEREDFENTRYID
IDX_IV_REDINFOTABLEENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_REDINVINFOTABLEENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_REDINVINFOTABLEENTRY主键约束FENTRYID
DF__T_IV_REDI__FENTR__2677F0B2默认值约束FENTRYID((0))
DF__T_IV_REDINV__FID__276C14EB默认值约束FID((0))
DF__T_IV_REDIN__FSEQ__28603924默认值约束FSEQ((0))
DF__T_IV_REDI__FITEM__29545D5D默认值约束FITEMNAME(' ')
DF__T_IV_REDI__FUNIT__2A488196默认值约束FUNIT(' ')
DF__T_IV_REDI__FSPEC__2B3CA5CF默认值约束FSPECIFICATIONS(' ')
DF__T_IV_REDIN__FQTY__2C30CA08默认值约束FQTY((0))
DF__T_IV_REDI__FPRIC__2D24EE41默认值约束FPRICE((0))
DF__T_IV_REDI__FAMOU__2E19127A默认值约束FAMOUNT((0))
DF__T_IV_REDI__FTAXR__2F0D36B3默认值约束FTAXRATE((0))
DF__T_IV_REDI__FTAXA__30015AEC默认值约束FTAXAMOUNT((0))
DF__T_IV_REDI__FTAXC__30F57F25默认值约束FTAXCODE(' ')
DF__T_IV_REDI__FTAXP__31E9A35E默认值约束FTAXPOLICY(' ')
DF__T_IV_REDI__FVERS__32DDC797默认值约束FVERSION(' ')

1.1.25 销项费用普通发票

销项费用普通发票-单据头

概述
表名称实体名称ORM实体名
T_IV_SALEEXINV单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar160800(' ')
单据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
发票号FINVOICENOINVOICENOFINVOICENOnvarchar400020000(' ')
发票日期FINVOICEDATEINVOICEDATEFINVOICEDATEdatetime8233
业务日期FDATEDATEFDATEdatetime8233(getdate())
往来单位FCONTACTUNITCONTACTUNITFCONTACTUNITint4100((0))
往来单位类型FCONTACTUNITTYPECONTACTUNITTYPEFCONTACTUNITTYPEvarchar36360(' ')
币别FCURRENCYIDCURRENCYIDFCURRENCYIDint4100((0))
按含税单价录入FISTAXISTAXFISTAXchar110(' ')
销售组织FSALEORGIDSALEORGIDFSALEORGIDint4100((0))
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
纳税人识别号FTAXREGISTERCODETAXREGISTERCODEFTAXREGISTERCODEnvarchar5102550(' ')
购方银行账号FPURCHASERACCOUNTPURCHASERACCOUNTFPURCHASERACCOUNTnvarchar2001000(' ')
结算方式FSETTLETYPEIDSETTLETYPEIDFSETTLETYPEIDint4100((0))
税额FTAXAMOUNTFORTAXAMOUNTFORFTAXAMOUNTFORdecimal132310((0))
汇率FEXCHANGERATEEXCHANGERATEFEXCHANGERATEdecimal132310((0))
销售部门FSALEDEPTIDSALEDEPTIDFSALEDEPTIDint4100((0))
本位币FMAINBOOKSTDCURRIDMAINBOOKSTDCURRIDFMAINBOOKSTDCURRIDint4100((0))
销售员FSALEERIDSALEERIDFSALEERIDint4100((0))
不含税金额本位币FHEADAUXPRICEHEADAUXPRICEFHEADAUXPRICEdecimal132310((0))
汇率类型FEXCHANGETYPEEXCHANGETYPEFEXCHANGETYPEint4100((0))
销售组FSALEGROUPIDSALEGROUPIDFSALEGROUPIDint4100((0))
价税合计本位币FAFTERTOTALTAXAFTERTOTALTAXFAFTERTOTALTAXdecimal132310((0))
不含税金额FHEADAUXPRICEFORHEADAUXPRICEFORFHEADAUXPRICEFORdecimal132310((0))
税额本位币FTAXAMOUNTTAXAMOUNTFTAXAMOUNTdecimal132310((0))
价税合计FAFTERTOTALTAXFORAFTERTOTALTAXFORFAFTERTOTALTAXFORdecimal132310((0))
创建人FCREATORIDCREATORIDFCREATORIDint4100((0))
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233(getdate())
审核人FAPPROVERIDAPPROVERIDFAPPROVERIDint4100((0))
表头基本-开票核销状态FOPENSTATUSOPENSTATUSFOPENSTATUSchar110('A')
修改日期FModifyDateModifyDateFMODIFYDATEdatetime8233
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
红蓝字FRedBlueRedBlueFREDBLUEchar110('0')
单据类型FBillTypeIDBillTypeIDFBILLTYPEIDvarchar36360(' ')
会计核算体系FACCOUNTSYSTEMACCOUNTSYSTEMFACCOUNTSYSTEMint4100((0))
开户银行FOPENBANKNAMEOPENBANKNAMEFOPENBANKNAMEnvarchar5102550(' ')
联系电话FTELTELFTELnvarchar100500(' ')
发票抬头FINVOICETITLEINVOICETITLEFINVOICETITLEnvarchar5102550(' ')
购方地址FPURCHASERADDRESSPURCHASERADDRESSFPURCHASERADDRESSnvarchar5102550(' ')
原发票号码FSOURCEIVNUMBERSOURCEIVNUMBERFSOURCEIVNUMBERnvarchar5102550(' ')
开票状态FGTSTATUSGTSTATUSFGTSTATUSchar110('0')
打印次数FGTPRINTCOUNTGTPRINTCOUNTFGTPRINTCOUNTint4100((0))
发票代码FIVCODEIVCODEFIVCODEnvarchar5102550(' ')
发票号码FIVNUMBERIVNUMBERFIVNUMBERnvarchar5102550(' ')
打印清单次数FGTPRINTLISTCOUNTGTPRINTLISTCOUNTFGTPRINTLISTCOUNTint4100((0))
原发票代码FSOURCEIVCODESOURCEIVCODEFSOURCEIVCODEnvarchar5102550(' ')
清单标识FHAVEIVLISTHAVEIVLISTFHAVEIVLISTchar110('0')
价外税FISPRICEEXCLUDETAXISPRICEEXCLUDETAXFISPRICEEXCLUDETAXchar110('1')
作废人FCancellerIdFCancellerIdFCANCELLERIDint4100
作废日期FCancelDateFCancelDateFCANCELDATEdatetime8233
作废状态FCancelStatusFCancelStatusFCANCELSTATUSchar110('A')
离线开票标识FRESFLAGFRESFLAGFRESFLAGvarchar20200('0')
备注FREMARKFREMARKFREMARKnvarchar5102550(' ')
索引
名称类型字段
PK_IV_SALEEXINVCLUSTEREDFID
IDX_IV_SALEEXINV_FBILLNONONCLUSTEREDFBILLNO
IDX_IV_SALEEXINV_FDATENONCLUSTEREDFDATE
主外键
名称类型字段
PK_IV_SALEEXINVPKFID
触发器
约束
名称类型字段描述
PK_IV_SALEEXINV主键约束FID
DF__T_IV_SALEEX__FID__10E4A993默认值约束FID((0))
DF__T_IV_SALE__FBILL__11D8CDCC默认值约束FBILLTYPEID(' ')
DF__T_IV_SALE__FFORM__12CCF205默认值约束FFORMID(' ')
DF__T_IV_SALE__FBILL__13C1163E默认值约束FBILLNO(' ')
DF__T_IV_SALE__FREDB__14B53A77默认值约束FREDBLUE('0')
DF__T_IV_SALE__FDOCU__15A95EB0默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_SALE__FRESF__1619FF86默认值约束FRESFLAG('0')
DF__T_IV_SALE__FINVO__169D82E9默认值约束FINVOICENO(' ')
DF__T_IV_SALE__FCONT__1791A722默认值约束FCONTACTUNITTYPE(' ')
DF__T_IV_SALE__FISHO__18132C14默认值约束FISHOOKMATCH('0')
DF__T_IV_SALE__FCONT__1885CB5B默认值约束FCONTACTUNIT((0))
DF__T_IV_SALE__FDATE__1979EF94默认值约束FDATE(getdate())
DF__T_IV_SALE__FCURR__1A6E13CD默认值约束FCURRENCYID((0))
DF__T_IV_SALE__FMAIN__1B623806默认值约束FMAINBOOKSTDCURRID((0))
DF__T_IV_SALE__FISTA__1C565C3F默认值约束FISTAX(' ')
DF__T_IV_SALE__FOPEN__1D4A8078默认值约束FOPENSTATUS('A')
DF__T_IV_SALE__FSETT__1E3EA4B1默认值约束FSETTLEORGID((0))
DF__T_IV_SALE__FSALE__1F32C8EA默认值约束FSALEORGID((0))
DF__T_IV_SALE__FSALE__2026ED23默认值约束FSALEDEPTID((0))
DF__T_IV_SALE__FSALE__211B115C默认值约束FSALEGROUPID((0))
DF__T_IV_SALE__FSALE__220F3595默认值约束FSALEERID((0))
DF__T_IV_SALE__FTAXA__230359CE默认值约束FTAXAMOUNTFOR((0))
DF__T_IV_SALE__FTAXA__23F77E07默认值约束FTAXAMOUNT((0))
DF__T_IV_SALE__FHEAD__24EBA240默认值约束FHEADAUXPRICEFOR((0))
DF__T_IV_SALE__FHEAD__25DFC679默认值约束FHEADAUXPRICE((0))
DF__T_IV_SALE__FISPR__2654C7C5默认值约束FISPRICEEXCLUDETAX('1')
DF__T_IV_SALE__FAFTE__26D3EAB2默认值约束FAFTERTOTALTAXFOR((0))
DF__T_IV_SALE__FAFTE__27C80EEB默认值约束FAFTERTOTALTAX((0))
DF__T_IV_SALE__FEXCH__28BC3324默认值约束FEXCHANGERATE((0))
DF__T_IV_SALE__FEXCH__29B0575D默认值约束FEXCHANGETYPE((0))
DF__T_IV_SALE__FSETT__2AA47B96默认值约束FSETTLETYPEID((0))
DF__T_IV_SALE__FTAXR__2B989FCF默认值约束FTAXREGISTERCODE(' ')
DF__T_IV_SALE__FPURC__2C8CC408默认值约束FPURCHASERADDRESS(' ')
DF__T_IV_SALE__FPURC__2D80E841默认值约束FPURCHASERACCOUNT(' ')
DF__T_IV_SALE__FCREA__2E750C7A默认值约束FCREATORID((0))
DF__T_IV_SALE__FCREA__2F6930B3默认值约束FCREATEDATE(getdate())
DF__T_IV_SALE__FMODI__305D54EC默认值约束FMODIFIERID((0))
DF__T_IV_SALE__FAPPR__31517925默认值约束FAPPROVERID((0))
DF__T_IV_SALE__FACCO__32459D5E默认值约束FACCOUNTSYSTEM((0))
DF__T_IV_SALE__FINVO__3339C197默认值约束FINVOICETITLE(' ')
DF__T_IV_SALE__FOPEN__342DE5D0默认值约束FOPENBANKNAME(' ')
DF__T_IV_SALEE__FTEL__35220A09默认值约束FTEL(' ')
DF__T_IV_SALE__FSOUR__363629D3默认值约束FSOURCEIVCODE(' ')
DF__T_IV_SALE__FSOUR__372A4E0C默认值约束FSOURCEIVNUMBER(' ')
DF__T_IV_SALE__FIVCO__381E7245默认值约束FIVCODE(' ')
DF__T_IV_SALE__FIVNU__3912967E默认值约束FIVNUMBER(' ')
DF__T_IV_SALE__FGTST__3A06BAB7默认值约束FGTSTATUS('0')
DF__T_IV_SALE__FGTPR__3AFADEF0默认值约束FGTPRINTCOUNT((0))
DF__T_IV_SALE__FGTPR__3BEF0329默认值约束FGTPRINTLISTCOUNT((0))
DF__T_IV_SALE__FHAVE__3CE32762默认值约束FHAVEIVLIST('0')
DF__T_IV_SALE__FCANC__5CE2E70E默认值约束FCANCELSTATUS('A')
DF__T_IV_SALE__FREMA__77BD3B87默认值约束FREMARK(' ')

销项费用普通发票-单据头_O

概述
表名称实体名称ORM实体名
T_IV_SALEEXINV_O单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
开票流水号FSerialNumberFSerialNumberFSERIALNUMBERvarchar400040000(' ')
原开票流水号FSOURCESERIALNUMSOURCESERIALNUMFSOURCESERIALNUMvarchar400040000(' ')
开票人FDRAWERDRAWERFDRAWERnvarchar100500(' ')
收款人FPAYEEPAYEEFPAYEEnvarchar100500(' ')
复核人FREVIEWERREVIEWERFREVIEWERnvarchar100500(' ')
金税盘机号FGTDISKNUMBERGTDISKNUMBERFGTDISKNUMBERnvarchar100500(' ')
源单立账类型FSrcSetAccountTypeFSrcSetAccountTypeFSRCSETACCOUNTTYPEchar110('1')
校验码FCHECKCODECHECKCODEFCHECKCODEvarchar400040000(' ')
电子发票地址FPDFURLCOPYFPDFURLCOPYFPDFURLCOPYnvarchar5102550(' ')
原蓝字发票类型FSOURCEIVTYPESOURCEIVTYPEFSOURCEIVTYPEvarchar20200(' ')
冲红原因FRUSHREDREASONRUSHREDREASONFRUSHREDREASONvarchar20200(' ')
原蓝票填开日期FSOURCEIVDATESOURCEIVDATEFSOURCEIVDATEdatetime8233
索引
名称类型字段
PK_IV_SALEEXINV_OCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALEEXINV_OPKFID
触发器
约束
名称类型字段描述
PK_IV_SALEEXINV_O主键约束FID
DF__T_IV_SALE__FPDFU__00EE6AB6默认值约束FPDFURLCOPY(' ')
DF__T_IV_SALE__FDRAW__1CEB591C默认值约束FDRAWER(' ')
DF__T_IV_SALE__FPAYE__1DDF7D55默认值约束FPAYEE(' ')
DF__T_IV_SALE__FREVI__1ED3A18E默认值约束FREVIEWER(' ')
DF__T_IV_SALE__FSERI__76069625默认值约束FSERIALNUMBER(' ')
DF__T_IV_SALE__FSOUR__76FABA5E默认值约束FSOURCESERIALNUM(' ')
DF__T_IV_SALE__FSRCS__2D1ACCA0默认值约束FSRCSETACCOUNTTYPE('1')
DF__T_IV_SALE__FINFO__34C61009默认值约束FINFOTABLENUMBER(' ')
DF__T_IV_SALE__FCHEC__4EDFABD1默认值约束FCHECKCODE(' ')
DF__T_IV_SALE__FSOUR__71103DF8默认值约束FSOURCEIVTYPE(' ')
DF__T_IV_SALE__FRUSH__72046231默认值约束FRUSHREDREASON(' ')
DF__T_IV_SALEEX__FID__751271EC默认值约束FID((0))
DF__T_IV_SALE__FPDFU__77EEDE97默认值约束FPDFURL(' ')
DF__T_IV_SALE__FGTDI__7F25EC0B默认值约束FGTDISKNUMBER(' ')

销项费用普通发票-单据体

概述
表名称实体名称ORM实体名
T_IV_SALEEXINVENTRY单据体SALEEXINVENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
源单类型FSRCBILLTYPEIDSRCBILLTYPEIDFSRCBILLTYPEIDvarchar36360(' ')
源单编号FSRCBILLNOSRCBILLNOFSRCBILLNOnvarchar160800(' ')
费用项目编码FEXPENSEIDEXPENSEIDFEXPENSEIDint4100((0))
单价FAUXPRICEAUXPRICEFAUXPRICEdecimal132310((0))
含税单价FAUXTAXPRICEAUXTAXPRICEFAUXTAXPRICEdecimal132310((0.0))
计价单位FPRICEUNITIDPRICEUNITIDFPRICEUNITIDint4100((0))
计价数量FPRICEQTYPRICEQTYFPRICEQTYdecimal132310((0.0))
税率%FTAXRATETAXRATEFTAXRATEdecimal9196((0.0))
税额FDETAILTAXAMOUNTFORDETAILTAXAMOUNTFORFDETAILTAXAMOUNTFORdecimal132310((0.0))
不含税金额FAMOUNTFORAMOUNTFORFAMOUNTFORdecimal132310((0.0))
价税合计FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0.0))
备注FCOMMENTCOMMENTFCOMMENTnvarchar5102550(' ')
表体明细-开票核销状态FOPENSTATUS_DOPENSTATUSFOPENSTATUSchar110('A')
表体明细-已开票核销金额FOPENAMOUNTFOR_DOPENAMOUNTFORFOPENAMOUNTFORdecimal132310((0))
税额本位币FDETAILTAXAMOUNTDETAILTAXAMOUNTFDETAILTAXAMOUNTdecimal132310((0))
不含税金额本位币FNOTAXAMOUNTNOTAXAMOUNTFNOTAXAMOUNTdecimal132310((0))
价税合计本位币FALLAMOUNTALLAMOUNTFALLAMOUNTdecimal132310((0))
不参与核销FDONOTMATCHDONOTMATCHFDONOTMATCHchar110('0')
已下推红字发票金额FPUSHREDAMOUNTFORPUSHREDAMOUNTFORFPUSHREDAMOUNTFORdecimal132310((0))
已核销不含税金额FMatchNotTaxAmtForMatchNotTaxAmtForFMATCHNOTTAXAMTFORdecimal132310((0))
免征额FDEDUCTIONDEDUCTIONFDEDUCTIONdecimal132310((0))
免征税额FTAXDEDUCTIONTAXDEDUCTIONFTAXDEDUCTIONdecimal132310((0))
已完全到票FISINVOICEALLARRIVEDISINVOICEALLARRIVEDFISINVOICEALLARRIVEDchar110('0')
索引
名称类型字段
PK_IV_SALEEXINVENTRYCLUSTEREDFENTRYID
IDX_IV_SALEEXINVENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALEEXINVENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALEEXINVENTRY主键约束FENTRYID
DF__T_IV_SALE__FENTR__370A527B默认值约束FENTRYID((0))
DF__T_IV_SALEEX__FID__37FE76B4默认值约束FID((0))
DF__T_IV_SALE__FSRCB__38F29AED默认值约束FSRCBILLTYPEID(' ')
DF__T_IV_SALE__FSRCB__39E6BF26默认值约束FSRCBILLNO(' ')
DF__T_IV_SALEE__FSEQ__3ADAE35F默认值约束FSEQ((0))
DF__T_IV_SALE__FISIN__3B6E7B58默认值约束FISINVOICEALLARRIVED('0')
DF__T_IV_SALE__FPRIC__3BCF0798默认值约束FPRICEUNITID((0))
DF__T_IV_SALE__FPRIC__3CC32BD1默认值约束FPRICEQTY((0.0))
DF__T_IV_SALE__FAUXP__3DB7500A默认值约束FAUXPRICE((0))
DF__T_IV_SALE__FAUXT__3EAB7443默认值约束FAUXTAXPRICE((0.0))
DF__T_IV_SALE__FTAXR__3F9F987C默认值约束FTAXRATE((0.0))
DF__T_IV_SALE__FDETA__4093BCB5默认值约束FDETAILTAXAMOUNTFOR((0.0))
DF__T_IV_SALE__FEXPE__4187E0EE默认值约束FEXPENSEID((0))
DF__T_IV_SALE__FALLA__427C0527默认值约束FALLAMOUNTFOR((0.0))
DF__T_IV_SALE__FAMOU__43702960默认值约束FAMOUNTFOR((0.0))
DF__T_IV_SALE__FDETA__44644D99默认值约束FDETAILTAXAMOUNT((0))
DF__T_IV_SALE__FNOTA__455871D2默认值约束FNOTAXAMOUNT((0))
DF__T_IV_SALE__FALLA__464C960B默认值约束FALLAMOUNT((0))
DF__T_IV_SALE__FCUST__4724B766默认值约束FCUSTMATID(' ')
DF__T_IV_SALE__FOPEN__4740BA44默认值约束FOPENSTATUS('A')
DF__T_IV_SALE__FCUST__4818DB9F默认值约束FCUSTMATNAME(' ')
DF__T_IV_SALE__FOPEN__4834DE7D默认值约束FOPENAMOUNTFOR((0))
DF__T_IV_SALE__FDONO__492902B6默认值约束FDONOTMATCH('0')
DF__T_IV_SALE__FCOMM__4A1D26EF默认值约束FCOMMENT(' ')
DF__T_IV_SALE__FPUSH__4B114B28默认值约束FPUSHREDAMOUNTFOR((0))
DF__T_IV_SALE__FMATC__4C056F61默认值约束FMATCHNOTTAXAMTFOR((0))
DF__T_IV_SALE__FDEDU__56C6EDA9默认值约束FDEDUCTION((0))
DF__T_IV_SALE__FTAXD__57BB11E2默认值约束FTAXDEDUCTION((0))

销项费用普通发票-关联关系表

概述
表名称实体名称ORM实体名
T_IV_SALEEXINVENTRY_LK关联关系表FSALEEXINVENTRY_Link
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值
业务流程图FSALEEXINVENTRY_Link_FFlowIdFlowIdFFLOWIDvarchar36360(' ')
推进路线FSALEEXINVENTRY_Link_FFlowLineIdFlowLineIdFFLOWLINEIDint4100((0))
转换规则FSALEEXINVENTRY_Link_FRuleIdRuleIdFRULEIDvarchar36360(' ')
源单表内码FSALEEXINVENTRY_Link_FSTableIdSTableIdFSTABLEIDint4100((0))
源单表FSALEEXINVENTRY_Link_FSTableNameSTableNameFSTABLENAMEvarchar30300(' ')
源单内码FSALEEXINVENTRY_Link_FSBillIdSBillIdFSBILLIDint4100((0))
源单分录内码FSALEEXINVENTRY_Link_FSIdSIdFSIDint4100((0))
原始携带量FSALEEXINVENTRY_Link_FALLAMOUNTFOROldALLAMOUNTFOROldFALLAMOUNTFOROLDdecimal132310((0))
修改携带量FSALEEXINVENTRY_Link_FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0))
索引
名称类型字段
PK_IV_SALEEXINVENTRY_LKCLUSTEREDFLINKID
IDX_IV_SALEEXINVENTRY_LKNONCLUSTEREDFSBILLIDFSIDFENTRYID
IDX_IV_SALEEXINVENTRY_LK_EIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_IV_SALEEXINVENTRY_LKPKFLINKID
触发器
约束
名称类型字段描述
PK_IV_SALEEXINVENTRY_LK主键约束FLINKID
DF__T_IV_SALE__FLINK__4DEDB7D3默认值约束FLINKID((0))
DF__T_IV_SALE__FSTAB__4EE1DC0C默认值约束FSTABLEID((0))
DF__T_IV_SALE__FSBIL__4FD60045默认值约束FSBILLID((0))
DF__T_IV_SALEE__FSID__50CA247E默认值约束FSID((0))
DF__T_IV_SALE__FENTR__51BE48B7默认值约束FENTRYID((0))
DF__T_IV_SALE__FIVLN__52B26CF0默认值约束FIVLNKTRACKERID(' ')
DF__T_IV_SALE__FIVLN__53A69129默认值约束FIVLNKSSTATE(' ')
DF__T_IV_SALE__FIVLN__549AB562默认值约束FIVLNKAMOUNT((0))
DF__T_IV_SALE__FRECL__558ED99B默认值约束FRECLNKTRACKERID(' ')
DF__T_IV_SALE__FRECL__5682FDD4默认值约束FRECLNKSSTATE(' ')
DF__T_IV_SALE__FRECL__5777220D默认值约束FRECLNKAMOUNT((0))
DF__T_IV_SALE__FFLOW__586B4646默认值约束FFLOWID(' ')
DF__T_IV_SALE__FFLOW__595F6A7F默认值约束FFLOWLINEID((0))
DF__T_IV_SALE__FRULE__5A538EB8默认值约束FRULEID(' ')
DF__T_IV_SALE__FSTAB__5B47B2F1默认值约束FSTABLENAME(' ')
DF__T_IV_SALE__FALLA__5C3BD72A默认值约束FALLAMOUNTFOROLD((0))
DF__T_IV_SALE__FALLA__5D2FFB63默认值约束FALLAMOUNTFOR((0))

1.1.26 全部销售费用发票

全部销售费用发票-单据头

概述
表名称实体名称ORM实体名
T_IV_SALEEXINV单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar160800(' ')
单据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
发票号FINVOICENOINVOICENOFINVOICENOnvarchar400020000(' ')
发票日期FINVOICEDATEINVOICEDATEFINVOICEDATEdatetime8233
业务日期FDATEDATEFDATEdatetime8233(getdate())
往来单位FCONTACTUNITCONTACTUNITFCONTACTUNITint4100((0))
往来单位类型FCONTACTUNITTYPECONTACTUNITTYPEFCONTACTUNITTYPEvarchar36360(' ')
币别FCURRENCYIDCURRENCYIDFCURRENCYIDint4100((0))
按含税单价录入FISTAXISTAXFISTAXchar110(' ')
销售组织FSALEORGIDSALEORGIDFSALEORGIDint4100((0))
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
纳税人识别号FTAXREGISTERCODETAXREGISTERCODEFTAXREGISTERCODEnvarchar5102550(' ')
购方银行账号FPURCHASERACCOUNTPURCHASERACCOUNTFPURCHASERACCOUNTnvarchar2001000(' ')
结算方式FSETTLETYPEIDSETTLETYPEIDFSETTLETYPEIDint4100((0))
税额FTAXAMOUNTFORTAXAMOUNTFORFTAXAMOUNTFORdecimal132310((0))
汇率FEXCHANGERATEEXCHANGERATEFEXCHANGERATEdecimal132310((0))
销售部门FSALEDEPTIDSALEDEPTIDFSALEDEPTIDint4100((0))
本位币FMAINBOOKSTDCURRIDMAINBOOKSTDCURRIDFMAINBOOKSTDCURRIDint4100((0))
销售员FSALEERIDSALEERIDFSALEERIDint4100((0))
不含税金额本位币FHEADAUXPRICEHEADAUXPRICEFHEADAUXPRICEdecimal132310((0))
汇率类型FEXCHANGETYPEEXCHANGETYPEFEXCHANGETYPEint4100((0))
销售组FSALEGROUPIDSALEGROUPIDFSALEGROUPIDint4100((0))
价税合计本位币FAFTERTOTALTAXAFTERTOTALTAXFAFTERTOTALTAXdecimal132310((0))
不含税金额FHEADAUXPRICEFORHEADAUXPRICEFORFHEADAUXPRICEFORdecimal132310((0))
税额本位币FTAXAMOUNTTAXAMOUNTFTAXAMOUNTdecimal132310((0))
价税合计FAFTERTOTALTAXFORAFTERTOTALTAXFORFAFTERTOTALTAXFORdecimal132310((0))
创建人FCREATORIDCREATORIDFCREATORIDint4100((0))
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233(getdate())
审核人FAPPROVERIDAPPROVERIDFAPPROVERIDint4100((0))
表头基本-开票核销状态FOPENSTATUSOPENSTATUSFOPENSTATUSchar110('A')
修改日期FModifyDateModifyDateFMODIFYDATEdatetime8233
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
红蓝字FRedBlueRedBlueFREDBLUEchar110('0')
单据类型FBillTypeIDBillTypeIDFBILLTYPEIDvarchar36360(' ')
会计核算体系FACCOUNTSYSTEMACCOUNTSYSTEMFACCOUNTSYSTEMint4100((0))
开户银行FOPENBANKNAMEOPENBANKNAMEFOPENBANKNAMEnvarchar5102550(' ')
联系电话FTELTELFTELnvarchar100500(' ')
发票抬头FINVOICETITLEINVOICETITLEFINVOICETITLEnvarchar5102550(' ')
购方地址FPURCHASERADDRESSPURCHASERADDRESSFPURCHASERADDRESSnvarchar5102550(' ')
原发票号码FSOURCEIVNUMBERSOURCEIVNUMBERFSOURCEIVNUMBERnvarchar5102550(' ')
开票状态FGTSTATUSGTSTATUSFGTSTATUSchar110('0')
打印次数FGTPRINTCOUNTGTPRINTCOUNTFGTPRINTCOUNTint4100((0))
发票代码FIVCODEIVCODEFIVCODEnvarchar5102550(' ')
发票号码FIVNUMBERIVNUMBERFIVNUMBERnvarchar5102550(' ')
打印清单次数FGTPRINTLISTCOUNTGTPRINTLISTCOUNTFGTPRINTLISTCOUNTint4100((0))
原发票代码FSOURCEIVCODESOURCEIVCODEFSOURCEIVCODEnvarchar5102550(' ')
清单标识FHAVEIVLISTHAVEIVLISTFHAVEIVLISTchar110('0')
索引
名称类型字段
PK_IV_SALEEXINVCLUSTEREDFID
IDX_IV_SALEEXINV_FBILLNONONCLUSTEREDFBILLNO
IDX_IV_SALEEXINV_FDATENONCLUSTEREDFDATE
主外键
名称类型字段
PK_IV_SALEEXINVPKFID
触发器
约束
名称类型字段描述
PK_IV_SALEEXINV主键约束FID
DF__T_IV_SALEEX__FID__10E4A993默认值约束FID((0))
DF__T_IV_SALE__FBILL__11D8CDCC默认值约束FBILLTYPEID(' ')
DF__T_IV_SALE__FFORM__12CCF205默认值约束FFORMID(' ')
DF__T_IV_SALE__FBILL__13C1163E默认值约束FBILLNO(' ')
DF__T_IV_SALE__FREDB__14B53A77默认值约束FREDBLUE('0')
DF__T_IV_SALE__FDOCU__15A95EB0默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_SALE__FRESF__1619FF86默认值约束FRESFLAG('0')
DF__T_IV_SALE__FINVO__169D82E9默认值约束FINVOICENO(' ')
DF__T_IV_SALE__FCONT__1791A722默认值约束FCONTACTUNITTYPE(' ')
DF__T_IV_SALE__FISHO__18132C14默认值约束FISHOOKMATCH('0')
DF__T_IV_SALE__FCONT__1885CB5B默认值约束FCONTACTUNIT((0))
DF__T_IV_SALE__FDATE__1979EF94默认值约束FDATE(getdate())
DF__T_IV_SALE__FCURR__1A6E13CD默认值约束FCURRENCYID((0))
DF__T_IV_SALE__FMAIN__1B623806默认值约束FMAINBOOKSTDCURRID((0))
DF__T_IV_SALE__FISTA__1C565C3F默认值约束FISTAX(' ')
DF__T_IV_SALE__FOPEN__1D4A8078默认值约束FOPENSTATUS('A')
DF__T_IV_SALE__FSETT__1E3EA4B1默认值约束FSETTLEORGID((0))
DF__T_IV_SALE__FSALE__1F32C8EA默认值约束FSALEORGID((0))
DF__T_IV_SALE__FSALE__2026ED23默认值约束FSALEDEPTID((0))
DF__T_IV_SALE__FSALE__211B115C默认值约束FSALEGROUPID((0))
DF__T_IV_SALE__FSALE__220F3595默认值约束FSALEERID((0))
DF__T_IV_SALE__FTAXA__230359CE默认值约束FTAXAMOUNTFOR((0))
DF__T_IV_SALE__FTAXA__23F77E07默认值约束FTAXAMOUNT((0))
DF__T_IV_SALE__FHEAD__24EBA240默认值约束FHEADAUXPRICEFOR((0))
DF__T_IV_SALE__FHEAD__25DFC679默认值约束FHEADAUXPRICE((0))
DF__T_IV_SALE__FISPR__2654C7C5默认值约束FISPRICEEXCLUDETAX('1')
DF__T_IV_SALE__FAFTE__26D3EAB2默认值约束FAFTERTOTALTAXFOR((0))
DF__T_IV_SALE__FAFTE__27C80EEB默认值约束FAFTERTOTALTAX((0))
DF__T_IV_SALE__FEXCH__28BC3324默认值约束FEXCHANGERATE((0))
DF__T_IV_SALE__FEXCH__29B0575D默认值约束FEXCHANGETYPE((0))
DF__T_IV_SALE__FSETT__2AA47B96默认值约束FSETTLETYPEID((0))
DF__T_IV_SALE__FTAXR__2B989FCF默认值约束FTAXREGISTERCODE(' ')
DF__T_IV_SALE__FPURC__2C8CC408默认值约束FPURCHASERADDRESS(' ')
DF__T_IV_SALE__FPURC__2D80E841默认值约束FPURCHASERACCOUNT(' ')
DF__T_IV_SALE__FCREA__2E750C7A默认值约束FCREATORID((0))
DF__T_IV_SALE__FCREA__2F6930B3默认值约束FCREATEDATE(getdate())
DF__T_IV_SALE__FMODI__305D54EC默认值约束FMODIFIERID((0))
DF__T_IV_SALE__FAPPR__31517925默认值约束FAPPROVERID((0))
DF__T_IV_SALE__FACCO__32459D5E默认值约束FACCOUNTSYSTEM((0))
DF__T_IV_SALE__FINVO__3339C197默认值约束FINVOICETITLE(' ')
DF__T_IV_SALE__FOPEN__342DE5D0默认值约束FOPENBANKNAME(' ')
DF__T_IV_SALEE__FTEL__35220A09默认值约束FTEL(' ')
DF__T_IV_SALE__FSOUR__363629D3默认值约束FSOURCEIVCODE(' ')
DF__T_IV_SALE__FSOUR__372A4E0C默认值约束FSOURCEIVNUMBER(' ')
DF__T_IV_SALE__FIVCO__381E7245默认值约束FIVCODE(' ')
DF__T_IV_SALE__FIVNU__3912967E默认值约束FIVNUMBER(' ')
DF__T_IV_SALE__FGTST__3A06BAB7默认值约束FGTSTATUS('0')
DF__T_IV_SALE__FGTPR__3AFADEF0默认值约束FGTPRINTCOUNT((0))
DF__T_IV_SALE__FGTPR__3BEF0329默认值约束FGTPRINTLISTCOUNT((0))
DF__T_IV_SALE__FHAVE__3CE32762默认值约束FHAVEIVLIST('0')
DF__T_IV_SALE__FCANC__5CE2E70E默认值约束FCANCELSTATUS('A')
DF__T_IV_SALE__FREMA__77BD3B87默认值约束FREMARK(' ')

全部销售费用发票-单据头_O

概述
表名称实体名称ORM实体名
T_IV_SALEEXINV_O单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
开票流水号FSerialNumberFSerialNumberFSERIALNUMBERvarchar400040000(' ')
原开票流水号FSOURCESERIALNUMSOURCESERIALNUMFSOURCESERIALNUMvarchar400040000(' ')
开票人FDRAWERDRAWERFDRAWERnvarchar100500(' ')
收款人FPAYEEPAYEEFPAYEEnvarchar100500(' ')
复核人FREVIEWERREVIEWERFREVIEWERnvarchar100500(' ')
金税盘机号FGTDISKNUMBERGTDISKNUMBERFGTDISKNUMBERnvarchar100500(' ')
源单立账类型FSrcSetAccountTypeFSrcSetAccountTypeFSRCSETACCOUNTTYPEchar110('1')
索引
名称类型字段
PK_IV_SALEEXINV_OCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALEEXINV_OPKFID
触发器
约束
名称类型字段描述
PK_IV_SALEEXINV_O主键约束FID
DF__T_IV_SALE__FPDFU__00EE6AB6默认值约束FPDFURLCOPY(' ')
DF__T_IV_SALE__FDRAW__1CEB591C默认值约束FDRAWER(' ')
DF__T_IV_SALE__FPAYE__1DDF7D55默认值约束FPAYEE(' ')
DF__T_IV_SALE__FREVI__1ED3A18E默认值约束FREVIEWER(' ')
DF__T_IV_SALE__FSERI__76069625默认值约束FSERIALNUMBER(' ')
DF__T_IV_SALE__FSOUR__76FABA5E默认值约束FSOURCESERIALNUM(' ')
DF__T_IV_SALE__FSRCS__2D1ACCA0默认值约束FSRCSETACCOUNTTYPE('1')
DF__T_IV_SALE__FINFO__34C61009默认值约束FINFOTABLENUMBER(' ')
DF__T_IV_SALE__FCHEC__4EDFABD1默认值约束FCHECKCODE(' ')
DF__T_IV_SALE__FSOUR__71103DF8默认值约束FSOURCEIVTYPE(' ')
DF__T_IV_SALE__FRUSH__72046231默认值约束FRUSHREDREASON(' ')
DF__T_IV_SALEEX__FID__751271EC默认值约束FID((0))
DF__T_IV_SALE__FPDFU__77EEDE97默认值约束FPDFURL(' ')
DF__T_IV_SALE__FGTDI__7F25EC0B默认值约束FGTDISKNUMBER(' ')

全部销售费用发票-单据体

概述
表名称实体名称ORM实体名
T_IV_SALEEXINVENTRY单据体SALEEXINVENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
源单类型FSRCBILLTYPEIDSRCBILLTYPEIDFSRCBILLTYPEIDvarchar36360(' ')
源单编号FSRCBILLNOSRCBILLNOFSRCBILLNOnvarchar160800(' ')
费用项目编码FEXPENSEIDEXPENSEIDFEXPENSEIDint4100((0))
单价FAUXPRICEAUXPRICEFAUXPRICEdecimal132310((0))
含税单价FAUXTAXPRICEAUXTAXPRICEFAUXTAXPRICEdecimal132310((0.0))
计价单位FPRICEUNITIDPRICEUNITIDFPRICEUNITIDint4100((0))
计价数量FPRICEQTYPRICEQTYFPRICEQTYdecimal132310((0.0))
税率%FTAXRATETAXRATEFTAXRATEdecimal9196((0.0))
税额FDETAILTAXAMOUNTFORDETAILTAXAMOUNTFORFDETAILTAXAMOUNTFORdecimal132310((0.0))
不含税金额FAMOUNTFORAMOUNTFORFAMOUNTFORdecimal132310((0.0))
价税合计FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0.0))
备注FCOMMENTCOMMENTFCOMMENTnvarchar5102550(' ')
表体明细-开票核销状态FOPENSTATUS_DOPENSTATUSFOPENSTATUSchar110('A')
表体明细-已开票核销金额FOPENAMOUNTFOR_DOPENAMOUNTFORFOPENAMOUNTFORdecimal132310((0))
税额本位币FDETAILTAXAMOUNTDETAILTAXAMOUNTFDETAILTAXAMOUNTdecimal132310((0))
不含税金额本位币FNOTAXAMOUNTNOTAXAMOUNTFNOTAXAMOUNTdecimal132310((0))
价税合计本位币FALLAMOUNTALLAMOUNTFALLAMOUNTdecimal132310((0))
不参与核销FDONOTMATCHDONOTMATCHFDONOTMATCHchar110('0')
已下推红字发票金额FPUSHREDAMOUNTFORPUSHREDAMOUNTFORFPUSHREDAMOUNTFORdecimal132310((0))
已核销不含税金额FMatchNotTaxAmtForMatchNotTaxAmtForFMATCHNOTTAXAMTFORdecimal132310((0))
免征额FDEDUCTIONDEDUCTIONFDEDUCTIONdecimal132310((0))
免征税额FTAXDEDUCTIONTAXDEDUCTIONFTAXDEDUCTIONdecimal132310((0))
索引
名称类型字段
PK_IV_SALEEXINVENTRYCLUSTEREDFENTRYID
IDX_IV_SALEEXINVENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALEEXINVENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALEEXINVENTRY主键约束FENTRYID
DF__T_IV_SALE__FENTR__370A527B默认值约束FENTRYID((0))
DF__T_IV_SALEEX__FID__37FE76B4默认值约束FID((0))
DF__T_IV_SALE__FSRCB__38F29AED默认值约束FSRCBILLTYPEID(' ')
DF__T_IV_SALE__FSRCB__39E6BF26默认值约束FSRCBILLNO(' ')
DF__T_IV_SALEE__FSEQ__3ADAE35F默认值约束FSEQ((0))
DF__T_IV_SALE__FISIN__3B6E7B58默认值约束FISINVOICEALLARRIVED('0')
DF__T_IV_SALE__FPRIC__3BCF0798默认值约束FPRICEUNITID((0))
DF__T_IV_SALE__FPRIC__3CC32BD1默认值约束FPRICEQTY((0.0))
DF__T_IV_SALE__FAUXP__3DB7500A默认值约束FAUXPRICE((0))
DF__T_IV_SALE__FAUXT__3EAB7443默认值约束FAUXTAXPRICE((0.0))
DF__T_IV_SALE__FTAXR__3F9F987C默认值约束FTAXRATE((0.0))
DF__T_IV_SALE__FDETA__4093BCB5默认值约束FDETAILTAXAMOUNTFOR((0.0))
DF__T_IV_SALE__FEXPE__4187E0EE默认值约束FEXPENSEID((0))
DF__T_IV_SALE__FALLA__427C0527默认值约束FALLAMOUNTFOR((0.0))
DF__T_IV_SALE__FAMOU__43702960默认值约束FAMOUNTFOR((0.0))
DF__T_IV_SALE__FDETA__44644D99默认值约束FDETAILTAXAMOUNT((0))
DF__T_IV_SALE__FNOTA__455871D2默认值约束FNOTAXAMOUNT((0))
DF__T_IV_SALE__FALLA__464C960B默认值约束FALLAMOUNT((0))
DF__T_IV_SALE__FCUST__4724B766默认值约束FCUSTMATID(' ')
DF__T_IV_SALE__FOPEN__4740BA44默认值约束FOPENSTATUS('A')
DF__T_IV_SALE__FCUST__4818DB9F默认值约束FCUSTMATNAME(' ')
DF__T_IV_SALE__FOPEN__4834DE7D默认值约束FOPENAMOUNTFOR((0))
DF__T_IV_SALE__FDONO__492902B6默认值约束FDONOTMATCH('0')
DF__T_IV_SALE__FCOMM__4A1D26EF默认值约束FCOMMENT(' ')
DF__T_IV_SALE__FPUSH__4B114B28默认值约束FPUSHREDAMOUNTFOR((0))
DF__T_IV_SALE__FMATC__4C056F61默认值约束FMATCHNOTTAXAMTFOR((0))
DF__T_IV_SALE__FDEDU__56C6EDA9默认值约束FDEDUCTION((0))
DF__T_IV_SALE__FTAXD__57BB11E2默认值约束FTAXDEDUCTION((0))

全部销售费用发票-关联关系表

概述
表名称实体名称ORM实体名
T_IV_SALEEXINVENTRY_LK关联关系表FSALEEXINVENTRY_Link
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值
业务流程图FSALEEXINVENTRY_Link_FFlowIdFlowIdFFLOWIDvarchar36360(' ')
推进路线FSALEEXINVENTRY_Link_FFlowLineIdFlowLineIdFFLOWLINEIDint4100((0))
转换规则FSALEEXINVENTRY_Link_FRuleIdRuleIdFRULEIDvarchar36360(' ')
源单表内码FSALEEXINVENTRY_Link_FSTableIdSTableIdFSTABLEIDint4100((0))
源单表FSALEEXINVENTRY_Link_FSTableNameSTableNameFSTABLENAMEvarchar30300(' ')
源单内码FSALEEXINVENTRY_Link_FSBillIdSBillIdFSBILLIDint4100((0))
源单分录内码FSALEEXINVENTRY_Link_FSIdSIdFSIDint4100((0))
原始携带量FSALEEXINVENTRY_Link_FALLAMOUNTFOROldALLAMOUNTFOROldFALLAMOUNTFOROLDdecimal132310((0))
修改携带量FSALEEXINVENTRY_Link_FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0))
索引
名称类型字段
PK_IV_SALEEXINVENTRY_LKCLUSTEREDFLINKID
IDX_IV_SALEEXINVENTRY_LKNONCLUSTEREDFSBILLIDFSIDFENTRYID
IDX_IV_SALEEXINVENTRY_LK_EIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_IV_SALEEXINVENTRY_LKPKFLINKID
触发器
约束
名称类型字段描述
PK_IV_SALEEXINVENTRY_LK主键约束FLINKID
DF__T_IV_SALE__FLINK__4DEDB7D3默认值约束FLINKID((0))
DF__T_IV_SALE__FSTAB__4EE1DC0C默认值约束FSTABLEID((0))
DF__T_IV_SALE__FSBIL__4FD60045默认值约束FSBILLID((0))
DF__T_IV_SALEE__FSID__50CA247E默认值约束FSID((0))
DF__T_IV_SALE__FENTR__51BE48B7默认值约束FENTRYID((0))
DF__T_IV_SALE__FIVLN__52B26CF0默认值约束FIVLNKTRACKERID(' ')
DF__T_IV_SALE__FIVLN__53A69129默认值约束FIVLNKSSTATE(' ')
DF__T_IV_SALE__FIVLN__549AB562默认值约束FIVLNKAMOUNT((0))
DF__T_IV_SALE__FRECL__558ED99B默认值约束FRECLNKTRACKERID(' ')
DF__T_IV_SALE__FRECL__5682FDD4默认值约束FRECLNKSSTATE(' ')
DF__T_IV_SALE__FRECL__5777220D默认值约束FRECLNKAMOUNT((0))
DF__T_IV_SALE__FFLOW__586B4646默认值约束FFLOWID(' ')
DF__T_IV_SALE__FFLOW__595F6A7F默认值约束FFLOWLINEID((0))
DF__T_IV_SALE__FRULE__5A538EB8默认值约束FRULEID(' ')
DF__T_IV_SALE__FSTAB__5B47B2F1默认值约束FSTABLENAME(' ')
DF__T_IV_SALE__FALLA__5C3BD72A默认值约束FALLAMOUNTFOROLD((0))
DF__T_IV_SALE__FALLA__5D2FFB63默认值约束FALLAMOUNTFOR((0))

1.1.27 销项费用增值税发票

销项费用增值税发票-单据头

概述
表名称实体名称ORM实体名
T_IV_SALEEXINV单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar160800(' ')
单据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
发票号FINVOICENOINVOICENOFINVOICENOnvarchar400020000(' ')
发票日期FINVOICEDATEINVOICEDATEFINVOICEDATEdatetime8233
业务日期FDATEDATEFDATEdatetime8233(getdate())
往来单位FCONTACTUNITCONTACTUNITFCONTACTUNITint4100((0))
往来单位类型FCONTACTUNITTYPECONTACTUNITTYPEFCONTACTUNITTYPEvarchar36360(' ')
币别FCURRENCYIDCURRENCYIDFCURRENCYIDint4100((0))
按含税单价录入FISTAXISTAXFISTAXchar110(' ')
销售组织FSALEORGIDSALEORGIDFSALEORGIDint4100((0))
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
纳税人识别号FTAXREGISTERCODETAXREGISTERCODEFTAXREGISTERCODEnvarchar5102550(' ')
购方银行账号FPURCHASERACCOUNTPURCHASERACCOUNTFPURCHASERACCOUNTnvarchar2001000(' ')
结算方式FSETTLETYPEIDSETTLETYPEIDFSETTLETYPEIDint4100((0))
税额FTAXAMOUNTFORTAXAMOUNTFORFTAXAMOUNTFORdecimal132310((0))
汇率FEXCHANGERATEEXCHANGERATEFEXCHANGERATEdecimal132310((0))
销售部门FSALEDEPTIDSALEDEPTIDFSALEDEPTIDint4100((0))
本位币FMAINBOOKSTDCURRIDMAINBOOKSTDCURRIDFMAINBOOKSTDCURRIDint4100((0))
销售员FSALEERIDSALEERIDFSALEERIDint4100((0))
不含税金额本位币FHEADAUXPRICEHEADAUXPRICEFHEADAUXPRICEdecimal132310((0))
汇率类型FEXCHANGETYPEEXCHANGETYPEFEXCHANGETYPEint4100((0))
销售组FSALEGROUPIDSALEGROUPIDFSALEGROUPIDint4100((0))
价税合计本位币FAFTERTOTALTAXAFTERTOTALTAXFAFTERTOTALTAXdecimal132310((0))
不含税金额FHEADAUXPRICEFORHEADAUXPRICEFORFHEADAUXPRICEFORdecimal132310((0))
税额本位币FTAXAMOUNTTAXAMOUNTFTAXAMOUNTdecimal132310((0))
价税合计FAFTERTOTALTAXFORAFTERTOTALTAXFORFAFTERTOTALTAXFORdecimal132310((0))
创建人FCREATORIDCREATORIDFCREATORIDint4100((0))
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233(getdate())
审核人FAPPROVERIDAPPROVERIDFAPPROVERIDint4100((0))
表头基本-开票核销状态FOPENSTATUSOPENSTATUSFOPENSTATUSchar110('A')
修改日期FModifyDateModifyDateFMODIFYDATEdatetime8233
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
红蓝字FRedBlueRedBlueFREDBLUEchar110('0')
单据类型FBillTypeIDBillTypeIDFBILLTYPEIDvarchar36360(' ')
会计核算体系FACCOUNTSYSTEMACCOUNTSYSTEMFACCOUNTSYSTEMint4100((0))
开户银行FOPENBANKNAMEOPENBANKNAMEFOPENBANKNAMEnvarchar5102550(' ')
联系电话FTELTELFTELnvarchar100500(' ')
发票抬头FINVOICETITLEINVOICETITLEFINVOICETITLEnvarchar5102550(' ')
购方地址FPURCHASERADDRESSPURCHASERADDRESSFPURCHASERADDRESSnvarchar5102550(' ')
原发票号码FSOURCEIVNUMBERSOURCEIVNUMBERFSOURCEIVNUMBERnvarchar5102550(' ')
开票状态FGTSTATUSGTSTATUSFGTSTATUSchar110('0')
打印次数FGTPRINTCOUNTGTPRINTCOUNTFGTPRINTCOUNTint4100((0))
发票代码FIVCODEIVCODEFIVCODEnvarchar5102550(' ')
发票号码FIVNUMBERIVNUMBERFIVNUMBERnvarchar5102550(' ')
打印清单次数FGTPRINTLISTCOUNTGTPRINTLISTCOUNTFGTPRINTLISTCOUNTint4100((0))
原发票代码FSOURCEIVCODESOURCEIVCODEFSOURCEIVCODEnvarchar5102550(' ')
清单标识FHAVEIVLISTHAVEIVLISTFHAVEIVLISTchar110('0')
作废人FCancellerIdFCancellerIdFCANCELLERIDint4100
作废日期FCancelDateFCancelDateFCANCELDATEdatetime8233
作废状态FCancelStatusFCancelStatusFCANCELSTATUSchar110('A')
离线开票标识FRESFLAGFRESFLAGFRESFLAGvarchar20200('0')
备注FREMARKFREMARKFREMARKnvarchar5102550(' ')
索引
名称类型字段
PK_IV_SALEEXINVCLUSTEREDFID
IDX_IV_SALEEXINV_FBILLNONONCLUSTEREDFBILLNO
IDX_IV_SALEEXINV_FDATENONCLUSTEREDFDATE
主外键
名称类型字段
PK_IV_SALEEXINVPKFID
触发器
约束
名称类型字段描述
PK_IV_SALEEXINV主键约束FID
DF__T_IV_SALEEX__FID__10E4A993默认值约束FID((0))
DF__T_IV_SALE__FBILL__11D8CDCC默认值约束FBILLTYPEID(' ')
DF__T_IV_SALE__FFORM__12CCF205默认值约束FFORMID(' ')
DF__T_IV_SALE__FBILL__13C1163E默认值约束FBILLNO(' ')
DF__T_IV_SALE__FREDB__14B53A77默认值约束FREDBLUE('0')
DF__T_IV_SALE__FDOCU__15A95EB0默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_SALE__FRESF__1619FF86默认值约束FRESFLAG('0')
DF__T_IV_SALE__FINVO__169D82E9默认值约束FINVOICENO(' ')
DF__T_IV_SALE__FCONT__1791A722默认值约束FCONTACTUNITTYPE(' ')
DF__T_IV_SALE__FISHO__18132C14默认值约束FISHOOKMATCH('0')
DF__T_IV_SALE__FCONT__1885CB5B默认值约束FCONTACTUNIT((0))
DF__T_IV_SALE__FDATE__1979EF94默认值约束FDATE(getdate())
DF__T_IV_SALE__FCURR__1A6E13CD默认值约束FCURRENCYID((0))
DF__T_IV_SALE__FMAIN__1B623806默认值约束FMAINBOOKSTDCURRID((0))
DF__T_IV_SALE__FISTA__1C565C3F默认值约束FISTAX(' ')
DF__T_IV_SALE__FOPEN__1D4A8078默认值约束FOPENSTATUS('A')
DF__T_IV_SALE__FSETT__1E3EA4B1默认值约束FSETTLEORGID((0))
DF__T_IV_SALE__FSALE__1F32C8EA默认值约束FSALEORGID((0))
DF__T_IV_SALE__FSALE__2026ED23默认值约束FSALEDEPTID((0))
DF__T_IV_SALE__FSALE__211B115C默认值约束FSALEGROUPID((0))
DF__T_IV_SALE__FSALE__220F3595默认值约束FSALEERID((0))
DF__T_IV_SALE__FTAXA__230359CE默认值约束FTAXAMOUNTFOR((0))
DF__T_IV_SALE__FTAXA__23F77E07默认值约束FTAXAMOUNT((0))
DF__T_IV_SALE__FHEAD__24EBA240默认值约束FHEADAUXPRICEFOR((0))
DF__T_IV_SALE__FHEAD__25DFC679默认值约束FHEADAUXPRICE((0))
DF__T_IV_SALE__FISPR__2654C7C5默认值约束FISPRICEEXCLUDETAX('1')
DF__T_IV_SALE__FAFTE__26D3EAB2默认值约束FAFTERTOTALTAXFOR((0))
DF__T_IV_SALE__FAFTE__27C80EEB默认值约束FAFTERTOTALTAX((0))
DF__T_IV_SALE__FEXCH__28BC3324默认值约束FEXCHANGERATE((0))
DF__T_IV_SALE__FEXCH__29B0575D默认值约束FEXCHANGETYPE((0))
DF__T_IV_SALE__FSETT__2AA47B96默认值约束FSETTLETYPEID((0))
DF__T_IV_SALE__FTAXR__2B989FCF默认值约束FTAXREGISTERCODE(' ')
DF__T_IV_SALE__FPURC__2C8CC408默认值约束FPURCHASERADDRESS(' ')
DF__T_IV_SALE__FPURC__2D80E841默认值约束FPURCHASERACCOUNT(' ')
DF__T_IV_SALE__FCREA__2E750C7A默认值约束FCREATORID((0))
DF__T_IV_SALE__FCREA__2F6930B3默认值约束FCREATEDATE(getdate())
DF__T_IV_SALE__FMODI__305D54EC默认值约束FMODIFIERID((0))
DF__T_IV_SALE__FAPPR__31517925默认值约束FAPPROVERID((0))
DF__T_IV_SALE__FACCO__32459D5E默认值约束FACCOUNTSYSTEM((0))
DF__T_IV_SALE__FINVO__3339C197默认值约束FINVOICETITLE(' ')
DF__T_IV_SALE__FOPEN__342DE5D0默认值约束FOPENBANKNAME(' ')
DF__T_IV_SALEE__FTEL__35220A09默认值约束FTEL(' ')
DF__T_IV_SALE__FSOUR__363629D3默认值约束FSOURCEIVCODE(' ')
DF__T_IV_SALE__FSOUR__372A4E0C默认值约束FSOURCEIVNUMBER(' ')
DF__T_IV_SALE__FIVCO__381E7245默认值约束FIVCODE(' ')
DF__T_IV_SALE__FIVNU__3912967E默认值约束FIVNUMBER(' ')
DF__T_IV_SALE__FGTST__3A06BAB7默认值约束FGTSTATUS('0')
DF__T_IV_SALE__FGTPR__3AFADEF0默认值约束FGTPRINTCOUNT((0))
DF__T_IV_SALE__FGTPR__3BEF0329默认值约束FGTPRINTLISTCOUNT((0))
DF__T_IV_SALE__FHAVE__3CE32762默认值约束FHAVEIVLIST('0')
DF__T_IV_SALE__FCANC__5CE2E70E默认值约束FCANCELSTATUS('A')
DF__T_IV_SALE__FREMA__77BD3B87默认值约束FREMARK(' ')

销项费用增值税发票-单据头_O

概述
表名称实体名称ORM实体名
T_IV_SALEEXINV_O单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
开票流水号FSerialNumberFSerialNumberFSERIALNUMBERvarchar400040000(' ')
原开票流水号FSOURCESERIALNUMSOURCESERIALNUMFSOURCESERIALNUMvarchar400040000(' ')
开票人FDRAWERDRAWERFDRAWERnvarchar100500(' ')
收款人FPAYEEPAYEEFPAYEEnvarchar100500(' ')
复核人FREVIEWERREVIEWERFREVIEWERnvarchar100500(' ')
金税盘机号FGTDISKNUMBERGTDISKNUMBERFGTDISKNUMBERnvarchar100500(' ')
源单立账类型FSrcSetAccountTypeFSrcSetAccountTypeFSRCSETACCOUNTTYPEchar110('1')
信息表编号FINFOTABLENUMBERINFOTABLENUMBERFINFOTABLENUMBERnvarchar400020000(' ')
校验码FCHECKCODECHECKCODEFCHECKCODEvarchar400040000(' ')
电子发票地址FPDFURLCOPYFPDFURLCOPYFPDFURLCOPYnvarchar5102550(' ')
索引
名称类型字段
PK_IV_SALEEXINV_OCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALEEXINV_OPKFID
触发器
约束
名称类型字段描述
PK_IV_SALEEXINV_O主键约束FID
DF__T_IV_SALE__FPDFU__00EE6AB6默认值约束FPDFURLCOPY(' ')
DF__T_IV_SALE__FDRAW__1CEB591C默认值约束FDRAWER(' ')
DF__T_IV_SALE__FPAYE__1DDF7D55默认值约束FPAYEE(' ')
DF__T_IV_SALE__FREVI__1ED3A18E默认值约束FREVIEWER(' ')
DF__T_IV_SALE__FSERI__76069625默认值约束FSERIALNUMBER(' ')
DF__T_IV_SALE__FSOUR__76FABA5E默认值约束FSOURCESERIALNUM(' ')
DF__T_IV_SALE__FSRCS__2D1ACCA0默认值约束FSRCSETACCOUNTTYPE('1')
DF__T_IV_SALE__FINFO__34C61009默认值约束FINFOTABLENUMBER(' ')
DF__T_IV_SALE__FCHEC__4EDFABD1默认值约束FCHECKCODE(' ')
DF__T_IV_SALE__FSOUR__71103DF8默认值约束FSOURCEIVTYPE(' ')
DF__T_IV_SALE__FRUSH__72046231默认值约束FRUSHREDREASON(' ')
DF__T_IV_SALEEX__FID__751271EC默认值约束FID((0))
DF__T_IV_SALE__FPDFU__77EEDE97默认值约束FPDFURL(' ')
DF__T_IV_SALE__FGTDI__7F25EC0B默认值约束FGTDISKNUMBER(' ')

销项费用增值税发票-单据体

概述
表名称实体名称ORM实体名
T_IV_SALEEXINVENTRY单据体SALEEXINVENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
源单类型FSRCBILLTYPEIDSRCBILLTYPEIDFSRCBILLTYPEIDvarchar36360(' ')
源单编号FSRCBILLNOSRCBILLNOFSRCBILLNOnvarchar160800(' ')
费用项目编码FEXPENSEIDEXPENSEIDFEXPENSEIDint4100((0))
单价FAUXPRICEAUXPRICEFAUXPRICEdecimal132310((0))
含税单价FAUXTAXPRICEAUXTAXPRICEFAUXTAXPRICEdecimal132310((0.0))
计价单位FPRICEUNITIDPRICEUNITIDFPRICEUNITIDint4100((0))
计价数量FPRICEQTYPRICEQTYFPRICEQTYdecimal132310((0.0))
税率%FTAXRATETAXRATEFTAXRATEdecimal9196((0.0))
税额FDETAILTAXAMOUNTFORDETAILTAXAMOUNTFORFDETAILTAXAMOUNTFORdecimal132310((0.0))
不含税金额FAMOUNTFORAMOUNTFORFAMOUNTFORdecimal132310((0.0))
价税合计FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0.0))
备注FCOMMENTCOMMENTFCOMMENTnvarchar5102550(' ')
表体明细-开票核销状态FOPENSTATUS_DOPENSTATUSFOPENSTATUSchar110('A')
表体明细-已开票核销金额FOPENAMOUNTFOR_DOPENAMOUNTFORFOPENAMOUNTFORdecimal132310((0))
税额本位币FDETAILTAXAMOUNTDETAILTAXAMOUNTFDETAILTAXAMOUNTdecimal132310((0))
不含税金额本位币FNOTAXAMOUNTNOTAXAMOUNTFNOTAXAMOUNTdecimal132310((0))
价税合计本位币FALLAMOUNTALLAMOUNTFALLAMOUNTdecimal132310((0))
不参与核销FDONOTMATCHDONOTMATCHFDONOTMATCHchar110('0')
已下推红字发票金额FPUSHREDAMOUNTFORPUSHREDAMOUNTFORFPUSHREDAMOUNTFORdecimal132310((0))
已核销不含税金额FMatchNotTaxAmtForMatchNotTaxAmtForFMATCHNOTTAXAMTFORdecimal132310((0))
免征额FDEDUCTIONDEDUCTIONFDEDUCTIONdecimal132310((0))
免征税额FTAXDEDUCTIONTAXDEDUCTIONFTAXDEDUCTIONdecimal132310((0))
已完全到票FISINVOICEALLARRIVEDISINVOICEALLARRIVEDFISINVOICEALLARRIVEDchar110('0')
索引
名称类型字段
PK_IV_SALEEXINVENTRYCLUSTEREDFENTRYID
IDX_IV_SALEEXINVENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALEEXINVENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALEEXINVENTRY主键约束FENTRYID
DF__T_IV_SALE__FENTR__370A527B默认值约束FENTRYID((0))
DF__T_IV_SALEEX__FID__37FE76B4默认值约束FID((0))
DF__T_IV_SALE__FSRCB__38F29AED默认值约束FSRCBILLTYPEID(' ')
DF__T_IV_SALE__FSRCB__39E6BF26默认值约束FSRCBILLNO(' ')
DF__T_IV_SALEE__FSEQ__3ADAE35F默认值约束FSEQ((0))
DF__T_IV_SALE__FISIN__3B6E7B58默认值约束FISINVOICEALLARRIVED('0')
DF__T_IV_SALE__FPRIC__3BCF0798默认值约束FPRICEUNITID((0))
DF__T_IV_SALE__FPRIC__3CC32BD1默认值约束FPRICEQTY((0.0))
DF__T_IV_SALE__FAUXP__3DB7500A默认值约束FAUXPRICE((0))
DF__T_IV_SALE__FAUXT__3EAB7443默认值约束FAUXTAXPRICE((0.0))
DF__T_IV_SALE__FTAXR__3F9F987C默认值约束FTAXRATE((0.0))
DF__T_IV_SALE__FDETA__4093BCB5默认值约束FDETAILTAXAMOUNTFOR((0.0))
DF__T_IV_SALE__FEXPE__4187E0EE默认值约束FEXPENSEID((0))
DF__T_IV_SALE__FALLA__427C0527默认值约束FALLAMOUNTFOR((0.0))
DF__T_IV_SALE__FAMOU__43702960默认值约束FAMOUNTFOR((0.0))
DF__T_IV_SALE__FDETA__44644D99默认值约束FDETAILTAXAMOUNT((0))
DF__T_IV_SALE__FNOTA__455871D2默认值约束FNOTAXAMOUNT((0))
DF__T_IV_SALE__FALLA__464C960B默认值约束FALLAMOUNT((0))
DF__T_IV_SALE__FCUST__4724B766默认值约束FCUSTMATID(' ')
DF__T_IV_SALE__FOPEN__4740BA44默认值约束FOPENSTATUS('A')
DF__T_IV_SALE__FCUST__4818DB9F默认值约束FCUSTMATNAME(' ')
DF__T_IV_SALE__FOPEN__4834DE7D默认值约束FOPENAMOUNTFOR((0))
DF__T_IV_SALE__FDONO__492902B6默认值约束FDONOTMATCH('0')
DF__T_IV_SALE__FCOMM__4A1D26EF默认值约束FCOMMENT(' ')
DF__T_IV_SALE__FPUSH__4B114B28默认值约束FPUSHREDAMOUNTFOR((0))
DF__T_IV_SALE__FMATC__4C056F61默认值约束FMATCHNOTTAXAMTFOR((0))
DF__T_IV_SALE__FDEDU__56C6EDA9默认值约束FDEDUCTION((0))
DF__T_IV_SALE__FTAXD__57BB11E2默认值约束FTAXDEDUCTION((0))

销项费用增值税发票-关联关系表

概述
表名称实体名称ORM实体名
T_IV_SALEEXINVENTRY_LK关联关系表FSALEEXINVENTRY_Link
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值
业务流程图FSALEEXINVENTRY_Link_FFlowIdFlowIdFFLOWIDvarchar36360(' ')
推进路线FSALEEXINVENTRY_Link_FFlowLineIdFlowLineIdFFLOWLINEIDint4100((0))
转换规则FSALEEXINVENTRY_Link_FRuleIdRuleIdFRULEIDvarchar36360(' ')
源单表内码FSALEEXINVENTRY_Link_FSTableIdSTableIdFSTABLEIDint4100((0))
源单表FSALEEXINVENTRY_Link_FSTableNameSTableNameFSTABLENAMEvarchar30300(' ')
源单内码FSALEEXINVENTRY_Link_FSBillIdSBillIdFSBILLIDint4100((0))
源单分录内码FSALEEXINVENTRY_Link_FSIdSIdFSIDint4100((0))
原始携带量FSALEEXINVENTRY_Link_FALLAMOUNTFOROldALLAMOUNTFOROldFALLAMOUNTFOROLDdecimal132310((0))
修改携带量FSALEEXINVENTRY_Link_FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0))
索引
名称类型字段
PK_IV_SALEEXINVENTRY_LKCLUSTEREDFLINKID
IDX_IV_SALEEXINVENTRY_LKNONCLUSTEREDFSBILLIDFSIDFENTRYID
IDX_IV_SALEEXINVENTRY_LK_EIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_IV_SALEEXINVENTRY_LKPKFLINKID
触发器
约束
名称类型字段描述
PK_IV_SALEEXINVENTRY_LK主键约束FLINKID
DF__T_IV_SALE__FLINK__4DEDB7D3默认值约束FLINKID((0))
DF__T_IV_SALE__FSTAB__4EE1DC0C默认值约束FSTABLEID((0))
DF__T_IV_SALE__FSBIL__4FD60045默认值约束FSBILLID((0))
DF__T_IV_SALEE__FSID__50CA247E默认值约束FSID((0))
DF__T_IV_SALE__FENTR__51BE48B7默认值约束FENTRYID((0))
DF__T_IV_SALE__FIVLN__52B26CF0默认值约束FIVLNKTRACKERID(' ')
DF__T_IV_SALE__FIVLN__53A69129默认值约束FIVLNKSSTATE(' ')
DF__T_IV_SALE__FIVLN__549AB562默认值约束FIVLNKAMOUNT((0))
DF__T_IV_SALE__FRECL__558ED99B默认值约束FRECLNKTRACKERID(' ')
DF__T_IV_SALE__FRECL__5682FDD4默认值约束FRECLNKSSTATE(' ')
DF__T_IV_SALE__FRECL__5777220D默认值约束FRECLNKAMOUNT((0))
DF__T_IV_SALE__FFLOW__586B4646默认值约束FFLOWID(' ')
DF__T_IV_SALE__FFLOW__595F6A7F默认值约束FFLOWLINEID((0))
DF__T_IV_SALE__FRULE__5A538EB8默认值约束FRULEID(' ')
DF__T_IV_SALE__FSTAB__5B47B2F1默认值约束FSTABLENAME(' ')
DF__T_IV_SALE__FALLA__5C3BD72A默认值约束FALLAMOUNTFOROLD((0))
DF__T_IV_SALE__FALLA__5D2FFB63默认值约束FALLAMOUNTFOR((0))

1.1.28 销售增值税专用发票

销售增值税专用发票-单据头

概述
表名称实体名称ORM实体名
T_IV_SALESIC单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar60300(' ')
单据状态FDOCUMENTSTATUSDOCUMENTSTATUSFDOCUMENTSTATUSchar110(' ')
业务日期FDATEDATEFDATEdatetime8233(getdate())
币别FCURRENCYIDCURRENCYIDFCURRENCYIDint4100((0))
开票方式FBILLINGWAYBILLINGWAYFBILLINGWAYchar110('0')
发票号FINVOICENOINVOICENOFINVOICENOnvarchar400020000(' ')
发票日期FINVOICEDATEINVOICEDATEFINVOICEDATEdatetime8233
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
销售组织FSALEORGIDSALEORGIDFSALEORGIDint4100((0))
销售部门FSALEDEPTIDSALEDEPTIDFSALEDEPTIDint4100((0))
销售组FSALEGROUPIDFSALEGROUPIDFSALEGROUPIDint4100((0))
表头基本-开票核销状态FOPENSTATUSOPENSTATUSFOPENSTATUSchar110('A')
结算方式FSETTLETYPEIDSETTLETYPEIDFSETTLETYPEIDint4100((0))
汇率FEXCHANGERATEEXCHANGERATEFEXCHANGERATEdecimal132310((0))
汇率类型FEXCHANGETYPEEXCHANGETYPEFEXCHANGETYPEint4100((0))
本位币FMAINBOOKSTDCURRIDMAINBOOKSTDCURRIDFMAINBOOKSTDCURRIDint4100((0))
不含税金额FHEADAUXPRICEFORHEADAUXPRICEFORFAUXPRICEFORdecimal132310((0))
税额FTAXAMOUNTFORTAXAMOUNTFORFTAXAMOUNTFORdecimal132310((0))
价税合计FAFTERTOTALTAXFORAFTERTOTALTAXFORFAFTERTOTALTAXFORdecimal132310((0))
税额本位币FTAXAMOUNTTAXAMOUNTFTAXAMOUNTdecimal132310((0))
价税合计本位币FAFTERTOTALTAXAFTERTOTALTAXFAFTERTOTALTAXdecimal132310((0))
不含税金额本位币FHEADAUXPRICEHEADAUXPRICEFAUXPRICEdecimal132310((0))
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233(getdate())
审核人FAPPROVERIDAPPROVERIDFAPPROVERIDint4100((0))
创建人FCREATORIDFCREATORIDFCREATORIDint4100((0))
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
销售员FSALEERIDFSALEERIDFSALEERIDint4100((0))
客户FCUSTOMERIDCUSTOMERIDFCUSTOMERIDint4100((0))
单据类型FBillTypeIDBillTypeIDFBILLTYPEIDvarchar36360(' ')
会计核算体系FACCOUNTSYSTEMACCOUNTSYSTEMFACCOUNTSYSTEMint4100((0))
按含税单价录入FISTAXISTAXFISTAXchar110(' ')
作废人FCancellerIdCancellerIdFCANCELLERIDint4100
作废状态FCancelStatusCancelStatusFCANCELSTATUSchar110('A')
作废日期FCancelDateCancelDateFCANCELDATEdatetime8233
红蓝字FRedBlueREDBLUEFREDBLUEchar110('0')
金税引出次数FEXPORTCOUNTFEXPORTCOUNTFEXPORTCOUNTint4100((0))
发票生成方式FGenTypeFGenTypeFGENTYPEint4100((0))
开票流水号FSerialNumberFSerialNumberFSERIALNUMBERvarchar400040000(' ')
税控状态(已弃用)FElectronicStatusFElectronicStatusFELECTRONICSTATUSchar110('0')
发票抬头FINVOICETITLEINVOICETITLEFINVOICETITLEnvarchar5102550(' ')
纳税人识别号FTAXREGISTERCODETAXREGISTERCODEFTAXREGISTERCODEnvarchar5102550(' ')
B2C业务FISB2CISB2CFISB2Cchar110('0')
开户银行FOPENBANKNAMEOPENBANKNAMEFOPENBANKNAMEnvarchar5102550(' ')
银行账号FBANKCODEBANKCODEFBANKCODEnvarchar5102550(' ')
联系电话FTELTELFTELnvarchar5102550(' ')
通讯地址FADDRESSADDRESSFADDRESSnvarchar5102550(' ')
不参与开票核销FISHookMatchFISHookMatchFISHOOKMATCHchar110('0')
反写开票数量FWBOPENQTYFWBOPENQTYFWBOPENQTYchar110('0')
离线开票标识FRESFLAGFRESFLAGFRESFLAGvarchar20200('0')
备注FREMARKFREMARKFREMARKnvarchar5102550(' ')
索引
名称类型字段
PK_IV_SALESICCLUSTEREDFID
IDX_IV_SALESIC_FBILLNONONCLUSTEREDFBILLNO
主外键
名称类型字段
PK_IV_SALESICPKFID
触发器
约束
名称类型字段描述
PK_IV_SALESIC主键约束FID
DF__T_IV_SALE__FWBOP__012E61D8默认值约束FWBOPENQTY('0')
DF__T_IV_SALE__FINVO__01A26603默认值约束FINVOICETITLE(' ')
DF__T_IV_SALE__FTAXR__02968A3C默认值约束FTAXREGISTERCODE(' ')
DF__T_IV_SALE__FISHO__032B8719默认值约束FISHOOKMATCH('0')
DF__T_IV_SALE__FISB2__038AAE75默认值约束FISB2C('0')
DF__T_IV_SALE__FOPEN__047ED2AE默认值约束FOPENBANKNAME(' ')
DF__T_IV_SALE__FBANK__0572F6E7默认值约束FBANKCODE(' ')
DF__T_IV_SALES__FTEL__06671B20默认值约束FTEL(' ')
DF__T_IV_SALE__FADDR__075B3F59默认值约束FADDRESS(' ')
DF__T_IV_SALE__F_SG___144C86D8默认值约束F_SG_SPDH('')
DF__T_IV_SALE__FRESF__1525DB4D默认值约束FRESFLAG('0')
DF__T_IV_SALE__F_SG___1CCD57CD默认值约束F_SG_FPYX('')
DF__T_IV_SALE__FSERI__57E13661默认值约束FSERIALNUMBER(' ')
DF__T_IV_SALE__FEXPO__3F4A92C1默认值约束FEXPORTCOUNT((0))
DF_T_IV_SALESIC_FID默认值约束FID((0))
DF__T_IV_SALE__FBILL__165AF7F8默认值约束FBILLTYPEID(' ')
DF__T_IV_SALE__FBILL__174F1C31默认值约束FBILLNO(' ')
DF__T_IV_SALE__FDATE__193764A3默认值约束FDATE(getdate())
DF__T_IV_SALE__FCUST__1A2B88DC默认值约束FCUSTOMERID((0))
DF__T_IV_SALE__FCURR__1B1FAD15默认值约束FCURRENCYID((0))
DF__T_IV_SALE__FDOCU__1C13D14E默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_SALE__FBILL__1D07F587默认值约束FBILLINGWAY('0')
DF__T_IV_SALE__FINVO__1DFC19C0默认值约束FINVOICENO(' ')
DF__T_IV_SALE__FSETT__1EF03DF9默认值约束FSETTLEORGID((0))
DF__T_IV_SALE__FSALE__1FE46232默认值约束FSALEORGID((0))
DF__T_IV_SALE__FSALE__22C0CEDD默认值约束FSALEDEPTID((0))
DF__T_IV_SALE__FSALE__23B4F316默认值约束FSALEGROUPID((0))
DF__T_IV_SALE__FSALE__24A9174F默认值约束FSALEERID((0))
DF__T_IV_SALE__FOPEN__259D3B88默认值约束FOPENSTATUS('A')
DF__T_IV_SALE__FCANC__38B00FFC默认值约束FCANCELSTATUS('A')
DF__T_IV_SALE__FELEC__56ED1228默认值约束FELECTRONICSTATUS('0')
DF__T_IV_SALE__FAUXP__26915FC1默认值约束FAUXPRICEFOR((0))
DF__T_IV_SALE__FAUXP__278583FA默认值约束FAUXPRICE((0))
DF__T_IV_SALE__FGENT__590A64C4默认值约束FGENTYPE((0))
DF__T_IV_SALE__FEXCH__33EB5ADF默认值约束FEXCHANGERATE((0))
DF__T_IV_SALE__FEXCH__2879A833默认值约束FEXCHANGETYPE((0))
DF__T_IV_SALE__FAFTE__32F736A6默认值约束FAFTERTOTALTAXFOR((0))
DF__T_IV_SALE__FAFTE__296DCC6C默认值约束FAFTERTOTALTAX((0))
DF__T_IV_SALE__FMAIN__2A61F0A5默认值约束FMAINBOOKSTDCURRID((0))
DF__T_IV_SALE__FTAXA__301AC9FB默认值约束FTAXAMOUNTFOR((0))
DF__T_IV_SALE__FTAXA__2D3E5D50默认值约束FTAXAMOUNT((0))
DF__T_IV_SALE__FSETT__2E328189默认值约束FSETTLETYPEID((0))
DF__T_IV_SALE__FCREA__310EEE34默认值约束FCREATORID((0))
DF__T_IV_SALE__FCREA__2B5614DE默认值约束FCREATEDATE(getdate())
DF__T_IV_SALE__FMODI__3203126D默认值约束FMODIFIERID((0))
DF__T_IV_SALE__FAPPR__34DF7F18默认值约束FAPPROVERID((0))
DF__T_IV_SALE__FACCO__35D3A351默认值约束FACCOUNTSYSTEM((0))
DF__T_IV_SALE__FFORM__36C7C78A默认值约束FFORMID(' ')
DF__T_IV_SALE__FISTA__37BBEBC3默认值约束FISTAX(' ')
DF__T_IV_SALE__FREDB__5617EC5F默认值约束FREDBLUE('0')
DF__T_IV_SALE__F_SG___6765CEE9默认值约束F_SG_FDX((0))
DF__T_IV_SALE__FISPR__6995D248默认值约束FISPRICEEXCLUDETAX('1')
DF__T_IV_SALE__FISTA__6F216110默认值约束FISTAXINCOST('0')
DF__T_IV_SALE__FREMA__76C9174E默认值约束FREMARK(' ')

销售增值税专用发票-单据头_O

概述
表名称实体名称ORM实体名
T_IV_SALESIC_O单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
发票代码FIVCODEIVCODEFIVCODEnvarchar5102550(' ')
原发票代码FSOURCEIVCODESOURCEIVCODEFSOURCEIVCODEnvarchar5102550(' ')
发票号码FIVNUMBERIVNUMBERFIVNUMBERnvarchar5102550(' ')
原发票号码FSOURCEIVNUMBERSOURCEIVNUMBERFSOURCEIVNUMBERnvarchar5102550(' ')
开票状态FGTSTATUSGTSTATUSFGTSTATUSchar110('0')
打印次数FGTPRINTCOUNTGTPRINTCOUNTFGTPRINTCOUNTint4100((0))
打印清单次数FGTPRINTLISTCOUNTGTPRINTLISTCOUNTFGTPRINTLISTCOUNTint4100((0))
清单标识FHAVEIVLISTHAVEIVLISTFHAVEIVLISTchar110('0')
原开票流水号FSOURCESERIALNUMSOURCESERIALNUMFSOURCESERIALNUMvarchar400040000(' ')
源单立账类型FSrcSetAccountTypeFSrcSetAccountTypeFSRCSETACCOUNTTYPEchar110('1')
收款人FPAYEEPAYEEFPAYEEnvarchar100500(' ')
开票人FDRAWERDRAWERFDRAWERnvarchar100500(' ')
复核人FREVIEWERREVIEWERFREVIEWERnvarchar100500(' ')
金税盘机号FGTDISKNUMBERGTDISKNUMBERFGTDISKNUMBERnvarchar100500(' ')
开票客户FIVCUSTOMERIDIVCUSTOMERIDFIVCUSTOMERIDint4100((0))
获取成本时间FGetCostLastedDateGetCostLastedDateFGETCOSTLASTEDDATEdatetime8233
获取到的成本核算时间FCOSTCALDATECOSTCALDATEFCOSTCALDATEdatetime8233
扫描点FScanPointFScanPointFSCANPOINTint4100((0))
归档号FARCHIVENOFARCHIVENOFARCHIVENOnvarchar2001000(' ')
信息表编号FINFOTABLENUMBERINFOTABLENUMBERFINFOTABLENUMBERnvarchar400020000(' ')
校验码FCHECKCODECHECKCODEFCHECKCODEvarchar400040000(' ')
电子发票地址FPDFURLCOPYFPDFURLCOPYFPDFURLCOPYnvarchar5102550(' ')
源单业务类型FSRCBUSINESSTYPEFSRCBUSINESSTYPEFSRCBUSINESSTYPEvarchar20200(' ')
索引
名称类型字段
PK_IV_SALESIC_OCLUSTEREDFID
IDX_IV_SALESIC_FARCHIVENONONCLUSTEREDFARCHIVENO
主外键
名称类型字段
PK_IV_SALESIC_OPKFID
触发器
约束
名称类型字段描述
PK_IV_SALESIC_O主键约束FID
DF__T_IV_SALE__FGTDI__001A1044默认值约束FGTDISKNUMBER(' ')
DF__T_IV_SALE__FPDFU__01E28EEF默认值约束FPDFURLCOPY(' ')
DF__T_IV_SALE__FSRCS__1B0310AA默认值约束FSRCSETACCOUNTTYPE('1')
DF__T_IV_SALE__FDRAW__1FC7C5C7默认值约束FDRAWER(' ')
DF__T_IV_SALE__FPAYE__20BBEA00默认值约束FPAYEE(' ')
DF__T_IV_SALE__FREVI__21B00E39默认值约束FREVIEWER(' ')
DF__T_IV_SALE__FSOUR__7E9BDC26默认值约束FSOURCESERIALNUM(' ')
DF__T_IV_SALE__FSRCB__2A9CEDC4默认值约束FSRCBUSINESSTYPE(' ')
DF__T_IV_SALESI__FID__2DA0E3D2默认值约束FID((0))
DF__T_IV_SALE__FSOUR__2E95080B默认值约束FSOURCEIVCODE(' ')
DF__T_IV_SALE__FSOUR__2F892C44默认值约束FSOURCEIVNUMBER(' ')
DF__T_IV_SALE__FIVCO__307D507D默认值约束FIVCODE(' ')
DF__T_IV_SALE__FIVNU__317174B6默认值约束FIVNUMBER(' ')
DF__T_IV_SALE__FGTST__326598EF默认值约束FGTSTATUS('0')
DF__T_IV_SALE__FGTPR__3359BD28默认值约束FGTPRINTCOUNT((0))
DF__T_IV_SALE__FGTPR__344DE161默认值约束FGTPRINTLISTCOUNT((0))
DF__T_IV_SALE__FHAVE__3542059A默认值约束FHAVEIVLIST('0')
DF__T_IV_SALE__FINFO__35BA3442默认值约束FINFOTABLENUMBER(' ')
DF__T_IV_SALE__FCHEC__50C7F443默认值约束FCHECKCODE(' ')
DF__T_IV_SALE__FSCAN__526B8189默认值约束FSCANPOINT((0))
DF__T_IV_SALE__FARCH__535FA5C2默认值约束FARCHIVENO(' ')
DF__T_IV_SALE__FSOUR__72F8866A默认值约束FSOURCEIVTYPE(' ')
DF__T_IV_SALE__FRUSH__73ECAAA3默认值约束FRUSHREDREASON(' ')
DF__T_IV_SALE__FIVCU__74C0998D默认值约束FIVCUSTOMERID((0))
DF__T_IV_SALE__FPDFU__7F90005F默认值约束FPDFURL(' ')

销售增值税专用发票-销售增值税专用发票明细

概述
表名称实体名称ORM实体名
T_IV_SALESICENTRY销售增值税专用发票明细SALESICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
源单内码FSRCBILLIDSRCBILLIDFSRCBILLIDint4100((0))
源单行内码FSRCROWIDSRCROWIDFSRCROWIDint4100((0))
源单行号FSRCSEQFSRCSEQFSRCSEQint4100((0))
物料编码FMATERIALIDMATERIALIDFMATERIALIDint4100((0))
单价FAUXPRICEAUXPRICEFAUXPRICEdecimal132310((0))
含税单价FAUXTAXPRICEAUXTAXPRICEFAUXTAXPRICEdecimal132310((0.0))
销售订单FSALESORDERNOSALESORDERNOFSALESORDERNOnvarchar100500
价格系数FPRICECOEFFICIENTPRICECOEFFICIENFPRICECOEFFICIENTdecimal9196((0.0))
计价数量FPRICEQTYPRICEQTYFPRICEQTYdecimal132310((0.0))
不含税金额FAMOUNTFORAMOUNTFORFAMOUNTFORdecimal132310((0.0))
税率%FTAXRATETAXRATEFTAXRATEdecimal9196((0.0))
税额FDETAILTAXAMOUNTFORDETAILTAXAMOUNTFORFDETAILTAXAMOUNTFORdecimal132310((0.0))
价税合计FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0.0))
备注FCOMMENTCOMMENTFCOMMENTnvarchar5102550(' ')
表体明细-开票核销状态FOPENSTATUS_DOPENSTATUSFOPENSTATUSchar110('A')
表体明细-已开票核销金额FOPENAMOUNTFOR_DOPENAMOUNTFORFOPENAMOUNTFORdecimal132310((0))
表体明细-未开票核销金额FNOTOPENAMOUNTFOR_DNOTOPENAMOUNTFORFNOTOPENAMOUNTFORdecimal132310((0))
勾稽状态FHOOKSTATUSHOOKSTATUSFHOOKSTATUSchar110('A')
已钩稽金额FHOOKAMOUNTFORHOOKAMOUNTFORFHOOKAMOUNTFORdecimal132310((0))
已钩稽基本单位数量(无效)FHOOKQTYHOOKQTYFHOOKQTYdecimal132310((0))
未钩稽基本单位数量(无效)FUNHOOKQTYUNHOOKQTYFUNHOOKQTYdecimal132310((0))
未钩稽金额FUNHOOKAMOUNTFORUNHOOKAMOUNTFORFUNHOOKAMOUNTFORdecimal132310((0))
基本单位FBASICUNITIDBASICUNITIDFBASICUNITIDint4100((0))
计价单位FPRICEUNITIDPRICEUNITIDFPRICEUNITIDint4100((0))
基本单位数量FBASICUNITQTYBASICUNITQTYFBASICUNITQTYdecimal132310((0))
源单类型FSRCBILLTYPEIDSRCBILLTYPEIDFSRCBILLTYPEIDvarchar36360(' ')
源单编号FSRCBILLNOSRCBILLNOFSRCBILLNOnvarchar3201600(' ')
源单基本单位数量(无效)FSRCBASICQTYSRCBASICQTYFSRCBASICQTYdecimal132310((0.0))
源单已开票基本单位数量(无效)FSRCIVBASICQTYSRCIVBASICQTYFSRCIVBASICQTYdecimal132310((0.0))
计划计价数量(无效)FPLANPRICEQTYPLANPRICEQTYFPLANPRICEQTYdecimal132310((0.0))
表体明细-未开票核销数量FNOTOPENQTY_DNOTOPENQTYFNOTOPENQTYdecimal132310((0))
表体明细-已开票核销数量FOPENQTY_DOPENQTYFOPENQTYdecimal132310((0))
上游销售发票价税合计FTempAmountTempAmountFTEMPAMOUNTdecimal132310((0))
已下推红字发票数量FPUSHREDQTYPUSHREDQTYFPUSHREDQTYdecimal132310((0))
基本单位单价FBASICUNITPRICEFORBASICUNITPRICEFORFBASICUNITPRICEFORdecimal132310((0))
已核销不含税金额FMatchNotTaxAmtForMatchNotTaxAmtForFMATCHNOTTAXAMTFORdecimal132310((0))
上游特殊核销金额FSPECIALAMOUNTFORSPECIALAMOUNTFORFSPECIALAMOUNTFORdecimal132310((0))
已下推应收数量(无效)FPUSHRECABLEQTYFPUSHRECABLEQTYFPUSHRECABLEQTYdecimal132310
免征额FDEDUCTIONDEDUCTIONFDEDUCTIONdecimal132310((0))
免征税额FTAXDEDUCTIONTAXDEDUCTIONFTAXDEDUCTIONdecimal132310((0))
折扣率(%)FENTRYDISCOUNTRATEENTRYDISCOUNTRATEFENTRYDISCOUNTRATEdecimal132310((0))
折扣额FDISCOUNTAMOUNTFORDISCOUNTAMOUNTFORFDISCOUNTAMOUNTFORdecimal132310((0))
成本金额FCOSTAMTSUMCOSTAMTSUMFCOSTAMTSUMdecimal132310((0))
客户物料编码FCustMatIDFCustMatIDFCUSTMATIDvarchar30300(' ')
已核销金额本位币FOPENAMOUNTFOPENAMOUNTFOPENAMOUNTdecimal132310((0))
税收分类编码FTAXTYPEIDFTAXTYPEIDFTAXTYPEIDint4100((0))
已核销不含税金额本位币FMATCHNOTTAXAMTFMATCHNOTTAXAMTFMATCHNOTTAXAMTdecimal132310((0))
关联主机号F_QPKY_BaseF_QPKY_BaseF_QPKY_BASEint4100((0))
数量F_QPKY_QtyF_QPKY_QtyF_QPKY_QTYdecimal132310((0))
开票名称F_SG_WLSMF_SG_WLSMF_SG_WLSMnvarchar5102550('')
第三方单据编号F_RZYI_TextF_RZYI_TextF_RZYI_TEXT1nvarchar100500('')
源源单类型F_SG_SLTZDLXF_SG_SLTZDLXF_SG_SLTZDLXnvarchar100500('')
计量单位F_RZYI_BaseF_RZYI_BaseF_RZYI_BASEint4100((0))
备注F_RZYI_LargeTextF_RZYI_LargeTextF_RZYI_LARGETEXTnvarchar5102550('')
开票单位F_SG_KPDWF_SG_KPDWF_SG_KPDWnvarchar100500('')
索引
名称类型字段
PK_IV_SALESICENTRYCLUSTEREDFENTRYID
IDX_IV_SALESICENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALESICENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALESICENTRY主键约束FENTRYID
DF__T_IV_SALE__F_QPK__009E2905默认值约束F_QPKY_QTY((0))
DF__T_IV_SALE__F_SG___01924D3E默认值约束F_SG_WLSM('')
DF__T_IV_SALE__FTEMP__16B8BA70默认值约束FTEMPAMOUNT((0))
DF__T_IV_SALE__FOPEN__22FBCBFC默认值约束FOPENAMOUNT((0))
DF__T_IV_SALE__FMATC__23EFF035默认值约束FMATCHNOTTAXAMT((0))
DF_T_IV_SALESICENTRY_FENTRYID默认值约束FENTRYID((0))
DF_T_IV_SALESICENTRY_FID默认值约束FID((0))
DF__T_IV_SALES__FSEQ__48B16D9B默认值约束FSEQ((0))
DF__T_IV_SALE__FSRCB__49A591D4默认值约束FSRCBILLTYPEID(' ')
DF__T_IV_SALE__FSRCB__4A99B60D默认值约束FSRCBILLID((0))
DF__T_IV_SALE__FTAXT__2C853636默认值约束FTAXTYPEID((0))
DF__T_IV_SALE__FSRCB__4B8DDA46默认值约束FSRCBILLNO(' ')
DF__T_IV_SALE__FSRCR__4C81FE7F默认值约束FSRCROWID((0))
DF__T_IV_SALE__FSRCS__5DAC8A81默认值约束FSRCSEQ((0))
DF__T_IV_SALE__FSRCP__786080BD默认值约束FSRCPRICEQTY((0.0))
DF__T_IV_SALE__FSRCR__7954A4F6默认值约束FSRCREALATEQTY((0.0))
DF__T_IV_SALE__FSRCB__7A48C92F默认值约束FSRCBASICQTY((0.0))
DF__T_IV_SALE__FSRCI__7B3CED68默认值约束FSRCIVBASICQTY((0.0))
DF__T_IV_SALE__F_SG___33E25200默认值约束F_SG_KPDW('')
DF__T_IV_SALE__FAUXP__4D7622B8默认值约束FAUXPRICE((0))
DF__T_IV_SALE__FAUXT__50528F63默认值约束FAUXTAXPRICE((0.0))
DF__T_IV_SALE__FPRIC__4F5E6B2A默认值约束FPRICECOEFFICIENT((0.0))
DF__T_IV_SALE__FMATE__532EFC0E默认值约束FMATERIALID((0))
DF__T_IV_SALE__FALLA__55174480默认值约束FALLAMOUNTFOR((0.0))
DF__T_IV_SALE__F_RZY__385A325D默认值约束F_RZYI_BASE((0))
DF__T_IV_SALE__FCOMM__56FF8CF2默认值约束FCOMMENT(' ')
DF__T_IV_SALE__FAMOU__57F3B12B默认值约束FAMOUNTFOR((0.0))
DF__T_IV_SALE__FPRIC__59DBF99D默认值约束FPRICEUNITID((0))
DF__T_IV_SALE__FDETA__5CB86648默认值约束FDETAILTAXAMOUNTFOR((0.0))
DF__T_IV_SALE__FOPEN__5EA0AEBA默认值约束FOPENSTATUS('A')
DF__T_IV_SALE__FTAXR__617D1B65默认值约束FTAXRATE((0.0))
DF__T_IV_SALE__FPRIC__636563D7默认值约束FPRICEQTY((0.0))
DF__T_IV_SALE__F_QPK__3EE23E87默认值约束F_QPKY_BASE1((0))
DF__T_IV_SALE__FPLAN__64598810默认值约束FPLANPRICEQTY((0.0))
DF__T_IV_SALE__F_SG___3FD662C0默认值约束F_SG_SLTZDLX('')
DF__T_IV_SALE__FBASI__654DAC49默认值约束FBASICUNITQTY((0))
DF__T_IV_SALE__F_RZY__40ADDE01默认值约束F_RZYI_LARGETEXT('')
DF__T_IV_SALE__FBASI__6641D082默认值约束FBASICUNITID((0))
DF__T_IV_SALE__FHOOK__6735F4BB默认值约束FHOOKSTATUS('A')
DF__T_IV_SALE__FHOOK__75841412默认值约束FHOOKAMOUNTFOR((0))
DF__T_IV_SALE__FCUST__43542682默认值约束FCUSTMATID(' ')
DF__T_IV_SALE__FUNHO__6DE2F24A默认值约束FUNHOOKAMOUNTFOR((0))
DF__T_IV_SALE__FCUST__44484ABB默认值约束FCUSTMATNAME(' ')
DF__T_IV_SALE__FHOOK__6ED71683默认值约束FHOOKQTY((0))
DF__T_IV_SALE__FUNHO__72A7A767默认值约束FUNHOOKQTY((0))
DF__T_IV_SALE__FOPEN__691E3D2D默认值约束FOPENAMOUNTFOR((0))
DF__T_IV_SALE__FNOTO__6B06859F默认值约束FNOTOPENAMOUNTFOR((0))
DF__T_IV_SALE__FOPEN__6BFAA9D8默认值约束FOPENQTY((0))
DF__T_IV_SALE__FNOTO__739BCBA0默认值约束FNOTOPENQTY((0))
DF__T_IV_SALE__F_RZY__4AE09D45默认值约束F_RZYI_TEXT('')
DF__T_IV_SALE__FPUSH__59296334默认值约束FPUSHREDQTY((0))
DF__T_IV_SALE__FBASI__5A1D876D默认值约束FBASICUNITPRICEFOR((0))
DF__T_IV_SALE__FMATC__5B11ABA6默认值约束FMATCHNOTTAXAMTFOR((0))
DF__T_IV_SALE__FSPEC__7C3E609E默认值约束FSPECIALAMOUNTFOR((0))
DF__T_IV_SALE__F_RZY__555E2BB8默认值约束F_RZYI_TEXT1('')
DF__T_IV_SALE__F_SG___5A4C647A默认值约束F_SG_HCJE((0))
DF__T_IV_SALE__FDEDU__5A977E8D默认值约束FDEDUCTION((0))
DF__T_IV_SALE__FTAXD__5B8BA2C6默认值约束FTAXDEDUCTION((0))
DF__T_IV_SALE__FENTR__7193B967默认值约束FENTRYDISCOUNTRATE((0))
DF__T_IV_SALE__FDISC__7287DDA0默认值约束FDISCOUNTAMOUNTFOR((0))
DF__T_IV_SALE__F_SG___76209A92默认值约束F_SG_KPMC('')
DF__T_IV_SALE__F_SG___7714BECB默认值约束F_SG_KPQTY((0))
DF__T_IV_SALE__FCOST__79773456默认值约束FCOSTAMTSUM((0))
DF__T_IV_SALE__F_QPK__7FAA04CC默认值约束F_QPKY_BASE((0))

销售增值税专用发票-销售增值税专用发票明细_O

概述
表名称实体名称ORM实体名
T_IV_SALESICENTRY_O销售增值税专用发票明细SALESICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
行标识FROWIDROWIDFROWIDvarchar36360(' ')
父行标识FPARENTROWIDPARENTROWIDFPARENTROWIDvarchar36360(' ')
尾差处理标识FTAILDIFFFLAGTAILDIFFFLAGFTAILDIFFFLAGchar110('0')
辅助属性FAUXPROPIDFAUXPROPIDFAUXPROPIDint4100((0))
批号FLotFLotFLOTint4100((0))
折扣额本位币FDISCOUNTAMOUNTDISCOUNTAMOUNTFDISCOUNTAMOUNTdecimal132310((0))
税额本位币FDETAILTAXAMOUNTDETAILTAXAMOUNTFDETAILTAXAMOUNTdecimal132310((0))
不含税金额本位币FNOTAXAMOUNTNOTAXAMOUNTFNOTAXAMOUNTdecimal132310((0))
价税合计本位币FALLAMOUNTALLAMOUNTFALLAMOUNTdecimal132310((0))
索引
名称类型字段
PK_IV_SALESICENTRY_OCLUSTEREDFENTRYID
IDX_IV_SALESICENTRY_O_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALESICENTRY_OPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALESICENTRY_O主键约束FENTRYID
DF__T_IV_SALE__FTAIL__18692EF0默认值约束FTAILDIFFFLAG('0')
DF__T_IV_SALE__FDISC__2E9CC7A7默认值约束FDISCOUNTAMOUNT((0))
DF__T_IV_SALE__FDETA__2F90EBE0默认值约束FDETAILTAXAMOUNT((0))
DF__T_IV_SALE__FNOTA__30851019默认值约束FNOTAXAMOUNT((0))
DF__T_IV_SALE__FROWI__30D28802默认值约束FROWID(' ')
DF__T_IV_SALE__FALLA__31793452默认值约束FALLAMOUNT((0))
DF__T_IV_SALE__FPARE__31C6AC3B默认值约束FPARENTROWID(' ')
DF__T_IV_SALESI__FID__5302AEA1默认值约束FID((0))
DF__T_IV_SALE__FAUXP__53F6D2DA默认值约束FAUXPROPID((0))
DF__T_IV_SALES__FLOT__54EAF713默认值约束FLOT((0))
DF__T_IV_SALE__FLOT___55DF1B4C默认值约束FLOT_TEXT(' ')

销售增值税专用发票-销售增值税专用发票明细_L

概述
表名称实体名称ORM实体名
T_IV_SALESICENTRY_L销售增值税专用发票明细SALESICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
物料说明FMaterialDescMaterialDescFMATERIALDESCnvarchar5102550(' ')
索引
名称类型字段
PK_IV_SALESICENTRY_LCLUSTEREDFPKID
IDX_IV_SALESICENTRY_LNONCLUSTEREDFENTRYIDFLOCALEID
主外键
名称类型字段
PK_IV_SALESICENTRY_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_SALESICENTRY_L主键约束FPKID
IDX_IV_SALESICENTRY_L唯一约束FENTRYID
IDX_IV_SALESICENTRY_L唯一约束FLOCALEID
DF__T_IV_SALE__FENTR__71441143默认值约束FENTRYID((0))
DF__T_IV_SALESI__FID__7238357C默认值约束FID((0))
DF__T_IV_SALE__FPKID__732C59B5默认值约束FPKID((0))
DF__T_IV_SALE__FMATE__74207DEE默认值约束FMATERIALDESC(' ')
DF__T_IV_SALE__FLOCA__7514A227默认值约束FLOCALEID((0))

销售增值税专用发票-成本明细

概述
表名称实体名称ORM实体名
T_IV_SOCCOSTENTRY成本明细COSTENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
货物编码FMETRIALIDMETRIALIDFMETRIALIDint4100((0))
计价单位FPriceUnitPriceUnitFPRICEUNITint4100((0))
明细计价数量FPriceUnitQtyPriceUnitQtyFPRICEUNITQTYdecimal132310((0))
源出库单类型FOUTSTOCKTYPEOUTSTOCKTYPEFOUTSTOCKTYPEvarchar36360
源单单号FBILLNOSRCBILLNOSRCFBILLNOSRCvarchar60600
源单行内码FROWNOSRCROWNOSRCFROWNOSRCint4100((0))
核算体系FACCTSYSACCTSYSFACCTSYSint4100((0))
会计政策FACCTPOLICYACCTPOLICYFACCTPOLICYint4100((0))
成本价FCOSTPriceCOSTPriceFCOSTPRICEdecimal132310((0))
成本金额FCOSTAMTCOSTAMTFCOSTAMTdecimal132310((0))
基本单位数量FBaseQtyBaseQtyFBASEQTYdecimal132310((0))
源单行号FSEQSRCFSEQSRCFSEQSRCint4100((0))
明细内码FDEntryIDFDEntryIDFDENTRYIDint4100((0))
基本单位FBASICUNITBASICUNITFBASICUNITint4100((0))
源单内码FBILLIDSRCFBILLIDSRCFBILLIDSRCint4100((0))
源单单据FFORMIDSRCFFORMIDSRCFFORMIDSRCvarchar36360(' ')
会计政策币别FACCTPOLICYCURRENCYFACCTPOLICYCURRENCYFACCTPOLICYCURRENCYint4100((0))
索引
名称类型字段
PK_T_IV_SOCCOSTENTRYCLUSTEREDFENTRYID
IDX_ENTRYNONCLUSTEREDFMETRIALIDFBILLNOSRCFACCTSYSFACCTPOLICYFID
IDX_IV_SOCENTRY_BILLNONCLUSTEREDFFORMIDSRCFBILLIDSRCFROWNOSRC
IDX_IV_SOCCOSTENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_T_IV_SOCCOSTENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_T_IV_SOCCOSTENTRY主键约束FENTRYID
DF__T_IV_SOCC__FACCT__002431E5默认值约束FACCTSYS((0))
DF__T_IV_SOCC__FACCT__0118561E默认值约束FACCTPOLICY((0))
DF__T_IV_SOCC__FCOST__020C7A57默认值约束FCOSTPRICE((0))
DF__T_IV_SOCC__FBASE__03009E90默认值约束FBASEQTY((0))
DF__T_IV_SOCC__FBASI__032492D4默认值约束FBASICUNIT((0))
DF__T_IV_SOCC__FCOST__03F4C2C9默认值约束FCOSTAMT((0))
DF__T_IV_SOCC__FBILL__161E91C6默认值约束FBILLIDSRC((0))
DF__T_IV_SOCC__FFORM__1712B5FF默认值约束FFORMIDSRC(' ')
DF__T_IV_SOCC__FSEQS__19F21E3C默认值约束FSEQSRC((0))
DF__T_IV_SOCC__FDENT__2AD2917B默认值约束FDENTRYID((0))
DF__T_IV_SOCC__FFINO__4C033F26默认值约束FFINORGID((0))
DF__T_IV_SOCC__FACCT__5243F826默认值约束FACCTPOLICYCURRENCY((0))
DF__T_IV_SOCC__FMETR__7C53A101默认值约束FMETRIALID((0))
DF__T_IV_SOCC__FPRIC__7D47C53A默认值约束FPRICEUNIT((0))
DF__T_IV_SOCC__FPRIC__7E3BE973默认值约束FPRICEUNITQTY((0))
DF__T_IV_SOCC__FROWN__7F300DAC默认值约束FROWNOSRC((0))

销售增值税专用发票-扫描信息

概述
表名称实体名称ORM实体名
T_IV_SALESICSCAN扫描信息SALESICSCAN
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
发票代码FCODESCFCODESCFCODESCvarchar50500(' ')
发票号FNUMBERSCFNUMBERSCFNUMBERSCvarchar30300(' ')
发票金额FAMOUNTSCFAMOUNTSCFAMOUNTSCdecimal132310((0))
发票日期FINVOICEDATESCFINVOICEDATESCFINVOICEDATESCdatetime8233
索引
名称类型字段
PK_IV_SALESICSCANCLUSTEREDFENTRYID
IDX_IV_SALESICSCAN_FLAGNONCLUSTEREDFFLAG
主外键
名称类型字段
PK_IV_SALESICSCANPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALESICSCAN主键约束FENTRYID
DF__T_IV_SALESI__FID__5547EE34默认值约束FID((0))
DF__T_IV_SALE__FCODE__563C126D默认值约束FCODESC(' ')
DF__T_IV_SALE__FNUMB__573036A6默认值约束FNUMBERSC(' ')
DF__T_IV_SALE__FAMOU__58245ADF默认值约束FAMOUNTSC((0))
DF__T_IV_SALE__FENTR__59187F18默认值约束FENTRYID((0))
DF__T_IV_SALE__FFLAG__5A0CA351默认值约束FFLAG(' ')

销售增值税专用发票-关联关系表

概述
表名称实体名称ORM实体名
T_IV_SALESICENTRY_LK关联关系表FSALESICENTRY_Link
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值
业务流程图FSALESICENTRY_Link_FFlowIdFlowIdFFLOWIDvarchar36360(' ')
推进路线FSALESICENTRY_Link_FFlowLineIdFlowLineIdFFLOWLINEIDint4100((0))
转换规则FSALESICENTRY_Link_FRuleIdRuleIdFRULEIDvarchar36360(' ')
源单表内码FSALESICENTRY_Link_FSTableIdSTableIdFSTABLEIDint4100
源单表FSALESICENTRY_Link_FSTableNameSTableNameFSTABLENAMEvarchar30300(' ')
源单内码FSALESICENTRY_Link_FSBillIdSBillIdFSBILLIDint4100((0))
源单分录内码FSALESICENTRY_Link_FSIdSIdFSIDint4100((0))
原始携带量FSALESICENTRY_Link_FBASICUNITQTYOldBASICUNITQTYOldFBASICUNITQTYOLDdecimal132310((0))
修改携带量FSALESICENTRY_Link_FBASICUNITQTYBASICUNITQTYFBASICUNITQTYdecimal132310((0))
原始携带量FSALESICENTRY_Link_FALLAMOUNTFOROldALLAMOUNTFOROldFALLAMOUNTFOROLDdecimal132310((0))
修改携带量FSALESICENTRY_Link_FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0))
迁移图FSALESICENTRY_Link_FIVLnkTrackerIdFIVLnkTrackerIdFIVLNKTRACKERIDnvarchar2001000
上游状态FSALESICENTRY_Link_FIVLnkSStateFIVLnkSStateFIVLNKSSTATEnvarchar4002000
数量FIVLnkFSALESICENTRY_Link_FIVLnkAmountFIVLnkAmountFIVLNKAMOUNTdecimal132310((0))
索引
名称类型字段
PK_IV_SALESICENTRY_LKCLUSTEREDFLINKID
IDX_IV_SALESICENTRY_LKNONCLUSTEREDFSBILLIDFSIDFENTRYID
IDX_IV_SALESICENTRY_LK_ENTRYIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_IV_SALESICENTRY_LKPKFLINKID
触发器
约束
名称类型字段描述
PK_IV_SALESICENTRY_LK主键约束FLINKID
DF_T_IV_SALESICENTRY_LK_FLINKID默认值约束FLINKID((0))
DF__T_IV_SALE__FSBIL__1D1D0420默认值约束FSBILLID((0))
DF__T_IV_SALES__FSID__1E112859默认值约束FSID((0))
DF__T_IV_SALE__FENTR__1F054C92默认值约束FENTRYID((0))
DF__T_IV_SALE__FIVLN__1FF970CB默认值约束FIVLNKAMOUNT((0))
DF__T_IV_SALE__FRECL__20ED9504默认值约束FRECLNKAMOUNT((0))
DF__T_IV_SALE__FFLOW__3C6D28F5默认值约束FFLOWID(' ')
DF__T_IV_SALE__FFLOW__3D614D2E默认值约束FFLOWLINEID((0))
DF__T_IV_SALE__FRULE__3E557167默认值约束FRULEID(' ')
DF__T_IV_SALE__FSTAB__3F4995A0默认值约束FSTABLENAME(' ')
DF__T_IV_SALE__FBASI__403DB9D9默认值约束FBASICUNITQTYOLD((0))
DF__T_IV_SALE__FBASI__4131DE12默认值约束FBASICUNITQTY((0))
DF__T_IV_SALE__FALLA__46338EBF默认值约束FALLAMOUNTFOROLD((0))
DF__T_IV_SALE__FALLA__4727B2F8默认值约束FALLAMOUNTFOR((0))

1.1.29 全部销售发票

全部销售发票-单据头

概述
表名称实体名称ORM实体名
T_IV_SALESIC单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar60300(' ')
单据状态FDOCUMENTSTATUSDOCUMENTSTATUSFDOCUMENTSTATUSchar110(' ')
业务日期FDATEDATEFDATEdatetime8233(getdate())
币别FCURRENCYIDCURRENCYIDFCURRENCYIDint4100((0))
开票方式FBILLINGWAYBILLINGWAYFBILLINGWAYchar110('0')
发票号FINVOICENOINVOICENOFINVOICENOnvarchar400020000(' ')
发票日期FINVOICEDATEINVOICEDATEFINVOICEDATEdatetime8233
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
销售组织FSALEORGIDSALEORGIDFSALEORGIDint4100((0))
销售部门FSALEDEPTIDSALEDEPTIDFSALEDEPTIDint4100((0))
销售组FSALEGROUPIDFSALEGROUPIDFSALEGROUPIDint4100((0))
表头基本-开票核销状态FOPENSTATUSOPENSTATUSFOPENSTATUSchar110('A')
结算方式FSETTLETYPEIDSETTLETYPEIDFSETTLETYPEIDint4100((0))
汇率FEXCHANGERATEEXCHANGERATEFEXCHANGERATEdecimal132310((0))
汇率类型FEXCHANGETYPEEXCHANGETYPEFEXCHANGETYPEint4100((0))
本位币FMAINBOOKSTDCURRIDMAINBOOKSTDCURRIDFMAINBOOKSTDCURRIDint4100((0))
不含税金额FHEADAUXPRICEFORHEADAUXPRICEFORFAUXPRICEFORdecimal132310((0))
税额FTAXAMOUNTFORTAXAMOUNTFORFTAXAMOUNTFORdecimal132310((0))
价税合计FAFTERTOTALTAXFORAFTERTOTALTAXFORFAFTERTOTALTAXFORdecimal132310((0))
税额本位币FTAXAMOUNTTAXAMOUNTFTAXAMOUNTdecimal132310((0))
价税合计本位币FAFTERTOTALTAXAFTERTOTALTAXFAFTERTOTALTAXdecimal132310((0))
不含税金额本位币FHEADAUXPRICEHEADAUXPRICEFAUXPRICEdecimal132310((0))
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233(getdate())
审核人FAPPROVERIDAPPROVERIDFAPPROVERIDint4100((0))
创建人FCREATORIDFCREATORIDFCREATORIDint4100((0))
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
销售员FSALEERIDFSALEERIDFSALEERIDint4100((0))
客户FCUSTOMERIDCUSTOMERIDFCUSTOMERIDint4100((0))
单据类型FBillTypeIDBillTypeIDFBILLTYPEIDvarchar36360(' ')
会计核算体系FACCOUNTSYSTEMACCOUNTSYSTEMFACCOUNTSYSTEMint4100((0))
按含税单价录入FISTAXISTAXFISTAXchar110(' ')
作废人FCancellerIdCancellerIdFCANCELLERIDint4100
作废状态FCancelStatusCancelStatusFCANCELSTATUSchar110('A')
作废日期FCancelDateCancelDateFCANCELDATEdatetime8233
红蓝字FRedBlueREDBLUEFREDBLUEchar110('0')
金税引出次数FEXPORTCOUNTFEXPORTCOUNTFEXPORTCOUNTint4100((0))
发票生成方式FGenTypeFGenTypeFGENTYPEint4100((0))
开票流水号FSerialNumberFSerialNumberFSERIALNUMBERvarchar400040000(' ')
税控状态(已弃用)FElectronicStatusFElectronicStatusFELECTRONICSTATUSchar110('0')
发票抬头FINVOICETITLEINVOICETITLEFINVOICETITLEnvarchar5102550(' ')
纳税人识别号FTAXREGISTERCODETAXREGISTERCODEFTAXREGISTERCODEnvarchar5102550(' ')
B2C业务FISB2CISB2CFISB2Cchar110('0')
开户银行FOPENBANKNAMEOPENBANKNAMEFOPENBANKNAMEnvarchar5102550(' ')
银行账号FBANKCODEBANKCODEFBANKCODEnvarchar5102550(' ')
联系电话FTELTELFTELnvarchar5102550(' ')
通讯地址FADDRESSADDRESSFADDRESSnvarchar5102550(' ')
索引
名称类型字段
PK_IV_SALESICCLUSTEREDFID
IDX_IV_SALESIC_FBILLNONONCLUSTEREDFBILLNO
主外键
名称类型字段
PK_IV_SALESICPKFID
触发器
约束
名称类型字段描述
PK_IV_SALESIC主键约束FID
DF__T_IV_SALE__FWBOP__012E61D8默认值约束FWBOPENQTY('0')
DF__T_IV_SALE__FINVO__01A26603默认值约束FINVOICETITLE(' ')
DF__T_IV_SALE__FTAXR__02968A3C默认值约束FTAXREGISTERCODE(' ')
DF__T_IV_SALE__FISHO__032B8719默认值约束FISHOOKMATCH('0')
DF__T_IV_SALE__FISB2__038AAE75默认值约束FISB2C('0')
DF__T_IV_SALE__FOPEN__047ED2AE默认值约束FOPENBANKNAME(' ')
DF__T_IV_SALE__FBANK__0572F6E7默认值约束FBANKCODE(' ')
DF__T_IV_SALES__FTEL__06671B20默认值约束FTEL(' ')
DF__T_IV_SALE__FADDR__075B3F59默认值约束FADDRESS(' ')
DF__T_IV_SALE__F_SG___144C86D8默认值约束F_SG_SPDH('')
DF__T_IV_SALE__FRESF__1525DB4D默认值约束FRESFLAG('0')
DF__T_IV_SALE__F_SG___1CCD57CD默认值约束F_SG_FPYX('')
DF__T_IV_SALE__FSERI__57E13661默认值约束FSERIALNUMBER(' ')
DF__T_IV_SALE__FEXPO__3F4A92C1默认值约束FEXPORTCOUNT((0))
DF_T_IV_SALESIC_FID默认值约束FID((0))
DF__T_IV_SALE__FBILL__165AF7F8默认值约束FBILLTYPEID(' ')
DF__T_IV_SALE__FBILL__174F1C31默认值约束FBILLNO(' ')
DF__T_IV_SALE__FDATE__193764A3默认值约束FDATE(getdate())
DF__T_IV_SALE__FCUST__1A2B88DC默认值约束FCUSTOMERID((0))
DF__T_IV_SALE__FCURR__1B1FAD15默认值约束FCURRENCYID((0))
DF__T_IV_SALE__FDOCU__1C13D14E默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_SALE__FBILL__1D07F587默认值约束FBILLINGWAY('0')
DF__T_IV_SALE__FINVO__1DFC19C0默认值约束FINVOICENO(' ')
DF__T_IV_SALE__FSETT__1EF03DF9默认值约束FSETTLEORGID((0))
DF__T_IV_SALE__FSALE__1FE46232默认值约束FSALEORGID((0))
DF__T_IV_SALE__FSALE__22C0CEDD默认值约束FSALEDEPTID((0))
DF__T_IV_SALE__FSALE__23B4F316默认值约束FSALEGROUPID((0))
DF__T_IV_SALE__FSALE__24A9174F默认值约束FSALEERID((0))
DF__T_IV_SALE__FOPEN__259D3B88默认值约束FOPENSTATUS('A')
DF__T_IV_SALE__FCANC__38B00FFC默认值约束FCANCELSTATUS('A')
DF__T_IV_SALE__FELEC__56ED1228默认值约束FELECTRONICSTATUS('0')
DF__T_IV_SALE__FAUXP__26915FC1默认值约束FAUXPRICEFOR((0))
DF__T_IV_SALE__FAUXP__278583FA默认值约束FAUXPRICE((0))
DF__T_IV_SALE__FGENT__590A64C4默认值约束FGENTYPE((0))
DF__T_IV_SALE__FEXCH__33EB5ADF默认值约束FEXCHANGERATE((0))
DF__T_IV_SALE__FEXCH__2879A833默认值约束FEXCHANGETYPE((0))
DF__T_IV_SALE__FAFTE__32F736A6默认值约束FAFTERTOTALTAXFOR((0))
DF__T_IV_SALE__FAFTE__296DCC6C默认值约束FAFTERTOTALTAX((0))
DF__T_IV_SALE__FMAIN__2A61F0A5默认值约束FMAINBOOKSTDCURRID((0))
DF__T_IV_SALE__FTAXA__301AC9FB默认值约束FTAXAMOUNTFOR((0))
DF__T_IV_SALE__FTAXA__2D3E5D50默认值约束FTAXAMOUNT((0))
DF__T_IV_SALE__FSETT__2E328189默认值约束FSETTLETYPEID((0))
DF__T_IV_SALE__FCREA__310EEE34默认值约束FCREATORID((0))
DF__T_IV_SALE__FCREA__2B5614DE默认值约束FCREATEDATE(getdate())
DF__T_IV_SALE__FMODI__3203126D默认值约束FMODIFIERID((0))
DF__T_IV_SALE__FAPPR__34DF7F18默认值约束FAPPROVERID((0))
DF__T_IV_SALE__FACCO__35D3A351默认值约束FACCOUNTSYSTEM((0))
DF__T_IV_SALE__FFORM__36C7C78A默认值约束FFORMID(' ')
DF__T_IV_SALE__FISTA__37BBEBC3默认值约束FISTAX(' ')
DF__T_IV_SALE__FREDB__5617EC5F默认值约束FREDBLUE('0')
DF__T_IV_SALE__F_SG___6765CEE9默认值约束F_SG_FDX((0))
DF__T_IV_SALE__FISPR__6995D248默认值约束FISPRICEEXCLUDETAX('1')
DF__T_IV_SALE__FISTA__6F216110默认值约束FISTAXINCOST('0')
DF__T_IV_SALE__FREMA__76C9174E默认值约束FREMARK(' ')

全部销售发票-单据头_O

概述
表名称实体名称ORM实体名
T_IV_SALESIC_O单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
发票代码FIVCODEIVCODEFIVCODEnvarchar5102550(' ')
原发票代码FSOURCEIVCODESOURCEIVCODEFSOURCEIVCODEnvarchar5102550(' ')
发票号码FIVNUMBERIVNUMBERFIVNUMBERnvarchar5102550(' ')
原发票号码FSOURCEIVNUMBERSOURCEIVNUMBERFSOURCEIVNUMBERnvarchar5102550(' ')
开票状态FGTSTATUSGTSTATUSFGTSTATUSchar110('0')
打印次数FGTPRINTCOUNTGTPRINTCOUNTFGTPRINTCOUNTint4100((0))
打印清单次数FGTPRINTLISTCOUNTGTPRINTLISTCOUNTFGTPRINTLISTCOUNTint4100((0))
清单标识FHAVEIVLISTHAVEIVLISTFHAVEIVLISTchar110('0')
原开票流水号FSOURCESERIALNUMSOURCESERIALNUMFSOURCESERIALNUMvarchar400040000(' ')
源单立账类型FSrcSetAccountTypeFSrcSetAccountTypeFSRCSETACCOUNTTYPEchar110('1')
收款人FPAYEEPAYEEFPAYEEnvarchar100500(' ')
开票人FDRAWERDRAWERFDRAWERnvarchar100500(' ')
复核人FREVIEWERREVIEWERFREVIEWERnvarchar100500(' ')
金税盘机号FGTDISKNUMBERGTDISKNUMBERFGTDISKNUMBERnvarchar100500(' ')
开票客户FIVCUSTOMERIDIVCUSTOMERIDFIVCUSTOMERIDint4100((0))
获取成本时间FGetCostLastedDateGetCostLastedDateFGETCOSTLASTEDDATEdatetime8233
获取到的成本核算时间FCOSTCALDATECOSTCALDATEFCOSTCALDATEdatetime8233
索引
名称类型字段
PK_IV_SALESIC_OCLUSTEREDFID
IDX_IV_SALESIC_FARCHIVENONONCLUSTEREDFARCHIVENO
主外键
名称类型字段
PK_IV_SALESIC_OPKFID
触发器
约束
名称类型字段描述
PK_IV_SALESIC_O主键约束FID
DF__T_IV_SALE__FGTDI__001A1044默认值约束FGTDISKNUMBER(' ')
DF__T_IV_SALE__FPDFU__01E28EEF默认值约束FPDFURLCOPY(' ')
DF__T_IV_SALE__FSRCS__1B0310AA默认值约束FSRCSETACCOUNTTYPE('1')
DF__T_IV_SALE__FDRAW__1FC7C5C7默认值约束FDRAWER(' ')
DF__T_IV_SALE__FPAYE__20BBEA00默认值约束FPAYEE(' ')
DF__T_IV_SALE__FREVI__21B00E39默认值约束FREVIEWER(' ')
DF__T_IV_SALE__FSOUR__7E9BDC26默认值约束FSOURCESERIALNUM(' ')
DF__T_IV_SALE__FSRCB__2A9CEDC4默认值约束FSRCBUSINESSTYPE(' ')
DF__T_IV_SALESI__FID__2DA0E3D2默认值约束FID((0))
DF__T_IV_SALE__FSOUR__2E95080B默认值约束FSOURCEIVCODE(' ')
DF__T_IV_SALE__FSOUR__2F892C44默认值约束FSOURCEIVNUMBER(' ')
DF__T_IV_SALE__FIVCO__307D507D默认值约束FIVCODE(' ')
DF__T_IV_SALE__FIVNU__317174B6默认值约束FIVNUMBER(' ')
DF__T_IV_SALE__FGTST__326598EF默认值约束FGTSTATUS('0')
DF__T_IV_SALE__FGTPR__3359BD28默认值约束FGTPRINTCOUNT((0))
DF__T_IV_SALE__FGTPR__344DE161默认值约束FGTPRINTLISTCOUNT((0))
DF__T_IV_SALE__FHAVE__3542059A默认值约束FHAVEIVLIST('0')
DF__T_IV_SALE__FINFO__35BA3442默认值约束FINFOTABLENUMBER(' ')
DF__T_IV_SALE__FCHEC__50C7F443默认值约束FCHECKCODE(' ')
DF__T_IV_SALE__FSCAN__526B8189默认值约束FSCANPOINT((0))
DF__T_IV_SALE__FARCH__535FA5C2默认值约束FARCHIVENO(' ')
DF__T_IV_SALE__FSOUR__72F8866A默认值约束FSOURCEIVTYPE(' ')
DF__T_IV_SALE__FRUSH__73ECAAA3默认值约束FRUSHREDREASON(' ')
DF__T_IV_SALE__FIVCU__74C0998D默认值约束FIVCUSTOMERID((0))
DF__T_IV_SALE__FPDFU__7F90005F默认值约束FPDFURL(' ')

全部销售发票-销售增值税专用发票明细

概述
表名称实体名称ORM实体名
T_IV_SALESICENTRY销售增值税专用发票明细SALESICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
源单内码FSRCBILLIDSRCBILLIDFSRCBILLIDint4100((0))
源单行内码FSRCROWIDSRCROWIDFSRCROWIDint4100((0))
源单行号FSRCSEQFSRCSEQFSRCSEQint4100((0))
物料编码FMATERIALIDMATERIALIDFMATERIALIDint4100((0))
单价FAUXPRICEAUXPRICEFAUXPRICEdecimal132310((0))
含税单价FAUXTAXPRICEAUXTAXPRICEFAUXTAXPRICEdecimal132310((0.0))
销售订单FSALESORDERNOSALESORDERNOFSALESORDERNOnvarchar100500
价格系数FPRICECOEFFICIENTPRICECOEFFICIENFPRICECOEFFICIENTdecimal9196((0.0))
计价数量FPRICEQTYPRICEQTYFPRICEQTYdecimal132310((0.0))
不含税金额FAMOUNTFORAMOUNTFORFAMOUNTFORdecimal132310((0.0))
税率%FTAXRATETAXRATEFTAXRATEdecimal9196((0.0))
税额FDETAILTAXAMOUNTFORDETAILTAXAMOUNTFORFDETAILTAXAMOUNTFORdecimal132310((0.0))
价税合计FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0.0))
备注FCOMMENTCOMMENTFCOMMENTnvarchar5102550(' ')
表体明细-开票核销状态FOPENSTATUS_DOPENSTATUSFOPENSTATUSchar110('A')
表体明细-已开票核销金额FOPENAMOUNTFOR_DOPENAMOUNTFORFOPENAMOUNTFORdecimal132310((0))
表体明细-未开票核销金额FNOTOPENAMOUNTFOR_DNOTOPENAMOUNTFORFNOTOPENAMOUNTFORdecimal132310((0))
勾稽状态FHOOKSTATUSHOOKSTATUSFHOOKSTATUSchar110('A')
已钩稽金额FHOOKAMOUNTFORHOOKAMOUNTFORFHOOKAMOUNTFORdecimal132310((0))
已钩稽基本单位数量(无效)FHOOKQTYHOOKQTYFHOOKQTYdecimal132310((0))
未钩稽基本单位数量(无效)FUNHOOKQTYUNHOOKQTYFUNHOOKQTYdecimal132310((0))
未钩稽金额FUNHOOKAMOUNTFORUNHOOKAMOUNTFORFUNHOOKAMOUNTFORdecimal132310((0))
基本单位FBASICUNITIDBASICUNITIDFBASICUNITIDint4100((0))
计价单位FPRICEUNITIDPRICEUNITIDFPRICEUNITIDint4100((0))
基本单位数量FBASICUNITQTYBASICUNITQTYFBASICUNITQTYdecimal132310((0))
源单类型FSRCBILLTYPEIDSRCBILLTYPEIDFSRCBILLTYPEIDvarchar36360(' ')
源单编号FSRCBILLNOSRCBILLNOFSRCBILLNOnvarchar3201600(' ')
源单基本单位数量(无效)FSRCBASICQTYSRCBASICQTYFSRCBASICQTYdecimal132310((0.0))
源单已开票基本单位数量(无效)FSRCIVBASICQTYSRCIVBASICQTYFSRCIVBASICQTYdecimal132310((0.0))
计划计价数量(无效)FPLANPRICEQTYPLANPRICEQTYFPLANPRICEQTYdecimal132310((0.0))
表体明细-未开票核销数量FNOTOPENQTY_DNOTOPENQTYFNOTOPENQTYdecimal132310((0))
表体明细-已开票核销数量FOPENQTY_DOPENQTYFOPENQTYdecimal132310((0))
已下推发票数量FPUSHREDQTYPUSHREDQTYFPUSHREDQTYdecimal132310((0))
基本单位单价FBASICUNITPRICEFORBASICUNITPRICEFORFBASICUNITPRICEFORdecimal132310((0))
已核销不含税金额FMatchNotTaxAmtForMatchNotTaxAmtForFMATCHNOTTAXAMTFORdecimal132310((0))
上游特殊核销金额FSPECIALAMOUNTFORSPECIALAMOUNTFORFSPECIALAMOUNTFORdecimal132310((0))
已下推应收数量(无效)FPUSHRECABLEQTYFPUSHRECABLEQTYFPUSHRECABLEQTYdecimal132310
免征额FDEDUCTIONDEDUCTIONFDEDUCTIONdecimal132310((0))
免征税额FTAXDEDUCTIONTAXDEDUCTIONFTAXDEDUCTIONdecimal132310((0))
索引
名称类型字段
PK_IV_SALESICENTRYCLUSTEREDFENTRYID
IDX_IV_SALESICENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALESICENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALESICENTRY主键约束FENTRYID
DF__T_IV_SALE__F_QPK__009E2905默认值约束F_QPKY_QTY((0))
DF__T_IV_SALE__F_SG___01924D3E默认值约束F_SG_WLSM('')
DF__T_IV_SALE__FTEMP__16B8BA70默认值约束FTEMPAMOUNT((0))
DF__T_IV_SALE__FOPEN__22FBCBFC默认值约束FOPENAMOUNT((0))
DF__T_IV_SALE__FMATC__23EFF035默认值约束FMATCHNOTTAXAMT((0))
DF_T_IV_SALESICENTRY_FENTRYID默认值约束FENTRYID((0))
DF_T_IV_SALESICENTRY_FID默认值约束FID((0))
DF__T_IV_SALES__FSEQ__48B16D9B默认值约束FSEQ((0))
DF__T_IV_SALE__FSRCB__49A591D4默认值约束FSRCBILLTYPEID(' ')
DF__T_IV_SALE__FSRCB__4A99B60D默认值约束FSRCBILLID((0))
DF__T_IV_SALE__FTAXT__2C853636默认值约束FTAXTYPEID((0))
DF__T_IV_SALE__FSRCB__4B8DDA46默认值约束FSRCBILLNO(' ')
DF__T_IV_SALE__FSRCR__4C81FE7F默认值约束FSRCROWID((0))
DF__T_IV_SALE__FSRCS__5DAC8A81默认值约束FSRCSEQ((0))
DF__T_IV_SALE__FSRCP__786080BD默认值约束FSRCPRICEQTY((0.0))
DF__T_IV_SALE__FSRCR__7954A4F6默认值约束FSRCREALATEQTY((0.0))
DF__T_IV_SALE__FSRCB__7A48C92F默认值约束FSRCBASICQTY((0.0))
DF__T_IV_SALE__FSRCI__7B3CED68默认值约束FSRCIVBASICQTY((0.0))
DF__T_IV_SALE__F_SG___33E25200默认值约束F_SG_KPDW('')
DF__T_IV_SALE__FAUXP__4D7622B8默认值约束FAUXPRICE((0))
DF__T_IV_SALE__FAUXT__50528F63默认值约束FAUXTAXPRICE((0.0))
DF__T_IV_SALE__FPRIC__4F5E6B2A默认值约束FPRICECOEFFICIENT((0.0))
DF__T_IV_SALE__FMATE__532EFC0E默认值约束FMATERIALID((0))
DF__T_IV_SALE__FALLA__55174480默认值约束FALLAMOUNTFOR((0.0))
DF__T_IV_SALE__F_RZY__385A325D默认值约束F_RZYI_BASE((0))
DF__T_IV_SALE__FCOMM__56FF8CF2默认值约束FCOMMENT(' ')
DF__T_IV_SALE__FAMOU__57F3B12B默认值约束FAMOUNTFOR((0.0))
DF__T_IV_SALE__FPRIC__59DBF99D默认值约束FPRICEUNITID((0))
DF__T_IV_SALE__FDETA__5CB86648默认值约束FDETAILTAXAMOUNTFOR((0.0))
DF__T_IV_SALE__FOPEN__5EA0AEBA默认值约束FOPENSTATUS('A')
DF__T_IV_SALE__FTAXR__617D1B65默认值约束FTAXRATE((0.0))
DF__T_IV_SALE__FPRIC__636563D7默认值约束FPRICEQTY((0.0))
DF__T_IV_SALE__F_QPK__3EE23E87默认值约束F_QPKY_BASE1((0))
DF__T_IV_SALE__FPLAN__64598810默认值约束FPLANPRICEQTY((0.0))
DF__T_IV_SALE__F_SG___3FD662C0默认值约束F_SG_SLTZDLX('')
DF__T_IV_SALE__FBASI__654DAC49默认值约束FBASICUNITQTY((0))
DF__T_IV_SALE__F_RZY__40ADDE01默认值约束F_RZYI_LARGETEXT('')
DF__T_IV_SALE__FBASI__6641D082默认值约束FBASICUNITID((0))
DF__T_IV_SALE__FHOOK__6735F4BB默认值约束FHOOKSTATUS('A')
DF__T_IV_SALE__FHOOK__75841412默认值约束FHOOKAMOUNTFOR((0))
DF__T_IV_SALE__FCUST__43542682默认值约束FCUSTMATID(' ')
DF__T_IV_SALE__FUNHO__6DE2F24A默认值约束FUNHOOKAMOUNTFOR((0))
DF__T_IV_SALE__FCUST__44484ABB默认值约束FCUSTMATNAME(' ')
DF__T_IV_SALE__FHOOK__6ED71683默认值约束FHOOKQTY((0))
DF__T_IV_SALE__FUNHO__72A7A767默认值约束FUNHOOKQTY((0))
DF__T_IV_SALE__FOPEN__691E3D2D默认值约束FOPENAMOUNTFOR((0))
DF__T_IV_SALE__FNOTO__6B06859F默认值约束FNOTOPENAMOUNTFOR((0))
DF__T_IV_SALE__FOPEN__6BFAA9D8默认值约束FOPENQTY((0))
DF__T_IV_SALE__FNOTO__739BCBA0默认值约束FNOTOPENQTY((0))
DF__T_IV_SALE__F_RZY__4AE09D45默认值约束F_RZYI_TEXT('')
DF__T_IV_SALE__FPUSH__59296334默认值约束FPUSHREDQTY((0))
DF__T_IV_SALE__FBASI__5A1D876D默认值约束FBASICUNITPRICEFOR((0))
DF__T_IV_SALE__FMATC__5B11ABA6默认值约束FMATCHNOTTAXAMTFOR((0))
DF__T_IV_SALE__FSPEC__7C3E609E默认值约束FSPECIALAMOUNTFOR((0))
DF__T_IV_SALE__F_RZY__555E2BB8默认值约束F_RZYI_TEXT1('')
DF__T_IV_SALE__F_SG___5A4C647A默认值约束F_SG_HCJE((0))
DF__T_IV_SALE__FDEDU__5A977E8D默认值约束FDEDUCTION((0))
DF__T_IV_SALE__FTAXD__5B8BA2C6默认值约束FTAXDEDUCTION((0))
DF__T_IV_SALE__FENTR__7193B967默认值约束FENTRYDISCOUNTRATE((0))
DF__T_IV_SALE__FDISC__7287DDA0默认值约束FDISCOUNTAMOUNTFOR((0))
DF__T_IV_SALE__F_SG___76209A92默认值约束F_SG_KPMC('')
DF__T_IV_SALE__F_SG___7714BECB默认值约束F_SG_KPQTY((0))
DF__T_IV_SALE__FCOST__79773456默认值约束FCOSTAMTSUM((0))
DF__T_IV_SALE__F_QPK__7FAA04CC默认值约束F_QPKY_BASE((0))

全部销售发票-销售增值税专用发票明细_O

概述
表名称实体名称ORM实体名
T_IV_SALESICENTRY_O销售增值税专用发票明细SALESICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
行标识FROWIDROWIDFROWIDvarchar36360(' ')
父行标识FPARENTROWIDPARENTROWIDFPARENTROWIDvarchar36360(' ')
尾差处理标识FTAILDIFFFLAGTAILDIFFFLAGFTAILDIFFFLAGchar110('0')
索引
名称类型字段
PK_IV_SALESICENTRY_OCLUSTEREDFENTRYID
IDX_IV_SALESICENTRY_O_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALESICENTRY_OPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALESICENTRY_O主键约束FENTRYID
DF__T_IV_SALE__FTAIL__18692EF0默认值约束FTAILDIFFFLAG('0')
DF__T_IV_SALE__FDISC__2E9CC7A7默认值约束FDISCOUNTAMOUNT((0))
DF__T_IV_SALE__FDETA__2F90EBE0默认值约束FDETAILTAXAMOUNT((0))
DF__T_IV_SALE__FNOTA__30851019默认值约束FNOTAXAMOUNT((0))
DF__T_IV_SALE__FROWI__30D28802默认值约束FROWID(' ')
DF__T_IV_SALE__FALLA__31793452默认值约束FALLAMOUNT((0))
DF__T_IV_SALE__FPARE__31C6AC3B默认值约束FPARENTROWID(' ')
DF__T_IV_SALESI__FID__5302AEA1默认值约束FID((0))
DF__T_IV_SALE__FAUXP__53F6D2DA默认值约束FAUXPROPID((0))
DF__T_IV_SALES__FLOT__54EAF713默认值约束FLOT((0))
DF__T_IV_SALE__FLOT___55DF1B4C默认值约束FLOT_TEXT(' ')

全部销售发票-销售增值税专用发票明细_L

概述
表名称实体名称ORM实体名
T_IV_SALESICENTRY_L销售增值税专用发票明细SALESICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
物料说明FMaterialDescMaterialDescFMATERIALDESCnvarchar5102550(' ')
索引
名称类型字段
PK_IV_SALESICENTRY_LCLUSTEREDFPKID
IDX_IV_SALESICENTRY_LNONCLUSTEREDFENTRYIDFLOCALEID
主外键
名称类型字段
PK_IV_SALESICENTRY_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_SALESICENTRY_L主键约束FPKID
IDX_IV_SALESICENTRY_L唯一约束FENTRYID
IDX_IV_SALESICENTRY_L唯一约束FLOCALEID
DF__T_IV_SALE__FENTR__71441143默认值约束FENTRYID((0))
DF__T_IV_SALESI__FID__7238357C默认值约束FID((0))
DF__T_IV_SALE__FPKID__732C59B5默认值约束FPKID((0))
DF__T_IV_SALE__FMATE__74207DEE默认值约束FMATERIALDESC(' ')
DF__T_IV_SALE__FLOCA__7514A227默认值约束FLOCALEID((0))

1.1.30 销售发票引出单据

销售发票引出单据-单据头

概述
表名称实体名称ORM实体名
T_IV_SALESIEXPTEMP单据头IV_SALESIEXPTEMP
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
商品明细行数FBodyNumberBodyNumberFBODYNUMBERint4100
购方名称FCustomerNameCustomerNameFCUSTOMERNAMEnvarchar160800
购方税号FCustomerTaxCodeCustomerTaxCodeFCUSTOMERTAXCODEnvarchar100500
购方银行帐号FCustomerBankNoCustomerBankNoFCUSTOMERBANKNOnvarchar100500
备注FDescriptionDescriptionFDESCRIPTIONnvarchar5102550
复核人FVerificadorVerificadorFVERIFICADORnvarchar100500
收款人FPayeePayeeFPAYEEnvarchar100500
单据日期FBillDateBillDateFBILLDATEdatetime8233
销方银行帐号FSalerBankNoSalerBankNoFSALERBANKNOnvarchar100500
部门名称FDEPTNAMEDEPTNAMEFDEPTNAMEnvarchar160800
开票人FINVOICEMAKERINVOICEMAKERFINVOICEMAKERnvarchar100500
红/蓝字标记FREDBLUEMARKERREDBLUEMARKERFREDBLUEMARKERnvarchar160800
业务员FSALERSALERFSALERnvarchar100500
购方地址FCUSTOMERADDCUSTOMERADDFCUSTOMERADDnvarchar5102550
购方简称FCUSSHORTNAEMCUSSHORTNAEMFCUSSHORTNAEMnvarchar160800
购方电话FCUSTOMERPHONECUSTOMERPHONEFCUSTOMERPHONEnvarchar100500
购方代码FCUSTOMERCODECUSTOMERCODEFCUSTOMERCODEnvarchar160800
销方名称FSALERNAMESALERNAMEFSALERNAMEnvarchar160800
销方税号FSALERTAXCODESALERTAXCODEFSALERTAXCODEnvarchar100500
销方地址FSALERADDRESSSALERADDRESSFSALERADDRESSnvarchar5102550
销方电话FSALERPHONESALERPHONEFSALERPHONEnvarchar100500
外币汇率FFCEXCHANGERATEFCEXCHANGERATEFFCEXCHANGERATEdecimal132310
销方简称FSALERSHORTNAEMSALERSHORTNAEMFSALERSHORTNAEMnvarchar160800
销方代码FSALERCODESALERCODEFSALERCODEnvarchar160800
发票类型FINVOICETYPEINVOICETYPEFINVOICETYPEnvarchar160800
币别名称FCURRENCYNAMECURRENCYNAMEFCURRENCYNAMEnvarchar160800
索引
名称类型字段
PK_IV_SALESIEXPTEMPCLUSTEREDFID
IDX_IV_SIEXPTEMP_FBILLNONONCLUSTEREDFBILLNO
主外键
名称类型字段
PK_IV_SALESIEXPTEMPPKFID
触发器
约束
名称类型字段描述
PK_IV_SALESIEXPTEMP主键约束FID
DF_T_IV_SALESIEXPTEMP_FID默认值约束FID((0))

销售发票引出单据-单据体

概述
表名称实体名称ORM实体名
T_IV_SALESIEXPTEMPDETAIL单据体IV_SALESIEXPTEMPDETAIL
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
货物名称FMaterialNameMaterialNameFMATERIALNAMEnvarchar160800
计量单位FPriceUnitNamePriceUnitNameFPRICEUNITNAMEnvarchar100500
规格FSpecificationSpecificationFSPECIFICATIONnvarchar160800
数量FPriceQtyPriceQtyFPRICEQTYdecimal132310
不含税金额FAmountForAmountForFAMOUNTFORdecimal132310
税率FTaxRateTaxRateFTAXRATEdecimal132310
货物税目FGoodsTaxItemGoodsTaxItemFGOODSTAXITEMnvarchar160800
折扣金额FDiscountAmountForDiscountAmountForFDISCOUNTAMOUNTFORdecimal132310
税额FDetailTaxAmountForDetailTaxAmountForFDETAILTAXAMOUNTFORdecimal132310
折扣税额FDiscountTaxAmountForDiscountTaxAmountForFDISCOUNTTAXAMOUNTFORdecimal132310
折扣率FDiscountRateDiscountRateFDISCOUNTRATEdecimal132310
不含税单价FAUXPriceAUXPriceFAUXPRICEdecimal132310
货物种类名称FMATERIALTYPEMATERIALTYPEFMATERIALTYPEnvarchar160800
简码FBREVITYCODEBREVITYCODEFBREVITYCODEnvarchar160800
上级产品类别代码FPARENTCODEPARENTCODEFPARENTCODEnvarchar160800
货物单位名称FMATERIALUNITMATERIALUNITFMATERIALUNITnvarchar160800
货物代码FMATERIALCODEMATERIALCODEFMATERIALCODEnvarchar160800
内销货物税率FINNERMATERIALRATEINNERMATERIALRATEFINNERMATERIALRATEdecimal132310
外销货物税率FOUTERMATERIALRATEOUTERMATERIALRATEFOUTERMATERIALRATEdecimal132310
计量单位单价FPRICEUNITPRICEPRICEUNITPRICEFPRICEUNITPRICEdecimal132310
参考含税单价FREFERTAXPRICEREFERTAXPRICEFREFERTAXPRICEdecimal132310
转换系数FCONVERTUNITCONVERTUNITFCONVERTUNITdecimal132310
含税单价FTAXPRICETAXPRICEFTAXPRICEdecimal132310
索引
名称类型字段
PK_IV_SIEXPTEMPDETAILCLUSTEREDFENTRYID
IDX_IV_SALESIEXPTEMPDE_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SIEXPTEMPDETAILPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SIEXPTEMPDETAIL主键约束FENTRYID
DF_T_IV_SALESIEXPTEMPDETAIL_FENTRYID默认值约束FENTRYID((0))
DF__T_IV_SALESI__FID__780B7B02默认值约束FID((0))

1.1.31 销售发票引入单据

销售发票引入单据-单据头

概述
表名称实体名称ORM实体名
T_IV_SALESIIMPTEMP单据头IV_SALESIIMPTEMP
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
发票类别代码FInvoiceTypeCodeINVOICETYPECODEFINVOICETYPECODEnvarchar100500
发票号码FInvoiceNoINVOICENOFINVOICENOnvarchar100500
商品明细行数FBodyNumberBodyNumberFBODYNUMBERint4100
开票日期FCreatedDateCreatedDateFCREATEDDATEdatetime8233
税务月份FTAXMONTHTAXMONTHFTAXMONTHint4100
销售单据号FSalesBillNoSalesBillNoFSALESBILLNOnvarchar100500
不含税总金额FTOTALAMOUNTFORTOTALAMOUNTFORFTOTALAMOUNTFORdecimal132310
税率FTaxRateTaxRateFTAXRATEdecimal132310
税额FTOTALTAXAMOUNTFORTOTALTAXAMOUNTFORFTOTALTAXAMOUNTFORdecimal132310
购方名称FCustomerIdCustomerIdFCUSTOMERIDint4100
购方税号FCUSTOMERTAXCODECUSTOMERTAXCODEFCUSTOMERTAXCODEnvarchar100500
购方地址电话FCUSTOMERADDRESSCUSTOMERADDRESSFCUSTOMERADDRESSnvarchar5102550
购方银行帐号FCUSTOMERBANKNOCUSTOMERBANKNOFCUSTOMERBANKNOnvarchar100500
销方名称FSALERNAMESALERNAMEFSALERNAMEnvarchar160800
销方税号FSALERTAXCODESALERTAXCODEFSALERTAXCODEnvarchar100500
销方地址电话FSALERADDRESSSALERADDRESSFSALERADDRESSnvarchar5102550
销方银行帐号FSALERBANKNOSALERBANKNOFSALERBANKNOnvarchar100500
备注FDESCRIPTIONDESCRIPTIONFDESCRIPTIONnvarchar5102550
开票人FCREATORCREATORFCREATORnvarchar100500
复核人FVERIFICADORVERIFICADORFVERIFICADORnvarchar100500
收款人FPAYEEPAYEEFPAYEEnvarchar100500
单据编号FBillNoBillNoFBILLNOnvarchar100500(' ')
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100
销售组织FSALEORGIDSALEORGIDFSALEORGIDint4100
索引
名称类型字段
PK_IV_SALESIIMPTEMPCLUSTEREDFID
IDX_IV_SIIMPTEMP_FBILLNONONCLUSTEREDFBILLNO
主外键
名称类型字段
PK_IV_SALESIIMPTEMPPKFID
触发器
约束
名称类型字段描述
PK_IV_SALESIIMPTEMP主键约束FID
DF_T_IV_SALESIIMPTEMP_FID默认值约束FID((0))
DF__T_IV_SALE__FFORM__4377B732默认值约束FFORMID(' ')
DF__T_IV_SALE__FBILL__446BDB6B默认值约束FBILLNO(' ')

销售发票引入单据-单据体

概述
表名称实体名称ORM实体名
T_IV_SALESIIMPTEMPDETAIL单据体IV_SALESIIMPTEMPDETAIL
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
货物名称FMATERIALIDMATERIALIDFMATERIALIDint4100
规格型号FSPECIFICATIONSPECIFICATIONFSPECIFICATIONnvarchar160800
计量单位FPRICEUNITPRICEUNITFPRICEUNITnvarchar160800
数量FPRICEQTYPRICEQTYFPRICEQTYdecimal132310
金额FDETAILAMOUNTFORDETAILAMOUNTFORFDETAILAMOUNTFORdecimal132310
税率FDETAILTAXRATEDETAILTAXRATEFDETAILTAXRATEdecimal132310
税额FDETAILTAXAMOUNTFORDETAILTAXAMOUNTFORFDETAILTAXAMOUNTFORdecimal132310
不含税单价FAUXPRICEAUXPRICEFAUXPRICEdecimal132310
商品税目FGOODSTAXITEMGOODSTAXITEMFGOODSTAXITEMnvarchar160800
折扣率FDISCOUNTRATEDISCOUNTRATEFDISCOUNTRATEdecimal132310
索引
名称类型字段
PK_IV_SIIMPTEMPDETAILCLUSTEREDFENTRYID
IDX_IV_SALESIIMPTEMPDE_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SIIMPTEMPDETAILPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SIIMPTEMPDETAIL主键约束FENTRYID
DF_T_IV_SALESIIMPTEMPDETAIL_FENTRYID默认值约束FENTRYID((0))
DF__T_IV_SALESI__FID__79F3C374默认值约束FID((0))

1.1.32 销售普通发票

销售普通发票-单据头

概述
表名称实体名称ORM实体名
T_IV_SALESIC单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar60300(' ')
单据状态FDOCUMENTSTATUSDOCUMENTSTATUSFDOCUMENTSTATUSchar110(' ')
业务日期FDATEDATEFDATEdatetime8233(getdate())
币别FCURRENCYIDCURRENCYIDFCURRENCYIDint4100((0))
开票方式FBILLINGWAYBILLINGWAYFBILLINGWAYchar110('0')
发票号FINVOICENOINVOICENOFINVOICENOnvarchar400020000(' ')
发票日期FINVOICEDATEINVOICEDATEFINVOICEDATEdatetime8233
结算组织FSETTLEORGIDSETTLEORGIDFSETTLEORGIDint4100((0))
销售组织FSALEORGIDSALEORGIDFSALEORGIDint4100((0))
销售部门FSALEDEPTIDSALEDEPTIDFSALEDEPTIDint4100((0))
销售组FSALEGROUPIDFSALEGROUPIDFSALEGROUPIDint4100((0))
表头基本-开票核销状态FOPENSTATUSOPENSTATUSFOPENSTATUSchar110('A')
结算方式FSETTLETYPEIDSETTLETYPEIDFSETTLETYPEIDint4100((0))
汇率FEXCHANGERATEEXCHANGERATEFEXCHANGERATEdecimal132310((0))
汇率类型FEXCHANGETYPEEXCHANGETYPEFEXCHANGETYPEint4100((0))
本位币FMAINBOOKSTDCURRIDMAINBOOKSTDCURRIDFMAINBOOKSTDCURRIDint4100((0))
不含税金额FHEADAUXPRICEFORHEADAUXPRICEFORFAUXPRICEFORdecimal132310((0))
税额FTAXAMOUNTFORTAXAMOUNTFORFTAXAMOUNTFORdecimal132310((0))
价税合计FAFTERTOTALTAXFORAFTERTOTALTAXFORFAFTERTOTALTAXFORdecimal132310((0))
税额本位币FTAXAMOUNTTAXAMOUNTFTAXAMOUNTdecimal132310((0))
价税合计本位币FAFTERTOTALTAXAFTERTOTALTAXFAFTERTOTALTAXdecimal132310((0))
不含税金额本位币FHEADAUXPRICEHEADAUXPRICEFAUXPRICEdecimal132310((0))
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
创建日期FCreateDateFCreateDateFCREATEDATEdatetime8233(getdate())
审核人FAPPROVERIDAPPROVERIDFAPPROVERIDint4100((0))
创建人FCREATORIDFCREATORIDFCREATORIDint4100((0))
审核日期FApproveDateApproveDateFAPPROVEDATEdatetime8233
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
销售员FSALEERIDFSALEERIDFSALEERIDint4100((0))
客户FCUSTOMERIDCUSTOMERIDFCUSTOMERIDint4100((0))
单据类型FBillTypeIDBillTypeIDFBILLTYPEIDvarchar36360(' ')
会计核算体系FACCOUNTSYSTEMACCOUNTSYSTEMFACCOUNTSYSTEMint4100((0))
按含税单价录入FISTAXISTAXFISTAXchar110(' ')
作废人FCancellerIdCancellerIdFCANCELLERIDint4100
作废状态FCancelStatusCancelStatusFCANCELSTATUSchar110('A')
作废日期FCancelDateCancelDateFCANCELDATEdatetime8233
红蓝字FRedBlueREDBLUEFREDBLUEchar110('0')
金税引出次数FEXPORTCOUNTFEXPORTCOUNTFEXPORTCOUNTint4100((0))
发票生成方式FGenTypeFGenTypeFGENTYPEint4100((0))
开票流水号FSerialNumberFSerialNumberFSERIALNUMBERvarchar400040000(' ')
税控状态(已弃用)FElectronicStatusFElectronicStatusFELECTRONICSTATUSchar110('0')
发票抬头FINVOICETITLEINVOICETITLEFINVOICETITLEnvarchar5102550(' ')
纳税人识别号FTAXREGISTERCODETAXREGISTERCODEFTAXREGISTERCODEnvarchar5102550(' ')
B2C业务FISB2CISB2CFISB2Cchar110('0')
开户银行FOPENBANKNAMEOPENBANKNAMEFOPENBANKNAMEnvarchar5102550(' ')
银行账号FBANKCODEBANKCODEFBANKCODEnvarchar5102550(' ')
联系电话FTELTELFTELnvarchar5102550(' ')
通讯地址FADDRESSADDRESSFADDRESSnvarchar5102550(' ')
价外税FISPRICEEXCLUDETAXISPRICEEXCLUDETAXFISPRICEEXCLUDETAXchar110('1')
不参与开票核销FISHookMatchFISHookMatchFISHOOKMATCHchar110('0')
反写开票数量FWBOPENQTYFCheckBoxFWBOPENQTYchar110('0')
离线开票标识FRESFLAGFRESFLAGFRESFLAGvarchar20200('0')
备注FREMARKFREMARKFREMARKnvarchar5102550(' ')
收票邮箱F_SG_FPYXF_SG_FPYXF_SG_FPYXnvarchar100500('')
收票电话F_SG_SPDHF_SG_SPDHF_SG_SPDHnvarchar100500('')
已发短信次数F_SG_FDXF_SG_FDXF_SG_FDXint4100((0))
索引
名称类型字段
PK_IV_SALESICCLUSTEREDFID
IDX_IV_SALESIC_FBILLNONONCLUSTEREDFBILLNO
主外键
名称类型字段
PK_IV_SALESICPKFID
触发器
约束
名称类型字段描述
PK_IV_SALESIC主键约束FID
DF__T_IV_SALE__FWBOP__012E61D8默认值约束FWBOPENQTY('0')
DF__T_IV_SALE__FINVO__01A26603默认值约束FINVOICETITLE(' ')
DF__T_IV_SALE__FTAXR__02968A3C默认值约束FTAXREGISTERCODE(' ')
DF__T_IV_SALE__FISHO__032B8719默认值约束FISHOOKMATCH('0')
DF__T_IV_SALE__FISB2__038AAE75默认值约束FISB2C('0')
DF__T_IV_SALE__FOPEN__047ED2AE默认值约束FOPENBANKNAME(' ')
DF__T_IV_SALE__FBANK__0572F6E7默认值约束FBANKCODE(' ')
DF__T_IV_SALES__FTEL__06671B20默认值约束FTEL(' ')
DF__T_IV_SALE__FADDR__075B3F59默认值约束FADDRESS(' ')
DF__T_IV_SALE__F_SG___144C86D8默认值约束F_SG_SPDH('')
DF__T_IV_SALE__FRESF__1525DB4D默认值约束FRESFLAG('0')
DF__T_IV_SALE__F_SG___1CCD57CD默认值约束F_SG_FPYX('')
DF__T_IV_SALE__FSERI__57E13661默认值约束FSERIALNUMBER(' ')
DF__T_IV_SALE__FEXPO__3F4A92C1默认值约束FEXPORTCOUNT((0))
DF_T_IV_SALESIC_FID默认值约束FID((0))
DF__T_IV_SALE__FBILL__165AF7F8默认值约束FBILLTYPEID(' ')
DF__T_IV_SALE__FBILL__174F1C31默认值约束FBILLNO(' ')
DF__T_IV_SALE__FDATE__193764A3默认值约束FDATE(getdate())
DF__T_IV_SALE__FCUST__1A2B88DC默认值约束FCUSTOMERID((0))
DF__T_IV_SALE__FCURR__1B1FAD15默认值约束FCURRENCYID((0))
DF__T_IV_SALE__FDOCU__1C13D14E默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_SALE__FBILL__1D07F587默认值约束FBILLINGWAY('0')
DF__T_IV_SALE__FINVO__1DFC19C0默认值约束FINVOICENO(' ')
DF__T_IV_SALE__FSETT__1EF03DF9默认值约束FSETTLEORGID((0))
DF__T_IV_SALE__FSALE__1FE46232默认值约束FSALEORGID((0))
DF__T_IV_SALE__FSALE__22C0CEDD默认值约束FSALEDEPTID((0))
DF__T_IV_SALE__FSALE__23B4F316默认值约束FSALEGROUPID((0))
DF__T_IV_SALE__FSALE__24A9174F默认值约束FSALEERID((0))
DF__T_IV_SALE__FOPEN__259D3B88默认值约束FOPENSTATUS('A')
DF__T_IV_SALE__FCANC__38B00FFC默认值约束FCANCELSTATUS('A')
DF__T_IV_SALE__FELEC__56ED1228默认值约束FELECTRONICSTATUS('0')
DF__T_IV_SALE__FAUXP__26915FC1默认值约束FAUXPRICEFOR((0))
DF__T_IV_SALE__FAUXP__278583FA默认值约束FAUXPRICE((0))
DF__T_IV_SALE__FGENT__590A64C4默认值约束FGENTYPE((0))
DF__T_IV_SALE__FEXCH__33EB5ADF默认值约束FEXCHANGERATE((0))
DF__T_IV_SALE__FEXCH__2879A833默认值约束FEXCHANGETYPE((0))
DF__T_IV_SALE__FAFTE__32F736A6默认值约束FAFTERTOTALTAXFOR((0))
DF__T_IV_SALE__FAFTE__296DCC6C默认值约束FAFTERTOTALTAX((0))
DF__T_IV_SALE__FMAIN__2A61F0A5默认值约束FMAINBOOKSTDCURRID((0))
DF__T_IV_SALE__FTAXA__301AC9FB默认值约束FTAXAMOUNTFOR((0))
DF__T_IV_SALE__FTAXA__2D3E5D50默认值约束FTAXAMOUNT((0))
DF__T_IV_SALE__FSETT__2E328189默认值约束FSETTLETYPEID((0))
DF__T_IV_SALE__FCREA__310EEE34默认值约束FCREATORID((0))
DF__T_IV_SALE__FCREA__2B5614DE默认值约束FCREATEDATE(getdate())
DF__T_IV_SALE__FMODI__3203126D默认值约束FMODIFIERID((0))
DF__T_IV_SALE__FAPPR__34DF7F18默认值约束FAPPROVERID((0))
DF__T_IV_SALE__FACCO__35D3A351默认值约束FACCOUNTSYSTEM((0))
DF__T_IV_SALE__FFORM__36C7C78A默认值约束FFORMID(' ')
DF__T_IV_SALE__FISTA__37BBEBC3默认值约束FISTAX(' ')
DF__T_IV_SALE__FREDB__5617EC5F默认值约束FREDBLUE('0')
DF__T_IV_SALE__F_SG___6765CEE9默认值约束F_SG_FDX((0))
DF__T_IV_SALE__FISPR__6995D248默认值约束FISPRICEEXCLUDETAX('1')
DF__T_IV_SALE__FISTA__6F216110默认值约束FISTAXINCOST('0')
DF__T_IV_SALE__FREMA__76C9174E默认值约束FREMARK(' ')

销售普通发票-单据头_O

概述
表名称实体名称ORM实体名
T_IV_SALESIC_O单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
发票代码FIVCODEIVCODEFIVCODEnvarchar5102550(' ')
原发票代码FSOURCEIVCODESOURCEIVCODEFSOURCEIVCODEnvarchar5102550(' ')
发票号码FIVNUMBERIVNUMBERFIVNUMBERnvarchar5102550(' ')
原发票号码FSOURCEIVNUMBERSOURCEIVNUMBERFSOURCEIVNUMBERnvarchar5102550(' ')
开票状态FGTSTATUSGTSTATUSFGTSTATUSchar110('0')
打印次数FGTPRINTCOUNTGTPRINTCOUNTFGTPRINTCOUNTint4100((0))
打印清单次数FGTPRINTLISTCOUNTGTPRINTLISTCOUNTFGTPRINTLISTCOUNTint4100((0))
清单标识FHAVEIVLISTHAVEIVLISTFHAVEIVLISTchar110('0')
原开票流水号FSOURCESERIALNUMSOURCESERIALNUMFSOURCESERIALNUMvarchar400040000(' ')
源单立账类型FSrcSetAccountTypeFSrcSetAccountTypeFSRCSETACCOUNTTYPEchar110('1')
收款人FPAYEEPAYEEFPAYEEnvarchar100500(' ')
开票人FDRAWERDRAWERFDRAWERnvarchar100500(' ')
复核人FREVIEWERREVIEWERFREVIEWERnvarchar100500(' ')
金税盘机号FGTDISKNUMBERGTDISKNUMBERFGTDISKNUMBERnvarchar100500(' ')
开票客户FIVCUSTOMERIDIVCUSTOMERIDFIVCUSTOMERIDint4100((0))
获取成本时间FGetCostLastedDateGetCostLastedDateFGETCOSTLASTEDDATEdatetime8233
获取到的成本核算时间FCOSTCALDATECOSTCALDATEFCOSTCALDATEdatetime8233
扫描点FScanPointFScanPointFSCANPOINTint4100((0))
归档号FARCHIVENOFARCHIVENOFARCHIVENOnvarchar2001000(' ')
校验码FCHECKCODECHECKCODEFCHECKCODEvarchar400040000(' ')
电子发票地址FPDFURLCOPYFPDFURLCOPYFPDFURLCOPYnvarchar5102550(' ')
源单业务类型FSRCBUSINESSTYPEFSRCBUSINESSTYPEFSRCBUSINESSTYPEvarchar20200(' ')
原蓝字发票类型FSOURCEIVTYPESOURCEIVTYPEFSOURCEIVTYPEvarchar20200(' ')
冲红原因FRUSHREDREASONRUSHREDREASONFRUSHREDREASONvarchar20200(' ')
原蓝票填开日期FSOURCEIVDATESOURCEIVDATEFSOURCEIVDATEdatetime8233
索引
名称类型字段
PK_IV_SALESIC_OCLUSTEREDFID
IDX_IV_SALESIC_FARCHIVENONONCLUSTEREDFARCHIVENO
主外键
名称类型字段
PK_IV_SALESIC_OPKFID
触发器
约束
名称类型字段描述
PK_IV_SALESIC_O主键约束FID
DF__T_IV_SALE__FGTDI__001A1044默认值约束FGTDISKNUMBER(' ')
DF__T_IV_SALE__FPDFU__01E28EEF默认值约束FPDFURLCOPY(' ')
DF__T_IV_SALE__FSRCS__1B0310AA默认值约束FSRCSETACCOUNTTYPE('1')
DF__T_IV_SALE__FDRAW__1FC7C5C7默认值约束FDRAWER(' ')
DF__T_IV_SALE__FPAYE__20BBEA00默认值约束FPAYEE(' ')
DF__T_IV_SALE__FREVI__21B00E39默认值约束FREVIEWER(' ')
DF__T_IV_SALE__FSOUR__7E9BDC26默认值约束FSOURCESERIALNUM(' ')
DF__T_IV_SALE__FSRCB__2A9CEDC4默认值约束FSRCBUSINESSTYPE(' ')
DF__T_IV_SALESI__FID__2DA0E3D2默认值约束FID((0))
DF__T_IV_SALE__FSOUR__2E95080B默认值约束FSOURCEIVCODE(' ')
DF__T_IV_SALE__FSOUR__2F892C44默认值约束FSOURCEIVNUMBER(' ')
DF__T_IV_SALE__FIVCO__307D507D默认值约束FIVCODE(' ')
DF__T_IV_SALE__FIVNU__317174B6默认值约束FIVNUMBER(' ')
DF__T_IV_SALE__FGTST__326598EF默认值约束FGTSTATUS('0')
DF__T_IV_SALE__FGTPR__3359BD28默认值约束FGTPRINTCOUNT((0))
DF__T_IV_SALE__FGTPR__344DE161默认值约束FGTPRINTLISTCOUNT((0))
DF__T_IV_SALE__FHAVE__3542059A默认值约束FHAVEIVLIST('0')
DF__T_IV_SALE__FINFO__35BA3442默认值约束FINFOTABLENUMBER(' ')
DF__T_IV_SALE__FCHEC__50C7F443默认值约束FCHECKCODE(' ')
DF__T_IV_SALE__FSCAN__526B8189默认值约束FSCANPOINT((0))
DF__T_IV_SALE__FARCH__535FA5C2默认值约束FARCHIVENO(' ')
DF__T_IV_SALE__FSOUR__72F8866A默认值约束FSOURCEIVTYPE(' ')
DF__T_IV_SALE__FRUSH__73ECAAA3默认值约束FRUSHREDREASON(' ')
DF__T_IV_SALE__FIVCU__74C0998D默认值约束FIVCUSTOMERID((0))
DF__T_IV_SALE__FPDFU__7F90005F默认值约束FPDFURL(' ')

销售普通发票-销售普通发票明细

概述
表名称实体名称ORM实体名
T_IV_SALESICENTRY销售普通发票明细SALESICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
源单内码FSRCBILLIDSRCBILLIDFSRCBILLIDint4100((0))
源单行内码FSRCROWIDSRCROWIDFSRCROWIDint4100((0))
源单行号FSRCSEQFSRCSEQFSRCSEQint4100((0))
物料编码FMATERIALIDMATERIALIDFMATERIALIDint4100((0))
单价FAUXPRICEAUXPRICEFAUXPRICEdecimal132310((0))
含税单价FAUXTAXPRICEAUXTAXPRICEFAUXTAXPRICEdecimal132310((0.0))
销售订单FSALESORDERNOSALESORDERNOFSALESORDERNOnvarchar100500
价格系数FPRICECOEFFICIENTPRICECOEFFICIENFPRICECOEFFICIENTdecimal9196((0.0))
计价数量FPRICEQTYPRICEQTYFPRICEQTYdecimal132310((0.0))
不含税金额FAMOUNTFORAMOUNTFORFAMOUNTFORdecimal132310((0.0))
税率%FTAXRATETAXRATEFTAXRATEdecimal9196((0.0))
税额FDETAILTAXAMOUNTFORDETAILTAXAMOUNTFORFDETAILTAXAMOUNTFORdecimal132310((0.0))
价税合计FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0.0))
备注FCOMMENTCOMMENTFCOMMENTnvarchar5102550(' ')
表体明细-开票核销状态FOPENSTATUS_DOPENSTATUSFOPENSTATUSchar110('A')
表体明细-已开票核销金额FOPENAMOUNTFOR_DOPENAMOUNTFORFOPENAMOUNTFORdecimal132310((0))
表体明细-未开票核销金额FNOTOPENAMOUNTFOR_DNOTOPENAMOUNTFORFNOTOPENAMOUNTFORdecimal132310((0))
勾稽状态FHOOKSTATUSHOOKSTATUSFHOOKSTATUSchar110('A')
已钩稽金额FHOOKAMOUNTFORHOOKAMOUNTFORFHOOKAMOUNTFORdecimal132310((0))
已钩稽基本单位数量(无效)FHOOKQTYHOOKQTYFHOOKQTYdecimal132310((0))
未钩稽基本单位数量(无效)FUNHOOKQTYUNHOOKQTYFUNHOOKQTYdecimal132310((0))
未钩稽金额FUNHOOKAMOUNTFORUNHOOKAMOUNTFORFUNHOOKAMOUNTFORdecimal132310((0))
基本单位FBASICUNITIDBASICUNITIDFBASICUNITIDint4100((0))
计价单位FPRICEUNITIDPRICEUNITIDFPRICEUNITIDint4100((0))
基本单位数量FBASICUNITQTYBASICUNITQTYFBASICUNITQTYdecimal132310((0))
源单类型FSRCBILLTYPEIDSRCBILLTYPEIDFSRCBILLTYPEIDvarchar36360(' ')
源单编号FSRCBILLNOSRCBILLNOFSRCBILLNOnvarchar3201600(' ')
源单基本单位数量(无效)FSRCBASICQTYSRCBASICQTYFSRCBASICQTYdecimal132310((0.0))
源单已开票基本单位数量(无效)FSRCIVBASICQTYSRCIVBASICQTYFSRCIVBASICQTYdecimal132310((0.0))
计划计价数量(无效)FPLANPRICEQTYPLANPRICEQTYFPLANPRICEQTYdecimal132310((0.0))
表体明细-未开票核销数量FNOTOPENQTY_DNOTOPENQTYFNOTOPENQTYdecimal132310((0))
表体明细-已开票核销数量FOPENQTY_DOPENQTYFOPENQTYdecimal132310((0))
上游销售发票价税合计FTempAmountTempAmountFTEMPAMOUNTdecimal132310((0))
已下推红字发票数量FPUSHREDQTYPUSHREDQTYFPUSHREDQTYdecimal132310((0))
基本单位单价FBASICUNITPRICEFORBASICUNITPRICEFORFBASICUNITPRICEFORdecimal132310((0))
已核销不含税金额FMatchNotTaxAmtForMatchNotTaxAmtForFMATCHNOTTAXAMTFORdecimal132310((0))
上游特殊核销金额FSPECIALAMOUNTFORSPECIALAMOUNTFORFSPECIALAMOUNTFORdecimal132310((0))
已下推应收数量(无效)FPUSHRECABLEQTYFPUSHRECABLEQTYFPUSHRECABLEQTYdecimal132310
免征额FDEDUCTIONDEDUCTIONFDEDUCTIONdecimal132310((0))
免征税额FTAXDEDUCTIONTAXDEDUCTIONFTAXDEDUCTIONdecimal132310((0))
折扣率(%)FENTRYDISCOUNTRATEENTRYDISCOUNTRATEFENTRYDISCOUNTRATEdecimal132310((0))
折扣额FDISCOUNTAMOUNTFORDISCOUNTAMOUNTFORFDISCOUNTAMOUNTFORdecimal132310((0))
成本金额FCOSTAMTSUMCOSTAMTSUMFCOSTAMTSUMdecimal132310((0))
客户物料编码FCustMatIDFCustMatIDFCUSTMATIDvarchar30300(' ')
税收分类FTAXTYPEIDFTAXTYPEIDFTAXTYPEIDint4100((0))
已核销金额本位币FOPENAMOUNTFOPENAMOUNTFOPENAMOUNTdecimal132310((0))
已核销不含税金额本位币FMATCHNOTTAXAMTFMATCHNOTTAXAMTFMATCHNOTTAXAMTdecimal132310((0))
开票名称F_SG_KPMCF_SG_KPMCF_SG_KPMCnvarchar5102550('')
数量F_SG_KPQtyF_SG_KPQtyF_SG_KPQTYdecimal132310((0))
第三方单据编号F_RZYI_TextF_RZYI_TextF_RZYI_TEXTnvarchar100500('')
红冲金额F_SG_HCJEF_SG_HCJEF_SG_HCJEdecimal132310((0))
关联主机号F_QPKY_BASEF_QPKY_BASEF_QPKY_BASE1int4100((0))
源源单类型F_SG_SLTZDLXF_SG_SLTZDLXF_SG_SLTZDLXnvarchar100500('')
开票单位F_SG_KPDWF_SG_KPDWF_SG_KPDWnvarchar100500('')
索引
名称类型字段
PK_IV_SALESICENTRYCLUSTEREDFENTRYID
IDX_IV_SALESICENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALESICENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALESICENTRY主键约束FENTRYID
DF__T_IV_SALE__F_QPK__009E2905默认值约束F_QPKY_QTY((0))
DF__T_IV_SALE__F_SG___01924D3E默认值约束F_SG_WLSM('')
DF__T_IV_SALE__FTEMP__16B8BA70默认值约束FTEMPAMOUNT((0))
DF__T_IV_SALE__FOPEN__22FBCBFC默认值约束FOPENAMOUNT((0))
DF__T_IV_SALE__FMATC__23EFF035默认值约束FMATCHNOTTAXAMT((0))
DF_T_IV_SALESICENTRY_FENTRYID默认值约束FENTRYID((0))
DF_T_IV_SALESICENTRY_FID默认值约束FID((0))
DF__T_IV_SALES__FSEQ__48B16D9B默认值约束FSEQ((0))
DF__T_IV_SALE__FSRCB__49A591D4默认值约束FSRCBILLTYPEID(' ')
DF__T_IV_SALE__FSRCB__4A99B60D默认值约束FSRCBILLID((0))
DF__T_IV_SALE__FTAXT__2C853636默认值约束FTAXTYPEID((0))
DF__T_IV_SALE__FSRCB__4B8DDA46默认值约束FSRCBILLNO(' ')
DF__T_IV_SALE__FSRCR__4C81FE7F默认值约束FSRCROWID((0))
DF__T_IV_SALE__FSRCS__5DAC8A81默认值约束FSRCSEQ((0))
DF__T_IV_SALE__FSRCP__786080BD默认值约束FSRCPRICEQTY((0.0))
DF__T_IV_SALE__FSRCR__7954A4F6默认值约束FSRCREALATEQTY((0.0))
DF__T_IV_SALE__FSRCB__7A48C92F默认值约束FSRCBASICQTY((0.0))
DF__T_IV_SALE__FSRCI__7B3CED68默认值约束FSRCIVBASICQTY((0.0))
DF__T_IV_SALE__F_SG___33E25200默认值约束F_SG_KPDW('')
DF__T_IV_SALE__FAUXP__4D7622B8默认值约束FAUXPRICE((0))
DF__T_IV_SALE__FAUXT__50528F63默认值约束FAUXTAXPRICE((0.0))
DF__T_IV_SALE__FPRIC__4F5E6B2A默认值约束FPRICECOEFFICIENT((0.0))
DF__T_IV_SALE__FMATE__532EFC0E默认值约束FMATERIALID((0))
DF__T_IV_SALE__FALLA__55174480默认值约束FALLAMOUNTFOR((0.0))
DF__T_IV_SALE__F_RZY__385A325D默认值约束F_RZYI_BASE((0))
DF__T_IV_SALE__FCOMM__56FF8CF2默认值约束FCOMMENT(' ')
DF__T_IV_SALE__FAMOU__57F3B12B默认值约束FAMOUNTFOR((0.0))
DF__T_IV_SALE__FPRIC__59DBF99D默认值约束FPRICEUNITID((0))
DF__T_IV_SALE__FDETA__5CB86648默认值约束FDETAILTAXAMOUNTFOR((0.0))
DF__T_IV_SALE__FOPEN__5EA0AEBA默认值约束FOPENSTATUS('A')
DF__T_IV_SALE__FTAXR__617D1B65默认值约束FTAXRATE((0.0))
DF__T_IV_SALE__FPRIC__636563D7默认值约束FPRICEQTY((0.0))
DF__T_IV_SALE__F_QPK__3EE23E87默认值约束F_QPKY_BASE1((0))
DF__T_IV_SALE__FPLAN__64598810默认值约束FPLANPRICEQTY((0.0))
DF__T_IV_SALE__F_SG___3FD662C0默认值约束F_SG_SLTZDLX('')
DF__T_IV_SALE__FBASI__654DAC49默认值约束FBASICUNITQTY((0))
DF__T_IV_SALE__F_RZY__40ADDE01默认值约束F_RZYI_LARGETEXT('')
DF__T_IV_SALE__FBASI__6641D082默认值约束FBASICUNITID((0))
DF__T_IV_SALE__FHOOK__6735F4BB默认值约束FHOOKSTATUS('A')
DF__T_IV_SALE__FHOOK__75841412默认值约束FHOOKAMOUNTFOR((0))
DF__T_IV_SALE__FCUST__43542682默认值约束FCUSTMATID(' ')
DF__T_IV_SALE__FUNHO__6DE2F24A默认值约束FUNHOOKAMOUNTFOR((0))
DF__T_IV_SALE__FCUST__44484ABB默认值约束FCUSTMATNAME(' ')
DF__T_IV_SALE__FHOOK__6ED71683默认值约束FHOOKQTY((0))
DF__T_IV_SALE__FUNHO__72A7A767默认值约束FUNHOOKQTY((0))
DF__T_IV_SALE__FOPEN__691E3D2D默认值约束FOPENAMOUNTFOR((0))
DF__T_IV_SALE__FNOTO__6B06859F默认值约束FNOTOPENAMOUNTFOR((0))
DF__T_IV_SALE__FOPEN__6BFAA9D8默认值约束FOPENQTY((0))
DF__T_IV_SALE__FNOTO__739BCBA0默认值约束FNOTOPENQTY((0))
DF__T_IV_SALE__F_RZY__4AE09D45默认值约束F_RZYI_TEXT('')
DF__T_IV_SALE__FPUSH__59296334默认值约束FPUSHREDQTY((0))
DF__T_IV_SALE__FBASI__5A1D876D默认值约束FBASICUNITPRICEFOR((0))
DF__T_IV_SALE__FMATC__5B11ABA6默认值约束FMATCHNOTTAXAMTFOR((0))
DF__T_IV_SALE__FSPEC__7C3E609E默认值约束FSPECIALAMOUNTFOR((0))
DF__T_IV_SALE__F_RZY__555E2BB8默认值约束F_RZYI_TEXT1('')
DF__T_IV_SALE__F_SG___5A4C647A默认值约束F_SG_HCJE((0))
DF__T_IV_SALE__FDEDU__5A977E8D默认值约束FDEDUCTION((0))
DF__T_IV_SALE__FTAXD__5B8BA2C6默认值约束FTAXDEDUCTION((0))
DF__T_IV_SALE__FENTR__7193B967默认值约束FENTRYDISCOUNTRATE((0))
DF__T_IV_SALE__FDISC__7287DDA0默认值约束FDISCOUNTAMOUNTFOR((0))
DF__T_IV_SALE__F_SG___76209A92默认值约束F_SG_KPMC('')
DF__T_IV_SALE__F_SG___7714BECB默认值约束F_SG_KPQTY((0))
DF__T_IV_SALE__FCOST__79773456默认值约束FCOSTAMTSUM((0))
DF__T_IV_SALE__F_QPK__7FAA04CC默认值约束F_QPKY_BASE((0))

销售普通发票-销售普通发票明细_O

概述
表名称实体名称ORM实体名
T_IV_SALESICENTRY_O销售普通发票明细SALESICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
行标识FROWIDROWIDFROWIDvarchar36360(' ')
父行标识FPARENTROWIDPARENTROWIDFPARENTROWIDvarchar36360(' ')
尾差处理标识FTAILDIFFFLAGTAILDIFFFLAGFTAILDIFFFLAGchar110('0')
辅助属性FAUXPROPIDFAUXPROPIDFAUXPROPIDint4100((0))
批号FLotFLotFLOTint4100((0))
折扣额本位币FDISCOUNTAMOUNTDISCOUNTAMOUNTFDISCOUNTAMOUNTdecimal132310((0))
税额本位币FDETAILTAXAMOUNTDETAILTAXAMOUNTFDETAILTAXAMOUNTdecimal132310((0))
不含税金额本位币FNOTAXAMOUNTNOTAXAMOUNTFNOTAXAMOUNTdecimal132310((0))
价税合计本位币FALLAMOUNTALLAMOUNTFALLAMOUNTdecimal132310((0))
索引
名称类型字段
PK_IV_SALESICENTRY_OCLUSTEREDFENTRYID
IDX_IV_SALESICENTRY_O_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_IV_SALESICENTRY_OPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALESICENTRY_O主键约束FENTRYID
DF__T_IV_SALE__FTAIL__18692EF0默认值约束FTAILDIFFFLAG('0')
DF__T_IV_SALE__FDISC__2E9CC7A7默认值约束FDISCOUNTAMOUNT((0))
DF__T_IV_SALE__FDETA__2F90EBE0默认值约束FDETAILTAXAMOUNT((0))
DF__T_IV_SALE__FNOTA__30851019默认值约束FNOTAXAMOUNT((0))
DF__T_IV_SALE__FROWI__30D28802默认值约束FROWID(' ')
DF__T_IV_SALE__FALLA__31793452默认值约束FALLAMOUNT((0))
DF__T_IV_SALE__FPARE__31C6AC3B默认值约束FPARENTROWID(' ')
DF__T_IV_SALESI__FID__5302AEA1默认值约束FID((0))
DF__T_IV_SALE__FAUXP__53F6D2DA默认值约束FAUXPROPID((0))
DF__T_IV_SALES__FLOT__54EAF713默认值约束FLOT((0))
DF__T_IV_SALE__FLOT___55DF1B4C默认值约束FLOT_TEXT(' ')

销售普通发票-销售普通发票明细_L

概述
表名称实体名称ORM实体名
T_IV_SALESICENTRY_L销售普通发票明细SALESICENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
物料说明FMaterialDescMaterialDescFMATERIALDESCnvarchar5102550(' ')
索引
名称类型字段
PK_IV_SALESICENTRY_LCLUSTEREDFPKID
IDX_IV_SALESICENTRY_LNONCLUSTEREDFENTRYIDFLOCALEID
主外键
名称类型字段
PK_IV_SALESICENTRY_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_SALESICENTRY_L主键约束FPKID
IDX_IV_SALESICENTRY_L唯一约束FENTRYID
IDX_IV_SALESICENTRY_L唯一约束FLOCALEID
DF__T_IV_SALE__FENTR__71441143默认值约束FENTRYID((0))
DF__T_IV_SALESI__FID__7238357C默认值约束FID((0))
DF__T_IV_SALE__FPKID__732C59B5默认值约束FPKID((0))
DF__T_IV_SALE__FMATE__74207DEE默认值约束FMATERIALDESC(' ')
DF__T_IV_SALE__FLOCA__7514A227默认值约束FLOCALEID((0))

销售普通发票-成本明细

概述
表名称实体名称ORM实体名
T_IV_SOCCOSTENTRY成本明细COSTENTRY
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
货物编码FMETRIALIDMETRIALIDFMETRIALIDint4100((0))
计价单位FPriceUnitPriceUnitFPRICEUNITint4100((0))
明细计价数量FPriceUnitQtyPriceUnitQtyFPRICEUNITQTYdecimal132310((0))
源出库单类型FOUTSTOCKTYPEOUTSTOCKTYPEFOUTSTOCKTYPEvarchar36360
源单单号FBILLNOSRCBILLNOSRCFBILLNOSRCvarchar60600
源单行内码FROWNOSRCROWNOSRCFROWNOSRCint4100((0))
核算体系FACCTSYSACCTSYSFACCTSYSint4100((0))
会计政策FACCTPOLICYACCTPOLICYFACCTPOLICYint4100((0))
成本价FCOSTPriceCOSTPriceFCOSTPRICEdecimal132310((0))
成本金额FCOSTAMTCOSTAMTFCOSTAMTdecimal132310((0))
基本单位数量FBaseQtyBaseQtyFBASEQTYdecimal132310((0))
源单行号FSEQSRCFSEQSRCFSEQSRCint4100((0))
明细内码FDEntryIDFDEntryIDFDENTRYIDint4100((0))
基本单位FBASICUNITBASICUNITFBASICUNITint4100((0))
源单内码FBILLIDSRCFBILLIDSRCFBILLIDSRCint4100((0))
源单单据FFORMIDSRCFFORMIDSRCFFORMIDSRCvarchar36360(' ')
会计政策币别FACCTPOLICYCURRENCYFACCTPOLICYCURRENCYFACCTPOLICYCURRENCYint4100((0))
索引
名称类型字段
PK_T_IV_SOCCOSTENTRYCLUSTEREDFENTRYID
IDX_ENTRYNONCLUSTEREDFMETRIALIDFBILLNOSRCFACCTSYSFACCTPOLICYFID
IDX_IV_SOCENTRY_BILLNONCLUSTEREDFFORMIDSRCFBILLIDSRCFROWNOSRC
IDX_IV_SOCCOSTENTRY_FIDNONCLUSTEREDFID
主外键
名称类型字段
PK_T_IV_SOCCOSTENTRYPKFENTRYID
触发器
约束
名称类型字段描述
PK_T_IV_SOCCOSTENTRY主键约束FENTRYID
DF__T_IV_SOCC__FACCT__002431E5默认值约束FACCTSYS((0))
DF__T_IV_SOCC__FACCT__0118561E默认值约束FACCTPOLICY((0))
DF__T_IV_SOCC__FCOST__020C7A57默认值约束FCOSTPRICE((0))
DF__T_IV_SOCC__FBASE__03009E90默认值约束FBASEQTY((0))
DF__T_IV_SOCC__FBASI__032492D4默认值约束FBASICUNIT((0))
DF__T_IV_SOCC__FCOST__03F4C2C9默认值约束FCOSTAMT((0))
DF__T_IV_SOCC__FBILL__161E91C6默认值约束FBILLIDSRC((0))
DF__T_IV_SOCC__FFORM__1712B5FF默认值约束FFORMIDSRC(' ')
DF__T_IV_SOCC__FSEQS__19F21E3C默认值约束FSEQSRC((0))
DF__T_IV_SOCC__FDENT__2AD2917B默认值约束FDENTRYID((0))
DF__T_IV_SOCC__FFINO__4C033F26默认值约束FFINORGID((0))
DF__T_IV_SOCC__FACCT__5243F826默认值约束FACCTPOLICYCURRENCY((0))
DF__T_IV_SOCC__FMETR__7C53A101默认值约束FMETRIALID((0))
DF__T_IV_SOCC__FPRIC__7D47C53A默认值约束FPRICEUNIT((0))
DF__T_IV_SOCC__FPRIC__7E3BE973默认值约束FPRICEUNITQTY((0))
DF__T_IV_SOCC__FROWN__7F300DAC默认值约束FROWNOSRC((0))

销售普通发票-扫描信息

概述
表名称实体名称ORM实体名
T_IV_SALESICSCAN扫描信息SALESICSCAN
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
发票代码FCODESCFCODESCFCODESCvarchar50500(' ')
发票号FNUMBERSCFNUMBERSCFNUMBERSCvarchar30300(' ')
发票金额FAMOUNTSCFAMOUNTSCFAMOUNTSCdecimal132310((0))
发票日期FINVOICEDATESCFINVOICEDATESCFINVOICEDATESCdatetime8233
索引
名称类型字段
PK_IV_SALESICSCANCLUSTEREDFENTRYID
IDX_IV_SALESICSCAN_FLAGNONCLUSTEREDFFLAG
主外键
名称类型字段
PK_IV_SALESICSCANPKFENTRYID
触发器
约束
名称类型字段描述
PK_IV_SALESICSCAN主键约束FENTRYID
DF__T_IV_SALESI__FID__5547EE34默认值约束FID((0))
DF__T_IV_SALE__FCODE__563C126D默认值约束FCODESC(' ')
DF__T_IV_SALE__FNUMB__573036A6默认值约束FNUMBERSC(' ')
DF__T_IV_SALE__FAMOU__58245ADF默认值约束FAMOUNTSC((0))
DF__T_IV_SALE__FENTR__59187F18默认值约束FENTRYID((0))
DF__T_IV_SALE__FFLAG__5A0CA351默认值约束FFLAG(' ')

销售普通发票-关联关系表

概述
表名称实体名称ORM实体名
T_IV_SALESICENTRY_LK关联关系表FSALESICENTRY_Link
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值
业务流程图FSALESICENTRY_Link_FFlowIdFlowIdFFLOWIDvarchar36360(' ')
推进路线FSALESICENTRY_Link_FFlowLineIdFlowLineIdFFLOWLINEIDint4100((0))
转换规则FSALESICENTRY_Link_FRuleIdRuleIdFRULEIDvarchar36360(' ')
源单表内码FSALESICENTRY_Link_FSTableIdSTableIdFSTABLEIDint4100
源单表FSALESICENTRY_Link_FSTableNameSTableNameFSTABLENAMEvarchar30300(' ')
源单内码FSALESICENTRY_Link_FSBillIdSBillIdFSBILLIDint4100((0))
源单分录内码FSALESICENTRY_Link_FSIdSIdFSIDint4100((0))
原始携带量FSALESICENTRY_Link_FBASICUNITQTYOldBASICUNITQTYOldFBASICUNITQTYOLDdecimal132310((0))
修改携带量FSALESICENTRY_Link_FBASICUNITQTYBASICUNITQTYFBASICUNITQTYdecimal132310((0))
原始携带量FSALESICENTRY_Link_FALLAMOUNTFOROldALLAMOUNTFOROldFALLAMOUNTFOROLDdecimal132310((0))
修改携带量FSALESICENTRY_Link_FALLAMOUNTFORALLAMOUNTFORFALLAMOUNTFORdecimal132310((0))
迁移图FSALESICENTRY_Link_FIVLnkTrackerIdFIVLnkTrackerIdFIVLNKTRACKERIDnvarchar2001000
上游状态FSALESICENTRY_Link_FIVLnkSStateFIVLnkSStateFIVLNKSSTATEnvarchar4002000
数量FIVLnkFSALESICENTRY_Link_FIVLnkAmountFIVLnkAmountFIVLNKAMOUNTdecimal132310((0))
索引
名称类型字段
PK_IV_SALESICENTRY_LKCLUSTEREDFLINKID
IDX_IV_SALESICENTRY_LKNONCLUSTEREDFSBILLIDFSIDFENTRYID
IDX_IV_SALESICENTRY_LK_ENTRYIDNONCLUSTEREDFENTRYID
主外键
名称类型字段
PK_IV_SALESICENTRY_LKPKFLINKID
触发器
约束
名称类型字段描述
PK_IV_SALESICENTRY_LK主键约束FLINKID
DF_T_IV_SALESICENTRY_LK_FLINKID默认值约束FLINKID((0))
DF__T_IV_SALE__FSBIL__1D1D0420默认值约束FSBILLID((0))
DF__T_IV_SALES__FSID__1E112859默认值约束FSID((0))
DF__T_IV_SALE__FENTR__1F054C92默认值约束FENTRYID((0))
DF__T_IV_SALE__FIVLN__1FF970CB默认值约束FIVLNKAMOUNT((0))
DF__T_IV_SALE__FRECL__20ED9504默认值约束FRECLNKAMOUNT((0))
DF__T_IV_SALE__FFLOW__3C6D28F5默认值约束FFLOWID(' ')
DF__T_IV_SALE__FFLOW__3D614D2E默认值约束FFLOWLINEID((0))
DF__T_IV_SALE__FRULE__3E557167默认值约束FRULEID(' ')
DF__T_IV_SALE__FSTAB__3F4995A0默认值约束FSTABLENAME(' ')
DF__T_IV_SALE__FBASI__403DB9D9默认值约束FBASICUNITQTYOLD((0))
DF__T_IV_SALE__FBASI__4131DE12默认值约束FBASICUNITQTY((0))
DF__T_IV_SALE__FALLA__46338EBF默认值约束FALLAMOUNTFOROLD((0))
DF__T_IV_SALE__FALLA__4727B2F8默认值约束FALLAMOUNTFOR((0))

1.1.33 纳税信息设置

纳税信息设置-单据头

概述
表名称实体名称ORM实体名
T_IV_TAXINFO单据头
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
数据状态FDocumentStatusDocumentStatusFDOCUMENTSTATUSchar110(' ')
禁用状态FForbidStatusForbidStatusFFORBIDSTATUSchar110(' ')
编码FNumberNumberFNUMBERnvarchar5102550(' ')
修改人FModifierIdModifierIdFMODIFIERIDint4100((0))
创建人FCreatorIdCreatorIdFCREATORIDint4100((0))
创建日期FCreateDateCreateDateFCREATEDATEdatetime8233
修改日期FModifyDateFModifyDateFMODIFYDATEdatetime8233
结算组织FSettleOrgIdFSettleOrgIdFSETTLEORGIDint4100((0))
纳税人识别号FTaxNumberFTaxNumberFTAXNUMBERnvarchar5102550(' ')
公司名称FCompanyNameFCompanyNameFCOMPANYNAMEnvarchar5102550(' ')
创建组织FCreateOrgIdFCreateOrgIdFCREATEORGIDint4100((0))
使用组织FUseOrgIdFUseOrgIdFUSEORGIDint4100((0))
审核人FAuditorIDFAuditorIDFAUDITORIDint4100((0))
审核日期FAuditDateFAuditDateFAUDITDATEdatetime8233
系统预置FIsSysPresetFIsSysPresetFISSYSPRESETchar110('0')
禁用日期FFORBIDDATEFFORBIDDATEFFORBIDDATEdatetime8233
禁用人FFORBIDERIDFFORBIDERIDFFORBIDERIDint4100((0))
默认收票手机号FPhoneNumberFPhoneNumberFPHONENUMBERnvarchar100500(' ')
appIDFClientIDFClientIDFCLIENTIDnvarchar5102550(' ')
密钥FClientSecretFClientSecretFCLIENTSECRETnvarchar5102550(' ')
索引
名称类型字段
PK_IV_TAXINFOCLUSTEREDFTAXINFOID
IDX_IV_TAXINFO_FNUMBERNONCLUSTEREDFNUMBER
主外键
名称类型字段
PK_IV_TAXINFOPKFTAXINFOID
触发器
约束
名称类型字段描述
PK_IV_TAXINFO主键约束FTAXINFOID
DF__T_IV_TAXI__FDOCU__00E34BF4默认值约束FDOCUMENTSTATUS(' ')
DF__T_IV_TAXI__FFORB__01D7702D默认值约束FFORBIDSTATUS(' ')
DF__T_IV_TAXI__FCREA__02CB9466默认值约束FCREATEORGID((0))
DF__T_IV_TAXI__FUSEO__03BFB89F默认值约束FUSEORGID((0))
DF__T_IV_TAXI__FCREA__04B3DCD8默认值约束FCREATORID((0))
DF__T_IV_TAXI__FMODI__05A80111默认值约束FMODIFIERID((0))
DF__T_IV_TAXI__FAUDI__069C254A默认值约束FAUDITORID((0))
DF__T_IV_TAXI__FFORB__07904983默认值约束FFORBIDERID((0))
DF__T_IV_TAXI__FISSY__08846DBC默认值约束FISSYSPRESET('0')
DF__T_IV_TAXI__FSETT__097891F5默认值约束FSETTLEORGID((0))
DF__T_IV_TAXI__FTAXN__0A6CB62E默认值约束FTAXNUMBER(' ')
DF__T_IV_TAXI__FCOMP__0B60DA67默认值约束FCOMPANYNAME(' ')
DF__T_IV_TAXI__FPHON__0C54FEA0默认值约束FPHONENUMBER(' ')
DF__T_IV_TAXI__FCLIE__0D4922D9默认值约束FCLIENTID(' ')
DF__T_IV_TAXI__FCLIE__0E3D4712默认值约束FCLIENTSECRET(' ')
DF__T_IV_TAXI__FTAXI__7E06DF49默认值约束FTAXINFOID((0))
DF__T_IV_TAXI__FMAST__7EFB0382默认值约束FMASTERID((0))
DF__T_IV_TAXI__FNUMB__7FEF27BB默认值约束FNUMBER(' ')

纳税信息设置-单据头_L

概述
表名称实体名称ORM实体名
T_IV_TAXINFO_L单据头
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
名称FNameNameFNAMEnvarchar5102550(' ')
描述FDescriptionDescriptionFDESCRIPTIONnvarchar5102550
索引
名称类型字段
PK_IV_TAXINFO_LCLUSTEREDFPKID
IDX_IV_TAXINFO_L_FTAXINFOIDNONCLUSTEREDFTAXINFOID
主外键
名称类型字段
PK_IV_TAXINFO_LPKFPKID
触发器
约束
名称类型字段描述
PK_IV_TAXINFO_L主键约束FPKID
DF__T_IV_TAXI__FPKID__10258F84默认值约束FPKID((0))
DF__T_IV_TAXI__FTAXI__1119B3BD默认值约束FTAXINFOID((0))
DF__T_IV_TAXI__FLOCA__120DD7F6默认值约束FLOCALEID((0))
DF__T_IV_TAXI__FNAME__1301FC2F默认值约束FNAME(' ')

1.1.34 智能报税基础信息(基础资料)

智能报税基础信息(基础资料)-单据头

概述
表名称实体名称ORM实体名
T_IV_TAXREPORTBASEINFO单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
税号FTaxNumberTaxNumberFTAXNUMBERnvarchar100500(' ')
纳税人性质FTaxpayerTypeTaxpayerTypeFTAXPAYERTYPEvarchar20200(' ')
报税主体FOrgIdOrgIdFORGIDint4100((0))
报税地区FTaxAreaTaxAreaFTAXAREAvarchar1001000(' ')
数据状态FStatusStatusFSTATUSvarchar20200(' ')
索引
名称类型字段
PK_IV_TAXREPORTBASEINFOCLUSTEREDFID
主外键
名称类型字段
PK_IV_TAXREPORTBASEINFOPKFID
触发器
约束
名称类型字段描述
PK_IV_TAXREPORTBASEINFO主键约束FID
DF__T_IV_TAXREP__FID__5266EF49默认值约束FID((0))
DF__T_IV_TAXR__FTAXN__535B1382默认值约束FTAXNUMBER(' ')
DF__T_IV_TAXR__FTAXP__544F37BB默认值约束FTAXPAYERTYPE(' ')
DF__T_IV_TAXR__FTAXA__55435BF4默认值约束FTAXAREA(' ')
DF__T_IV_TAXR__FORGI__5637802D默认值约束FORGID((0))
DF__T_IV_TAXR__FLOGI__572BA466默认值约束FLOGINTYPE(' ')
DF__T_IV_TAXR__FTAXS__581FC89F默认值约束FTAXSYSTEMUSERNAME(' ')
DF__T_IV_TAXR__FTAXS__5913ECD8默认值约束FTAXSYSTEMPASSWORD(' ')
DF__T_IV_TAXR__FFINA__5A081111默认值约束FFINANCIALSYSTEM(' ')
DF__T_IV_TAXR__FMONT__5AFC354A默认值约束FMONTHLYDECLARE('0')
DF__T_IV_TAXR__FQUAR__5BF05983默认值约束FQUARTERLYDECLARE('0')
DF__T_IV_TAXR__FANNU__5CE47DBC默认值约束FANNUALDECLARE('0')
DF__T_IV_TAXR__FSTAT__5DD8A1F5默认值约束FSTATUS(' ')
DF__T_IV_TAXR__FREMA__5ECCC62E默认值约束FREMARK(' ')
DF__T_IV_TAXR__FDELE__5FC0EA67默认值约束FDELETED('0')
DF__T_IV_TAXR__FRPAR__60B50EA0默认值约束FRPAROBOTID(' ')
DF__T_IV_TAXR__FRPAR__61A932D9默认值约束FRPAROBOTNAME(' ')

1.1.35 发票云日志

发票云日志-单据头

概述
表名称实体名称ORM实体名
T_IV_TAXSERVICEHTTPLOG单据头BillHead
字段
标题标识实体属性名称数据类型长度精度小数精度允许空值默认值系统预设
单据编号FBillNoBillNoFBILLNOnvarchar60300(' ')
请求地址FURLFURLFURLvarchar400040000(' ')
请求方法FMETHODFTextFMETHODvarchar50500(' ')
文本类型FCONTENTTYPEFCONTENTTYPEFCONTENTTYPEvarchar1001000(' ')
UrlEncodeFISURLENCODEFISURLENCODEFISURLENCODEchar110(' ')
请求参数FREQUESTFREQUESTFREQUESTnvarchar400020000(' ')
返回结果FRESPONSEFRESPONSEFRESPONSEnvarchar400020000(' ')
耗时(毫秒)FELAPSEDTIMEFELAPSEDTIMEFELAPSEDTIMEvarchar20200(' ')
请求成功FISSUCCESSFISSUCCESSFISSUCCESSchar110(' ')
请求时间FDATETIMEFDATETIMEFDATETIMEdatetime8233
用户FUSERIDFUSERIDFUSERIDint4100((0))
索引
名称类型字段
PK_IV_TAXSERVICEHTTPLOGCLUSTEREDFID
IDX_IV_TAXSERVICELOG_DATETIMENONCLUSTEREDFDATETIME
主外键
名称类型字段
PK_IV_TAXSERVICEHTTPLOGPKFID
触发器
约束
名称类型字段描述
PK_IV_TAXSERVICEHTTPLOG主键约束FID
DF__T_IV_TAXSER__FID__58BBEB8B默认值约束FID((0))
DF__T_IV_TAXS__FBILL__59B00FC4默认值约束FBILLNO(' ')
DF__T_IV_TAXSE__FURL__5AA433FD默认值约束FURL(' ')
DF__T_IV_TAXS__FMETH__5B985836默认值约束FMETHOD(' ')
DF__T_IV_TAXS__FCONT__5C8C7C6F默认值约束FCONTENTTYPE(' ')
DF__T_IV_TAXS__FISUR__5D80A0A8默认值约束FISURLENCODE(' ')
DF__T_IV_TAXS__FREQU__5E74C4E1默认值约束FREQUEST(' ')
DF__T_IV_TAXS__FRESP__5F68E91A默认值约束FRESPONSE(' ')
DF__T_IV_TAXS__FISSU__605D0D53默认值约束FISSUCCESS(' ')
DF__T_IV_TAXS__FELAP__6151318C默认值约束FELAPSEDTIME(' ')
DF__T_IV_TAXS__FUSER__624555C5默认值约束FUSERID((0))