| XML Kiosk |
| Technologie | XAS.Technology | Version | V 6.0.1 |
| Dernière modification | Lundi 2 Août 2010 | Par | Zaïr BEZGHICHE |
| Dernière vérification | Vendredi 13 Août 2010 | Par | Support France |
| Thème | Administration des Import/Export, (Web, Web Services, PDA, WidGet, Fat Client) | Fonction | FrmImport.CRITCreateProduit |
| Prototype |
| Function CRITCreateProduit (sRef As String, sCrit As String, sDesi As String) As String |
| Usage | |||
| Administration-des-Import-Export.CRITCreateProduit(...) | |||
| HTTP (GET,POST) | SOAP WSDL | SOAP REST | XML-RPC |
| Format de sortie | |||
| XML | HTML | TEXT | EXCEL(CSV) |
| Code Source - développement open source |
| Function CRITCreateProduit (sRef As String, sCrit As String, sDesi As String) As String |
Function CRITCreateProduit (sRef As String, sCrit As String, sDesi As String) As String
Dim Ret%
Dim sData$
CRITCreateProduit = ""
If sRef = "" Then
Exit Function
End If
sData = "Select CodeProduit From Produit WHERE reference.string = '" + sRef + "'"
Ret = pExecute(sData)
If Ret = True And OnSqlGetItem(0) <> "" Then
CRITCreateProduit = OnSqlGetItem(0)
Else
Ret = pExecute("CLEAR")
sData = "INSERT INTO Produit (Type, codeclient,Creation,maj,reference,name,designation,"
sData = sData + "c13, c14, c15, c16,pointsdebit, pointscredit,action) "
sData = sData + " VALUES ('4','0.0','" + Date$ + "','" + Date$
sData = sData + "','" + sRef + "','" + XasSetChar(sRef, "'", "''", 0, 0) + "','" + XasSetChar(sDesi, "'", "''", 0, 0) + "',"
sData = sData + sCrit + ",'10','10','COMPONENT=HTMBAR;P1=erreurpage.htm;P2=;P3=12255x9600;P4=1;')"
Ret = pExecute(sData)
If Ret = True Then
Ret = XasUserGetString(1, sData)
CRITCreateProduit = sData
End If
End If
End Function
|
| Références XAS.Technology |
| Date , XasSetChar , XasUserGetString , |
| Audience |
| Cette documentation est destinée aux personnes s'intéressant aux systèmes d'information collaboratifs. Les Webservices, les architectures collabortives et distribuées, les moteurs transactionnelles et les concepts de programmation orientés objet. |
| XAS Services - Zaïr BEZGHICHE - Copyright 1991-2011 tous droits réservés- Powered by XAS.Technology |