• Łukasz Nowak's avatar
    Delay stopping of delivery. · e6d6ff8d
    Łukasz Nowak authored
    During building Simulation Movement is modified (as delivery category is
    updated) and thus reindexation is being registered.
    
    While building not instance setup packing lists the simulation movement is
    touched while delivery is in confirmed state, so vifib simulation movement
    selection to be expanded works, as after later delivery being started or
    stopped expand is called and movements are updated (eg. confirmed delivery
    simulation movement has no children, but stopped has).
    
    But instance setup is being immediately stopped, so simulation movement is
    acquiring its simulation state from stopped packing lists, and alarm would
    never select it for reexpanding.
    
    By stopping delivery *after* movement is reindexed its simulation state is
    desynchronised and alarm is capable to select such movement.
    e6d6ff8d
VifibSalePackingList_postGeneration.xml 3.24 KB