<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="https://frp.sage.fr/wiki1000/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="fr">
		<id>https://frp.sage.fr/wiki1000/index.php?action=history&amp;feed=atom&amp;title=SData_quick_start_%28sdata%29</id>
		<title>SData quick start (sdata) - Historique des versions</title>
		<link rel="self" type="application/atom+xml" href="https://frp.sage.fr/wiki1000/index.php?action=history&amp;feed=atom&amp;title=SData_quick_start_%28sdata%29"/>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=SData_quick_start_(sdata)&amp;action=history"/>
		<updated>2026-06-13T13:44:37Z</updated>
		<subtitle>Historique pour cette page sur le wiki</subtitle>
		<generator>MediaWiki 1.18.6</generator>

	<entry>
		<id>https://frp.sage.fr/wiki1000/index.php?title=SData_quick_start_(sdata)&amp;diff=5051&amp;oldid=prev</id>
		<title>Syfre : /* Second setp : Create a basic model */</title>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=SData_quick_start_(sdata)&amp;diff=5051&amp;oldid=prev"/>
				<updated>2011-05-05T09:32:38Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Second setp : Create a basic model&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Version précédente&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version du 5 mai 2011 à 09:32&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 10 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 10 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Second setp : Create a basic model===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Second setp : Create a basic model===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A typical sdata application contains a persistent entity model and a sdata &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;contract &lt;/del&gt;which expose this model. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A typical sdata application contains a persistent entity model and a sdata &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Contract &lt;/ins&gt;which expose this model. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Create a new package of type &amp;quot;Paquet de classe métier&amp;quot;, this &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;packet &lt;/del&gt;will be your entity model&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Create a new package of type &amp;quot;Paquet de classe métier&amp;quot;, this &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;package &lt;/ins&gt;will be your entity model&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Add model elements to this &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;packet &lt;/del&gt;: enumerations, classes, ....&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Add model elements to this &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;package &lt;/ins&gt;: enumerations, classes, ....&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Create a new &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;packet &lt;/del&gt;of type &amp;quot;Paquet de service local&amp;quot;, this &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;packet &lt;/del&gt;will be your sdata &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;contract&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Create a new &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;package &lt;/ins&gt;of type &amp;quot;Paquet de service local&amp;quot;, this &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;package &lt;/ins&gt;will be your sdata &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Contract&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:*In the contract field enter the sdata &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;contract &lt;/del&gt;name &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:*In the contract field enter the sdata &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Contract &lt;/ins&gt;name &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:*In the domaine enter the sdata contract URI, typically this is the same URI as the packet.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;:*In the domaine enter the sdata contract URI, typically this is the same URI as the packet.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*In the service &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;packet &lt;/del&gt;add views for your entity, select &amp;quot;Classe entité de service local&amp;quot; as the view &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;stéréotype&lt;/del&gt;. You can add properties with the &amp;quot;Importer les attributs de la classe de base&amp;quot; button&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*In the service &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;package &lt;/ins&gt;add views for your entity, select &amp;quot;Classe entité de service local&amp;quot; as the view &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;stereotype&lt;/ins&gt;. You can add properties with the &amp;quot;Importer les attributs de la classe de base&amp;quot; button&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You have now a basic model with its associate sdata &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;contract&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You have now a basic model with its associate sdata &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Contract&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Third step : Enter basic datas===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;===Third step : Enter basic datas===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Syfre</name></author>	</entry>

	<entry>
		<id>https://frp.sage.fr/wiki1000/index.php?title=SData_quick_start_(sdata)&amp;diff=5050&amp;oldid=prev</id>
		<title>Syfre : /* Second setp : Create a basic model */</title>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=SData_quick_start_(sdata)&amp;diff=5050&amp;oldid=prev"/>
				<updated>2011-05-05T09:31:34Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;span class=&quot;autocomment&quot;&gt;Second setp : Create a basic model&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Version précédente&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Version du 5 mai 2011 à 09:31&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 12 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 12 :&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A typical sdata application contains a persistent entity model and a sdata contract which expose this model. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A typical sdata application contains a persistent entity model and a sdata contract which expose this model. &amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Create a new &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;packet &lt;/del&gt;of type &amp;quot;Paquet de classe métier&amp;quot;, this packet will be your entity model&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Create a new &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;package &lt;/ins&gt;of type &amp;quot;Paquet de classe métier&amp;quot;, this packet will be your entity model&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Add model elements to this packet : enumerations, classes, ....&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Add model elements to this packet : enumerations, classes, ....&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Create a new packet of type &amp;quot;Paquet de service local&amp;quot;, this packet will be your sdata contract&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;*Create a new packet of type &amp;quot;Paquet de service local&amp;quot;, this packet will be your sdata contract&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Syfre</name></author>	</entry>

	<entry>
		<id>https://frp.sage.fr/wiki1000/index.php?title=SData_quick_start_(sdata)&amp;diff=5046&amp;oldid=prev</id>
		<title>Syfre : Page créée avec « ===First step : Create a simple application===  In the Administation tool   *Create an empty Application with the system module *Create a Folder for this application with an … »</title>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=SData_quick_start_(sdata)&amp;diff=5046&amp;oldid=prev"/>
				<updated>2011-05-05T09:14:20Z</updated>
		
		<summary type="html">&lt;p&gt;Page créée avec « ===First step : Create a simple application===  In the Administation tool   *Create an empty Application with the system module *Create a Folder for this application with an … »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===First step : Create a simple application===&lt;br /&gt;
