public static RetailStoreHardwareStation CreateRetailStoreHardwareStation(string storeNumber, string eftTerminalId, string hostName, string hardwareProfileId, long mergedSelfServicePackageReference, long selfServicePackage, int port, global::Microsoft.Dynamics.DataEntities.RetailStore retailStore, global::Microsoft.Dynamics.DataEntities.RetailHardwareStation retailHardwareStation) { RetailStoreHardwareStation retailStoreHardwareStation = new RetailStoreHardwareStation(); retailStoreHardwareStation.StoreNumber = storeNumber; retailStoreHardwareStation.EftTerminalId = eftTerminalId; retailStoreHardwareStation.HostName = hostName; retailStoreHardwareStation.HardwareProfileId = hardwareProfileId; retailStoreHardwareStation.MergedSelfServicePackageReference = mergedSelfServicePackageReference; retailStoreHardwareStation.SelfServicePackage = selfServicePackage; retailStoreHardwareStation.Port = port; if ((retailStore == null)) { throw new global::System.ArgumentNullException("retailStore"); } retailStoreHardwareStation.RetailStore = retailStore; if ((retailHardwareStation == null)) { throw new global::System.ArgumentNullException("retailHardwareStation"); } retailStoreHardwareStation.RetailHardwareStation = retailHardwareStation; return(retailStoreHardwareStation); }
public static RetailChannelPriceGroup CreateRetailChannelPriceGroup(string groupCode, string retailChannelId, global::Microsoft.Dynamics.DataEntities.OnlineChannel onlineChannel, global::Microsoft.Dynamics.DataEntities.RetailCallCenter retailCallCenter, global::Microsoft.Dynamics.DataEntities.RetailChannel retailChannel, global::Microsoft.Dynamics.DataEntities.RetailStore retailStore) { RetailChannelPriceGroup retailChannelPriceGroup = new RetailChannelPriceGroup(); retailChannelPriceGroup.GroupCode = groupCode; retailChannelPriceGroup.RetailChannelId = retailChannelId; if ((onlineChannel == null)) { throw new global::System.ArgumentNullException("onlineChannel"); } retailChannelPriceGroup.OnlineChannel = onlineChannel; if ((retailCallCenter == null)) { throw new global::System.ArgumentNullException("retailCallCenter"); } retailChannelPriceGroup.RetailCallCenter = retailCallCenter; if ((retailChannel == null)) { throw new global::System.ArgumentNullException("retailChannel"); } retailChannelPriceGroup.RetailChannel = retailChannel; if ((retailStore == null)) { throw new global::System.ArgumentNullException("retailStore"); } retailChannelPriceGroup.RetailStore = retailStore; return(retailChannelPriceGroup); }
public static StoreShelf CreateStoreShelf(string dataAreaId, string storeNumber, string sectionNumber, string shelfNumber, decimal sectionPercent, global::Microsoft.Dynamics.DataEntities.RetailStore retailStore) { StoreShelf storeShelf = new StoreShelf(); storeShelf.dataAreaId = dataAreaId; storeShelf.StoreNumber = storeNumber; storeShelf.SectionNumber = sectionNumber; storeShelf.ShelfNumber = shelfNumber; storeShelf.SectionPercent = sectionPercent; if ((retailStore == null)) { throw new global::System.ArgumentNullException("retailStore"); } storeShelf.RetailStore = retailStore; return(storeShelf); }
partial void OnRetailStoreChanging(global::Microsoft.Dynamics.DataEntities.RetailStore value);
public static RetailStoreLocatorGroupOwner CreateRetailStoreLocatorGroupOwner(string storeLocatorGroupName, string oMOperatingUnitNumber, global::Microsoft.Dynamics.DataEntities.OnlineChannel onlineChannel, global::Microsoft.Dynamics.DataEntities.RetailStore retailStore) { RetailStoreLocatorGroupOwner retailStoreLocatorGroupOwner = new RetailStoreLocatorGroupOwner(); retailStoreLocatorGroupOwner.StoreLocatorGroupName = storeLocatorGroupName; retailStoreLocatorGroupOwner.OMOperatingUnitNumber = oMOperatingUnitNumber; if ((onlineChannel == null)) { throw new global::System.ArgumentNullException("onlineChannel"); } retailStoreLocatorGroupOwner.OnlineChannel = onlineChannel; if ((retailStore == null)) { throw new global::System.ArgumentNullException("retailStore"); } retailStoreLocatorGroupOwner.RetailStore = retailStore; return(retailStoreLocatorGroupOwner); }