本文整理汇总了PHP中org::find_all_inventory方法的典型用法代码示例。如果您正苦于以下问题:PHP org::find_all_inventory方法的具体用法?PHP org::find_all_inventory怎么用?PHP org::find_all_inventory使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org
的用法示例。
在下文中一共展示了org::find_all_inventory方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: echo
<form action="" method="post" id="inv_transaction" name="inv_transaction">
<?php echo (!empty($hidden_stmt)) ? $hidden_stmt : ""; ?>
<!--create empty form or a single id when search is not clicked and the id is referred from other page -->
<span class="heading"><?php echo gettext('Inventory Transaction ') ?></span>
<div class='tabContainer'>
<ul class='column header_field'>
<li>
<?php $f->l_select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', $$class->org_id, 'org_id', '', 1, $readonly1); ?> </li>
<li>
<?php
echo!(empty($id_array)) ? $f->l_select_field_from_object('transaction_type_id', transaction_type::find_some_byIdArray($id_array), 'transaction_type_id', 'transaction_type', $$class->transaction_type_id, 'transaction_type_id', '', 1, $readonly1) :
$f->l_select_field_from_object('transaction_type_id', transaction_type::find_all(), 'transaction_type_id', 'transaction_type', $$class->transaction_type_id, 'transaction_type_id', '', 1, $readonly1);
?>
</li>
</ul>
</div>
<div id ="form_line" class="form_line"><span class="heading">Transaction Details </span>
<div id="tabsLine">
<ul class="tabMain">
<li><a href="#tabsLine-1"><?php echo gettext('General Info') ?></a></li>
<li><a href="#tabsLine-2"><?php echo gettext('Transfer') ?> </a></li>
<li><a href="#tabsLine-3"><?php echo gettext('Reference') ?> </a></li>
<li><a href="#tabsLine-4"><?php echo gettext('Finance') ?></a></li>
<li><a href="#tabsLine-5"><?php echo gettext('Lot & Serial') ?></a></li>
</ul>
<div class="tabContainer">
<div id="tabsLine-1" class="tabContent">
<table class="form_line_data_table">
<thead>
<tr>
示例2:
echo $f->text_field_dsr('wip_wo_header_id');
?>
<a name="show" class="show wip_wo_headerid_show"><img src="<?php
echo HOME_URL;
?>
themes/images/refresh.png"/></a>
</li>
<li><label>WO Number : </label>
<?php
echo form::text_field_d('wo_number');
?>
</li>
<li>
<label> Inventory Org : </label>
<?php
echo form::select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id', $readonly, '', '', 1);
?>
</li>
<li><label>Date(2) : </label>
<?php
echo $f->text_field('transaction_date', ${$class}->transaction_date, '', '', 'dateTime');
?>
</li>
<li><label>Transaction Type : </label>
<?php
echo form::select_field_from_object('transaction_type', wip_move_transaction::wip_transactions(), 'option_line_code', 'option_line_value', ${$class}->transaction_type, 'transaction_type', $readonly, '', '', 1);
?>
</li>
<li>
<label> Move Transaction Id : </label>
<?php
示例3:
?>
</td>
<td><?php
form::text_field_wid2sr('sd_so_line_id');
?>
</td>
<td><?php
echo form::text_field('line_number', ${$class_second}->line_number, '8', '20', 1, 'Auto no', '', $readonly, 'lines_number');
?>
</td>
<td><?php
echo $f->select_field_from_object('line_type', sd_document_type::find_all_line_levels(), 'sd_document_type_id', 'document_type_name', ${$class_second}->line_type, '', 'medium', 1, $readonly);
?>
</td>
<td><?php
echo $f->select_field_from_object('shipping_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class_second}->shipping_org_id, '', 'small', 1, $readonly);
?>
</td>
<td><?php
echo $f->hidden_field('item_id_m', ${$class_second}->item_id_m);
form::text_field_wid2('item_number', 'select_item_number');
?>
<i class="select_item_number select_popup clickable fa fa-search"></i></td>
<td><?php
form::text_field_wid2('item_description');
?>
</td>
<td><?php
echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', ${$class_second}->uom_id, '', 'small');
?>
</td>
示例4: gettext
<?php
echo gettext('WO Number');
?>
</label><?php
$f->text_field_d('wo_number');
echo $f->hidden_field_withId('wip_wo_header_id', ${$class}->wip_wo_header_id);
echo $f->hidden_field_withCLass('wo_status', 'RELEASED', 'popup_value');
?>
<a name="show2" href="form.php?class_name=wip_move_transaction&<?php
echo "mode={$mode}";
?>
" class="show2 document_id wip_wo_header_id">
<i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id', '', 1, $readonly);
?>
</li>
<li><?php
$f->l_date_fieldFromToday_m('transaction_date', ${$class}->transaction_date);
?>
</li>
<li><?php
$f->l_select_field_from_object('transaction_type', wip_move_transaction::wip_transactions(), 'option_line_code', 'option_line_value', ${$class}->transaction_type, 'transaction_type', '', 1, $readonly1);
?>
</li>
<li><?php
$f->l_text_field_dr('wip_move_transaction_id');
?>
</li>
</ul>
示例5: __
?>
</a></li>
</ul>
<div class="tabContainer">
<div id="tabsHeader-1" class="tabContent">
<ul class="column header_field">
<li><?php
$f->l_text_field_dr_withSearch('bom_config_header_id');
?>
<a name="show" href="form.php?class_name=bom_config_header&<?php
echo "mode={$mode}";
?>
" class="show document_id bom_config_header_id"><i class="fa fa-refresh"></i></a>
</li>
<li><?php
$f->l_select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', $bom_config_header->org_id, 'org_id', '', '', $readonly);
?>
</li>
<li><label><?php
echo __('Item Number');
?>
</label><?php
echo $f->hidden_field_withId('item_id_m', ${$class}->item_id_m);
?>
<?php
$f->text_field_dm('item_number', 'select_item_number_allowedBOM');
?>
<i class="select_item_number select_popup clickable fa fa-search"></i>
</li>
<li><?php
$f->l_select_field_from_object('uom', uom::find_all(), 'uom_id', 'uom_name', ${$class}->uom, 'uom_id', 'uom_id');
示例6: foreach
$count = 0;
if (!empty($search_result)) {
foreach ($search_result as $locator) {
?>
<tr class="locator_line<?php
echo $count;
?>
">
<td><?php
echo ino_inline_action(${$class}->locator_id, array('locator_id' => ${$class}->locator_id));
?>
</td>
<td>
<?php
echo $f->select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->org_id, 'org_id');
?>
</td>
<td>
<?php
echo $f->select_field_from_object('subinventory_id', subinventory::find_all(), 'subinventory_id', 'subinventory', ${$class}->subinventory_id, 'subinventory_id');
?>
</td>
<td class="single_line"><?php
echo locator::locator_structure();
?>
</td>
<td><?php
echo form::text_field_widsr('locator_id');
?>
</td>
示例7: echo
$item_i = item::find_by_item_id_m($$class->item_id_m);
$$class->item_number = $item_i->item_number;
$$class->item_description = $item_i->item_description;
}
?>
<tr class="inv_reservation_line<?php echo $count ?>">
<td>
<ul class="inline_action">
<li class="add_row_img"><i class="fa fa-plus-circle"></i></li>
<li class="remove_row_img"><i class="fa fa-minus-circle"></i></li>
<li><input type="checkbox" name="line_id_cb" value="<?php echo ($inv_reservation->inv_reservation_id); ?>"></li>
</ul>
</td>
<td><?php $f->seq_field_d($count); ?></td>
<td><?php $f->text_field_dr('inv_reservation_id', 'always_readonly'); ?></td>
<td><?php echo $f->select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', $$class->org_id ,'','org_id_primary'); ?> </td>
<td><?php
$f->val_field_wid('item_number', 'item', 'item_number', 'org_id');
echo $f->hidden_field_withCLass('item_id_m', $$class->item_id_m ,'dontCopy');
echo $f->hidden_field_withCLass('reservable_cb', '1', 'popup_value');
?></td>
<td><?php $f->text_field_wid('item_description'); ?></td>
<td><?php echo $f->select_field_from_object('uom_id', uom::find_all(), 'uom_id', 'uom_name', $$class->uom_id, '', 'always_readonly'); ?> </td>
<td><?php echo $f->date_fieldFromToday_m('need_by_date', $$class->need_by_date, 1) ?></td>
<td><?php echo $f->number_field('demand_quantity', $$class->demand_quantity, '', '', 'demand_quantity'); ?></td>
<td><?php $f->text_field_wid('reason'); ?></td> </tr>
<?php
$count = $count + 1;
}
}
?>
示例8:
</ul>
</td>
<td><?php
form::text_field_wid3sr('po_detail_id');
?>
</td>
<td><?php
form::number_field_wid3s('shipment_number', 'details_number');
?>
</td>
<!--<td><?php
// echo form::text_field('shipment_number', $$class_third->shipment_number, '8', '20', 1, 'Auto no', '', $readonly, 'details_number');
?>
</td>-->
<td><?php
echo form::select_field_from_object('ship_to_inventory', org::find_all_inventory(), 'org_id', 'org', ${$class_third}->ship_to_inventory, '', $readonly);
?>
</td>
<td><?php
form::text_field_wid3('ship_to_location_id');
?>
</td>
<td><?php
form::number_field_wid3s('quantity');
?>
</td>
<td><?php
echo form::date_fieldFromToday('need_by_date', ino_date(${$class_third}->need_by_date));
?>
</td>
<td><?php
示例9:
?>
</td>
<td><?php
echo $f->select_field_from_object('sourcing_type', po_sourcing_rule_line::po_sourcing_type(), 'option_line_code', 'option_line_value', ${$class_second}->sourcing_type, 'sourcing_type', '', 1, $readonly);
?>
</td>
<td><?php
$f->text_field_d2s('rank');
?>
</td>
<td><?php
$f->text_field_d2s('allocation');
?>
</td>
<td><?php
echo form::select_field_from_object('source_from_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class_second}->source_from_org_id, 'source_from_org_id', $readonly);
?>
</td>
<td><?php
$f->text_field_wid2sr('supplier_id');
?>
</td>
<td><?php
$f->text_field_wid2('supplier_name', 'select_supplier_name');
?>
<img src="<?php
echo HOME_URL;
?>
themes/images/serach.png" class="select_supplier_name select_popup clickable"></td>
<td><?php
echo $supplier_site_name_statement;
示例10:
</ul>
</div>
</div>
<div id="tabsLine-4" class="tabContent">
<div class="first_rowset">
<ul class="column header_field">
<li><?php
$f->l_select_field_from_object('order_type_id', sd_document_type::find_all_header_levels(), 'sd_document_type_id', 'document_type_name', ${$class_second}->order_type_id, 'document_type', 'medium');
?>
</li>
<li><?php
$f->l_select_field_from_object('price_list_id', mdm_price_list_header::find_all_sales_pl(), 'mdm_price_list_header_id', 'price_list', ${$class_second}->price_list_id);
?>
</li>
<li><?php
$f->l_select_field_from_object('internal_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class_second}->internal_org_id, 'internal_org_id');
?>
</li>
<li><?php
$f->l_text_field('fob', ${$class_second}->fob);
?>
</li>
<li><?php
$f->l_text_field('freight_terms', ${$class_second}->freight_terms);
?>
</li>
<li><?php
$f->l_text_field('transportation', ${$class_second}->transportation);
?>
</li>
<li><?php
示例11:
?>
</td>
<td><?php
echo $f->select_field_from_array('origination_type', inv_serial_number::$origination_type_a, ${$class}->origination_type, 'origination_type', '', 1, 1, 1);
?>
</td>
<td><?php
echo $f->date_fieldAnyDay_r('origination_date', ${$class}->origination_date, 1);
?>
</td>
<td><?php
echo $f->date_fieldAnyDay_r('activation_date', ${$class}->activation_date, 1);
?>
</td>
<td><?php
echo $f->select_field_from_object('current_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->current_org_id, 'current_org_id', '', '', 1);
?>
</td>
<td><?php
echo $f->select_field_from_object('current_subinventory_id', subinventory::find_all_of_org_id(${$class}->current_org_id), 'subinventory_id', 'subinventory', ${$class}->current_subinventory_id, 'current_subinventory_id', 'subinventory_id', '', 1);
?>
</td>
<td><?php
echo $f->select_field_from_object('current_locator_id', locator::find_all_of_subinventory(${$class}->current_subinventory_id), 'locator_id', 'locator', ${$class}->current_locator_id, '', 'locator_id', '', 1);
?>
</td>
<td><?php
$f->text_field_d('inv_lot_number_id');
?>
</td>
<td><?php
示例12:
<li><?php
$f->l_text_field_d('picking_rule');
?>
</li>
</ul>
</div>
<!-- end of tab2 div three_column-->
</div>
<!--end of tab3-->
<div id="tabsLine-4" class="tabContent">
<div>
<ul class="column header_field">
<li><?php
$f->l_select_field_from_object('costing_org', org::find_all_inventory(), 'org', 'org', $inventory->costing_org, 'costing_org', '', '', $readonly);
?>
</li>
<li><?php
$f->l_select_field_from_object('costing_method', inventory::costing_methods(), 'option_line_code', 'option_line_code', $inventory->costing_method, 'costing_method', '', '', $readonly);
?>
</li>
<li><?php
$f->l_checkBox_field_d('transfer_to_gl_cb');
?>
</li>
<li><?php
$f->l_text_field_d('default_cost_group');
?>
</li>
<li><?php
示例13: gettext
<div class="row small-left-padding">
<div id="form_all">
<div id="form_headerDiv">
<form action="" method="post" id="inv_location_default_line" name="location_default_line"><span class="heading">
<?php
echo gettext('Item Transaction Location Default');
?>
</span>
<div class="tabContainer">
<label><?php
echo gettext('Inventory Org');
?>
</label>
<?php
echo $f->l_select_field_from_object('org_id', org::find_all_inventory(), 'org_id', 'org', $org_id_h, 'org_id');
?>
<a name="show" href="form.php?class_name=inv_location_default&<?php
echo "mode={$mode}";
?>
" class="show document_id inv_location_default_id">
<i class='fa fa-refresh'></i></a>
</div>
<div id ="form_line" class="inv_location_default"><span class="heading"><?php
echo gettext('Location Defaults');
?>
</span>
<div id="tabsLine">
<ul class="tabMain">
<li><a href="#tabsLine-1"><?php
echo gettext('Item-Location');
?>
示例14: foreach
</thead>
<tbody class="form_data_line_tbody">
<?php
$count = 0;
foreach ($po_line_object as $po_line) {
?>
<tr class="po_line<?php echo $count ?>">
<td>
<?php
echo ino_inline_action($$class_second->po_line_id, array('po_header_id' => $$class->po_header_id));
?>
</td>
<td><?php $f->seq_field_d($count) ?></td>
<td><?php $f->text_field_wid2sr('po_line_id', 'always_readonly line_id'); ?></td>
<td><?php echo form::text_field('line_number', $$class_second->line_number, '8', '20', 1, 'Auto no', '', $readonly, 'lines_number'); ?></td>
<td><?php echo $f->select_field_from_object('receving_org_id', org::find_all_inventory(), 'org_id', 'org', $$class_second->receving_org_id, '', 'org_id copyValue', 1, $readonly); ?></td>
<td><?php echo $f->select_field_from_object('line_type', po_line::po_line_types(), 'option_line_code', 'option_line_value', $$class_second->line_type, '', 'copyValue', 1, $readonly); ?></td>
<td><?php
$f->val_field_wid2('item_number', 'item', 'item_number', 'receving_org_id');
echo $f->hidden_field_withCLass('item_id_m', $$class_second->item_id_m,'dont_copy_r');
echo $f->hidden_field_withCLass('purchased_cb', '1', 'popup_value');
echo $f->hidden_field('processing_lt', '');
?>
<i class="generic g_select_item_number select_popup clickable fa fa-search" data-class_name="item"></i></td>
<td><?php
if (!empty($$class_second->item_id_m) && !empty($$class_second->receving_org_id)) {
$revision_name_a = inv_item_revision::find_by_itemIdM_orgId($$class_second->item_id_m, $$class_second->receving_org_id);
} else {
$revision_name_a = array();
}
echo $f->select_field_from_object('revision_name', $revision_name_a, 'revision_name', 'revision_name', $$class_second->revision_name, '', 'small');
示例15:
</div>
<!--end of tab1 div three_column-->
</div>
<div id="tabsLine-2" class="tabContent">
<div>
<ul class="column header_field">
<li><?php
$f->l_select_field_from_object('default_line_document', sd_document_type::find_all(), 'sd_document_type_id', 'document_type_name', ${$class}->default_line_document);
?>
</li>
<li><?php
$f->l_select_field_from_object('price_list_header_id', mdm_price_list_header::find_all(), 'mdm_price_list_header_id', 'price_list', ${$class}->price_list_header_id);
?>
</li>
<li><?php
$f->l_select_field_from_object('default_shipfrom_org_id', org::find_all_inventory(), 'org_id', 'org', ${$class}->default_shipfrom_org_id, '', '', '', $readonly);
?>
</li>
<li><?php
$f->l_select_field_from_array('destination_type', sd_document_type::$destination_type_a, ${$class}->destination_type);
?>
</li>
<li><?php
$f->l_select_field_from_object('ar_transaction_type', ar_transaction_type::find_all(), 'ar_transaction_type_id', 'ar_transaction_type', ${$class}->ar_transaction_type, 'ar_transaction_type', '', 1, $readonly);
?>
</li> <li><label>AR Transaction Source :</label> <?php
$f->text_field_wid('ar_transaction_source');
?>
</li>
</ul>
</div>