&lt;br /&gt;
In the Administation tool &lt;br /&gt;
&lt;br /&gt;
*Create an empty Application with the system module&lt;br /&gt;
*Create a Folder for this application with an associate data base, add your user to the autorized user list&lt;br /&gt;
&lt;br /&gt;
You can now log in the application&lt;br /&gt;
&lt;br /&gt;
===Second setp : Create a basic model===&lt;br /&gt;
&lt;br /&gt;
A typical sdata application contains a persistent entity model and a sdata contract which expose this model. &lt;br /&gt;
&lt;br /&gt;
*Create a new packet of type &amp;quot;Paquet de classe métier&amp;quot;, this packet will be your entity model&lt;br /&gt;
*Add model elements to this packet : enumerations, classes, ....&lt;br /&gt;
*Create a new packet of type &amp;quot;Paquet de service local&amp;quot;, this packet will be your sdata contract&lt;br /&gt;
:*In the contract field enter the sdata contract name &lt;br /&gt;
:*In the domaine enter the sdata contract URI, typically this is the same URI as the packet.&lt;br /&gt;
*In the service packet add views for your entity, select &amp;quot;Classe entité de service local&amp;quot; as the view stéréotype. You can add properties with the &amp;quot;Importer les attributs de la classe de base&amp;quot; button&lt;br /&gt;
&lt;br /&gt;
You have now a basic model with its associate sdata contract&lt;br /&gt;
&lt;br /&gt;
===Third step : Enter basic datas===&lt;br /&gt;
&lt;br /&gt;
If your model uses currency you have to define some framework objects :&lt;br /&gt;
&lt;br /&gt;
*Some currencies, you need at least the account currency (euro in Europe, iso code EUR)&lt;br /&gt;
:Use the data explorer, select Framework classes and &amp;quot;Devise&amp;quot;, add the needed currencies&lt;br /&gt;
*Some system parameter : DeviseTC and DeviseRP &lt;br /&gt;
:Use the data explorer, sleect Framework classes and &amp;quot;Paramètre systeme&amp;quot;, add the two object with code DeviseTC and DeviseRP and value the account currency iso code you just added.&lt;br /&gt;
&lt;br /&gt;
After that you have working monetary types and you wan create simple set of datas for your model entities.&lt;br /&gt;
&lt;br /&gt;
===Four step : Set up a service for your application===&lt;br /&gt;
&lt;br /&gt;
* In your serverl1000.ini add entry for your application, this example is a simple entry&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[\SOFTWARE\Sage\Ligne 1000\Administration\Servers\SYFRE]&lt;br /&gt;
Master Profil=dbMasterTahoe&lt;br /&gt;
Server Societies=Test Syfre iPhone&lt;br /&gt;
Server Application=Test Syfre IPhone&lt;br /&gt;
Server User=syfre&lt;br /&gt;
Server Password=&lt;br /&gt;
Public Folder=D:\Mes documents\Server\&lt;br /&gt;
BP Started=1&lt;br /&gt;
Automate Started=0&lt;br /&gt;
DEBUGGER Started=1&lt;br /&gt;
DEBUGGER Users=toto,titi&lt;br /&gt;
SESSIONS profil=CONFIG_SESSION_1&lt;br /&gt;
SOAP Profil=CONFIG_SOAP_1&lt;br /&gt;
SNMP Profil=CONFIG_SNMP_1&lt;br /&gt;
SMTP Profil=CONFIG_SMTP_2&lt;br /&gt;
PROCESS Profil=CONFIG_PROCESS_1&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
sdata requires to expose end points in the service registry, end point defines contracts and dataset which are serviced by the Service.&lt;br /&gt;
&lt;br /&gt;
To defines these end points you need a SData section, this example defines a end point for a ndfContract on a iphone dataset :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
[\SOFTWARE\Sage\Ligne 1000\Administration\Servers\SYFRE\SData\1]&lt;br /&gt;
DataSetName=iphone&lt;br /&gt;
Title=syfre iphone&lt;br /&gt;
Contract=ndfContract&lt;br /&gt;
Version=1&lt;br /&gt;
Folder=Test Syfre iPhone&lt;br /&gt;
Database=dbTestIPhone&lt;br /&gt;
Society=&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You can now start your service and test sdata access using any browser : &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
Show contract list :&lt;br /&gt;
http://syfre/syfre/server/sdata/l1000&lt;br /&gt;
&lt;br /&gt;
Show dataset list for a contract :&lt;br /&gt;
http://syfre/syfre/server/sdata/l1000/ndfContract&lt;br /&gt;
&lt;br /&gt;
Show entity list for a contract in a dataset&lt;br /&gt;
http://syfre/syfre/server/sdata/l1000/ndfContract/iphone&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
[[Category:SData]]&lt;/div&gt;</summary>
		<author><name>Syfre</name></author>	</entry>

	</feed>