Obiectul Loturi Balanță

Nu există înregistrări

Guid-uri

  • Guid Catalog Id
    • Configurație : 2948da35-9e75-4b39-b54a-9029d670fff2
    • Bază de date : 0xB54A9029D670FFF24B399E752948DA35

Câmpuri

Nume Camp Descriere Tip
Period _Period Data Raportare datetime
Nomenclator _Fld4878RRef Nomenclator Nomenclator de articole
Depozit _Fld4879RRef Depozit Depozite
CaracteristiceNomenclator _Fld4880RRef Caracteristice nomenclator Caracteristice nomenclator
SeriiNomenclator _Fld4881RRef Serii nomenclator Serii nomenclator
DocumentDeIntrare _Fld4882 Document de intrare
TipDeLot _Fld4883RRef Tip de lot Tipuri de loturi
Count _Fld4884 Count decimal
Valoare _Fld4885 Valoare decimal

Detaliere Câmpuri

Câmpul Period

  • Nume Câmp în baza de date : _Period
  • Descriere Câmp : Data Raportare
  • Tip Câmp : datetime

Câmpul Nomenclator

  • Nume Câmp în baza de date : _Fld4878RRef

  • Descriere Câmp : Nomenclator

  • Tip Câmp : CatalogRef.Nomenclator

  • Guid Atribut Id

    • Configurație : 7a929d61-544a-4c57-9ec3-dfc73e57dca8
    • Bază de date : 0x9EC3DFC73E57DCA84C57544A7A929D61
  • Exemplu de interogari :

    select  
      [Nomenclator]    = [Nomenclator_Nomenclator]._Description, -- Nomenclator din Nomenclator de articole  
      [Nomenclator_ID] = [Nomenclator_Nomenclator].[_IDRRef],    -- KeyField din Nomenclator de articole  
      [LoturiBalanta].*
    from [flax].[dbo].[_AccumRgT4889] as [LoturiBalanta]  
       left join [flax].[dbo].[_Reference32] as [Nomenclator_Nomenclator] on ([LoturiBalanta].[_Fld4878RRef] = [Nomenclator_Nomenclator].[_IDRRef])
    

Câmpul Depozit

  • Nume Câmp în baza de date : _Fld4879RRef

  • Descriere Câmp : Depozit

  • Tip Câmp : CatalogRef.Depozite

  • Guid Atribut Id

    • Configurație : c358a59d-4b16-45a7-a5f3-2e048ff78162
    • Bază de date : 0xA5F32E048FF7816245A74B16C358A59D
  • Exemplu de interogari :

    select  
      [Depozit]    = [Depozit_Depozite]._Description, -- Depozit din Depozite  
      [Depozit_ID] = [Depozit_Depozite].[_IDRRef],    -- KeyField din Depozite  
      [LoturiBalanta].*
    from [flax].[dbo].[_AccumRgT4889] as [LoturiBalanta]  
       left join [flax].[dbo].[_Reference19] as [Depozit_Depozite] on ([LoturiBalanta].[_Fld4879RRef] = [Depozit_Depozite].[_IDRRef])
    

Câmpul CaracteristiceNomenclator

  • Nume Câmp în baza de date : _Fld4880RRef

  • Descriere Câmp : Caracteristice nomenclator

  • Tip Câmp : CatalogRef.CaracteristiceNomenclator

  • Guid Atribut Id

    • Configurație : 613987e4-fbed-42f5-a0ff-aea08e71ca35
    • Bază de date : 0xA0FFAEA08E71CA3542F5FBED613987E4
  • Exemplu de interogari :

    select  
      [CaracteristiceNomenclator]    = [CaracteristiceNomenclator_CaracteristiceNomenclator]._Description, -- Caracteristice nomenclator din Caracteristice nomenclator  
      [CaracteristiceNomenclator_ID] = [CaracteristiceNomenclator_CaracteristiceNomenclator].[_IDRRef],    -- KeyField din Caracteristice nomenclator  
      [LoturiBalanta].*
    from [flax].[dbo].[_AccumRgT4889] as [LoturiBalanta]  
       left join [flax].[dbo].[_Reference4652] as [CaracteristiceNomenclator_CaracteristiceNomenclator] on ([LoturiBalanta].[_Fld4880RRef] = [CaracteristiceNomenclator_CaracteristiceNomenclator].[_IDRRef])
    

