金蝶EAS清理业务表、保留业务表清单


truncate table T_GL_CASHFLOWRECORD ;
truncate table T_CAS_PaymentBill ;
truncate table T_CAS_PaymentBillEntry ;
truncate table T_BE_BankPayingBill ;
truncate table CT_NT_NtPayMent ;--不存在
truncate table CT_NT_NtPayMentTwo ;--不存在
truncate table T_CAS_ReceivingBillEntry ;
truncate table T_CAS_ReceivingBill ;
truncate table CT_NT_NtReceiving ;--不存在
truncate table CT_NT_NtReceivingTwo ;--不存在
truncate table T_CR_ReceiveBill ;
_________________________________收付款单据

truncate table V_AP_CheckAuditedOrVouchered ;
truncate table T_AR_ArInvoiceEntry ;
truncate table T_AR_ArPrintBill ;
truncate table T_AR_OtherBillentry ;
truncate table T_AR_OtherBillPlan ;
truncate table T_AR_ArInvoice ;
truncate table T_AR_ArPrintBillEntry ;
truncate table T_AR_OtherBill ;
truncate table CT_NT_NtReceiving ;--不存在
truncate table CT_NT_NtReceivingEntry ;--不存在
truncate table T_NT_ReceivableBill ;
truncate table T_AP_ApInvoice ;
truncate table T_AP_ApInvoiceEntry ;
truncate table T_AP_OtherBill ;
truncate table T_NT_PayableBill ;
truncate table T_NT_PayableTransferBill ;
_________________________________应收应付单据

truncate table T_ST_LadingEntry ;
truncate table T_ST_MaterialEntry ;
truncate table T_IV_MoveIssueBillDetailEntry ;
truncate table T_IM_MoveIssueBillEntry ;
truncate table T_IM_MaterialReqBill ;
truncate table T_IM_MaterialReqBillEntry ;
truncate table T_IM_MoveIssueBill ;
truncate table T_IM_OtherIssueBill ;
truncate table T_IM_OtherIssueBillEntry ;
truncate table T_IM_SaleIssueBill ;
truncate table T_IM_SaleIssueEntry ;
truncate table T_ST_Lading ;
truncate table T_ST_LadingWeighEntries ;
————————————--------------------出库单据
truncate table T_IM_ManufactureRecBill ;
truncate table T_IM_ManufactureRecBillEntry ;
truncate table T_IM_MoveInWarehsBillEntry ;
truncate table T_IV_MoveIWBDE ;
truncate table T_IM_MoveInWarehsBill ;
truncate table T_IM_OtherInWarehsBillEntry ;
truncate table T_IM_OtherInWarehsBill ;
truncate table T_IM_PurInWarehsEntry ;
truncate table T_IM_PurInWarehsBill ;
truncate table T_ST_PurPABEPI ;
truncate table T_ST_SFCRedCrash ;
truncate table T_ST_SFCRedCrashEntry ;
truncate table T_ST_StorageForCheck ;
truncate table T_ST_StorageForCheckEntry ;
truncate table T_ST_DetailSABE ;
truncate table T_ST_DetailStorageAdjustBill ;
truncate table T_ST_ProductDAE ;
truncate table T_ST_ProductDispenseAdjust ;
___________________________________入库单
truncate table T_IM_PurReceivalBill;
truncate table T_IM_PurReceivalEntry;
truncate table T_IM_PurReceivalEntryCheck;
_____________________________________采购收货
truncate table T_QM_QCReportRelaWeighEntry ;
truncate table T_QM_QCRequestRelWeighEntry ;
truncate table CT_NB_Jianjinrenwuliebiao ;
truncate table CT_NB_Jianjintongzhidanfubiao ;
truncate table T_ST_LadingWeighEntries ;
truncate table T_ST_SettleReportWeighEntry ;
truncate table T_ST_QIReportWTRelation ;
truncate table T_ST_SampleWeighNotice ;
truncate table T_ST_SettleReportWTRelation ;
truncate table T_ST_SampleBillWeighRelation ;
truncate table T_ST_SaleFreightWeigh ;
truncate table T_ST_FreightBalanceWeighEntry ;
truncate table CT_WEI_NotWeighManger ;--不存在
truncate table CT_WEI_NotWeighMangerEntry ;--不存在
truncate table T_ST_Weigh ;
truncate table T_ST_WeighNoticeBill ;
truncate table T_WM_WeighNoticeBillEntry ;--不存在
————————————————检斤业务单据
truncate table T_QM_QIItem ;
truncate table T_QM_QIScheme ;
truncate table T_QM_QIItemGroup ;
truncate table T_QM_QISchemeGroup ;
truncate table T_QM_QISchemeQiStandardEntry ;
truncate table T_QM_QIStandard ;
truncate table T_SD_SaleCEC ;
truncate table T_SD_SaleContractQCItem ;
truncate table T_PUR_PurCEC ;
truncate table T_SM_PurContractQCItemsNorth ;
truncate table T_ST_QIBill ;
truncate table T_ST_QIBillEntry ;
truncate table T_ST_QIBillForAll ;
truncate table T_ST_QIBillForAllEntry ;
truncate table T_ST_QIBillQICondition ;
truncate table T_ST_QIDelegateBill ;
truncate table T_ST_QIDelegateBillSampleEntry;
truncate table T_ST_QIDelegateBillEntry ;
truncate table T_ST_QIReport ;
truncate table T_ST_QIReportEntry ;
truncate table T_ST_QIReportSeqDetail ;
truncate table T_ST_QIReportWTRelation ;
truncate table T_ST_QIReportBalanceItem ;
truncate table T_ST_SampleCheckDetailEntry ;
——————————————————质检业务
truncate table CT_NB_Txwlrfhlngnl ;
truncate table T_NT_LetterOfCreditRecEntity ;
truncate table T_SD_PostRequisition ;
truncate table T_SD_PostRequisitionEntry ;
truncate table T_SD_PostRDE ;
truncate table T_EQM_SparepartPlanOrder ;
truncate table T_MM_ProductionOrder ;
truncate table T_MM_ProductionOrderEntry ;
truncate table T_MM_ProductionOrderSEntry ;
truncate table T_MM_ProductionOrderOEntry ;
truncate table T_MM_ManufactureOrder ;
truncate table T_MM_MFTOrderTechnics ;
truncate table T_MM_MFTOrderStock ;
truncate table T_MM_PlanOrderChange ;
truncate table T_MM_PlanOrderEntry ;
truncate table T_MM_PlannedOrder ;
truncate table T_MM_PlannedOrderEntry ;
truncate table T_IM_PlanOrder ;
truncate table T_IM_PlanOrderEntry ;
truncate table T_IM_TransferOrderBill ;
truncate table T_IM_TransferOrderBillEntry ;
truncate table T_CHA_NetOrderBill ;
truncate table T_CHA_NetOrderBillEntry ;
truncate table T_SD_SaleOrder ;
truncate table T_SD_SaleOrderEntry ;
truncate table T_SM_PurOrder ;
truncate table T_SM_PurOrderEntry ;
truncate table T_SM_PurOrderExpenseEntry ;
truncate table T_SM_SubContractOrder ;
truncate table T_SM_SubContractOrderEntry ;
————————————————————----------------------订单
truncate table T_ST_SalePlan ;
truncate table T_ST_SalePlanEntry ;
truncate table T_ST_ProduceTaskBill ;
truncate table T_ST_ProduceTaskBillEntry ;
————————————————销售计划单、生成任务单

