View_field | Entity.attribute | type | Description | DE | FR | IT | EN |
---|
ArticleId | Bewegung.Bew_ArtikelID | foreign key | ID des Artikels |
|
|
|
|
AddressId | Bewegung.Bew_AdresseID | foreign key | ID der Adresse |
|
|
|
|
OrderId | Bewegung.Bew_BelegID | foreign key | ID des Belegs |
|
|
|
|
OrderPositionId | Bewegung.Bew_BelegID | foreign key | ID der Artikleposition |
|
|
|
|
WarehouseId | Bewegung.Bew_LagerID | foreign key | ID des Lagers |
|
|
|
|
Unit_size_cl | Abfuellung.Abf_InhaltInCl | numeric | Flaschengrösse in Zentiliter (cl), default 1 | Abfüllung | Conditionnement | Imbottigliamento | Filling |
Statistic_relevance | Bewegung.Bew_Anrechenbar | integer | 0 = Umsatz und Menge 2 = Nur Umsatz 3 = Nur Menge (Gratiswaren) | Anrechenbar | Imputable | Imputabile | Allowable |
Delivery_no | Bewegung.Bew_BelegNr | integer | Lieferschein-Nr | Lieferschein-Nr. | N° du belltin livraison | No. di bollettta di consegna | Delivery note No. |
Delivery_date | Bewegung.Bew_Datum | date | Lieferdatum gemäss Datum Lieferschein | Lieferdatum | Date de livraison | Data di consegna | Delivery date |
Delivery_month |
Code Block |
---|
language | sql |
---|
title | vf_statistics.Delivery_month |
---|
collapse | true |
---|
| MONTH Bewegung.Bew_Datum |
| integer | Monat der Lieferung | Liefermonat | Mois de livraison | Mese di consegna | Delivery month |
Delivery_year |
Code Block |
---|
language | sql |
---|
title | vf_statistics.Delivery_year |
---|
collapse | true |
---|
| YEAR Bewegung.Bew_Datum |
| integer | Jahr der Lieferung | Lieferjahr | Année de livraison | Anno di consegna | Delivery year |
Billing_no |
Code Block |
---|
language | sql |
---|
title | vf_statistics.Billing_no |
---|
collapse | true |
---|
| IF NOT Bewegung.Bew_AbgerechnetAm IS NULL THEN Beleg.Bel_BelegNr ENDIF |
|
| Rechnungs-Nr. | Rechnungs-Nr. | N° de facture | No. di fattura | Invoice No. |
Billing_date | Bewegung.Bew_AbgerechnetAm | date | Rechnungsdatum gemäss Datum der Rechnung | Rechnungsdatum | Date de facture | Data della fattura | Invoice date |
Billing_month |
Code Block |
---|
language | sql |
---|
title | vf_statistics.Billing_month |
---|
collapse | true |
---|
| MONTH Bewegung.Bew_AbgerechnetAm |
| integer | Monat der Rechnung | Rechnungsmonat | Mois de facture | Mese della fattura | Inoivce month |
Billing_year |
Code Block |
---|
language | sql |
---|
title | vf_statistics.Billing_year |
---|
collapse | true |
---|
| YEAR Bewegung.Bew_AbgerechnetAm |
| integer | Jahr der Rechnung | Rechnungsjahr | Année de facture | Anno della fattura | Invoice year |
Quantity_unit | Bewegung.Bew_Menge | numeric | Menge Stück/Flasche | Menge Abfüllung | Quantité Conditionnement | Quantità Imbottigliamento | Quantity Filling |
Quantity_package | Bewegung.Bew_MengeGG | numeric | Menge Grossgebinde | Menge Gebinde | Quantité Emballage | Quantità Imballagio | Quantity Package |
Quantity_litre |
Code Block |
---|
language | sql |
---|
title | vf_statistics.Quantity_litre |
---|
collapse | true |
---|
| Quantity_unit * ( Unit_size_cl / 100 ) |
| numeric | Menge in Liter | Menge Liter | Quantité litre | Quantità litri | Quantity liters |
Quantity_free |
Code Block |
---|
language | sql |
---|
title | vf_statistics.Quantity_free |
---|
collapse | true |
---|
| if Statistic_relevance = 3 then Quantity_unit |
| numeric | Menge Gratisware | Gratismenge | Quantité gratuite | Quantità libera | Free quantity |
Process | Bewegung.Bew_Vorgang | integer | ist immer -2 = Warenausgang | Vorgang | Processus | Procedura | Procedure |
Selling_price | Bewegung.Bew_Preis | numeric | Verkaufspreis | Preis | Prix | Prezzo | Price |
Selling_amount | Bewegung.Bew_Nettoerloes | numeric | Gesamtbetrag Verkauf | Umsatz | Chiffre d'affaires | Fatturato | Turnover |
Valuation_price_at_sale | Bewegung.Bew_Einstandspreis | numeric | Bewertungspreis zum Zeitpunkt des Verkaufs | Einkaufspreis bei Verkauf | Prix d'achat à la vente | Prezzo di acquisto alla vendita | Purchase price at sale |
Valuation_price_current | Artikel.Art_LagerPreis | numeric | Aktueller Bewertungspreis gemäss Artikel | Bewertungspreis | Prix d'évaluation | Prezzo di valutazione | Valuation price |
Purchase_price | EKPreis.EK_Einstandspreis | numeric | Aktueller Einstandspreis gemäss gültigem Einkaufspreis zum Artikel | Einkaufspreis | Prix d'achat | Prezzo di acquisto | Purchase price |
Purchase_value |
Code Block |
---|
language | sql |
---|
title | vf_statistics.Purchase_value |
---|
collapse | true |
---|
| Quantity_unit * ( IsNull
( IsNull
( IsNull( Valuation_price_at_sale, Purchase_price )
), Valuation_price_current
), 0
) |
| numeric | Einkaufswert zu - Valuation_price_at_sale
- default Purchase_price
- default Valuation_price_current
- default 0
| Einkaufswert | Valeur d'achat | Valore di acquisto | Purchase value |
Profit_margin |
Code Block |
---|
language | sql |
---|
title | vf_statistics.Profit_margin |
---|
collapse | true |
---|
| Selling_amount - Purchase_value |
| numeric | Deckungsbeitrag / Marge des Verkaufs in CHF | DB in CHF | Marge en CHF | Margine in CHF | Margin in CHF |
Profit_margin_percentage |
Code Block |
---|
language | sql |
---|
title | vf_statistics.Profit_margin_percentage |
---|
collapse | true |
---|
| (if (Selling_amount <> 0) then (Profit_margin / Selling_amount ) else 0 endif) |
| numeric | Deckungsbeitrag / Marge des Verkaufs in Prozent % | DB in % | Marge en % | Margin in % | Margin in % |