Câmpul SeriiNomenclator

  • Nume Câmp în baza de date : _Fld4881RRef

  • Descriere Câmp : Serii nomenclator

  • Tip Câmp : CatalogRef.SeriiNomenclator

  • Guid Atribut Id

    • Configurație : 923744a5-aa28-45a7-bd59-be98dcaa2346
    • Bază de date : 0xBD59BE98DCAA234645A7AA28923744A5
  • Exemplu de interogari :

    select  
      [SeriiNomenclator]    = [SeriiNomenclator_SeriiNomenclator]._Description, -- Serii nomenclator din Serii nomenclator  
      [SeriiNomenclator_ID] = [SeriiNomenclator_SeriiNomenclator].[_IDRRef],    -- KeyField din Serii nomenclator  
      [LoturiBalanta].*
    from [flax].[dbo].[_AccumRgT4889] as [LoturiBalanta]  
       left join [flax].[dbo].[_Reference4653] as [SeriiNomenclator_SeriiNomenclator] on ([LoturiBalanta].[_Fld4881RRef] = [SeriiNomenclator_SeriiNomenclator].[_IDRRef])
    

Câmpul DocumentDeIntrare

  • Nume Câmp în baza de date : _Fld4882

  • Descriere Câmp : Document de intrare

  • Tip Câmp : complex

  • Guid Atribut Id

    • Configurație : f8d933c4-7a9a-40e5-ba42-5fd063748b9c
    • Bază de date : 0xBA425FD063748B9C40E57A9AF8D933C4
  • Exemplu de interogari :

    select  
      [DocumentDeIntrare_Id]                                       = [LoturiBalanta].[_Fld4882_RRRef],                                                                                                                                                                                                                                                                                                                           -- Document de intrare  
      [DocumentDeIntrare_Import]                                   = N'Import ' + [DocumentDeIntrare_Import].[_Fld1360] + ' ' + [DocumentDeIntrare_Import].[_Fld1353] + ' din ' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_Import].[_Date_Time]), 104),                                                                                                                                                      -- Document de intrare din Import  
      [DocumentDeIntrare_Import_ID]                                = [DocumentDeIntrare_Import].[_IDRRef],                                                                                                                                                                                                                                                                                                                       -- KeyField din Import  
      [DocumentDeIntrare_Asamblare]                                = N'Asamblare ' + [DocumentDeIntrare_Asamblare].[_Number] + '/' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_Asamblare].[_Date_Time]), 104) ,                                                                                                                                                                                               -- Document de intrare din Asamblare  
      [DocumentDeIntrare_Asamblare_ID]                             = [DocumentDeIntrare_Asamblare].[_IDRRef],                                                                                                                                                                                                                                                                                                                    -- KeyField din Asamblare  
      [DocumentDeIntrare_IntroducereaSoldurilor]                   = [DocumentDeIntrare_IntroducereaSoldurilor].[_Number] + '/' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_IntroducereaSoldurilor].[_Date_Time]), 104),                                                                                                                                                                                      -- Document de intrare din Introducere solduri  
      [DocumentDeIntrare_IntroducereaSoldurilor_ID]                = [DocumentDeIntrare_IntroducereaSoldurilor].[_IDRRef],                                                                                                                                                                                                                                                                                                       -- KeyField din Introducere solduri  
      [DocumentDeIntrare_ReturDeLaClient]                          = N'Retur de la client ' + [DocumentDeIntrare_ReturDeLaClient].[_Number] + '/' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_ReturDeLaClient].[_Date_Time]), 104) ,                                                                                                                                                                          -- Document de intrare din Retur de la client  
      [DocumentDeIntrare_ReturDeLaClient_ID]                       = [DocumentDeIntrare_ReturDeLaClient].[_IDRRef],                                                                                                                                                                                                                                                                                                              -- KeyField din Retur de la client  
      [DocumentDeIntrare_IntroducereaSoldurilorAmanunt]            = [DocumentDeIntrare_IntroducereaSoldurilorAmanunt].[_Number] + '/' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_IntroducereaSoldurilorAmanunt].[_Date_Time]), 104),                                                                                                                                                                        -- Document de intrare din Introducere solduri amănunt  
      [DocumentDeIntrare_IntroducereaSoldurilorAmanunt_ID]         = [DocumentDeIntrare_IntroducereaSoldurilorAmanunt].[_IDRRef],                                                                                                                                                                                                                                                                                                -- KeyField din Introducere solduri amănunt  
      [DocumentDeIntrare_AvizDeIntrare]                            = N'Aviz de intrare ' + coalesce(nullif(rtrim(ltrim([DocumentDeIntrare_AvizDeIntrare].[_Fld805])), '') + ' ', '') + coalesce(nullif(rtrim(ltrim([DocumentDeIntrare_AvizDeIntrare].[_Fld800])), ''), [DocumentDeIntrare_AvizDeIntrare].[_Number]) + ' din ' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_AvizDeIntrare].[_Date_Time]), 104), -- Document de intrare din Aviz de intrare  
      [DocumentDeIntrare_AvizDeIntrare_ID]                         = [DocumentDeIntrare_AvizDeIntrare].[_IDRRef],                                                                                                                                                                                                                                                                                                                -- KeyField din Aviz de intrare  
      [DocumentDeIntrare_MarireStocDeMarfuri]                      = [DocumentDeIntrare_MarireStocDeMarfuri].[_Number] + '/' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_MarireStocDeMarfuri].[_Date_Time]), 104),                                                                                                                                                                                            -- Document de intrare din Mărire stoc de articole  
      [DocumentDeIntrare_MarireStocDeMarfuri_ID]                   = [DocumentDeIntrare_MarireStocDeMarfuri].[_IDRRef],                                                                                                                                                                                                                                                                                                          -- KeyField din Mărire stoc de articole  
      [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite]    = N'Factură achiziție ' + [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite].[_Fld629] + ' ' + [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite].[_Fld622] + ' din ' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite].[_Fld642]), 104),                                                   -- Document de intrare din Aprovizionare și servicii primite  
      [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite_ID] = [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite].[_IDRRef],                                                                                                                                                                                                                                                                                        -- KeyField din Aprovizionare și servicii primite  
      [LoturiBalanta].*
    from [flax].[dbo].[_AccumRgT4889] as [LoturiBalanta]  
       left join [flax].[dbo].[_Document73]   as [DocumentDeIntrare_Import]                                on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x00000049 and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_Import].[_IDRRef])
       left join [flax].[dbo].[_Document3365] as [DocumentDeIntrare_Asamblare]                             on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x00000D25 and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_Asamblare].[_IDRRef])
       left join [flax].[dbo].[_Document77]   as [DocumentDeIntrare_IntroducereaSoldurilor]                on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x0000004D and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_IntroducereaSoldurilor].[_IDRRef])
       left join [flax].[dbo].[_Document101]  as [DocumentDeIntrare_ReturDeLaClient]                       on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x00000065 and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_ReturDeLaClient].[_IDRRef])
       left join [flax].[dbo].[_Document78]   as [DocumentDeIntrare_IntroducereaSoldurilorAmanunt]         on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x0000004E and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_IntroducereaSoldurilorAmanunt].[_IDRRef])
       left join [flax].[dbo].[_Document58]   as [DocumentDeIntrare_AvizDeIntrare]                         on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x0000003A and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_AvizDeIntrare].[_IDRRef])
       left join [flax].[dbo].[_Document83]   as [DocumentDeIntrare_MarireStocDeMarfuri]                   on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x00000053 and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_MarireStocDeMarfuri].[_IDRRef])
       left join [flax].[dbo].[_Document56]   as [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite] on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x00000038 and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite].[_IDRRef])
    

