Quintiq file version 2.0
|
#parent: #root
|
Method EditPISPSpecification (
|
internal[GUIComponent] parent,
|
structured[ProductInStockingPoint_MP] pisps
|
) id:Method_DialogCreateEditPISPSpecification_EditPISPSpecification
|
{
|
#keys: '[124808.1.581116150]'
|
Body:
|
[*
|
// Create / edit inventory value and costs and PISP specification
|
|
isbatchedit := pisps.Size() > 1;
|
|
pisp := pisps.Element( 0 );
|
DataHolderPISP.Data( pisp );
|
|
data := shadow( pisp.Product_MP() );
|
Dialog.Data( data );
|
|
Dialog.SetDefaultValue();
|
|
Dialog.ShowHideComponents( isbatchedit );
|
Dialog.EnableDisableComponents();
|
|
result := Dialog.DoModal( parent );
|
|
if( result > 0 )
|
{
|
Dialog.SynchronizePISPSpecification( pisps );
|
data.Commit();
|
}
|
*]
|
}
|