<?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_UpdateProductService</id>
		<title>API UpdateProductService - 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_UpdateProductService"/>
		<link rel="alternate" type="text/html" href="https://podpora.nextis.cz/index.php?title=API_UpdateProductService&amp;action=history"/>
		<updated>2026-05-07T21:59:58Z</updated>
		<subtitle>Historie editací této stránky</subtitle>
		<generator>MediaWiki 1.28.2</generator>

	<entry>
		<id>https://podpora.nextis.cz/index.php?title=API_UpdateProductService&amp;diff=2333&amp;oldid=prev</id>
		<title>Chrzaszcz: Založena nová stránka s textem „==== Description ==== Method allows You to update product service in system.  ==== Exact name ==== &lt;code&gt;API_UpdateProductService&lt;/code&gt;  ==== Type ==== St…“</title>
		<link rel="alternate" type="text/html" href="https://podpora.nextis.cz/index.php?title=API_UpdateProductService&amp;diff=2333&amp;oldid=prev"/>
				<updated>2019-11-05T15:32:04Z</updated>
		
		<summary type="html">&lt;p&gt;Založena nová stránka s textem „==== Description ==== Method allows You to update product service in system.  ==== Exact name ==== &amp;lt;code&amp;gt;API_UpdateProductService&amp;lt;/code&amp;gt;  ==== Type ==== St…“&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 product service in system.&lt;br /&gt;
&lt;br /&gt;
==== Exact name ====&lt;br /&gt;
&amp;lt;code&amp;gt;API_UpdateProductService&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Type ====&lt;br /&gt;
Standard executable stored procedure.&lt;br /&gt;
&lt;br /&gt;
==== Specification ====&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Parameter&lt;br /&gt;
!Data type&lt;br /&gt;
!Value range&lt;br /&gt;
!Description&lt;br /&gt;
!Relation&lt;br /&gt;
|-&lt;br /&gt;
|@ID&lt;br /&gt;
|int&lt;br /&gt;
|&lt;br /&gt;
|Internal system id&lt;br /&gt;
|API_GetProductService.ID&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;
|@Name&lt;br /&gt;
|nvarchar(150) &lt;br /&gt;
|&lt;br /&gt;
|Name&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;
|@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;
|@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;
|@EshopHide&lt;br /&gt;
|int&lt;br /&gt;
|&lt;br /&gt;
|Eshop hide: &lt;br /&gt;
0 = show, 1 = hide &lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|@RetailPrice&lt;br /&gt;
|decimal(19,6) &lt;br /&gt;
|&lt;br /&gt;
|Retail price&lt;br /&gt;
|&lt;br /&gt;
|-&lt;br /&gt;
|@IsArchiving&lt;br /&gt;
|int&lt;br /&gt;
|&lt;br /&gt;
|Is archiving: &lt;br /&gt;
0 = No, 1 = Yes&lt;br /&gt;
|&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==== Return ====&lt;br /&gt;
 0 : OK&lt;br /&gt;
 100 : Item could not be updated&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  @ID int&lt;br /&gt;
 DECLARE  @ProductCode nvarchar(40)&lt;br /&gt;
 DECLARE  @Name nvarchar(150)&lt;br /&gt;
 DECLARE  @Description nvarchar(250)&lt;br /&gt;
 DECLARE  @UnitID int&lt;br /&gt;
 DECLARE  @VATRate int&lt;br /&gt;
 DECLARE  @EshopHide int&lt;br /&gt;
 DECLARE  @RetailPrice decimal(19,6)&lt;br /&gt;
 DECLARE  @IsArchiving int&lt;br /&gt;
 &lt;br /&gt;
 &lt;br /&gt;
 SELECT @ID = [ID], &lt;br /&gt;
       @ProductCode = [ProductCode],&lt;br /&gt;
       @Name = [Name],&lt;br /&gt;
       @Description = [Description],&lt;br /&gt;
       @UnitID = [UnitID],&lt;br /&gt;
       @VATRate = [VATRate],&lt;br /&gt;
       @EshopHide = [EshopHide],&lt;br /&gt;
       @RetailPrice = 50.5,&lt;br /&gt;
       @IsArchiving = [IsArchiving]&lt;br /&gt;
 FROM   [API_GetProductService] &lt;br /&gt;
 WHERE  id = 3&lt;br /&gt;
&lt;br /&gt;
 EXECUTE @return_value = [API_UpdateProductService] &lt;br /&gt;
  @ID,&lt;br /&gt;
  @ProductCode,&lt;br /&gt;
  @Name,&lt;br /&gt;
  @Description,&lt;br /&gt;
  @UnitID,&lt;br /&gt;
  @VATRate,&lt;br /&gt;
  @EshopHide,&lt;br /&gt;
  @RetailPrice,&lt;br /&gt;
  @IsArchiving&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==== Notices ====&lt;br /&gt;
None.&lt;/div&gt;</summary>
		<author><name>Chrzaszcz</name></author>	</entry>

	</feed>