Câmpul TipDeLot

  • Nume Câmp în baza de date : _Fld4883RRef

  • Descriere Câmp : Tip de lot

  • Tip Câmp : EnumRef.TipuriDeLoturi

  • Guid Atribut Id

    • Configurație : 6ccab7e3-c686-449a-b633-daa848c6e76f
    • Bază de date : 0xB633DAA848C6E76F449AC6866CCAB7E3
  • Exemplu de interogari :

    select  
      [TipDeLot] = case [LoturiBalanta].[_Fld4883RRef]                        -- Tip de lot  
                     when 0x89EC6851F8A90FE24BAC81E776727571 then 'Cumparat'  -- Cumpărat  
                     when 0x9AAC25B184E1D7F644B0807AB0222CBD then 'Comisie'   -- Comisie  
                     when 0xA54C9BC7AE473B8049E38A4103F978DA then 'DupaAviz'  -- După aviz  
                   else null end,                                             -- Valoare necompletata  
      [LoturiBalanta].*
    from [flax].[dbo].[_AccumRgT4889] as [LoturiBalanta]  
    

Câmpul Count

  • Nume Câmp în baza de date : _Fld4884

  • Descriere Câmp : Count

  • Tip Câmp : decimal

  • Guid Atribut Id

    • Configurație : 1f3a4e27-6e16-4568-88e9-4625d9c0e93f
    • Bază de date : 0x88E94625D9C0E93F45686E161F3A4E27

