partial void OnIsRegisteredChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.NoYes> value);
 partial void OnReviewResultChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.WHSAcceptReject> value);
Exemplo n.º 3
0
 partial void OnBarcodeTypeChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.BarcodeType> value);
 partial void OnAccessRestrictionChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.DocuRestriction> value);
 partial void OnBooleanValueChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.NoYes> value);
Exemplo n.º 6
0
 public static void Set_Windows_UI_Xaml_Controls_Primitives_ToggleButton_IsChecked(global::Windows.UI.Xaml.Controls.Primitives.ToggleButton obj, global::System.Nullable <global::System.Boolean> value, string targetNullValue)
 {
     if (value == null && targetNullValue != null)
     {
         value = (global::System.Nullable <global::System.Boolean>)global::Windows.UI.Xaml.Markup.XamlBindingHelper.ConvertValue(typeof(global::System.Nullable <global::System.Boolean>), targetNullValue);
     }
     obj.IsChecked = value;
 }
 partial void OnOperationRateMethodChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.JmgJobPayTypeEnum> value);
Exemplo n.º 8
0
 partial void OnAccountGroupingsChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.TableGroupAll> value);
 partial void OnAccrualDateBasisChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.PayrollAccrualDateBasis> value);
 partial void OnOperationPriorityChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.RouteOprPriority> value);
Exemplo n.º 11
0
 partial void OnRoundOffCalculationChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.NoYes> value);
Exemplo n.º 12
0
 partial void OnCostPriceModelChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.BOMCostPriceModel> value);
Exemplo n.º 13
0
 partial void OnAreCostPricesAllowedChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.NoYes> value);
Exemplo n.º 14
0
 partial void OnCostingTypeChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.CostingVersionCostingType> value);
 partial void OnNextOperationLinkTypeChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.SchedJobLinkType> value);
Exemplo n.º 16
0
 partial void OnSaleOrScrapChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.AssetSoldScrap> value);
 partial void OnAdditionalCostsFormInvoiceChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.PlSADPostingRule> value);
Exemplo n.º 18
0
 partial void OnSalesValueTypeChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.AssetPostType> value);
 partial void OnMiscPaymentsChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.PlSADPostingRule> value);
Exemplo n.º 20
0
 partial void OnSalesTaxIncludedChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.NoYes> value);
        public virtual int InsertProductionProjectMaterialRequestItems(global::System.Nullable <int> MaterialRequestID, global::System.Nullable <int> PartID, global::System.Nullable <int> Quantity)
        {
            global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[0]));
            if ((MaterialRequestID.HasValue == true))
            {
                command.Parameters[1].Value = ((int)(MaterialRequestID.Value));
            }
            else
            {
                command.Parameters[1].Value = global::System.DBNull.Value;
            }
            if ((PartID.HasValue == true))
            {
                command.Parameters[2].Value = ((int)(PartID.Value));
            }
            else
            {
                command.Parameters[2].Value = global::System.DBNull.Value;
            }
            if ((Quantity.HasValue == true))
            {
                command.Parameters[3].Value = ((int)(Quantity.Value));
            }
            else
            {
                command.Parameters[3].Value = global::System.DBNull.Value;
            }
            global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
            if (((command.Connection.State & global::System.Data.ConnectionState.Open)
                 != global::System.Data.ConnectionState.Open))
            {
                command.Connection.Open();
            }
            int returnValue;

            try {
                returnValue = command.ExecuteNonQuery();
            }
            finally {
                if ((previousConnectionState == global::System.Data.ConnectionState.Closed))
                {
                    command.Connection.Close();
                }
            }
            return(returnValue);
        }
Exemplo n.º 22
0
 partial void OnIsPolicyActiveChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.NoYes> value);
Exemplo n.º 23
0
 partial void OnAgencyWasNotifiedChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.NoYes> value);
 partial void OnProductImageUsageChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.EcoResProductImageUsage> value);
 partial void OnValidateSalesTaxChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.FieldControl> value);
 partial void OnIsProductImageChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.NoYes> value);
 partial void OnAutoAllocateChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.NoYes> value);
 partial void OnWorkStatusChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.WHSWorkStatus> value);
 partial void OnSalesTaxDirectionChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.SalesPurch> value);
Exemplo n.º 30
0
 public virtual int GetAccountsOstat(global::System.Nullable<int> accounts_id, ref global::System.Nullable<int> count) {
     global::System.Data.SqlClient.SqlCommand command = ((global::System.Data.SqlClient.SqlCommand)(this.CommandCollection[0]));
     if ((accounts_id.HasValue == true)) {
         command.Parameters[1].Value = ((int)(accounts_id.Value));
     }
     else {
         command.Parameters[1].Value = global::System.DBNull.Value;
     }
     if ((count.HasValue == true)) {
         command.Parameters[2].Value = ((int)(count.Value));
     }
     else {
         command.Parameters[2].Value = global::System.DBNull.Value;
     }
     global::System.Data.ConnectionState previousConnectionState = command.Connection.State;
     if (((command.Connection.State & global::System.Data.ConnectionState.Open) 
                 != global::System.Data.ConnectionState.Open)) {
         command.Connection.Open();
     }
     int returnValue;
     try {
         returnValue = command.ExecuteNonQuery();
     }
     finally {
         if ((previousConnectionState == global::System.Data.ConnectionState.Closed)) {
             command.Connection.Close();
         }
     }
     if (((command.Parameters[2].Value == null) 
                 || (command.Parameters[2].Value.GetType() == typeof(global::System.DBNull)))) {
         count = new global::System.Nullable<int>();
     }
     else {
         count = new global::System.Nullable<int>(((int)(command.Parameters[2].Value)));
     }
     return returnValue;
 }
Exemplo n.º 31
0
 partial void OnIsVersionBlockedChanging(global::System.Nullable <global::Microsoft.Dynamics.DataEntities.NoYesCombo> value);