public static RetailKitOrderJournal CreateRetailKitOrderJournal(string kitProductNumber,
                                                                        string kitConfigId,
                                                                        string name,
                                                                        decimal quantity,
                                                                        long kitOrder,
                                                                        global::Microsoft.Dynamics.DataEntities.RetailKitOrder retailKitOrder)
        {
            RetailKitOrderJournal retailKitOrderJournal = new RetailKitOrderJournal();

            retailKitOrderJournal.KitProductNumber = kitProductNumber;
            retailKitOrderJournal.KitConfigId      = kitConfigId;
            retailKitOrderJournal.Name             = name;
            retailKitOrderJournal.Quantity         = quantity;
            retailKitOrderJournal.KitOrder         = kitOrder;
            if ((retailKitOrder == null))
            {
                throw new global::System.ArgumentNullException("retailKitOrder");
            }
            retailKitOrderJournal.RetailKitOrder = retailKitOrder;
            return(retailKitOrderJournal);
        }
 partial void OnRetailKitOrderChanging(global::Microsoft.Dynamics.DataEntities.RetailKitOrder value);