Obiectul Constructii
Detalierea Obiectului : Constructii
Nume Obiect : Constructii
Nume Tabela Sursa : _Document56_VT688
Nume View : AprovizionareMarfuriSiServiciiPrimite_Constructii
-
Tabela în care este stocat : _Document56_VT688
Nu există înregistrări
Guid-uri
- Guid Catalog Id
- Configurație : c7606c6e-703d-43a0-b739-170f8631668a
- Bază de date : 0xB739170F8631668A43A0703DC7606C6E
Câmpuri
| Nume | Camp | Descriere | Tip |
|---|---|---|---|
| ParentRef | _Document56_IDRRef | Referință către înregistrarea părinte | binary |
| KeyField | _KeyField | Câmpul cheie | binary |
| LineNo | _LineNo689 | Numărul liniei | number |
| Constructie | _Fld690RRef | Construcție | Construcții |
| Cheltuieli | _Fld691RRef | Cheltuieli | Cheltuieli |
| Suma | _Fld692 | Suma | decimal |
| CotaTVA | _Fld693RRef | Cota TVA | Cote TVA |
| SumaTVA | _Fld694 | Suma TVA | decimal |
| ContEvidenta | _Fld695RRef | Cont evidenta | Planul de conturi |
| ContEvidentaTVA | _Fld696RRef | Cont evidenta TVA | Planul de conturi |
Detaliere Câmpuri
Câmpul ParentRef
- Nume Câmp în baza de date : _Document56_IDRRef
- Descriere Câmp : Referință către înregistrarea părinte
- Tip Câmp : binary
Câmpul KeyField
- Nume Câmp în baza de date : _KeyField
- Descriere Câmp : Câmpul cheie
- Tip Câmp : binary
Câmpul LineNo
- Nume Câmp în baza de date : _LineNo689
- Descriere Câmp : Numărul liniei
- Tip Câmp : number
Câmpul Constructie
Nume Câmp în baza de date : _Fld690RRef
Descriere Câmp : Construcție
Tip Câmp : CatalogRef.Constructii
Guid Atribut Id
- Configurație : b6c3282e-720e-4346-ba4f-6a34105ed8a7
- Bază de date : 0xBA4F6A34105ED8A74346720EB6C3282E
Exemplu de interogari :
select [Constructie] = [Constructie_Constructii]._Description, -- Construcție din Construcții [Constructie_ID] = [Constructie_Constructii].[_IDRRef], -- KeyField din Construcții [Constructii].* from [flax].[dbo].[_Document56_VT688] as [Constructii] left join [flax].[dbo].[_Reference14] as [Constructie_Constructii] on ([Constructii].[_Fld690RRef] = [Constructie_Constructii].[_IDRRef])
Câmpul Cheltuieli
Nume Câmp în baza de date : _Fld691RRef
Descriere Câmp : Cheltuieli
Tip Câmp : CatalogRef.Cheltuieli
Guid Atribut Id
- Configurație : a9f9a427-4a1a-43e3-be57-ecafe1f16b38
- Bază de date : 0xBE57ECAFE1F16B3843E34A1AA9F9A427
Exemplu de interogari :
select [Cheltuieli] = [Cheltuieli_Cheltuieli]._Description, -- Cheltuieli din Cheltuieli [Cheltuieli_ID] = [Cheltuieli_Cheltuieli].[_IDRRef], -- KeyField din Cheltuieli [Constructii].* from [flax].[dbo].[_Document56_VT688] as [Constructii] left join [flax].[dbo].[_Reference10] as [Cheltuieli_Cheltuieli] on ([Constructii].[_Fld691RRef] = [Cheltuieli_Cheltuieli].[_IDRRef])
Câmpul Suma
Nume Câmp în baza de date : _Fld692
Descriere Câmp : Suma
Tip Câmp : decimal
Guid Atribut Id
- Configurație : c8f07b8b-2901-40ed-8253-248b630c1c8e
- Bază de date : 0x8253248B630C1C8E40ED2901C8F07B8B
Câmpul CotaTVA
Nume Câmp în baza de date : _Fld693RRef
Descriere Câmp : Cota TVA
Tip Câmp : EnumRef.CoteTVA
Guid Atribut Id
- Configurație : d3172a06-46ad-46c1-900a-50db2653a9ec
- Bază de date : 0x900A50DB2653A9EC46C146ADD3172A06
Exemplu de interogari :
select [CotaTVA] = case [Constructii].[_Fld693RRef] -- Cota TVA when 0xB4C7BA8ECAB8E9AA4781AB0C411CD3F7 then 'TVA24' -- 24% when 0x8E93795A2BFED36C41B6F46A053024B3 then 'TVA21' -- 21% when 0x84D7EA11D667B93443492CD03507ECF7 then 'TaxareInversa21' -- Taxare inversă cu cota TVA 21% when 0x916083897E575D3C4BDC5D55A45F4DF9 then 'TVA20' -- 20% when 0x8C1BE8BE1214692E44A8CDC688A8FBD6 then 'TVA19' -- 19% when 0x9BC8FDF9D7F874E645E90A55DC827E17 then 'TVA11' -- 11% when 0xABD86D672B9B5AC34E5679E443BEEC03 then 'TaxareInversa11' -- Taxare inversă cu cota TVA 11% when 0x80332F55AAC32BC94C993597696E1CC8 then 'TVA9' -- 9% when 0x8CE7B143CE2700A342C2E998812E3013 then 'TVA24BunuriDeCapital' -- 24% bunuri de capital when 0xA7CF114FA29E70C14ED698F8D155D6D1 then 'TVA20BunuriDeCapital' -- 20% bunuri de capital when 0x8203DFB60F64D95B45712811F1253CEB then 'TVA19BunuriDeCapital' -- 19% bunuri de capital when 0xBBCC419882DF91A94CFAD82F96C13E88 then 'TVA24NevoileFirmei' -- 24% nevoile firmei when 0x9EEDCAF3CAD4A9214BC5F501072B8ED3 then 'TVA20NevoileFirmei' -- 20% nevoile firmei when 0x80877F489FAEB92C428BA6A6CBB82BA9 then 'TVA19NevoileFirmei' -- 19% nevoile firmei when 0x865D336410F9072441C203F0377FA38C then 'TVA9NevoileFirmei' -- 9% nevoile firmei when 0xBE19D5CA351265EB4AECCDCA5E883434 then 'TVA24Fara' -- 24% fara drept de deducere when 0x8820314B861028A4487963A27F199FB9 then 'TVA20Fara' -- 20% fara drept de deducere when 0x89B17E9CB06A67AD408A8C506B31125D then 'TVA19Fara' -- 19% fara drept de deducere when 0x9CC53A5115830A83494B041D0FBF2B9A then 'TVA9Fara' -- 9% fara drept de deducere when 0x9201A6EA2FABA7F4486ED6550570B1EA then 'TVA5' -- Cota TVA 5% when 0xBF9BD68072E19A6443A6AD318917B35F then 'TVA5Fara' -- 5% fara drept de deducere when 0xA50008B4BC5BB5F6488067F06E225693 then 'TVAEU24' -- TVA la Import din UE cu cota TVA 24% when 0x98CDACE4D8112D17404D89F6EC78E58E then 'TVAEU20' -- TVA la Import din UE cu cota TVA 20% when 0xAA2DE3C795A60A4946C58A73B8C0D3D8 then 'TVAEU9' -- TVA la Import din UE cu cota TVA 9% when 0x9D7F41833CA965AD40D2EF75370D822F then 'TVAEU' -- TVA la Import din UE cu cota TVA 19% when 0xA7343E8E1A0E850E47499B6984E590D0 then 'TVAEUNevoileFirmei24' -- TVA la Import din UE pentru nevoile firmei 24% when 0xADD1FA8C2C531E7C4214C4136C7BE690 then 'TVAEUNevoileFirmei20' -- TVA la Import din UE pentru nevoile firmei 20% when 0xA63CAE39443F3F124E4FE4E5764FECED then 'TVAEUNevoileFirmei' -- TVA la Import din UE pentru nevoile firmei 19% when 0x90E847CAFD85B7D5449935D4869368A8 then 'ScutiteTVA' -- Scutite cu drept de deducere when 0x8475B75F9F772E4F483986B48A433441 then 'ScutiteTVAFara' -- Scutite fără drept de deducere when 0xAD95376DCFAE2A2E4D2EBDC397205D06 then 'ScutiteTVAExport' -- Scutite la Export cu drept de deducere when 0x84CDF3A0C3ED4D014963A725AD3D4325 then 'ScutiteTVAExportFara' -- Scutite la Export fără drept de deducere when 0xBBD8E71C3D67978943A649D63ECD8670 then 'ScutiteTVAEU' -- Scutite la Import din UE destinate revănzării when 0x9C67E1729338633C42C051FA429020BD then 'ScutiteTVAEUNevoileFirmei' -- Scutite la Import din UE pentru nevoile firmei when 0xB3061F8936BA52BC401F2800CDC6BB0C then 'ScutiteTVAExportEUArtA' -- Scutite la Export in UE conf. art.143 alin.2 lit.a) și d) when 0x985FDEF4B5E79BD248AD96AA65D298FA then 'ScutiteTVAExportEUArtB' -- Scutite la Export in UE conf. art.143 alin.2 lit.b) și c) when 0xBEF4E78F4A77E6F44933AE33DB4FC66D then 'ScutiteTVAExportArtC' -- Scutite la Export cu drept de deducere conf. art.143 alin.1 lit.c) și d) when 0x9B960D4C23DC1FB641D65C66EFBA015B then 'Neimpozabile' -- Neimpozabile when 0xA66C90AF717CACA04A14D1188C830084 then 'NeimpozabileEU' -- Neimpozabile la import din UE destinate revănzării when 0xBA28595D7674F34848E03E664F8293C1 then 'NeimpozabileEUNevoileFirmei' -- Neimpozabile la import din UE pentru nevoile firmei when 0x8F47D6FEB598A44147EAB8B39751B55C then 'TaxareInversa24' -- Taxare inversă cu cota TVA 24% when 0x8D85819C3502D9644F3554EF2A4E3205 then 'TaxareInversa20' -- Taxare inversă cu cota TVA 20% when 0x8AD9A80A67D813514E35CC59323A347C then 'TaxareInversa' -- Taxare inversă cu cota TVA 19% when 0xB6A801C6EF4283484A1B0ACE22370816 then 'TaxareInversa9' -- Taxare inversă cu cota TVA 9% when 0x884A08E3B99FD767426E8839E179CA05 then 'TaxareInversaServiciiIntangibile24' -- Taxare inversă servicii intangibile cu cota TVA 24% when 0x91D2395B478FB1C7403B9C973C22F1D2 then 'TaxareInversaServiciiIntangibile20' -- Taxare inversă servicii intangibile cu cota TVA 20% when 0x89574632F1AA15C341325D142FB16ADF then 'TaxareInversaServiciiIntangibile' -- Taxare inversă servicii intangibile cu cota TVA 19% else null end, -- Valoare necompletata [Constructii].* from [flax].[dbo].[_Document56_VT688] as [Constructii]
Câmpul SumaTVA
Nume Câmp în baza de date : _Fld694
Descriere Câmp : Suma TVA
Tip Câmp : decimal
Guid Atribut Id
- Configurație : e0a3f186-3722-4fcf-86f7-57d19e441389
- Bază de date : 0x86F757D19E4413894FCF3722E0A3F186
Câmpul ContEvidenta
Nume Câmp în baza de date : _Fld695RRef
Descriere Câmp : Cont evidenta
Tip Câmp : ChartOfAccountsRef.General
Guid Atribut Id
- Configurație : cdd7034f-6374-4ff5-8106-a9f4fed1f402
- Bază de date : 0x8106A9F4FED1F4024FF56374CDD7034F
Exemplu de interogari :
select [ContEvidenta] = [ContEvidenta_General]._Code, -- Cont evidenta din Planul de conturi [ContEvidenta_ID] = [ContEvidenta_General].[_IDRRef], -- KeyField din Planul de conturi [Constructii].* from [flax].[dbo].[_Document56_VT688] as [Constructii] left join [flax].[dbo].[_Acc1] as [ContEvidenta_General] on ([Constructii].[_Fld695RRef] = [ContEvidenta_General].[_IDRRef])
Câmpul ContEvidentaTVA
Nume Câmp în baza de date : _Fld696RRef
Descriere Câmp : Cont evidenta TVA
Tip Câmp : ChartOfAccountsRef.General
Guid Atribut Id
- Configurație : ddb822f8-21be-4e5e-8688-5c1b82760a51
- Bază de date : 0x86885C1B82760A514E5E21BEDDB822F8
Exemplu de interogari :
select [ContEvidentaTVA] = [ContEvidentaTVA_General]._Code, -- Cont evidenta TVA din Planul de conturi [ContEvidentaTVA_ID] = [ContEvidentaTVA_General].[_IDRRef], -- KeyField din Planul de conturi [Constructii].* from [flax].[dbo].[_Document56_VT688] as [Constructii] left join [flax].[dbo].[_Acc1] as [ContEvidentaTVA_General] on ([Constructii].[_Fld696RRef] = [ContEvidentaTVA_General].[_IDRRef])
Full Sql Select
Exemplu de apel pentru obiectul curent din baza sursa
select [ParentRef] = [Constructii].[_Document56_IDRRef], -- Referință către înregistrarea părinte [KeyField] = [Constructii].[_KeyField], -- Câmpul cheie [LineNo] = [Constructii].[_LineNo689], -- Numărul liniei [Constructie] = [Constructie_Constructii]._Description, -- Construcție din Construcții [Constructie_ID] = [Constructie_Constructii].[_IDRRef], -- KeyField din Construcții [Cheltuieli] = [Cheltuieli_Cheltuieli]._Description, -- Cheltuieli din Cheltuieli [Cheltuieli_ID] = [Cheltuieli_Cheltuieli].[_IDRRef], -- KeyField din Cheltuieli [Suma] = [Constructii].[_Fld692], -- Suma [CotaTVA] = case [Constructii].[_Fld693RRef] -- Cota TVA when 0xB4C7BA8ECAB8E9AA4781AB0C411CD3F7 then 'TVA24' -- 24% when 0x8E93795A2BFED36C41B6F46A053024B3 then 'TVA21' -- 21% when 0x84D7EA11D667B93443492CD03507ECF7 then 'TaxareInversa21' -- Taxare inversă cu cota TVA 21% when 0x916083897E575D3C4BDC5D55A45F4DF9 then 'TVA20' -- 20% when 0x8C1BE8BE1214692E44A8CDC688A8FBD6 then 'TVA19' -- 19% when 0x9BC8FDF9D7F874E645E90A55DC827E17 then 'TVA11' -- 11% when 0xABD86D672B9B5AC34E5679E443BEEC03 then 'TaxareInversa11' -- Taxare inversă cu cota TVA 11% when 0x80332F55AAC32BC94C993597696E1CC8 then 'TVA9' -- 9% when 0x8CE7B143CE2700A342C2E998812E3013 then 'TVA24BunuriDeCapital' -- 24% bunuri de capital when 0xA7CF114FA29E70C14ED698F8D155D6D1 then 'TVA20BunuriDeCapital' -- 20% bunuri de capital when 0x8203DFB60F64D95B45712811F1253CEB then 'TVA19BunuriDeCapital' -- 19% bunuri de capital when 0xBBCC419882DF91A94CFAD82F96C13E88 then 'TVA24NevoileFirmei' -- 24% nevoile firmei when 0x9EEDCAF3CAD4A9214BC5F501072B8ED3 then 'TVA20NevoileFirmei' -- 20% nevoile firmei when 0x80877F489FAEB92C428BA6A6CBB82BA9 then 'TVA19NevoileFirmei' -- 19% nevoile firmei when 0x865D336410F9072441C203F0377FA38C then 'TVA9NevoileFirmei' -- 9% nevoile firmei when 0xBE19D5CA351265EB4AECCDCA5E883434 then 'TVA24Fara' -- 24% fara drept de deducere when 0x8820314B861028A4487963A27F199FB9 then 'TVA20Fara' -- 20% fara drept de deducere when 0x89B17E9CB06A67AD408A8C506B31125D then 'TVA19Fara' -- 19% fara drept de deducere when 0x9CC53A5115830A83494B041D0FBF2B9A then 'TVA9Fara' -- 9% fara drept de deducere when 0x9201A6EA2FABA7F4486ED6550570B1EA then 'TVA5' -- Cota TVA 5% when 0xBF9BD68072E19A6443A6AD318917B35F then 'TVA5Fara' -- 5% fara drept de deducere when 0xA50008B4BC5BB5F6488067F06E225693 then 'TVAEU24' -- TVA la Import din UE cu cota TVA 24% when 0x98CDACE4D8112D17404D89F6EC78E58E then 'TVAEU20' -- TVA la Import din UE cu cota TVA 20% when 0xAA2DE3C795A60A4946C58A73B8C0D3D8 then 'TVAEU9' -- TVA la Import din UE cu cota TVA 9% when 0x9D7F41833CA965AD40D2EF75370D822F then 'TVAEU' -- TVA la Import din UE cu cota TVA 19% when 0xA7343E8E1A0E850E47499B6984E590D0 then 'TVAEUNevoileFirmei24' -- TVA la Import din UE pentru nevoile firmei 24% when 0xADD1FA8C2C531E7C4214C4136C7BE690 then 'TVAEUNevoileFirmei20' -- TVA la Import din UE pentru nevoile firmei 20% when 0xA63CAE39443F3F124E4FE4E5764FECED then 'TVAEUNevoileFirmei' -- TVA la Import din UE pentru nevoile firmei 19% when 0x90E847CAFD85B7D5449935D4869368A8 then 'ScutiteTVA' -- Scutite cu drept de deducere when 0x8475B75F9F772E4F483986B48A433441 then 'ScutiteTVAFara' -- Scutite fără drept de deducere when 0xAD95376DCFAE2A2E4D2EBDC397205D06 then 'ScutiteTVAExport' -- Scutite la Export cu drept de deducere when 0x84CDF3A0C3ED4D014963A725AD3D4325 then 'ScutiteTVAExportFara' -- Scutite la Export fără drept de deducere when 0xBBD8E71C3D67978943A649D63ECD8670 then 'ScutiteTVAEU' -- Scutite la Import din UE destinate revănzării when 0x9C67E1729338633C42C051FA429020BD then 'ScutiteTVAEUNevoileFirmei' -- Scutite la Import din UE pentru nevoile firmei when 0xB3061F8936BA52BC401F2800CDC6BB0C then 'ScutiteTVAExportEUArtA' -- Scutite la Export in UE conf. art.143 alin.2 lit.a) și d) when 0x985FDEF4B5E79BD248AD96AA65D298FA then 'ScutiteTVAExportEUArtB' -- Scutite la Export in UE conf. art.143 alin.2 lit.b) și c) when 0xBEF4E78F4A77E6F44933AE33DB4FC66D then 'ScutiteTVAExportArtC' -- Scutite la Export cu drept de deducere conf. art.143 alin.1 lit.c) și d) when 0x9B960D4C23DC1FB641D65C66EFBA015B then 'Neimpozabile' -- Neimpozabile when 0xA66C90AF717CACA04A14D1188C830084 then 'NeimpozabileEU' -- Neimpozabile la import din UE destinate revănzării when 0xBA28595D7674F34848E03E664F8293C1 then 'NeimpozabileEUNevoileFirmei' -- Neimpozabile la import din UE pentru nevoile firmei when 0x8F47D6FEB598A44147EAB8B39751B55C then 'TaxareInversa24' -- Taxare inversă cu cota TVA 24% when 0x8D85819C3502D9644F3554EF2A4E3205 then 'TaxareInversa20' -- Taxare inversă cu cota TVA 20% when 0x8AD9A80A67D813514E35CC59323A347C then 'TaxareInversa' -- Taxare inversă cu cota TVA 19% when 0xB6A801C6EF4283484A1B0ACE22370816 then 'TaxareInversa9' -- Taxare inversă cu cota TVA 9% when 0x884A08E3B99FD767426E8839E179CA05 then 'TaxareInversaServiciiIntangibile24' -- Taxare inversă servicii intangibile cu cota TVA 24% when 0x91D2395B478FB1C7403B9C973C22F1D2 then 'TaxareInversaServiciiIntangibile20' -- Taxare inversă servicii intangibile cu cota TVA 20% when 0x89574632F1AA15C341325D142FB16ADF then 'TaxareInversaServiciiIntangibile' -- Taxare inversă servicii intangibile cu cota TVA 19% else null end, -- Valoare necompletata [SumaTVA] = [Constructii].[_Fld694], -- Suma TVA [ContEvidenta] = [ContEvidenta_General]._Code, -- Cont evidenta din Planul de conturi [ContEvidenta_ID] = [ContEvidenta_General].[_IDRRef], -- KeyField din Planul de conturi [ContEvidentaTVA] = [ContEvidentaTVA_General]._Code, -- Cont evidenta TVA din Planul de conturi [ContEvidentaTVA_ID] = [ContEvidentaTVA_General].[_IDRRef] -- KeyField din Planul de conturi from [flax].[dbo].[_Document56_VT688] as [Constructii] left join [flax].[dbo].[_Reference14] as [Constructie_Constructii] on ([Constructii].[_Fld690RRef] = [Constructie_Constructii].[_IDRRef]) left join [flax].[dbo].[_Reference10] as [Cheltuieli_Cheltuieli] on ([Constructii].[_Fld691RRef] = [Cheltuieli_Cheltuieli].[_IDRRef]) left join [flax].[dbo].[_Acc1] as [ContEvidenta_General] on ([Constructii].[_Fld695RRef] = [ContEvidenta_General].[_IDRRef]) left join [flax].[dbo].[_Acc1] as [ContEvidentaTVA_General] on ([Constructii].[_Fld696RRef] = [ContEvidentaTVA_General].[_IDRRef])
Full View Select Sql with fields
Exemplu de apel pentru view-ul asociat obiectul curent din baza destinatie cu câmpuri
select [ParentRef], --Referință către înregistrarea părinte [KeyField], --Câmpul cheie [LineNo], --Numărul liniei [Constructie], --Construcție din Construcții [Constructie_ID], --Construcție din Construcții ID [Cheltuieli], --Cheltuieli din Cheltuieli [Cheltuieli_ID], --Cheltuieli din Cheltuieli ID [Suma], --Suma [CotaTVA], --Cota TVA [SumaTVA], --Suma TVA [ContEvidenta], --Cont evidenta din Planul de conturi [ContEvidenta_ID], --Cont evidenta din Planul de conturi ID [ContEvidentaTVA], --Cont evidenta TVA din Planul de conturi [ContEvidentaTVA_ID] --Cont evidenta TVA din Planul de conturi ID from [flax].[AprovizionareMarfuriSiServiciiPrimite_Constructii] -- Constructii
Full View Select Sql
Exemplu de apel pentru view-ul asociat obiectul curent din baza destinatie fără câmpuri
select * from [flax].[AprovizionareMarfuriSiServiciiPrimite_Constructii] -- Constructii