810ca84b
Isaac Lewis
wip purchase orde...
|
1
|
<?xml version="1.0" encoding="Windows-1252"?>
|
f1e2e13b
chadzink
Implemented PorTo...
|
2
3
|
<PostPurchaseOrderReceipts xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance" xsd:noNamespaceSchemaLocation="portordoc.xsd">
<%
|
97edea7d
chadzink
Expanded PORTOR (...
|
4
|
if @receipt_interospections
|
f1e2e13b
chadzink
Implemented PorTo...
|
5
6
7
8
9
10
11
12
13
14
15
|
@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>
|
97edea7d
chadzink
Expanded PORTOR (...
|
16
|
<Narration><%= render_xml(interospection_item.narration)%></Narration>
|
f1e2e13b
chadzink
Implemented PorTo...
|
17
|
<Lot><%= render_xml(interospection_item.lot)%></Lot>
|
97edea7d
chadzink
Expanded PORTOR (...
|
18
19
20
21
22
23
|
<GRNNumber><%= render_xml(interospection_item.grn_number) %></GRNNumber>
<Concession><%= render_xml(interospection_item.concession) %></Concession>
<CostBasis><%= render_xml(interospection_item.cost_basis) %></CostBasis>
<Notation><%= render_xml(interospection_item.notation) %></Notation>
<Reference><%= render_xml(interospection_item.reference) %></Reference>
<GRNSource><%= render_xml(interospection_item.grn_source) %></GRNSource>
|
58ed758f
chadzink
Fix error in PorT...
|
24
|
<% interospection_item.bins.each do |bin| %>
|
97edea7d
chadzink
Expanded PORTOR (...
|
25
26
27
28
29
|
<Bins>
<BinLocation><%= render_xml(bin.bin_location) %></BinLocation>
<BinQuantity><%= render_xml(bin.bin_quantity) %></BinQuantity>
</Bins>
<% end %>
|
f1e2e13b
chadzink
Implemented PorTo...
|
30
31
32
33
34
35
36
|
</ReceiptIntoInspection>
</Item>
<%
end
end
%>
</PostPurchaseOrderReceipts>
|