public static RetailTillLayoutReportZone CreateRetailTillLayoutReportZone(string layoutId,
                                                                                  int deviceType,
                                                                                  string zoneId,
                                                                                  string reportID,
                                                                                  global::Microsoft.Dynamics.DataEntities.TillLayoutSize tillLayoutSize,
                                                                                  global::Microsoft.Dynamics.DataEntities.RetailTillLayoutZone retailTillLayoutZone,
                                                                                  global::Microsoft.Dynamics.DataEntities.RetailTillLayout retailTillLayout)
        {
            RetailTillLayoutReportZone retailTillLayoutReportZone = new RetailTillLayoutReportZone();

            retailTillLayoutReportZone.LayoutId   = layoutId;
            retailTillLayoutReportZone.DeviceType = deviceType;
            retailTillLayoutReportZone.ZoneId     = zoneId;
            retailTillLayoutReportZone.ReportID   = reportID;
            if ((tillLayoutSize == null))
            {
                throw new global::System.ArgumentNullException("tillLayoutSize");
            }
            retailTillLayoutReportZone.TillLayoutSize = tillLayoutSize;
            if ((retailTillLayoutZone == null))
            {
                throw new global::System.ArgumentNullException("retailTillLayoutZone");
            }
            retailTillLayoutReportZone.RetailTillLayoutZone = retailTillLayoutZone;
            if ((retailTillLayout == null))
            {
                throw new global::System.ArgumentNullException("retailTillLayout");
            }
            retailTillLayoutReportZone.RetailTillLayout = retailTillLayout;
            return(retailTillLayoutReportZone);
        }
 partial void OnRetailTillLayoutChanging(global::Microsoft.Dynamics.DataEntities.RetailTillLayout value);
Exemple #3
0
        public static TillLayoutConfiguration CreateTillLayoutConfiguration(string layoutId, string layoutSizeId, global::Microsoft.Dynamics.DataEntities.TillLayoutSize tillLayoutSize, global::Microsoft.Dynamics.DataEntities.RetailTillLayout retailTillLayout)
        {
            TillLayoutConfiguration tillLayoutConfiguration = new TillLayoutConfiguration();

            tillLayoutConfiguration.LayoutId     = layoutId;
            tillLayoutConfiguration.LayoutSizeId = layoutSizeId;
            if ((tillLayoutSize == null))
            {
                throw new global::System.ArgumentNullException("tillLayoutSize");
            }
            tillLayoutConfiguration.TillLayoutSize = tillLayoutSize;
            if ((retailTillLayout == null))
            {
                throw new global::System.ArgumentNullException("retailTillLayout");
            }
            tillLayoutConfiguration.RetailTillLayout = retailTillLayout;
            return(tillLayoutConfiguration);
        }
        public static RetailTillLayoutStaff CreateRetailTillLayoutStaff(string layoutId, string staffId, global::Microsoft.Dynamics.DataEntities.RetailTillLayout retailTillLayout)
        {
            RetailTillLayoutStaff retailTillLayoutStaff = new RetailTillLayoutStaff();

            retailTillLayoutStaff.LayoutId = layoutId;
            retailTillLayoutStaff.StaffId  = staffId;
            if ((retailTillLayout == null))
            {
                throw new global::System.ArgumentNullException("retailTillLayout");
            }
            retailTillLayoutStaff.RetailTillLayout = retailTillLayout;
            return(retailTillLayoutStaff);
        }