3 <body onLoad="fokus()">
5 <script type="text/javascript" src="js/common.js"></script>
6 <script type="text/javascript" src="js/parts_language_selection.js"></script>
8 <p><div class="listtop">[% title %]</div></p>
10 <form method="post" name="ic" action="[% script %]">
12 <input name="id" type="hidden" value="[% HTML.escape(id) %]">
13 <input name="item" type="hidden" value="[% HTML.escape(item) %]">
14 <input name="title" type="hidden" value="[% HTML.escape(title) %]">
15 <input name="makemodel" type="hidden" value="[% HTML.escape(makemodel) %]">
16 <input name="alternate" type="hidden" value="[% HTML.escape(alternate) %]">
17 <input name="onhand" type="hidden" value="[% HTML.escape(onhand) %]">
18 <input name="orphaned" type="hidden" value="[% HTML.escape(orphaned) %]">
19 <input name="taxaccounts" type="hidden" value="[% HTML.escape(taxaccounts) %]">
20 <input name="rowcount" type="hidden" value="[% HTML.escape(rowcount) %]">
21 <input name="eur" type="hidden" value="[% HTML.escape(eur) %]">
22 <input name="language_values" type="hidden" value="[% HTML.escape(language_values) %]">
23 <input name="original_partnumber" type="hidden" value="[% HTML.escape(original_partnumber) %]">
25 <ul id="maintab" class="shadetabs">
26 <li class="selected"><a href="#" rel="master_data">Master Data</a></li>
27 [%- IF CUSTOM_VARIABLES.size %]
28 <li><a href="#" rel="custom_variables">Custom Variables</a></li>
32 <div class="tabcontentstyle">
33 <div id="master_data" class="tabcontent">
46 <th align="right">Part Number</th>
47 <td><input name="partnumber" value="[% HTML.escape(partnumber) %]" size="40"></td>
50 <th align="right">Part Description</th>
52 [%- IF description_area %]
53 <textarea name="description" rows="[% HTML.escape(rows) %]" cols="40" wrap="soft">[% HTML.escape(description) %]</textarea>
55 <input name="description" size="40" value="[% HTML.escape(description) %]">
60 <th align="right">EAN-Code</th>
61 <td><input name="ean" size="40" value="[% HTML.escape(ean) %]"></td>
64 [%- IF all_partsgroup.size %]
65 <th align="right">Group</th>
67 [%- INCLUDE generic/multibox.html
69 DATA = all_partsgroup,
72 label_key = 'partsgroup',
76 <input type="hidden" name="oldpartsgroup" value="[% HTML.escape(oldpartsgroup) %]">
81 [%- IF BUCHUNGSGRUPPEN.size %]
83 <th align="right">Buchungsgruppe</th>
85 [%- INCLUDE generic/multibox.html
86 name = 'buchungsgruppen_id',
87 DATA = BUCHUNGSGRUPPEN,
89 label_key = 'description',
94 <input type="hidden" name="IC_income" value="[% HTML.escape(IC_income_default) %]">
95 [%- UNLESS is_assembly %]
96 <input type="hidden" name="IC_expense" value="[% HTML.escape(IC_expense_default) %]">
99 <input type="hidden" name="IC" value="[% HTML.escape(IC_default) %]">
102 <th align="right">Payment Terms</th>
104 [%- INCLUDE generic/multibox.html
106 DATA = payment_terms,
109 label_key = 'description',
110 style = 'width:250px'
120 <button type="button" onclick="parts_language_selection_window('language_values')">Set Language Values</button>
130 <th align="left">Notes</th>
131 [%- UNLESS is_service %]
132 <th align="left">Formula</th>
137 <textarea name="notes" rows="[% HTML.escape(notes_rows) %]" cols="45" wrap="soft">[% HTML.escape(notes) %]</textarea>
139 [%- UNLESS is_service %]
142 <layer onmouseover="this.T_STICKY=true;this.T_STATIC=true;return escape('The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br>')">
143 <textarea name="formel" rows="[% HTML.escape(notes_rows) %]" cols="30" wrap="soft">[% HTML.escape(formel) %]</textarea></layer></ilayer>
156 <th align="right" nowrap="true">Updated</th>
158 <input name="priceupdate" id="priceupdate" size="11" title="[% HTML.escape(dateformat) %]" value="[% HTML.escape(priceupdate) %]" readonly>
163 <th align="right" nowrap="true">List Price</th>
164 <td><input name="listprice" size="11" value="[% LxERP.format_amount(listprice, -2) %]"></td>
168 <th align="right" nowrap="true">Sell Price</th>
169 <td><input name="sellprice" size="11" value="[% LxERP.format_amount(sellprice, -2) %]"></td>
172 [%- UNLESS is_assembly %]
174 <th align="right" nowrap="true">Last Cost</th>
175 <td><input name="lastcost" size="11" value="[% LxERP.format_amount(lastcost, -2) %]"></td>
179 [%- IF ALL_PRICE_FACTORS.size %]
181 <th align="right">Price Factor</th>
183 [%- INCLUDE generic/multibox.html
184 name = 'price_factor_id',
185 DATA = ALL_PRICE_FACTORS,
188 label_key = 'description',
189 style = 'width:100px'
196 <th align="right" nowrap="true">Unit</th>
198 <input type="hidden" name="unit_changeable" value="[% HTML.escape(unit_changeable) %]">
199 [%- UNLESS unit_changeable %]
200 <input type="hidden" name="unit" value="[% HTML.escape(unit) %]">[% HTML.escape(unit) %]
202 [%- INCLUDE generic/multibox.html
207 style = 'width:100px'
213 [%- UNLESS is_service %]
215 <th align="right" nowrap="true">Weight</th>
217 [%- IF is_assembly %] [% LxERP.format_amount(weight) %][%- END %]
218 <input[% IF is_assembly %] type="hidden"[% END %] size="10" name="weight" value="[% LxERP.format_amount(weight) %]">
219 [% HTML.escape(defaults.weightunit) %]
223 [%- UNLESS is_service %]
225 <th align="right" nowrap>On Hand</th>
226 <th align="left" nowrap class="plus[% IF onhand > 0 %]1[% ELSE %]0[% END %]"> [% LxERP.format_amount(onhand) %]</th>
229 <th align="right" nowrap="true">ROP</th>
230 <td><input name="rop" size="10" value="[% LxERP.format_amount(rop) %]"></td>
233 <th align="right" nowrap="true">Bin</th>
234 <td><input name="bin" size="10" value="[% HTML.escape(bin) %]"></td>
237 <th align="right" nowrap="true">Verrechnungseinheit</th>
238 <td><input name="ve" size="10" value="[% HTML.escape(ve) %]"></td>
241 <th align="right" nowrap="true">Business Volume</th>
242 <td><input name="gv" size="10" value="[% LxERP.format_amount(gv) %]"></td>
245 <th align="right" nowrap><label for="not_discountable">Not Discountable</label></th>
246 <td><input class="checkbox" type="checkbox" name="not_discountable" id="not_discountable" value="1" [% IF not_discountable %]checked[% END %]></td>
251 <th align="right" nowrap="true"><label for="obsolete">Obsolete</label></th>
252 <td><input name="obsolete" id="obsolete" type="checkbox" class="checkbox" value="1" [% IF obsolete %]checked[% END %]></td>
256 <th align="right" nowrap><label for="shop">Has serial number</label></th>
257 <td><input class="checkbox" type="checkbox" name="has_sernumber" id="has_sernumber" value="1" [% IF has_sernumber %]checked[% END %]></td>
260 <th align="right" nowrap><label for="shop">Shopartikel</label></th>
261 <td><input class="checkbox" type="checkbox" name="shop" id="shop" value="1" [% IF shop %]checked[% END %]></td>
271 [% UNLESS is_service %]
276 <th align="right" nowrap>Image</th>
277 <td><input name="image" size="40" value="[% HTML.escape(image) %]"></td>
278 <th align="right" nowrap>Microfiche</th>
279 <td><input name="microfiche" size="20" value="[% HTML.escape(microfiche) %]"></td>
282 <th align="right" nowrap>Drawing</th>
283 <td><input name="drawing" size="40" value="[% HTML.escape(drawing) %]"></td>
290 <script type="text/javascript">
291 <!-- Calendar.setup({ inputField : "priceupdate", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "trigger1" }); //-->