Quintiq file version 2.0
|
#parent: #root
|
Method AssignAndCreateCosts (
|
StockingPoint_MPs stockingpoints
|
)
|
{
|
Description: 'Assigns the account to a stocking point, and create default costs'
|
TextBody:
|
[*
|
// ying ying Nov-4-2013 (created)
|
traverse( stockingpoints, Elements, stockingpoint )
|
{
|
accountassignment := this.Assign( stockingpoint );
|
|
if( not accountassignment.IsUsed() )
|
{
|
stockingpoint.CreateDefaultCost( this );
|
}
|
}
|
*]
|
}
|