Quintiq file version 2.0
|
#parent: #root
|
Method Initialize () id:Method_DialogCreateEditSupplyCost_Initialize
|
{
|
#keys: '[145730.1.1199837130]'
|
Body:
|
[*
|
// Initialize form
|
// Workaround: Account dropdown using selection changed to disabled itself when batch edit (as not able to disable from here before show modal)
|
|
// Set inventory supply related data as readonly
|
this.SetAllReadOnly();
|
|
// Enable / disable checkboxCost
|
this.EnableDisableBatch();
|
|
// Set drop down list account data
|
allowedAccounts := construct( Account_MPs );
|
allowedCostDrivers := construct( Strings );
|
MacroPlan.GetAccounts( Form.GetCostType(), &allowedAccounts, &allowedCostDrivers );
|
DataHolderAllowedAccounts.Data( &allowedAccounts );
|
|
// Set Label
|
this.SetLabel();
|
|
// Show the dialog
|
ApplicationMacroPlanner.ShowFormModal( this );
|
*]
|
}
|