truncate table T_CON_ConNoCostSplit ;--不存在
truncate table T_CON_ConNoCostSplitEntry ;--不存在
truncate table T_CON_ContractBill ;--不存在
truncate table T_CON_ContractBillEntry ;--不存在
truncate table T_CON_ContractLandDeveloper ;--不存在
truncate table T_CON_ContractBillContractPlan ;--不存在
truncate table T_CON_ContractBillRevise ;--不存在
truncate table T_CON_ContractBillReviseEntry ;--不存在
truncate table T_CON_ContractContent ;--不存在
truncate table T_CON_ContractCostSplit ;--不存在
truncate table T_CON_ContractCostSplitEntry ;--不存在
truncate table T_CON_ContractSettlementBill ;--不存在
truncate table T_CON_ContractWithoutText ;--不存在
truncate table T_FNC_ConPayPlanSplit ;--不存在
truncate table T_FNC_ConPayPlanSplitEntry ;--不存在
truncate table T_FNC_ContractPayPlan ;--不存在
truncate table T_FNC_PartAMainContract ;--不存在
truncate table T_CON_ContractBillEntry ;--不存在
truncate table T_CON_ContractWithoutText ;---不存在
truncate table T_FA_FALeaseContract ;
truncate table T_CL_ConsignContact ;
truncate table T_CL_ConsignLoanUsingPlan ;
truncate table T_CTL_BankFactorContractEntry ;
truncate table T_FIN_MainConLoan ;
truncate table T_CR_BgContract ;
truncate table T_CR_BgContractEntry ;
truncate table T_CR_BgContract ;
truncate table T_CR_BgContractPpEntrys ;--不存在
truncate table T_CR_BgPjDB ;
truncate table T_CR_BgPjDBEntry ;-
truncate table T_SD_SaleContract ;
truncate table T_SD_SaleContractEntry ;
truncate table T_SD_SaleContractTerm ;
truncate table T_SD_SaleContractQCItem ;
truncate table T_SM_PurContract ;
truncate table T_SM_PurContractEntry ;
truncate table T_SM_PurContractTerm ;
truncate table T_SM_PurContractPayment ;
truncate table T_ST_PurContractRcd ;
truncate table T_SM_PurRequest ;
truncate table T_SM_PurRequestEntry ;
truncate table T_SM_PurRequestEntryML ;
————————————————合同

