fix(label query): fixes to only pull in active layouts
This commit is contained in:
@@ -21,7 +21,7 @@ select ext.Barcode
|
|||||||
,RunningNumber as runnungNumber
|
,RunningNumber as runnungNumber
|
||||||
,SsccEanRunningNumber as externalRunningNumber
|
,SsccEanRunningNumber as externalRunningNumber
|
||||||
,ArticleHumanReadableId
|
,ArticleHumanReadableId
|
||||||
,case when LabelManagementHumanReadableId is null then (select HumanReadableId from [test1_AlplaPROD2.0_Read].[masterData].[LabelManagement] (nolock) where LabelMarkerId = 7) else LabelManagementHumanReadableId end as labelLayout
|
,case when LabelManagementHumanReadableId is null then (select HumanReadableId from [test1_AlplaPROD2.0_Read].[masterData].[LabelManagement] (nolock) where LabelMarkerId = 7 and Active = 1) else LabelManagementHumanReadableId end as labelLayout
|
||||||
,case when EinlagerungsMengeSum IS NULL then 'notOnStock' else 'onStock' end as stockStatus
|
,case when EinlagerungsMengeSum IS NULL then 'notOnStock' else 'onStock' end as stockStatus
|
||||||
from [test1_AlplaPROD2.0_Read].[labelling].[ExternalLabel] (nolock) as ext
|
from [test1_AlplaPROD2.0_Read].[labelling].[ExternalLabel] (nolock) as ext
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user