<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="cs">
	<id>https://podpora.nextis.cz/index.php?action=history&amp;feed=atom&amp;title=API_ProductGroups_BULK</id>
	<title>API ProductGroups BULK - Historie editací</title>
	<link rel="self" type="application/atom+xml" href="https://podpora.nextis.cz/index.php?action=history&amp;feed=atom&amp;title=API_ProductGroups_BULK"/>
	<link rel="alternate" type="text/html" href="https://podpora.nextis.cz/index.php?title=API_ProductGroups_BULK&amp;action=history"/>
	<updated>2026-10-23T12:10:01Z</updated>
	<subtitle>Historie editací této stránky</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://podpora.nextis.cz/index.php?title=API_ProductGroups_BULK&amp;diff=2760&amp;oldid=prev</id>
		<title>Chrzaszcz: Založena nová stránka s textem „==== Description ==== Method allows You to update and create new product groups in system.  ==== Exact name ==== &lt;code&gt;API_ProductGroups_BULK&lt;/code&gt;  ====…“</title>
		<link rel="alternate" type="text/html" href="https://podpora.nextis.cz/index.php?title=API_ProductGroups_BULK&amp;diff=2760&amp;oldid=prev"/>
		<updated>2020-08-13T07:59:51Z</updated>

		<summary type="html">&lt;p&gt;Založena nová stránka s textem „==== Description ==== Method allows You to update and create new product groups in system.  ==== Exact name ==== &amp;lt;code&amp;gt;API_ProductGroups_BULK&amp;lt;/code&amp;gt;  ====…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nová stránka&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==== Description ====&lt;br /&gt;
Method allows You to update and create new product groups in system.&lt;br /&gt;
&lt;br /&gt;
==== Exact name ====&lt;br /&gt;
&amp;lt;code&amp;gt;API_ProductGroups_BULK&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Type ====&lt;br /&gt;
Standard executable stored procedure with table-Valued Parameters.&lt;br /&gt;
&lt;br /&gt;
==== Table-Valued Parameters Specification ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Columns name&lt;br /&gt;
!Data type&lt;br /&gt;
!Value range&lt;br /&gt;
!Description&lt;br /&gt;
!Relation&lt;br /&gt;
|-&lt;br /&gt;
|ProductCode&lt;br /&gt;
|nvarchar(40) &lt;br /&gt;
|&lt;br /&gt;
|Product code&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|TecDocCode&lt;br /&gt;
|nvarchar(35) &lt;br /&gt;
|&lt;br /&gt;
|TecDoc code&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|TecDocBrandName&lt;br /&gt;
|nvarchar(80) &lt;br /&gt;
|&lt;br /&gt;
|TecDoc brand name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|TecDocBrandID&lt;br /&gt;
|int &lt;br /&gt;
|&lt;br /&gt;
|TecDoc brand ID&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|GroupName&lt;br /&gt;
|nvarchar(100) &lt;br /&gt;
|&lt;br /&gt;
|Group name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|SubGoupName&lt;br /&gt;
|nvarchar(100) &lt;br /&gt;
|&lt;br /&gt;
|Sub goup name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|AssortmentName&lt;br /&gt;
|nvarchar(100) &lt;br /&gt;
|&lt;br /&gt;
|AssortmentName&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Name&lt;br /&gt;
|nvarchar(100) &lt;br /&gt;
|&lt;br /&gt;
|Name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Name2&lt;br /&gt;
|nvarchar(150)&lt;br /&gt;
|&lt;br /&gt;
|Name 2&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|IsNew&lt;br /&gt;
|bit &lt;br /&gt;
|&lt;br /&gt;
|Is new:&lt;br /&gt;
0 = Off,&lt;br /&gt;
&lt;br /&gt;
1 = On&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|PurchasePrice&lt;br /&gt;
|decimal(18,6) &lt;br /&gt;
|&lt;br /&gt;
|Purchase price&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|RetailPrice&lt;br /&gt;
|decimal(18,6) &lt;br /&gt;
|&lt;br /&gt;
|Retail price&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|SupplierID&lt;br /&gt;
|int&lt;br /&gt;
|&lt;br /&gt;
|Supplier ID&lt;br /&gt;
|API_GetCustomers.ID&lt;br /&gt;
|-&lt;br /&gt;
|Prefix&lt;br /&gt;
|nvarchar(3)&lt;br /&gt;
|&lt;br /&gt;
|Prefix&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|SupplierProductCode&lt;br /&gt;
|nvarchar(40)&lt;br /&gt;
|&lt;br /&gt;
|Supplier product code&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|ManufacturerSupplier&lt;br /&gt;
|nvarchar(50)&lt;br /&gt;
|&lt;br /&gt;
|Manufacturer supplier&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|SupplierItemName&lt;br /&gt;
|nvarchar(300)&lt;br /&gt;
|&lt;br /&gt;
|Supplier item name&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|BasicPrice&lt;br /&gt;
|decimal(19,6)&lt;br /&gt;
|&lt;br /&gt;
|Basic price&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|SupplierRetailPrice&lt;br /&gt;
|decimal(19,6)&lt;br /&gt;
|&lt;br /&gt;
|Supplier retail price&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|Description&lt;br /&gt;
|nvarchar(250) &lt;br /&gt;
|&lt;br /&gt;
|Description&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|EshopDescription&lt;br /&gt;
|nvarchar(500) &lt;br /&gt;
|&lt;br /&gt;
|Eshop description&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|VATRate&lt;br /&gt;
|int &lt;br /&gt;
|&lt;br /&gt;
|ID of VAT rates from VAT rates list (see relation)&lt;br /&gt;
|API_GetVATRates.ID&lt;br /&gt;
|-&lt;br /&gt;
|MinimumOrderablePieces&lt;br /&gt;
|decimal(18,2) &lt;br /&gt;
|&lt;br /&gt;
|Minimum orderable pieces&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|UnitID&lt;br /&gt;
|int &lt;br /&gt;
|&lt;br /&gt;
|ID of unit from units list (see relation)&lt;br /&gt;
|API_GetUnits.ID&lt;br /&gt;
|-&lt;br /&gt;
|IsSale&lt;br /&gt;
|bit&lt;br /&gt;
|&lt;br /&gt;
|Is sale:&lt;br /&gt;
0 = Off,&lt;br /&gt;
&lt;br /&gt;
1 = On&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|IsHiddenOnEshop&lt;br /&gt;
|bit&lt;br /&gt;
|&lt;br /&gt;
|Is hidden on eshop:&lt;br /&gt;
0 = Off,&lt;br /&gt;
&lt;br /&gt;
1 = On&lt;br /&gt;
|&lt;br /&gt;
&lt;br /&gt;
|-&lt;br /&gt;
|InfoReturnOfGoods&lt;br /&gt;
|nvarchar(50) &lt;br /&gt;
|&lt;br /&gt;
|Info return of goods&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|ID&lt;br /&gt;
|int&lt;br /&gt;
|&lt;br /&gt;
|Internal system id. If you create it, set it to null&lt;br /&gt;
|API_GetProductGroups.ID&lt;br /&gt;
|-&lt;br /&gt;
|IsArchiving&lt;br /&gt;
|int&lt;br /&gt;
|&lt;br /&gt;
|Is archiving. If you create it, set it to null&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|SupplierIsArchiving&lt;br /&gt;
|int&lt;br /&gt;
|&lt;br /&gt;
|Supplier is archiving. If you create it, set it to null&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Return ====&lt;br /&gt;
 0 : OK&lt;br /&gt;
 100 : Error&lt;br /&gt;