truncate table T_QM_ExecuteStandardCode ;
truncate table T_QM_SteelGrade ;
truncate table T_QM_QIStdSteelGrade ;
truncate table T_QM_SteelGradeTREE ;
truncate table T_QM_QCSample ;
truncate table T_QM_QCSampleEntry ;
truncate table T_QM_QCSampleItemEntry ;
truncate table T_ST_SampleBill ;
truncate table T_ST_SampleBillEntry ;
truncate table T_ST_SampleWeighNotice ;
truncate table T_ST_SampleBillWeighRelation ;
truncate table T_ST_QICertificate ;
truncate table T_ST_QICertificateEntry ;
truncate table T_ST_QICertificateEntryDetail ;
truncate table T_ST_ProduceChangeNotice ;
truncate table T_ST_ProChangeNoticeMainEntry ;
truncate table T_SM_PurReturns ;
truncate table T_SM_PurReturnsEntry ;
truncate table T_ST_PurPriceBill ;
truncate table T_ST_PurPriceBillEntry ;
truncate table T_ST_PurPriceBillAss ;
truncate table T_ST_PurPABEPI ;
truncate table T_ST_PurPABWE ;
truncate table T_PUR_QualitySettleTerm ;
truncate table T_PUR_QualityAverage ;
truncate table T_ST_PurSettleReport ;
truncate table T_ST_PurSettleReportEntry ;
truncate table T_ST_SettleReportOtherEntry ;
truncate table T_ST_SettleReport ;
truncate table T_ST_SettleReportEntry ;
truncate table T_ST_SettleReportSettleEntries ;
truncate table T_ST_SettleROPE ;
truncate table T_ST_SettleReportWTRelation ;
truncate table T_ST_SettleRASE ;
truncate table T_ST_SupplementalAgreementBill ;
truncate table T_ST_SupplementalABE ;
truncate table T_AP_OtherBillExpApportion ;
truncate table T_CL_ExpenseApportion ;
truncate table T_CL_ExpenseApportionEntry ;
truncate table T_PUR_PurOrderPriceEntry ;
truncate table T_ST_SalePriceBill ;
truncate table T_ST_SalePriceBillEntry ;
truncate table T_ST_SalePriceBillAss ;
truncate table T_ST_SalePriceBillEntry ;
truncate table T_BD_SaleGroup ;
truncate table T_BD_SalePerson ;
truncate table T_GL_AcctCussentHistory ;
truncate table T_CL_DevolveWriteOffGroup ;
truncate table T_CL_DevolveWriteOffRecord ;
truncate table T_CL_WriteOffRecord ;
truncate table T_ST_PriceSetting ;
truncate table T_ST_PriceSettingEntry ;
truncate table T_BD_CostObject ;
truncate table T_BD_CostObjectEntry ;
truncate table T_BD_CostObjectGroup ;
truncate table T_NCM_CostObjectSuite ;
truncate table T_NCM_CostObjectSuiteEntry ;
truncate table T_NCM_CostCenterOrgUnitGroup ;
truncate table T_NCM_CostCenterGroupEntry ;
truncate table T_NCM_CostItem ;
truncate table T_NCM_CostItemTypeTree ;
truncate table T_NCM_Expense ;
truncate table T_NCM_ExpenseCompanyInfo ;
truncate table T_NCM_ExpenseTREE ;
truncate table T_NCM_InitBalance ;
truncate table T_NCM_InitBalanceEntry ;
truncate table T_NCM_InitBalanceMatDetail ;
truncate table T_CM_Dep_ProductFee ;
truncate table T_CM_Dep_ProductFeeEntry ;
truncate table T_NCM_AllocStdSetByAUXOverhead ;
truncate table T_NCM_InputQtyBill ;
truncate table T_NCM_InputQtyBillEntry ;
truncate table T_FA_Cat ;
truncate table T_FA_FaCurCard ;
truncate table T_FA_FaCurFacility ;
truncate table T_FA_FaCurCostCenter ;
truncate table T_FA_FaCurInitData ;
truncate table T_FA_FaCurDepartment ;
truncate table T_FA_FaChangeBill ;
truncate table T_FA_FaChangeBillEntry ;
truncate table T_FA_ClearBill ;
truncate table T_FA_ClearBillEntry ;
truncate table T_FA_FaSplitBill ;
truncate table T_FA_FaSplitBillEntry ;
truncate table T_FA_FaCombinBill ;
truncate table T_FA_FaCombinBillEntry ;
truncate table T_RPT_Report ;
truncate table T_RPT_ReportType ;
truncate table T_RPT_RptTypeStd ;
truncate table T_RPT_Template ;
truncate table T_CM_CMStart ;
truncate table T_CM_CMStartEntry ;
truncate table T_AP_InitDataInput ;
truncate table T_AP_InitDataInputEntry ;
truncate table T_AR_InitDataInput ;
truncate table T_AR_InitDataInputEntry ;
truncate table T_FA_FaMonCard ;
truncate table T_FA_FaMonFacility ;
truncate table T_FA_FaMonCostCenter ;
truncate table T_FA_FaMonInitData ;
truncate table T_FA_FaMonDepartment ;
truncate table T_IM_InventoryInitBill ;
truncate table T_IM_InventoryInitEntry ;

