Viewing 6 posts - 1 through 6 (of 6 total)
ThomasRushton (7/5/2016)
CASE WHEN ( @counted = 1 ) THEN @Stock
July 5, 2016 at 8:37 am
excellent , thanks , appreciating your help .
June 27, 2016 at 6:53 am
also if total demand less than or equal available it will result the issue,
my issue if total demand more than available but if less or equal i already add...
June 27, 2016 at 5:38 am
twin.devil (6/27/2016)
Share some of the sample data for which you are having issues.
you can change in the value of QtyDemand and it will result the issue
declare @Transaction table
(
ID...
June 27, 2016 at 5:21 am
twin.devil (6/27/2016)
declare @Transaction table
(
ID int
, Store char(3)
, SKU int
, AvailableQty int
, ReceivingStore char(3)
, QtyDemand int
)
insert into @Transaction
select 1, 'ST1', 100, 20, 'ST2', 14union all
select 2,...
June 27, 2016 at 5:10 am
twin.devil (6/27/2016)
quick question, you need TransferedQty column result through the query ???
yes exactly
June 27, 2016 at 3:25 am
Viewing 6 posts - 1 through 6 (of 6 total)