&lt;br /&gt;
==== Example ====&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;sql&amp;quot;&amp;gt;&lt;br /&gt;
 DECLARE @return_value int&lt;br /&gt;
Declare @ProductGroups dbo.APIsProductGroups &lt;br /&gt;
INSERT INTO @ProductGroups&lt;br /&gt;
SELECT  G.[ProductCode],&lt;br /&gt;
 G.[TecDocCode],&lt;br /&gt;
 G.[TecDocBrandName],&lt;br /&gt;
 G.[TecDocBrandID],&lt;br /&gt;
 G.[GroupName],&lt;br /&gt;
 G.[SubGoupName],&lt;br /&gt;
 G.[AssortmentName],&lt;br /&gt;
 G.[Name],&lt;br /&gt;
 G.[Name2],&lt;br /&gt;
 1, --G.[IsNew],&lt;br /&gt;
 G.[PurchasePrice],&lt;br /&gt;
 G.[RetailPrice],&lt;br /&gt;
 P.[SupplierID],&lt;br /&gt;
 P.[Prefix],&lt;br /&gt;
 P.[SupplierProductCode],&lt;br /&gt;
 P.[ManufacturerSupplier],&lt;br /&gt;
 P.[SupplierItemName],&lt;br /&gt;
 P.[BasicPrice],&lt;br /&gt;
 P.[RetailPrice],&lt;br /&gt;
 G.[Description],&lt;br /&gt;
 G.[EshopDescription],&lt;br /&gt;
 G.[VATRate],&lt;br /&gt;
 G.[MinimumOrderablePieces],&lt;br /&gt;
 G.[UnitID],&lt;br /&gt;
 G.[IsSale],&lt;br /&gt;
 G.[IsHiddenOnEshop],&lt;br /&gt;
 P.[InfoReturnOfGoods],&lt;br /&gt;
 G.[ID],&lt;br /&gt;
 G.[IsArchiving],&lt;br /&gt;
 P.[IsArchiving]&lt;br /&gt;
FROM [API_GetProductGroups] G&lt;br /&gt;
LEFT JOIN [API_GetProducts] P ON G.ID = P.GroupID&lt;br /&gt;
WHERE G.ID in (7,9)&lt;br /&gt;
union&lt;br /&gt;
SELECT &amp;#039;1457429619&amp;#039;, &amp;#039;1 457 429 619&amp;#039;, &amp;#039;BOSCH&amp;#039;, 30, &amp;#039;BOSCH&amp;#039;, null, null, &amp;#039;Name&amp;#039;, &amp;#039;&amp;#039;, 1, 100, 190, 7, &amp;#039;&amp;#039;, &amp;#039;1457429619BOS&amp;#039;, &amp;#039;BOSCH&amp;#039;, &amp;#039;&amp;#039;, 100, 220, &amp;#039;&amp;#039;, &amp;#039;&amp;#039;, 16028, 1, 148, 0, 0, &amp;#039;&amp;#039;, null, 0, 0&lt;br /&gt;
&lt;br /&gt;
exec @return_value = dbo.[API_ProductGroups_BULK] @ProductGroups&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Notices ====&lt;br /&gt;
API_ProductGroups_BULK procedure uses own data type called ProductGroups (dbo.APIsProductGroups).&lt;/div&gt;</summary>
		<author><name>Chrzaszcz</name></author>
	</entry>
</feed>