派纳发送邮件功能
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
9.2 KiB

5 months ago
  1. declare @SNIndex bigint
  2. if object_id('InnerAllocSerials') is null
  3. exec [dbo].[AllocSerials]
  4. @AllocCount = 20000,
  5. @StartSN = @SNIndex output
  6. else
  7. exec [dbo].[InnerAllocSerials]
  8. @AllocCount = 20000,
  9. @StartSN = @SNIndex output
  10. --Valid @SNIndex
  11. execute sp_UninstallMDProject '1c575d09-779c-409b-960b-37918a0be590'
  12. INSERT INTO UBF_MD_Project(Name, ID, AssemblyName, CreateOp, ComponentType, ModifyTime, ModifyOp, CreateTime) VALUES('CusSupplierContactBP', '1c575d09-779c-409b-960b-37918a0be590', 'CusSupplierContactBP', 'Lenovo', 'BP', '2024-06-26T13:50:46', '', '2024-06-26T13:50:46')
  13. INSERT INTO UBF_MD_Import(Source_ID, Imported_ID) VALUES('1c575d09-779c-409b-960b-37918a0be590', '2402fd32-810a-4130-811d-f1e6183a5a26')
  14. INSERT INTO UBF_MD_Import(Source_ID, Imported_ID) VALUES('1c575d09-779c-409b-960b-37918a0be590', 'eca02186-a272-4ed5-802e-d7a2d663d6d1')
  15. INSERT INTO UBF_MD_Component(Local_ID, Kind, Name, ID, AssemblyName, CreateOp, ModifyTime, Version, ModifyOp, MD_Module_ID, CreateTime) VALUES(@SNIndex+0, 'BP', 'CusSupplierContactBP', '20d8841d-8f9f-4a77-9ece-f587474da43f', 'CusSupplierContactBP', 'Lenovo', '2024-06-26T13:50:46', '', '', '1c575d09-779c-409b-960b-37918a0be590', '2024-06-26T13:50:46')
  16. INSERT INTO UBF_MD_Class (ID, Name, CreateOp, CreateTime, ModifyOp, ModifyTime, Local_ID, MD_ParentClass_ID, MD_Component_ID, Local_Component_ID, ClassType, FullName, IsDefault, IsService, TransactionType, ReturnTypeID, IsAuthority, Discriminator) VALUES ('83f63288-6317-4444-9beb-af822cdca49b', 'CusSelSupplierContactBP', 'Lenovo', '2024-06-26T13:50:46', 'Lenovo', '2024-06-26T13:51:15', @SNIndex+1, '00000000-0000-0000-0000-000000000000', '20d8841d-8f9f-4a77-9ece-f587474da43f', @SNIndex+0, 7, 'CusSupplierContactBP.CusSelSupplierContactBP', 0, 0, 2, '7a0911c8-4752-4552-9931-540ecb541b50', 1, 'UFIDA.UBF.MD.Business.Operation')
  17. INSERT INTO UBF_MD_Attribute(ID, Name, CreateOp, CreateTime, ModifyOp, ModifyTime, Local_ID, MD_Class_ID, Local_Class_ID, DataTypeID, GroupName, IsCollection, DefaultValue, Length, Precision, Sequence, Scale, MaxValue, MinValue, IsKey, IsNullable, IsReadOnly, Visibility, IsCalculation, IsGlobalization, IsSystem, IsBusinessKey, IsQueryAttribute, IsForAsso, GroupID, IsModifyControl, IsDynamic, IsImpressible, IsInCache, IsKeySerializable, IsColumnDefine, IsFilterDefine, IsSortDefine, IsDefaultColumn, IsEntityData, DefaultColumnName, DataTypeFlag,ForOBAImport) VALUES('4c154d78-fcdb-452e-b725-4035dabfb25e', 'SupplierNo', 'Lenovo', '2024-06-26T13:50:46', '', '2024-06-26T13:50:46', @SNIndex+2, '83f63288-6317-4444-9beb-af822cdca49b', @SNIndex+1, '3d174255-fd12-47f7-8844-3b5e4fae9e8c', 'Misc', 0, '', 50, 5, 0, 0, '', '', 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, '4231bc3f-8161-460b-8ecf-7a6bb927b99c', 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, '', 0,0)
  18. INSERT INTO UBF_MD_Attribute(ID, Name, CreateOp, CreateTime, ModifyOp, ModifyTime, Local_ID, MD_Class_ID, Local_Class_ID, DataTypeID, GroupName, IsCollection, DefaultValue, Length, Precision, Sequence, Scale, MaxValue, MinValue, IsKey, IsNullable, IsReadOnly, Visibility, IsCalculation, IsGlobalization, IsSystem, IsBusinessKey, IsQueryAttribute, IsForAsso, GroupID, IsModifyControl, IsDynamic, IsImpressible, IsInCache, IsKeySerializable, IsColumnDefine, IsFilterDefine, IsSortDefine, IsDefaultColumn, IsEntityData, DefaultColumnName, DataTypeFlag,ForOBAImport) VALUES('acc7ee9f-52d6-4ab5-8587-70d4bfd1981e', 'OrgID', 'Lenovo', '2024-06-26T13:50:46', '', '2024-06-26T13:50:46', @SNIndex+3, '83f63288-6317-4444-9beb-af822cdca49b', @SNIndex+1, '3d174255-fd12-47f7-8844-3b5e4fae9e8c', 'Misc', 0, '', 50, 5, 1, 0, '', '', 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, '4231bc3f-8161-460b-8ecf-7a6bb927b99c', 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, '', 0,0)
  19. INSERT INTO UBF_MD_Attribute(ID, Name, CreateOp, CreateTime, ModifyOp, ModifyTime, Local_ID, MD_Class_ID, Local_Class_ID, DataTypeID, GroupName, IsCollection, DefaultValue, Length, Precision, Sequence, Scale, MaxValue, MinValue, IsKey, IsNullable, IsReadOnly, Visibility, IsCalculation, IsGlobalization, IsSystem, IsBusinessKey, IsQueryAttribute, IsForAsso, GroupID, IsModifyControl, IsDynamic, IsImpressible, IsInCache, IsKeySerializable, IsColumnDefine, IsFilterDefine, IsSortDefine, IsDefaultColumn, IsEntityData, DefaultColumnName, DataTypeFlag,ForOBAImport) VALUES('ecb8f1f6-688e-474f-8cf5-2b315ba7c0b9', 'PODocNo', 'Lenovo', '2024-06-26T13:50:46', '', '2024-06-26T13:50:46', @SNIndex+4, '83f63288-6317-4444-9beb-af822cdca49b', @SNIndex+1, '3d174255-fd12-47f7-8844-3b5e4fae9e8c', 'Misc', 0, '', 50, 5, 2, 0, '', '', 0, 1, 0, 0, 0, 0, 0, 0, 1, 1, '4231bc3f-8161-460b-8ecf-7a6bb927b99c', 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, '', 0,0)