truncate table T_AP_VerificationBill ;
truncate table T_AP_VerificationBillentry ;
truncate table T_AR_VerificationBill ;
truncate table T_AR_VerificationBillentry ;
truncate table T_NT_EndorsementSettleEntry ;
truncate table T_CL_CostAdjustBill ;
truncate table T_CL_CostAdjustBillEntry ;

__________________________________________________________________________________________________________testdb1015.dmp(/u01/MY_DIR)
恢复数据到此位置


truncate table T_IM_Inventory ;


truncate table T_BD_AccountBanks ;
truncate table T_BD_MaterialCompanyInfo ;
truncate table T_BD_MaterialCost ;
truncate table T_BD_MaterialGroupDetial ;
truncate table T_BD_MaterialInventory ;
truncate table T_BD_MaterialPlan ;
truncate table T_BD_MaterialPropEntry ;
truncate table T_BD_MaterialPurchasing ;
truncate table T_BD_MaterialSales ;
truncate table T_BD_MaterialAsstAttrValue;
truncate table ————————————————物料 ;
truncate table T_BD_SupplierGroupDetail ;
truncate table T_BD_SupplierCompanyInfo ;
truncate table T_BD_SupplierCompanyBank ;
truncate table T_BD_SupplierPurchaseInfo;
truncate table T_BD_SupplierLinkMan ;
truncate table ————————————————供应商 ;
truncate table T_BD_CustomerCompanyInfo ;
truncate table T_BD_CustomerCompanyBank ;
truncate table T_BD_CustomerSaleInfo ;
truncate table T_BD_CustomerDlvAddress ;
truncate table T_BD_CustomerLinkMan ;
truncate table T_BD_CustomerSaler ;

 

————————————————————————————————————————————————————————————————————————————————————————————————————————————————testdb1020.dmp(/u01/MY_DIR)


2021/10/20清理

truncate table T_IM_DateOfMinDurability ;
truncate table ——————————————保质期管理 ;
truncate table T_CL_CalculateKindRefactorBill;
truncate table T_MPM_MaterialApplicationEntry;
truncate table T_CL_CalculateKindRefactEntry ;
truncate table T_ST_WeighNoticeBillEntry ;
truncate table ______________________________;___________单据分录
truncate table T_BD_PurchasePerson ;
truncate table T_BD_PurchaseGroup ;
truncate table ———————————————采购组、采购员 ;
truncate table T_IM_MoveLocationBill ;
truncate table T_IM_MoveLocationBillEntry ;
truncate table ————————————————库位移动

 

truncate table T_IM_StockTransferBill ;
truncate table T_IM_StockTransferBillEntry ;
truncate table ——————————————库存调拨 ;
truncate table T_DB_SOAccreditWH ;
truncate table T_DB_LOCATION ;
truncate table T_DB_WAREHOUSE ;
truncate table ——————————————仓库设置 ;
truncate table T_BD_AccountView ;
truncate table ————————————会计科目 ;
truncate table T_BD_Period ;
truncate table ————————————会计期间 ;
truncate table T_BD_ExchangeRate ;
truncate table ————————————汇率 ;
truncate table T_BD_GeneralAsstActType ;
truncate table T_BD_VoucherAbstract ;
truncate table ————————————————自定义核算项目、凭;证摘要
truncate table T_BD_KAClassfication ;
truncate table T_BD_KAClassficationType ;
truncate table ————————————————————记账分类 ;
truncate table T_BD_Bank ;
truncate table ————————————————————金融机构 ;
truncate table T_BD_Project ;
truncate table ————————————————————项目 ;
truncate table T_BD_Address ;
truncate table ————————————————————地址簿 ;
truncate table T_GL_AutoTrans ;
truncate table T_GL_AutoTransEntry ;
truncate table T_GL_AutoTransAssistRecord ;
truncate table T_GL_AssistRepordEntry ;
truncate table ——————————————自动转账 ;
truncate table T_GL_TemplateVoucher ;
truncate table T_GL_TemplateVoucherEntry ;
truncate table T_GL_TemplateCashflowRecord ;
truncate table T_GL_TemplateVoucherAsstRecord ;
truncate table ——————————————————模式凭证 ;
truncate table T_BD_CashFlowItem ;
truncate table T_GL_CFRequisition ;
truncate table T_GL_CashFlowDefAccount ;
truncate table T_GL_CashflowSplitRecord ;
truncate table T_GL_CashflowRecord ;
truncate table ————————————————现金流量 ;
truncate table T_CL_CalculateKindRefactorBill ;
truncate table T_CL_CalculateKindRefactEntry ;
truncate table ——————————————————计价方法变更 ;
truncate table T_BD_MultiMeasureUnit ;
truncate table ————————————多计量单位 ;
truncate table T_MPM_MaterialProperties ;
truncate table ————————————————物料多属性 ;