Câmpul Valoare

  • Nume Câmp în baza de date : _Fld4885

  • Descriere Câmp : Valoare

  • Tip Câmp : decimal

  • Guid Atribut Id

    • Configurație : 8643f2f9-84c4-42b7-9ae6-8c1b2ad2e59f
    • Bază de date : 0x9AE68C1B2AD2E59F42B784C48643F2F9

Full Sql Select

  • Exemplu de apel pentru obiectul curent din baza sursa

    select  
      [Period]                                                     = case when year([LoturiBalanta].[_Period]) > 3000 then dateadd(year, -2000, [LoturiBalanta].[_Period]) else [LoturiBalanta].[_Period] end,                                                                                                                                                                                                                   -- Data Raportare  
      [Nomenclator]                                                = [Nomenclator_Nomenclator]._Description,                                                                                                                                                                                                                                                                                                                     -- Nomenclator din Nomenclator de articole  
      [Nomenclator_ID]                                             = [Nomenclator_Nomenclator].[_IDRRef],                                                                                                                                                                                                                                                                                                                        -- KeyField din Nomenclator de articole  
      [Depozit]                                                    = [Depozit_Depozite]._Description,                                                                                                                                                                                                                                                                                                                            -- Depozit din Depozite  
      [Depozit_ID]                                                 = [Depozit_Depozite].[_IDRRef],                                                                                                                                                                                                                                                                                                                               -- KeyField din Depozite  
      [CaracteristiceNomenclator]                                  = [CaracteristiceNomenclator_CaracteristiceNomenclator]._Description,                                                                                                                                                                                                                                                                                         -- Caracteristice nomenclator din Caracteristice nomenclator  
      [CaracteristiceNomenclator_ID]                               = [CaracteristiceNomenclator_CaracteristiceNomenclator].[_IDRRef],                                                                                                                                                                                                                                                                                            -- KeyField din Caracteristice nomenclator  
      [SeriiNomenclator]                                           = [SeriiNomenclator_SeriiNomenclator]._Description,                                                                                                                                                                                                                                                                                                           -- Serii nomenclator din Serii nomenclator  
      [SeriiNomenclator_ID]                                        = [SeriiNomenclator_SeriiNomenclator].[_IDRRef],                                                                                                                                                                                                                                                                                                              -- KeyField din Serii nomenclator  
      [DocumentDeIntrare_Id]                                       = [LoturiBalanta].[_Fld4882_RRRef],                                                                                                                                                                                                                                                                                                                           -- Document de intrare  
      [DocumentDeIntrare_Import]                                   = N'Import ' + [DocumentDeIntrare_Import].[_Fld1360] + ' ' + [DocumentDeIntrare_Import].[_Fld1353] + ' din ' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_Import].[_Date_Time]), 104),                                                                                                                                                      -- Document de intrare din Import  
      [DocumentDeIntrare_Import_ID]                                = [DocumentDeIntrare_Import].[_IDRRef],                                                                                                                                                                                                                                                                                                                       -- KeyField din Import  
      [DocumentDeIntrare_Asamblare]                                = N'Asamblare ' + [DocumentDeIntrare_Asamblare].[_Number] + '/' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_Asamblare].[_Date_Time]), 104) ,                                                                                                                                                                                               -- Document de intrare din Asamblare  
      [DocumentDeIntrare_Asamblare_ID]                             = [DocumentDeIntrare_Asamblare].[_IDRRef],                                                                                                                                                                                                                                                                                                                    -- KeyField din Asamblare  
      [DocumentDeIntrare_IntroducereaSoldurilor]                   = [DocumentDeIntrare_IntroducereaSoldurilor].[_Number] + '/' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_IntroducereaSoldurilor].[_Date_Time]), 104),                                                                                                                                                                                      -- Document de intrare din Introducere solduri  
      [DocumentDeIntrare_IntroducereaSoldurilor_ID]                = [DocumentDeIntrare_IntroducereaSoldurilor].[_IDRRef],                                                                                                                                                                                                                                                                                                       -- KeyField din Introducere solduri  
      [DocumentDeIntrare_ReturDeLaClient]                          = N'Retur de la client ' + [DocumentDeIntrare_ReturDeLaClient].[_Number] + '/' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_ReturDeLaClient].[_Date_Time]), 104) ,                                                                                                                                                                          -- Document de intrare din Retur de la client  
      [DocumentDeIntrare_ReturDeLaClient_ID]                       = [DocumentDeIntrare_ReturDeLaClient].[_IDRRef],                                                                                                                                                                                                                                                                                                              -- KeyField din Retur de la client  
      [DocumentDeIntrare_IntroducereaSoldurilorAmanunt]            = [DocumentDeIntrare_IntroducereaSoldurilorAmanunt].[_Number] + '/' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_IntroducereaSoldurilorAmanunt].[_Date_Time]), 104),                                                                                                                                                                        -- Document de intrare din Introducere solduri amănunt  
      [DocumentDeIntrare_IntroducereaSoldurilorAmanunt_ID]         = [DocumentDeIntrare_IntroducereaSoldurilorAmanunt].[_IDRRef],                                                                                                                                                                                                                                                                                                -- KeyField din Introducere solduri amănunt  
      [DocumentDeIntrare_AvizDeIntrare]                            = N'Aviz de intrare ' + coalesce(nullif(rtrim(ltrim([DocumentDeIntrare_AvizDeIntrare].[_Fld805])), '') + ' ', '') + coalesce(nullif(rtrim(ltrim([DocumentDeIntrare_AvizDeIntrare].[_Fld800])), ''), [DocumentDeIntrare_AvizDeIntrare].[_Number]) + ' din ' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_AvizDeIntrare].[_Date_Time]), 104), -- Document de intrare din Aviz de intrare  
      [DocumentDeIntrare_AvizDeIntrare_ID]                         = [DocumentDeIntrare_AvizDeIntrare].[_IDRRef],                                                                                                                                                                                                                                                                                                                -- KeyField din Aviz de intrare  
      [DocumentDeIntrare_MarireStocDeMarfuri]                      = [DocumentDeIntrare_MarireStocDeMarfuri].[_Number] + '/' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_MarireStocDeMarfuri].[_Date_Time]), 104),                                                                                                                                                                                            -- Document de intrare din Mărire stoc de articole  
      [DocumentDeIntrare_MarireStocDeMarfuri_ID]                   = [DocumentDeIntrare_MarireStocDeMarfuri].[_IDRRef],                                                                                                                                                                                                                                                                                                          -- KeyField din Mărire stoc de articole  
      [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite]    = N'Factură achiziție ' + [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite].[_Fld629] + ' ' + [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite].[_Fld622] + ' din ' + convert(varchar(10), dateadd(year, -2000, [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite].[_Fld642]), 104),                                                   -- Document de intrare din Aprovizionare și servicii primite  
      [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite_ID] = [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite].[_IDRRef],                                                                                                                                                                                                                                                                                        -- KeyField din Aprovizionare și servicii primite  
      [TipDeLot]                                                   = case [LoturiBalanta].[_Fld4883RRef]                                                                                                                                                                                                                                                                                                                         -- Tip de lot  
                                                                       when 0x89EC6851F8A90FE24BAC81E776727571 then 'Cumparat'                                                                                                                                                                                                                                                                                                   -- Cumpărat  
                                                                       when 0x9AAC25B184E1D7F644B0807AB0222CBD then 'Comisie'                                                                                                                                                                                                                                                                                                    -- Comisie  
                                                                       when 0xA54C9BC7AE473B8049E38A4103F978DA then 'DupaAviz'                                                                                                                                                                                                                                                                                                   -- După aviz  
                                                                     else null end,                                                                                                                                                                                                                                                                                                                                              -- Valoare necompletata  
      [Count]                                                      = [LoturiBalanta].[_Fld4884],                                                                                                                                                                                                                                                                                                                                 -- Count  
      [Valoare]                                                    = [LoturiBalanta].[_Fld4885]                                                                                                                                                                                                                                                                                                                                  -- Valoare  
    from [flax].[dbo].[_AccumRgT4889] as [LoturiBalanta]  
       left join [flax].[dbo].[_Reference32]   as [Nomenclator_Nomenclator]                                 on ([LoturiBalanta].[_Fld4878RRef] = [Nomenclator_Nomenclator].[_IDRRef])
       left join [flax].[dbo].[_Reference19]   as [Depozit_Depozite]                                        on ([LoturiBalanta].[_Fld4879RRef] = [Depozit_Depozite].[_IDRRef])
       left join [flax].[dbo].[_Reference4652] as [CaracteristiceNomenclator_CaracteristiceNomenclator]     on ([LoturiBalanta].[_Fld4880RRef] = [CaracteristiceNomenclator_CaracteristiceNomenclator].[_IDRRef])
       left join [flax].[dbo].[_Reference4653] as [SeriiNomenclator_SeriiNomenclator]                       on ([LoturiBalanta].[_Fld4881RRef] = [SeriiNomenclator_SeriiNomenclator].[_IDRRef])
       left join [flax].[dbo].[_Document73]    as [DocumentDeIntrare_Import]                                on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x00000049 and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_Import].[_IDRRef])
       left join [flax].[dbo].[_Document3365]  as [DocumentDeIntrare_Asamblare]                             on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x00000D25 and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_Asamblare].[_IDRRef])
       left join [flax].[dbo].[_Document77]    as [DocumentDeIntrare_IntroducereaSoldurilor]                on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x0000004D and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_IntroducereaSoldurilor].[_IDRRef])
       left join [flax].[dbo].[_Document101]   as [DocumentDeIntrare_ReturDeLaClient]                       on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x00000065 and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_ReturDeLaClient].[_IDRRef])
       left join [flax].[dbo].[_Document78]    as [DocumentDeIntrare_IntroducereaSoldurilorAmanunt]         on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x0000004E and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_IntroducereaSoldurilorAmanunt].[_IDRRef])
       left join [flax].[dbo].[_Document58]    as [DocumentDeIntrare_AvizDeIntrare]                         on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x0000003A and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_AvizDeIntrare].[_IDRRef])
       left join [flax].[dbo].[_Document83]    as [DocumentDeIntrare_MarireStocDeMarfuri]                   on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x00000053 and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_MarireStocDeMarfuri].[_IDRRef])
       left join [flax].[dbo].[_Document56]    as [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite] on ([LoturiBalanta].[_Fld4882_TYPE] = 0x08 and [LoturiBalanta].[_Fld4882_RTRef] = 0x00000038 and [LoturiBalanta].[_Fld4882_RRRef] = [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite].[_IDRRef])
    

