API CreateProduct: Porovnání verzí

Z Podpora.nextis.cz
Přejít na: navigace, hledání
Řádka 15: Řádka 15:
 
!Description
 
!Description
 
!Relation
 
!Relation
|-
 
|@GroupID
 
|int
 
|
 
|
 
|API_GetProductGroups.ID
 
 
|-
 
|-
 
|@SupplierID
 
|@SupplierID
 
|int  
 
|int  
 
|
 
|
|SupplierID
+
|Supplier ID
 
|API_GetCustomers.ID
 
|API_GetCustomers.ID
 
|-
 
|-
|@ProductCode
+
|@GroupID
|nvarchar(40)
 
|
 
|Product code
 
|
 
|-
 
|@TypeID
 
 
|int  
 
|int  
 
|
 
|
|TypeID.
+
|Group ID
1 - products
+
|API_GetProductGroups.ID
|
 
 
|-
 
|-
|@MinimumOrderableQuantity
+
|@SupplierProductCode
|decimal(18,2)  
+
|nvarchar(40)  
 
|
 
|
|Minimum orderable quantity
+
|Supplier product code
 
|
 
|
 
|-
 
|-
|@BasicPrice
+
|@ManufacturerSupplier
|decimal(18,6)  
+
|nvarchar(50)  
 
|
 
|
|Basic price
+
|Manufacturer supplier
 
|
 
|
 
|-
 
|-
|@CreatedDate
+
|@Prefix
|datetime
+
|nvarchar(3)
 
|
 
|
|Created date
+
|Prefix
|
 
|-
 
|@UpdatedDate
 
|datetime
 
|
 
|Updated date
 
 
|
 
|
 
|-
 
|-
Řádka 71: Řádka 52:
 
|
 
|
 
|-
 
|-
|@SupplierProductCode
+
|@MinimumOrderableQuantity
|nvarchar(40)  
+
|decimal(18,2)  
 
|
 
|
|Supplier product code
+
|Minimum orderable quantity
|
 
|-
 
|@Prefix
 
|nvarchar(3)
 
|
 
|Prefix
 
|
 
|-
 
|@ManufacturerSupplier
 
|nvarchar(50)
 
|
 
|Manufacturer supplier
 
 
|
 
|
 
|-
 
|-
Řádka 95: Řádka 64:
 
|
 
|
 
|-
 
|-
|@RetailPrice
+
|@BasicPrice
 
|decimal(18,6)  
 
|decimal(18,6)  
 
|
 
|
|Retail price
+
|Basic price
 
|
 
|
 
|}
 
|}

Verze z 7. 8. 2017, 09:23

Description

Method allows You to create new product in system.

Exact name

API_CreateProduct

Type

Standard executable stored procedure.

Specification

Parameter Data type Value range Description Relation
@SupplierID int Supplier ID API_GetCustomers.ID
@GroupID int Group ID API_GetProductGroups.ID
@SupplierProductCode nvarchar(40) Supplier product code
@ManufacturerSupplier nvarchar(50) Manufacturer supplier
@Prefix nvarchar(3) Prefix
@SupplierItemName nvarchar(150) Supplier item name
@MinimumOrderableQuantity decimal(18,2) Minimum orderable quantity
@ForeignPrice decimal(19,6) Foreign price
@BasicPrice decimal(18,6) Basic price

Example

EXEC [API_CreateProduct] @SupplierID= 2 ,@GroupID= 14 ,@SupplierProductCode= '1457429619BS' ,@ManufacturerSupplier= 'BOSCH2' ,@Prefix= '' ,@SupplierItemName= 'SupplierItemName' ,@MinimumOrderableQuantity= 1 ,@ForeignPrice= 110 ,@BasicPrice= 190

Notices

None.