►
From YouTube: Magento MSI Open Demo. March 2, 2018
Description
hey guys, in 5 minutes we will start traditional MSI weekly demo accessible by this URL - https://magento.zoom.us/j/355586473
Agenda:
1. @roman.kis RSS feed for Low Stock Qty notification
2. @Vjacheslav Moskalyuk will demonstrate bugfix for notifying Qty configuration
3. @aleron75 will share the current status of IsProductSalableInRequestedQty service which we use for both Quote and Checkout
4. @iminiailo will demonstrate Source Deduction as a result of Source Selection Algorithm processing (brought you by @seruymt)
A
During
this
week
we
spent
on
some
architectural
stuff,
and
we
we
spend
on
interface
as
we
need
for
for
the
souls
deduction
for
wood
and
for
checkout
later
during
this
meeting,
Alessandra
will
share
as
a
status
of
this
story,
and
this
is
pretty
important
stuff,
because
it's
supposed
to
tied
all
the
work
we've
done
before
the
source
deduction
which
will
present
today
and
the
source
selection
algorithm.
And
it's
a
quote
when
we
play
some
put
some
products
into
the
judges,
shopping
cart.
A
B
B
B
B
B
B
B
B
B
B
C
A
D
A
A
E
E
But
later
it
will
be
moved
to
inventory.
So
in
my
configuration,
I
said
value
for
notification,
5
and
I
go
to
the
product
like
I,
have
simple
products
and
previously
I
saved
the
different
value
for
x
entity.
But
when
I
check
this
checkbox,
you
may
see
maybe
already
that
it's
a
change
in
the
file
and
after
I
save
it.
A
A
F
Yes
in
my
screen,
hello,
everyone
I
started
from
this
issue
that
is
adding
a
new
service
for
for
checking
whether
product
is
scalable
in
the
context
of
the
shopping
cart.
So
I
already
began
working
on
that
and
submit
to
the
work
in
progress
to
request
about
this,
what
I'll
show
you
is
utterly
not
working
code,
because
I'm
in
the
middle
of
of
implementation
of
this
service.
Basically,
what
we
do
here
is
introducing
a
new
service
called
miss
product
saleable
for
requested
quantity
and
I'll.
Show
you
the
interface,
which
is,
as
usual,
a
single
method.
F
F
As
in
the
East
saleable,
we
exploit
the
was
composable
chain
of
conditions,
so,
as
you
can
see
here,
this
product
saleable,
which
is
agnostic
about
the
state
context,
is
defined
here
with
these
four
conditions
ordered
by
this
number
and
these
products
for
requested
corn.
That
is
a
chain
of
three
conditions.
F
The
the
new
one
that
I'm
implementing
is
these
called
is
correct.
Quantity
I'm,
still
in
the
middle
of
development,
but
basically
is
correct.
Quantity
is,
is
the
condition
which
checks
whether
the
requested
quantity
is
within
certain
limits
so
lower
and
the
hospital
limits,
because
you
know
that
we
can.
We
can
set
minimum
and
maximum
quantity
for
the
shopping
cart
for
product,
and
it
also
has
to
check
for,
for
example,
if
we
have
quantity
increments
enabled
that
the
quantity
that
put
into
the
car
is
exactly
is
an
exact
amount
of
quantity
and.
F
F
F
F
Here
the
list
of
his
products
available
checks
for
backorder,
managed
the
core
doctrine
enabled
manage
stock,
enable
saleability
with
reservations
and
min
quantity.
This
is
the
ones
for
his
product,
saleable
it's
not
in
the
context
of
solubility
of
sorry
of
shopping
cart,
and
this
one
did
three
they're
less,
because
the
East
card
quantity
already
checks
for
cell
ability
within
reservation.
So
basically
this
the
last
two
of
the
is
saleable
is
product.
Syllable
service
are
in
condensed
into
the
east,
correct
quantity
here
and
the
first
two
are
the
same.
F
F
A
So
yeah
we
will
finish
documentation.
We
already
have
some
of
the
documentation
and
we
will
provide
like
dedicated
article
in
homicide
scope
just
after
you
finish,
because
currently
we
are
still
a
little
bit
playing
around
with
this
interfaces
so
document.
So
we
already
have
the
documentation
in
the
issue
description
and
will
provide
the
key
presentation,
I
believe
till
next
demo,
when
we
will
integrate
this
service
in
both
wood
and.
C
C
A
But
on
a
previous
demo,
we
did
not
make
any
source
detection
as
the
result
of
this
algorithm,
and
today,
I
will
show
you,
the
cool
business
flow
from
order
creation
to
to
place
in
that
order,
create
a
reservation
for
that
order
and
the
making
a
shipment
and
launching
the
source
selection
algorithm
and
applying
that
algorithm
so
appliance
that
they
did
deductions
or
deduction
for
particular
source
items.
So
let
let's
see
what
we
currently
have
in
our
predefined
state.
So
currently
we
have
two
stocks.
A
The
stock
we're
probably
interested
in
is
Europe
stock
and
in
Europe
stock.
If
you'll
go
deeper,
will
see
that
there
are
three
sources
assigned
to
this
stock
and
these
sources
are
Italy
Poland
in
Ukraine,
and
here
we
need
to
mention
that
this
is
an
order,
because
you
know
here
we
can
move
this
order
and
actually
the
order
describe
the
priority
between
the
sources.
So
currently,
the
Italy
has
the
highest
priority.
A
The
Poland
has
little
little
less
priorities
in
Italy
and
the
least
priority
as
Ukraine,
so
actually
the
order
will
matter
for
the
source,
selection
or
the
reason,
because
current
source
selection
algorithm.
We
have
Iran
and
provide
the
rearrangement
of
of
the
source
item
based
on
the
priority
factor.
So
now,
let
me
show
you
the
products.
A
So
currently
we
interested
in
two
products
that
simple
product
test,
simple
product,
to
don't
pay
attention
on
this
little
JavaScript
issue
we'll
have
it.
We
already
have
a
dedicated
issue
to
fix
the
sound,
but
currently
what
we
are
mostly
interested
in,
let's
go
and
see
to
these
particular
products
and
what
the
stocks
we
have
for
this
product.
A
A
A
And,
for
example,
we
would
like
to
order
tests
simple
product
in
quantity,
10
and
test
simple
product
in
the
quantity
5-
and
here
we
add
this
product
to
the
order
items
and
let's
use
a
shipping
method
for
the
order.
Let's
make
some
small
face.
Small
present
for
the
drum
pod
Ronan
will
make
a
ship
free
shipping
so
unless
finally
place
an
order.
A
A
But
actually
before
that
we
can
see
not
even
procedure
to
the
shipment
step.
We
can
see
as
a
store
selection
and
see
the
idea
of
the
from
which
sources
we
are
going
to
fulfill
the
border.
So
if
you
remember
we
have
we
have
the
we
have
product
test,
simple
product
which
is
assigned
to
Poland
and
Ukraine
and
Italy,
and
the
product
test
test,
simple
product
which
is
sent
to
Italy
in
Ukraine.
E
A
Taken
into
account
that
Ukraine
has
has
lowest
priority
among
all
of
them.
We,
our
source
selection,
algorithm
aching.
The
sorting
by
priority
should
not
make
any
delivery
from
Ukraine,
so
the
product
test,
simple
product
supposed
to
be
delivered
from
Poland
and
the
product
test
simple
product
supposed
to
be
delivered
from
Italy.
A
C
A
Will
we
already
have
ue
X
provided
by
European
bonnet
and
actually
the
main
idea
here
so
we'll
we
will
add
some
more
functionality
on
UX,
because
currently
years
has
just
read
only
but
what
we
are
going
to
add
here.
We
need
to
provide
the
possibility
of
editing
the
whole
source
selection,
Elbrus
I
will
I
will
actually
show
you
I
suppose.
No.
A
A
A
Refresh
these
pages,
so
we
can
see
that
stock
has
been
updated
for
the
test,
simple
product
from
which,
which
we
delivered
from
the
Italian
source.
Now,
let's
go
to
yeah
to
test
simple
product,
1
refresh
the
page
and
see
that
this
product
has
been
delivered
from
the
poland
source.
Also
now
we
need
to
verify
that
we
create
the
compensation
reservation.
This
way,
let's
return
to
my
high
security
console
and
my
scale
connection
and
launch
this.
A
A
Some
small
issue
that
we
created
reservation
0
reservation
for
Ukraine
and
we
will
fix
it
out
pretty
soon.
But
actually,
even
you
know,
the
zero
reservation
for
Ukraine
don't
affect
the
the
final
quantity.
So
you
see
that
currently
we
are
up
in
the
running.
We
make
the
source
deduction
and
we
in
the
scope
of
the
source
deduction.
We
also
create
the
computational
reservation.
This
logic
happens
in
the
same
transaction,
so.
C
A
We
we
have
a
cron
mechanism
and
in
this
Crone
mechanism
we
can
we
actually
we
do
a
cleanup
and
how
that
they
cannot
work
clean
up,
make
a
grouping,
and
if
it
sees
that
there
are
reservation
items
and
the
total
quantity
of
that
items,
grouping
together
will
equal
to
zero.
We
will
just
eliminate
this
iteration
ultimately,
but.
A
Leaves
in
a
reservation
so
it
it
doesn't
influence
the
total
quantity.
So
probably
if
it
does
not
equal
zero,
it
means
that
we
have
still
open
orders
which
we
need
to
process.
We
can.
We
can
introduce
more
sophisticated
mechanism
and
we
discarded
with
a
little
this
Alessandra.
So,
for
example,
we
can
find
if
we
have
minus
five
plus
five
minus
five.
A
C
I
would
say
it
might
be,
I
agree,
it
might
be
not
the
highest
priority,
but
this
approach-
I,
wouldn't
say
it's
very
safe.
If
there
is
some
condition
where
we
have
hanging
order
or
head
hanging
reservation,
then
for
some
for
something
for
that
product,
you
will
never
be
able
to
compact
its
reservation.
So
I
would
request
something
like
do.
E
E
A
C
A
C
A
Looks
like
it
was
the
last
option.
You
know
today's
agenda.
If
you
have
any
question,
please
please
you
can
raise
it
now
or
if
there
is
no
zero,
no
question
just
pinga
cinema
sites
like
channel,
we
are
always
open.
We
are
always
ready
for
for
your
question
and
to
provide
your
support
for
any
Affairs.
You
have
devoted
with
MSI
and.