public EcoResProductDisplayProductNumber getProductVariants(SalesLine _saleLine)
{
InventDimCombination inventDimCombination = InventDimCombination::findVariantId(_saleLine.RetailVariantId);
InventDim inventDim;
InventDistinctProductExpanded inventDistinctProductExpanded;
select inventDistinctProductExpanded
where inventDistinctProductExpanded.ItemId == _saleLine.ItemId
&& inventDistinctProductExpanded.InventDimId == inventDimCombination.InventDimId;
return inventDistinctProductExpanded.DisplayProductNumber;
}
No comments:
Post a Comment
Give me the commetns and solutions