<?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=GetWhere_%28TSDataRemoteObject%29</id>
		<title>GetWhere (TSDataRemoteObject) - 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=GetWhere_%28TSDataRemoteObject%29"/>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=GetWhere_(TSDataRemoteObject)&amp;action=history"/>
		<updated>2026-05-06T04:20:33Z</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=GetWhere_(TSDataRemoteObject)&amp;diff=6744&amp;oldid=prev</id>
		<title>Syfre le 15 mars 2013 à 08:09</title>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=GetWhere_(TSDataRemoteObject)&amp;diff=6744&amp;oldid=prev"/>
				<updated>2013-03-15T08:09:50Z</updated>
		
		<summary type="html">&lt;p&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 15 mars 2013 à 08:09&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 49 :&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Ligne 49 :&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;{{Footer|Classe entité de service distant (stereotype)}}&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;{{Footer|Classe entité de service distant (stereotype)}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&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;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[Category:Stéréotype entité de service distant]]&lt;/ins&gt;&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=GetWhere_(TSDataRemoteObject)&amp;diff=5115&amp;oldid=prev</id>
		<title>Syfre : Page créée avec « &lt;source lang='delphi'&gt;class function GetWhere(const iWhere,iOrderBy:string; Args:Array of variant):TSDataRemoteObject;&lt;/source&gt;  Cette fonction retrouve une ressource SData p… »</title>
		<link rel="alternate" type="text/html" href="https://frp.sage.fr/wiki1000/index.php?title=GetWhere_(TSDataRemoteObject)&amp;diff=5115&amp;oldid=prev"/>
				<updated>2011-05-10T15:41:19Z</updated>
		
		<summary type="html">&lt;p&gt;Page créée avec « &amp;lt;source lang=&amp;#039;delphi&amp;#039;&amp;gt;class function GetWhere(const iWhere,iOrderBy:string; Args:Array of variant):TSDataRemoteObject;&amp;lt;/source&amp;gt;  Cette fonction retrouve une ressource SData p… »&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Nouvelle page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang='delphi'&amp;gt;class function GetWhere(const iWhere,iOrderBy:string; Args:Array of variant):TSDataRemoteObject;&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Cette fonction retrouve une ressource SData par une recherche.&lt;br /&gt;
&lt;br /&gt;
{{tip|Cette méthode utilise un [[Fournisseur de Service (sdata)|fournisseur de service]] enregistré dans l'Administration}}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
|iWhere&lt;br /&gt;
|La clause Where de recherche.&lt;br /&gt;
|-&lt;br /&gt;
|iOrderBy&lt;br /&gt;
|La clause de tri de recherche.&lt;br /&gt;
|-&lt;br /&gt;
|iArgs&lt;br /&gt;
|Les arguments de la clause Where.&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
Exemple :&lt;br /&gt;
&lt;br /&gt;
&amp;lt;source lang=&amp;quot;delphi&amp;quot;&amp;gt;&lt;br /&gt;
var inst:RE_Expense; aReason:string;&lt;br /&gt;
begin&lt;br /&gt;
  aReason := Format('expense du %s',[FormatDatetime('c',Now)]);&lt;br /&gt;
&lt;br /&gt;
  inst := RE_Expense.Create;&lt;br /&gt;
  inst.reason := aReason;&lt;br /&gt;
  inst.dateExpense := Now;&lt;br /&gt;
  inst.quantity := 1;&lt;br /&gt;
  inst.status.AsVariant := RE_NDF_STATUS_DRAFT;&lt;br /&gt;
  inst.Post;&lt;br /&gt;
&lt;br /&gt;
  showMessage(Format('oid:%s id:%s key:%s etag:%s',[inst.OID,inst.SDataID,inst.SDataKey,inst.SDataEtag]));&lt;br /&gt;
&lt;br /&gt;
  inst := RE_Expense.GetWhere('reason=%1','dateExpense',[aReason]) as RE_expense;&lt;br /&gt;
  if Assigned(inst) then&lt;br /&gt;
   begin&lt;br /&gt;
     if inst.reason = aReason&lt;br /&gt;
        then showMessage('create ok')&lt;br /&gt;
        else showMessage('create failed')&lt;br /&gt;
   end&lt;br /&gt;
   else showMessage('not found after create');&lt;br /&gt;
end;&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Voir aussi&lt;br /&gt;
&lt;br /&gt;
*[[Classe entité de service distant (stereotype)|Classe entité de service distant]]&lt;br /&gt;
&lt;br /&gt;
{{Footer|Classe entité de service distant (stereotype)}}&lt;/div&gt;</summary>
		<author><name>Syfre</name></author>	</entry>

	</feed>