Blame view

lib/syspro/business_objects/schemas/comfch.xml.erb 629 Bytes
0f29247c   Isaac Lewis   add comfch and co...
1
2
3
4
5
6
7
8
9
10
11
12
13
  <?xml version="1.0" encoding="Windows-1252"?>
  <Fetch xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="COMFCH.XSD">
    <TableName><%= @table_name %></TableName>
    <Key><%= @key %></Key>
    <% unless @optional_keys.empty? %>
      <% @optional_keys.each_with_index do |key, i| %>
        <<%= "OptionalKey#{ i + 1 }" %>><%= key[:value] %></<%= "OptionalKey#{ i + 1 }" %>>
      <% end %>
    <% end %>
    <FullKeyProvided><%= @full_key_provided ? "N" : "Y" %></FullKeyProvided>
    <DefaultType><%= @default_type %></DefaultType>
    <EspressoFetch><%= @espresso_fetch ? "N" : "Y" %></EspressoFetch>
  </Fetch>