-----------------------------------------------------------------------------testdb1020_2.dmp(/u01/MY_DIR)

truncate table T_IN_LotRule ;
truncate table T_IN_LotRuleEntry ;
truncate table ——————————批次规则 ;
truncate table T_QM_SteelGradeMaterial ;
truncate table T_QM_QISchemeRelaMaterialEntry ;
truncate table ——————————————————关联物料 ;
truncate table T_IM_MaterialRequestBill ;
truncate table T_IM_MaterialRequestBillEntry ;
truncate table ————————————————领料申请 ;
truncate table T_BD_MultiMeasureUnit ;
truncate table ————————————多计量单位 ;
truncate table T_IM_CalulateBalance ;
truncate table —————————————核算余额表 ;

 

truncate table T_DB_MaterialStorageAssign ;
truncate table T_CL_RecentCost ;

 

 


truncate table T_GL_AssistBalance ;
truncate table ——————————辅助账余额 ;
truncate table T_PM_USERORGPERM ;
truncate table ____________________________用户组织权限 ;
truncate table T_ST_PRICEEDITIONSENTRIES ;
truncate table ——————————————价格项 ;
truncate table T_BAS_Attachment ;
truncate table T_BAS_BoAttchAsso ;
truncate table ———————————— ;
truncate table T_NCM_UserDefinedData ;
truncate table ————————————————自定义分配标准数据录入 ;
truncate table T_AP_OtherBillentry ;
truncate table T_AP_OtherBillPlan ;
truncate table ————————————其他应付单分录 ;
truncate table T_BG_BgData ;
truncate table T_BG_BgForm ;
truncate table ——————————预算 ;
truncate table T_QUERY_QuerySolution(保留默认方案 FNAME_L2=';认方案')
truncate table ————————————通用查询方案 ;
truncate table T_IM_CalulateBalance ;
truncate table _____________________________核算余额表 ;
truncate table T_AP_ApBalanceInit ;
truncate table T_AP_ApBalanceCollateInit ;
truncate table T_AP_ApBalanceCollate ;
truncate table ________________________________应收对账余额 ;
truncate table T_FA_FaAccountBalance ;
truncate table ——————————————固定资产余额表 ;
truncate table T_ST_PriceEditions ;
truncate table ——————————————价格版本 ;
truncate table T_GL_AccountBalance ;
truncate table ————————————————科目余额 ;
truncate table T_IM_PurInWarehsVoucher ;
truncate table ————————————————采购入库单凭证信息 ;
truncate table T_GL_AssistMeasureBalance ;
truncate table ————————————————辅助账余额 ;
truncate table T_CL_WriteOffGroup ;
truncate table ————————————————核销记录 ;
truncate table T_NCM_EquiCoefIntegrated ;
truncate table ————————————————约当系数(综合 ;
truncate table T_FA_FaDepreciationEntry ;
truncate table T_FA_FaDepAsstActComposit ;
truncate table T_FA_FaDepDistribute ;
truncate table T_FA_FaDepAsstActComposit ;
truncate table ————————————————折旧分录 ;
truncate table T_ST_SettleReportSettleEntry ;
truncate table ————————————————结算影响明细 ;
truncate table T_IM_CountingTableEntry ;
truncate table ————————————————盘点表体 ;
truncate table T_BD_DataBaseDAssign ;
truncate table ————————————————基础资料分配记录 ;
truncate table T_ST_SaleBalanceReportEntry ;
truncate table ————————————————分录 ;
truncate table T_IM_MATERIALREQBILLPRICEINFO ;
truncate table ————————————————领料出库单价格信息 ;
truncate table T_IM_PREINVENTORYBALANCE ;
truncate table ————————————————未知表 ;
truncate table T_FA_FABAKCARD ;
truncate table T_FA_FaBizCard ;
truncate table ————————————————固定资产备份卡片 ;
truncate table T_IM_DATEOFMINDURABILITY ;
truncate table ————————————————保质期管理 ;
truncate table T_IM_INVENTORYINITENTRY_0110 ;
truncate table ————————————————分录 ;
truncate table T_PM_OrgRange ;
truncate table T_PM_ORGRANGEINCLUDESUBORG ;
truncate table ——————————————————用户组织范围 ;


______________________________________________________________________________________________________________________(/MY_DIR)___________testdb1021_1.dmp

 

 


truncate table T_ST_SFCRedCrashDetail ;
truncate table T_ST_ProduceChangeNoticeEntry ;
truncate table ————————————单品 ;
truncate table T_CAS_JOURNAL ;
truncate table ———————————————日记账 ;
truncate table T_BG_BgCtrlRecord ;
truncate table ————————————预算控制 ;
truncate table T_IM_PURINWAREHSENTRY_0110 ;
truncate table ————————————采购入库单据分录 ;
truncate table T_NCM_OtherFeeBill ;
truncate table T_NCM_OtherFeeBillEntry ;
truncate table ——————————————费用归集 ;
truncate table T_ST_PriceSettingSettingEntry ;
truncate table ——————————————价格设定 ;
truncate table T_PM_RolePerm ;
truncate table ——————————————角色权限 ;
truncate table T_CL_INVENTORYBALANCE ;
truncate table ————————————————未知 ;
truncate table T_SM_PurContractQCItems ;
truncate table ————————————————明细的检查项目 ;
truncate table T_SM_PurContractSettleTerms ;
truncate table ————————————————结算条款 ;
truncate table T_BG_BGCOURSEDATA ;
truncate table ————————————预算 ;
truncate table T_CL_CostComputeReport ;
truncate table T_NCM_CalcLog ;
truncate table T_NCM_CalcLogEntry ;
truncate table ——————————————成本计算报告 ;
truncate table T_CSL_ExchCheckageEntry ;
truncate table ————————————————内部交易核对记录;细
truncate table T_NCM_CALCLOGENTRY ;
truncate table ——————————————计算报表分录 ;
truncate table T_GL_COMMONSCHEMA ;
truncate table ——————————————摊销方案 ;
truncate table T_GL_InitAssistBalance ;
truncate table ——————————————辅助账余额 ;
truncate table T_EP_EDITUICONFIGURE ;
truncate table ——————————————编辑界面方案 ;
truncate table T_NCM_AllocStdSetByCCO ;
truncate table ——————————————成本中心间费用分配;准设置


truncate table T_MPM_MPEVENTRY ;
truncate table T_MPM_MPRelation ;
truncate table T_MPM_MPRelationValueEntry ;
truncate table T_MPM_MPRelationValueEntry ;
truncate table ——————————————多属性 ;
truncate table T_NCM_OtherFeeBillEntry ;
truncate table ——————————————其他费用归集 ;
truncate table T_ST_PriceSettingFactorEntry ;
truncate table ——————————————价格因子 ;
truncate table T_BG_BgPastData ;
truncate table ——————————————差异数据 ;
truncate table T_CSL_Elimination ;
truncate table T_CSL_EliminationEntry ;
truncate table ——————————————抵消分录明细 ;
truncate table T_FA_FaBakCostCenter ;
truncate table T_FA_FaBizCostCenter ;
truncate table T_FA_FABAKASSTACTCOMPOSIT ;
truncate table T_FA_FaBakDepartment ;
truncate table T_FA_FaBizAsstActComposit ;
truncate table T_FA_FABIZDEPARTMENT ;
truncate table T_FA_FaBakInitData ;
truncate table T_FA_FaBizInitData ;
truncate table T_FA_FaDeprSum ;
truncate table ——————————————备份卡片 ;
truncate table T_ST_SaleBalanceReport ;
truncate table T_ST_SaleBalanceReportEntry ;
truncate table ——————————————销售结算报告 ;
truncate table T_CSL_ITEMDATAYEARINIT ;
truncate table ________________________________;__项目年初数
truncate table T_CSL_TempletDispense ;
truncate table ——————————————模板分配 ;
truncate table T_JP_PAGE ;
truncate table ________________________________;_
truncate table T_BAS_BOATTCHASSO ;
truncate table ________________________________;_附件与业务的关联
truncate table T_CSL_DataCheckageEntry ;
truncate table ——————————————往来核算明细分录 ;
truncate table T_CSL_EXCHITEMDATA ;
truncate table ——————————————内部交易明细 ;
truncate table T_CSL_InterItemData ;
truncate table ——————————————内部往来明细 ;
truncate table T_EXT_RPTAUDITSUM ;
truncate table T_MM_REQPLANDATA ;
——————————————未知

truncate table T_NCM_WIPCountingBill ;
truncate table ——————————————在产品产量盘点数据归集 ;
truncate table T_PUR_QUALITYENTRY ;
truncate table —————————————— ;
truncate table T_XT_USER ;
truncate table —————————————— ;
truncate table T_BG_BgItemEntry ;
truncate table T_CSL_ITEMDATAENTRY ;
truncate table ————————————BgItemEntr项目辅助表 ;
truncate table T_NCM_GLFetchDataEntry ;
truncate table ——————————————总账取数分录 ;
truncate table T_CAL_CostObjectRankEntry ;



truncate table T_CSL_InterDataCheckage ;
truncate table ————————————————内部往来核对记录 ;
truncate table T_GL_InitAccountBalance ;
truncate table ————————————————科目余额 ;
truncate table T_IM_SplitBillRelation ;
truncate table ——————————————拆单关系表头 ;
truncate table T_NCM_CCOFeeBill ;
truncate table T_NCM_CCOFeeBillEntry ;
truncate table ———————————————— ;
truncate table T_CSL_ExchCheckage ;
truncate table T_CSL_ExchCheckageEntry ;
truncate table —————————————————— ;
truncate table T_NCM_INNEROVERHEADBILLENTRY ;
truncate table ——————————————————内部费用结算单分录 ;
truncate table T_CSL_ElimRecord ;
truncate table ————————————————抵消记录 ;
truncate table T_QM_QIStandardEntry ;
truncate table _____________________________________;检
truncate table T_CAS_JournalBalance ;
truncate table ——————————————日记账余额表 ;
truncate table T_AR_ContrastAccountView ;
truncate table ——————————————对账科目 ;
truncate table T_RPT_RptTypeRela ;
truncate table _________________________报表类别关联;系

 

truncate table T_IM_SplitBillEntryRelation ;
truncate table _______________________________;拆单关系分录
truncate table T_NCM_ByProductUnitCost ;
truncate table ——————————————副产品单位成本录入;
truncate table T_MM_BomEntry ;
truncate table ——————————————分录 ;
truncate table T_GL_AdjExchRateHistory ;
truncate table ——————————————调汇历史 ;
truncate table T_GL_Flag ;
truncate table ——————————————结束初始化标志 ;
truncate table T_GL_CashflowInit ;
truncate table ——————————————现金流量初始余额录;
truncate table T_IM_CountingTable ;
truncate table ——————————————盘点表 ;
truncate table T_NCM_CCOFeeBillEntry ;
truncate table ——————————————分录 ;
truncate table T_NCM_InnerOverheadBill ;
truncate table T_IM_SALEISSUEBILL_B4 ;
truncate table ——————————————销售出库单 ;
truncate table T_NCM_WIPCountingMaterial ;
truncate table ——————————————在产品材料盘点 ;
truncate table T_SD_SaleReturns ;
truncate table T_SD_SaleReturnsEntry ;
truncate table ————————————————销售退货申请单 ;
truncate table T_IM_SALEISSUEBILL_B1 ;
truncate table T_IM_SALEISSUEENTRY_E4 ;
truncate table ——————————————————销售出库单 ;


2021/10/21-15:10备份/u01/MY_DIR/
__________________________________________________________________________________________________________testdb_10_21.dmp

truncate table T_BOT_Relation ; 不清理
truncate table T_BOT_RelationEntry ; 不清理
————————————————关联关系、关系分录 不清理

 

truncate table T_AR_ARBALANCECOLLATE ;
truncate table T_AR_ARAPRELATIONENTRY ;
truncate table T_AR_ARBALANCE ;
truncate table ————————————————应收余额 ;
truncate table T_BD_MATERIAL ;
truncate table ——————————————物料暂不清理 ;
truncate table T_ST_QIREPORT_QIBILL ;
truncate table ——————————————质检报告 ;
truncate table T_ST_SaleBRPE ;
truncate table ————————————————价格项 ;
truncate table T_NCM_AllocStdSetByPrd ;
truncate table T_NCM_AllocStdSetByOverhead ;
truncate table ————————————————产品间费用分配;标准

truncate table T_BD_Customer ;
truncate table ——————————客户 ;
truncate table T_BD_Supplier ;
truncate table ——————————供应商 ;
truncate table T_PM_User (保留admin和user) ;
truncate table T_PM_OrgRange ;
truncate table T_PM_OrgRangeIncludeSubOrg ;
truncate table __________________用户、用户组;
truncate table T_BD_Person ;
truncate table ——————————人员 ;
truncate table T_PM_UserGroup ;
truncate table ——————————用户组 ;
truncate table T_PM_UserRoleOrg ;
truncate table ————————————用户角色权限 ;

impdp dxol/dexin directory=DIR dumpfile=user.dmp logfile=user.log remap_tablespace=EAS_D_DEXIN_STANDARD:EAS_D_DXOL_STANDARD,EAS_D_DEXIN_INDEX:EAS_D_DXOL_INDEX,EAS_D_DEXIN_TEMP2:EAS_D_DXOL_TEMP2 table_exists_action=replace

truncate table T_PM_Rule ;
truncate table T_PM_FieldAccess ;

 

---------------------------------------------------------------------恢复几个表、、、

 


truncate table BAK1120NEED_RELATIONENTRY ;
truncate table T_BD_MATERIAL ;


truncate table T_BD_Customer;
truncate table T_BD_Supplier;


2021、10、24
恢复表:
T_BG_BUDGETCTRLWORKFLOWPROC
CT_LOG_OPERALOG
CT_LOG_NEIDAORIZHI
T_CSL_CSLREPORT

 

清理
truncate table T_ORG_UNITRELATION ;
truncate table T_BOT_RELATION_BK ;
truncate table T_HR_ACTIVITYRELATIONRESUME ;
truncate table T_HR_FAMILYRELATION ;
truncate table CT_XZZ_EASADMINORGRELATIONSHIP ;
truncate table T_HR_ACTIVITYRELATIONLEVEL ;
truncate table T_HR_BDRELATION ;

truncate table T_BD_SystemStatusCtrol;
-----------------------------------------------------------------------备份10_24_1

 

_________________________________________________________________________________________10_25_1
DELETE FROM T_ORG_OUPartAdmin WHERE FUNITID<>'00000000-0000-0000-0000-000000000000CCE7AED4'
DELETE FROM T_ORG_OUPartCostCenter WHERE FUNITID<>'00000000-0000-0000-0000-000000000000CCE7AED4'
DELETE FROM T_ORG_OUPartHR WHERE FUNITID<>'00000000-0000-0000-0000-000000000000CCE7AED4'
DELETE FROM T_ORG_OUPartProfitCenter WHERE FUNITID<>'00000000-0000-0000-0000-000000000000CCE7AED4'
DELETE FROM T_ORG_OUPartPurchase WHERE FUNITID<>'00000000-0000-0000-0000-000000000000CCE7AED4'
DELETE FROM T_ORG_OUPartQuality WHERE FUNITID<>'00000000-0000-0000-0000-000000000000CCE7AED4'
DELETE FROM T_ORG_OUPartSale WHERE FUNITID<>'00000000-0000-0000-0000-000000000000CCE7AED4'
DELETE FROM T_ORG_OUPartStorage WHERE FUNITID<>'00000000-0000-0000-0000-000000000000CCE7AED4'
DELETE FROM T_ORG_OUPartUnionGroup WHERE FUNITID<>'00000000-0000-0000-0000-000000000000CCE7AED4'

DELETE FROM T_ORG_OUPartMarket WHERE FUNITID is null

select count(*) from T_ORG_OUPartMarket where FUNITID is null

DELETE FROM T_ORG_OUPartService WHERE FUNITID is null
<>'00000000-0000-0000-0000-000000000000CCE7AED4'

DELETE
select count(*) FROM T_ORG_OUPartCtrl WHERE FUNITID<>'00000000-0000-0000-0000-000000000000CCE7AED4' AND FUNITID<>'11111111-1111-1111-1111-111111111111CCE7AED4'
DELETE FROM T_ORG_OUPartFI WHERE FUNITID<>'00000000-0000-0000-0000-000000000000CCE7AED4'
_______________________________________________________________________________________________________________________________组织单元拓展

DELETE FROM T_ORG_BaseUnit WHERE FID<>'00000000-0000-0000-0000-000000000000CCE7AED4' AND FID<>'11111111-1111-1111-1111-111111111111CCE7AED4'
_______________________________________________________________________________________________________________________________组织单元

 

_________________________________________________________________________________________10_25_1

 

 

DELETE FROM T_ORG_Admin WHERE FID<>'00000000-0000-0000-0000-000000000000CCE7AED4'
DELETE FROM T_ORG_Purchase WHERE FID<>'00000000-0000-0000-0000-000000000000CCE7AED4'
DELETE FROM T_ORG_Sale WHERE FID<>'00000000-0000-0000-0000-000000000000CCE7AED4'
DELETE FROM T_ORG_Storage WHERE FID<>'00000000-0000-0000-0000-000000000000CCE7AED4'


DELETE FROM T_ORG_Company WHERE FID<>'00000000-0000-0000-0000-000000000000CCE7AED4'


DELETE FROM T_BD_Acct_Contorl WHERE FDestCu is null

select count(*) FROM T_BD_Acct_Contorl WHERE FDestCu is null ='00000000-0000-0000-0000-000000000000CCE7AED4'


truncate table T_BD_SystemStatusCtrol


SELECT * FROM T_BD_Period


UPDATE T_BD_Period set FControlUnitID='00000000-0000-0000-0000-000000000000CCE7AED4' where 1=1

 


truncate table T_BD_MATERIALGROUPDETIAL_COPY1 ;
truncate table T_BD_MATERIALGROUPDETIAL ;
truncate table T_BD_MATERIALGROUPDETIAL_COPY ;
truncate table T_BD_SUPPLIERGROUPDETAIL ;
truncate table T_BD_CUSTOMERGROUPDETAIL ;
truncate table T_PM_UserRoleOrg ;
truncate table T_PM_OrgRange ;
truncate table BAK20141216 ;
truncate table T_BAS_CRMultiOrg ;
truncate table T_BAS_CodingRuleEntry ;

truncate table CT_WUL_WULIAOSHENQINGDAN ;
truncate table CT_WUL_WULIAOSHENQINGDANENTRY ;

DELETE FROM T_PM_OrgRangeIncludeSubOrg WHERE FORGID<>'00000000-0000-0000-0000-000000000000CCE7AED4'

select count(*) from T_PM_ORGRANGEINCLUDESUBORG


DELETE FROM T_PM_Role WHERE FControlUnitID<>'00000000-0000-0000-0000-000000000000CCE7AED4'


DELETE FROM T_BAS_CodingRule WHERE FControlUnitID<>'00000000-0000-0000-0000-000000000000CCE7AED4'

 

truncate table T_PM_UserGroup ;
truncate table T_BD_MaterialGroup ;


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM