Obiectul Stoc minim
Detalierea Obiectului : Stoc minim
Nume Obiect : StocMinim
Nume Tabela Sursa : _InfoRg6365
Nume View : InfoRg_StocMinim
-
Tabela în care este stocat : _InfoRg6365
Nu există înregistrări
Guid-uri
- Guid Catalog Id
- Configurație : 1e8c9b1c-9b77-417f-8f7c-971af6eb38db
- Bază de date : 0x8F7C971AF6EB38DB417F9B771E8C9B1C
Câmpuri
| Nume | Camp | Descriere | Tip |
|---|---|---|---|
| Period | _Period | Data Raportare | datetime |
| Nomenclator | _Fld6366RRef | Articol | Nomenclator de articole |
| Depozit | _Fld6367RRef | Depozit | Depozite |
| ValabilPanaLaData | _Fld6368 | Valabil până la data | dateTime |
| Cantitate | _Fld6369 | Cantitate | 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 : _Fld6366RRef
Descriere Câmp : Articol
Tip Câmp : CatalogRef.Nomenclator
Guid Atribut Id
- Configurație : b1c900d0-5a10-43ec-8fc4-06d449b0222b
- Bază de date : 0x8FC406D449B0222B43EC5A10B1C900D0
Exemplu de interogari :
select [Nomenclator] = [Nomenclator_Nomenclator]._Description, -- Articol din Nomenclator de articole [Nomenclator_ID] = [Nomenclator_Nomenclator].[_IDRRef], -- KeyField din Nomenclator de articole [StocMinim].* from [flax].[dbo].[_InfoRg6365] as [StocMinim] left join [flax].[dbo].[_Reference32] as [Nomenclator_Nomenclator] on ([StocMinim].[_Fld6366RRef] = [Nomenclator_Nomenclator].[_IDRRef])
Câmpul Depozit
Nume Câmp în baza de date : _Fld6367RRef
Descriere Câmp : Depozit
Tip Câmp : CatalogRef.Depozite
Guid Atribut Id
- Configurație : 23503d57-9a75-49f6-a395-810995cb4653
- Bază de date : 0xA395810995CB465349F69A7523503D57
Exemplu de interogari :
select [Depozit] = [Depozit_Depozite]._Description, -- Depozit din Depozite [Depozit_ID] = [Depozit_Depozite].[_IDRRef], -- KeyField din Depozite [StocMinim].* from [flax].[dbo].[_InfoRg6365] as [StocMinim] left join [flax].[dbo].[_Reference19] as [Depozit_Depozite] on ([StocMinim].[_Fld6367RRef] = [Depozit_Depozite].[_IDRRef])
Câmpul ValabilPanaLaData
Nume Câmp în baza de date : _Fld6368
Descriere Câmp : Valabil până la data
Tip Câmp : dateTime
Guid Atribut Id
- Configurație : a12a8de6-15d8-489b-9739-bf485c99f5d8
- Bază de date : 0x9739BF485C99F5D8489B15D8A12A8DE6
Câmpul Cantitate
Nume Câmp în baza de date : _Fld6369
Descriere Câmp : Cantitate
Tip Câmp : decimal
Guid Atribut Id
- Configurație : a06be2de-9a09-4f6d-abd2-7a74b478fcdf
- Bază de date : 0xABD27A74B478FCDF4F6D9A09A06BE2DE
Full Sql Select
Exemplu de apel pentru obiectul curent din baza sursa
select [Period] = case when year([StocMinim].[_Period]) > 3000 then dateadd(year, -2000, [StocMinim].[_Period]) else [StocMinim].[_Period] end, -- Data Raportare [Nomenclator] = [Nomenclator_Nomenclator]._Description, -- Articol 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 [ValabilPanaLaData] = case when year([StocMinim].[_Fld6368]) > 3000 then dateadd(year, -2000, [StocMinim].[_Fld6368]) else [StocMinim].[_Fld6368] end, -- Valabil până la data [Cantitate] = [StocMinim].[_Fld6369] -- Cantitate from [flax].[dbo].[_InfoRg6365] as [StocMinim] left join [flax].[dbo].[_Reference32] as [Nomenclator_Nomenclator] on ([StocMinim].[_Fld6366RRef] = [Nomenclator_Nomenclator].[_IDRRef]) left join [flax].[dbo].[_Reference19] as [Depozit_Depozite] on ([StocMinim].[_Fld6367RRef] = [Depozit_Depozite].[_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], --Articol din Nomenclator de articole [Nomenclator_ID], --Articol din Nomenclator de articole ID [Depozit], --Depozit din Depozite [Depozit_ID], --Depozit din Depozite ID [ValabilPanaLaData],--Valabil până la data [Cantitate] --Cantitate from [flax].[InfoRg_StocMinim] -- Stoc minim
Full View Select Sql
Exemplu de apel pentru view-ul asociat obiectul curent din baza destinatie fără câmpuri
select * from [flax].[InfoRg_StocMinim] -- Stoc minim