Full View Select Sql with fields

  • Exemplu de apel pentru view-ul asociat obiectul curent din baza destinatie cu câmpuri

    select  
      [Period],                                                    --Data Raportare  
      [Nomenclator],                                               --Nomenclator din Nomenclator de articole  
      [Nomenclator_ID],                                            --Nomenclator din Nomenclator de articole ID  
      [Depozit],                                                   --Depozit din Depozite  
      [Depozit_ID],                                                --Depozit din Depozite ID  
      [CaracteristiceNomenclator],                                 --Caracteristice nomenclator din Caracteristice nomenclator  
      [CaracteristiceNomenclator_ID],                              --Caracteristice nomenclator din Caracteristice nomenclator ID  
      [SeriiNomenclator],                                          --Serii nomenclator din Serii nomenclator  
      [SeriiNomenclator_ID],                                       --Serii nomenclator din Serii nomenclator ID  
      [DocumentDeIntrare_Id],                                      --Document de intrare  
      [DocumentDeIntrare_Import],                                  --Document de intrare din Import  
      [DocumentDeIntrare_Import_ID],                               --Document de intrare din Import ID  
      [DocumentDeIntrare_Asamblare],                               --Document de intrare din Asamblare  
      [DocumentDeIntrare_Asamblare_ID],                            --Document de intrare din Asamblare ID  
      [DocumentDeIntrare_IntroducereaSoldurilor],                  --Document de intrare din Introducere solduri  
      [DocumentDeIntrare_IntroducereaSoldurilor_ID],               --Document de intrare din Introducere solduri ID  
      [DocumentDeIntrare_ReturDeLaClient],                         --Document de intrare din Retur de la client  
      [DocumentDeIntrare_ReturDeLaClient_ID],                      --Document de intrare din Retur de la client ID  
      [DocumentDeIntrare_IntroducereaSoldurilorAmanunt],           --Document de intrare din Introducere solduri amănunt  
      [DocumentDeIntrare_IntroducereaSoldurilorAmanunt_ID],        --Document de intrare din Introducere solduri amănunt ID  
      [DocumentDeIntrare_AvizDeIntrare],                           --Document de intrare din Aviz de intrare  
      [DocumentDeIntrare_AvizDeIntrare_ID],                        --Document de intrare din Aviz de intrare ID  
      [DocumentDeIntrare_MarireStocDeMarfuri],                     --Document de intrare din Mărire stoc de articole  
      [DocumentDeIntrare_MarireStocDeMarfuri_ID],                  --Document de intrare din Mărire stoc de articole ID  
      [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite],   --Document de intrare din Aprovizionare și servicii primite  
      [DocumentDeIntrare_AprovizionareMarfuriSiServiciiPrimite_ID],--Document de intrare din Aprovizionare și servicii primite ID  
      [TipDeLot],                                                  --Tip de lot  
      [Count],                                                     --Count  
      [Valoare]                                                    --Valoare  
    from [flax].[LoturiBalanta] -- Loturi Balanță  
    

Full View Select Sql

  • Exemplu de apel pentru view-ul asociat obiectul curent din baza destinatie fără câmpuri

    select * from [flax].[LoturiBalanta] -- Loturi Balanță