Blame view

lib/syspro/business_objects/schemas/portor_doc.xml.erb 1.06 KB
810ca84b   Isaac Lewis   wip purchase orde...
1
  <?xml version="1.0" encoding="Windows-1252"?>
f1e2e13b   chadzink   Implemented PorTo...
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  <PostPurchaseOrderReceipts xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="portordoc.xsd">
    <%
    if receipt_interospections
      @receipt_interospections.each do |interospection_item|
        %>
    <Item>
      <ReceiptIntoInspection>
        <PurchaseOrder><%= render_xml(interospection_item.purchase_order)%></PurchaseOrder>
        <Warehouse><%= render_xml(interospection_item.warehouse)%></Warehouse>
        <StockCode><%= render_xml(interospection_item.stock_code)%></StockCode>
        <Quantity><%= render_xml(interospection_item.quantity)%></Quantity>
        <CountedQuantityComplete><%= render_xml(interospection_item.counted_quantity_complete, "Y")%></CountedQuantityComplete>
        <DeliveryNote><%= render_xml(interospection_item.delivery_note)%></DeliveryNote>
        <Certificate><%= render_xml(interospection_item.certificate)%></Certificate>
        <Lot><%= render_xml(interospection_item.lot)%></Lot>
      </ReceiptIntoInspection>
    </Item>
        <%
      end
    end
    %>
  </PostPurchaseOrderReceipts>