Exemple #1
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);



            // Create your application here
            SetContentView(Resource.Layout.entering_warehouse_detail_activity);

            context = Android.App.Application.Context;

            index = int.Parse(Intent.GetStringExtra("INDEX"));
            string       check_sp = Intent.GetStringExtra("CHECK_SP");
            string       rvu01    = Intent.GetStringExtra("RVU01");
            string       rvv02    = Intent.GetStringExtra("RVV02");
            string       rvb05    = Intent.GetStringExtra("RVB05");
            string       pmn041   = Intent.GetStringExtra("PMN041");
            string       ima021   = Intent.GetStringExtra("IMA021");
            string       rvv32    = Intent.GetStringExtra("RVV32");
            string       rvv33    = Intent.GetStringExtra("RVV33");
            string       rvv34    = Intent.GetStringExtra("RVV34");
            string       rvb33    = Intent.GetStringExtra("RVB33");
            string       pmc03    = Intent.GetStringExtra("PMC03");
            string       gen02    = Intent.GetStringExtra("GEN02");
            RecyclerView listView = FindViewById <RecyclerView>(Resource.Id.inspectedDetailListView);


            //ActionBar actionBar = getSupportActionBar();
            Android.App.ActionBar actionBar = ActionBar;
            if (actionBar != null)
            {
                actionBar.SetDisplayHomeAsUpEnabled(true);
                actionBar.SetHomeAsUpIndicator(Resource.Drawable.ic_chevron_left_white_24dp);
                actionBar.Title = "";
            }

            detailList.Clear();

            // V
            InspectedDetailItem item1 = new InspectedDetailItem();

            item1.setHeader(GetString(Resource.String.item_title_check_sp));
            item1.setContent(check_sp);
            detailList.Add(item1);
            //rvu01
            InspectedDetailItem item2 = new InspectedDetailItem();

            item2.setHeader(GetString(Resource.String.item_title_rvu01));
            item2.setContent(rvu01);
            detailList.Add(item2);
            //rvv02
            InspectedDetailItem item3 = new InspectedDetailItem();

            item3.setHeader(GetString(Resource.String.item_title_rvv02));
            item3.setContent(rvv02);
            detailList.Add(item3);
            //rvb05
            InspectedDetailItem item4 = new InspectedDetailItem();

            item4.setHeader(GetString(Resource.String.item_title_rvb05));
            item4.setContent(rvb05);
            detailList.Add(item4);
            //pmn041
            InspectedDetailItem item5 = new InspectedDetailItem();

            item5.setHeader(GetString(Resource.String.item_title_pmn041));
            item5.setContent(pmn041);
            detailList.Add(item5);
            //ima021
            InspectedDetailItem item6 = new InspectedDetailItem();

            item6.setHeader(GetString(Resource.String.item_title_ima021));
            item6.setContent(ima021);
            detailList.Add(item6);
            //rvv32
            InspectedDetailItem item7 = new InspectedDetailItem();

            item7.setHeader(GetString(Resource.String.item_title_rvv32));
            item7.setContent(rvv32);
            detailList.Add(item7);
            //rvv33
            InspectedDetailItem item8 = new InspectedDetailItem();

            item8.setHeader(GetString(Resource.String.item_title_rvv33));
            item8.setContent(rvv33);
            detailList.Add(item8);
            //rvv34
            InspectedDetailItem item9 = new InspectedDetailItem();

            item9.setHeader(GetString(Resource.String.item_title_rvv34));
            item9.setContent(rvv34);
            detailList.Add(item9);
            //rvb33
            InspectedDetailItem item10 = new InspectedDetailItem();

            item10.setHeader(GetString(Resource.String.item_title_rvb33));
            item10.setContent(rvb33);
            detailList.Add(item10);
            //pmc03
            InspectedDetailItem item11 = new InspectedDetailItem();

            item11.setHeader(GetString(Resource.String.item_title_pmc03));
            item11.setContent(pmc03);
            detailList.Add(item11);
            //gen02
            InspectedDetailItem item12 = new InspectedDetailItem();

            item12.setHeader(GetString(Resource.String.item_title_gen02));
            item12.setContent(gen02);
            detailList.Add(item12);


            inspectedDetailItemAdapter            = new InspectedDetailItemAdapter(this, Resource.Layout.inspected_receive_list_detail_item, detailList);
            inspectedDetailItemAdapter.ItemClick += (sender, e) =>
            {
                Log.Debug(TAG, "Click Sender = " + sender.ToString() + " e = " + e.ToString());

                if (e == 9) //quantity
                {
                    Intent clearIntent = new Intent(Constants.ACTION_ENTERING_WAREHOUSE_DIVIDED_DIALOG_SHOW);
                    clearIntent.PutExtra("INDEX", e.ToString());
                    //clearIntent.putExtra("BARCODE", barcode);
                    context.SendBroadcast(clearIntent);

                    Finish();
                }
            };
            listView.SetAdapter(inspectedDetailItemAdapter);
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            // Create your application here
            SetContentView(Resource.Layout.allocation_msg_send_allocation_status_detail_activity);

            context = Android.App.Application.Context;

            mLayoutManager = new LinearLayoutManager(context);

            index = int.Parse(Intent.GetStringExtra("INDEX"));


            string item_SFA03      = Intent.GetStringExtra("ITEM_SFA03");
            string item_IMA021     = Intent.GetStringExtra("ITEM_IMA021");
            string item_IMG10      = Intent.GetStringExtra("ITEM_IMG10");
            string item_MOVED_QTY  = Intent.GetStringExtra("ITEM_MOVED_QTY");
            string item_MESS_QTY   = Intent.GetStringExtra("ITEM_MESS_QTY");
            string item_SFA05      = Intent.GetStringExtra("ITEM_SFA05");
            string item_SFA12      = Intent.GetStringExtra("ITEM_SFA12");
            string item_SFA11_NAME = Intent.GetStringExtra("ITEM_SFA11_NAME");
            string item_TC_OBF013  = Intent.GetStringExtra("ITEM_TC_OBF013");

            listView = FindViewById <RecyclerView>(Resource.Id.allocationstatusDetailListView);
            listView.SetLayoutManager(mLayoutManager);

            Android.App.ActionBar actionBar = ActionBar;
            if (actionBar != null)
            {
                actionBar.SetDisplayHomeAsUpEnabled(true);
                actionBar.SetHomeAsUpIndicator(Resource.Drawable.ic_chevron_left_white_24dp);
                actionBar.Title = "";
            }
            float aw1_float;

            if (item_IMG10 != null && item_IMG10.Length > 0)
            {
                aw1_float = float.Parse(item_IMG10);
            }
            else
            {
                aw1_float = 0;
            }
            int aw1 = (int)aw1_float;
            int aw2;

            if (item_MOVED_QTY != null && item_MOVED_QTY.Length > 0)
            {
                aw2 = int.Parse(item_MOVED_QTY);
            }
            else
            {
                aw2 = 0;
            }
            int aw3;

            if (item_SFA05 != null && item_SFA05.Length > 0)
            {
                aw3 = int.Parse(item_SFA05);
            }
            else
            {
                aw3 = 0;
            }
            int aw4;

            if (item_TC_OBF013 != null && item_TC_OBF013.Length > 0 && !item_TC_OBF013.Equals("N"))
            {
                Log.Debug(TAG, "item_TC_OBF013 = " + item_TC_OBF013);
                aw4 = int.Parse(item_TC_OBF013);
            }
            else
            {
                aw4 = 0;
            }
            float aw5_float;

            if (item_MESS_QTY != null && item_MESS_QTY.Length > 0)
            {
                aw5_float = float.Parse(item_MESS_QTY);
            }
            else
            {
                aw5_float = 0;
            }
            int aw5 = (int)aw5_float;

            if (aw1 > (aw3 - aw2 - aw5))
            {
                aw1 = aw3 - aw2 - aw5;
                aw1 = aw1 < 0 ? 0 : aw1;
            }

            aw1 = aw1 > aw4 ? aw4 : aw1;

            detailList.Clear();

            //item_SFA03
            AllocationSendMsgDetailItem item1 = new AllocationSendMsgDetailItem();

            item1.setHeader(GetString(Resource.String.allocation_send_message_to_material_status_detail_SFA03));
            item1.setContent(item_SFA03);
            detailList.Add(item1);
            //item_IMA021
            AllocationSendMsgDetailItem item2 = new AllocationSendMsgDetailItem();

            item2.setHeader(GetString(Resource.String.allocation_send_message_to_material_status_detail_IMA021));
            item2.setContent(item_IMA021);
            detailList.Add(item2);
            //item_IMG10
            AllocationSendMsgDetailItem item3 = new AllocationSendMsgDetailItem();

            item3.setHeader(GetString(Resource.String.allocation_send_message_to_material_status_detail_IMG10));
            item3.setContent(aw1.ToString());
            detailList.Add(item3);
            //item_MOVED_QTY
            AllocationSendMsgDetailItem item4 = new AllocationSendMsgDetailItem();

            item4.setHeader(GetString(Resource.String.allocation_send_message_to_material_status_detail_MOVED_QTY));
            item4.setContent(item_MOVED_QTY);
            detailList.Add(item4);
            //item_MESS_QTY
            AllocationSendMsgDetailItem item5 = new AllocationSendMsgDetailItem();

            item5.setHeader(GetString(Resource.String.allocation_send_message_to_material_status_detail_MESS_QTY));
            item5.setContent(item_MESS_QTY);
            detailList.Add(item5);
            //item_SFA05
            AllocationSendMsgDetailItem item6 = new AllocationSendMsgDetailItem();

            item6.setHeader(GetString(Resource.String.allocation_send_message_to_material_status_detail_SFA05));
            item6.setContent(item_SFA05);
            detailList.Add(item6);
            //item_SFA12
            AllocationSendMsgDetailItem item7 = new AllocationSendMsgDetailItem();

            item7.setHeader(GetString(Resource.String.allocation_send_message_to_material_status_detail_SFA12));
            item7.setContent(item_SFA12);
            detailList.Add(item7);
            //item_SFA11_NAME
            AllocationSendMsgDetailItem item8 = new AllocationSendMsgDetailItem();

            item8.setHeader(GetString(Resource.String.allocation_send_message_to_material_status_detail_SFA11_NAME));
            item8.setContent(item_SFA11_NAME);
            detailList.Add(item8);
            //item_TC_OBF013
            AllocationSendMsgDetailItem item9 = new AllocationSendMsgDetailItem();

            item9.setHeader(GetString(Resource.String.allocation_send_message_to_material_status_detail_TC_OBF013));
            item9.setContent(aw4.ToString());
            detailList.Add(item9);

            allocationSendMsgDetailItemAdapter = new AllocationSendMsgDetailItemAdapter(this, Resource.Layout.allocation_msg_send_allocation_status_detail_item, detailList);
            listView.SetAdapter(allocationSendMsgDetailItemAdapter);
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);
            // Create your application here
            SetContentView(Resource.Layout.allocation_msg_detail_activity);

            context = Android.App.Application.Context;

            string iss_date = Intent.GetStringExtra("ISS_DATE");

            made_no       = Intent.GetStringExtra("MADE_NO");
            tag_locate_no = Intent.GetStringExtra("TAG_LOCATE_NO");
            string tag_stock_no     = Intent.GetStringExtra("TAG_STOCK_NO");
            string ima03            = Intent.GetStringExtra("IMA03");
            string pre_get_datetime = Intent.GetStringExtra("PRE_GET_DATETIME");

            datetime_0 = Intent.GetStringExtra("dateTime_0");
            datetime_1 = Intent.GetStringExtra("dateTime_1");
            datetime_2 = Intent.GetStringExtra("dateTime_2");
            iss_no     = Intent.GetStringExtra("ISS_NO");

            //ActionBar actionBar = getSupportActionBar();
            Android.App.ActionBar actionBar = ActionBar;
            if (actionBar != null)
            {
                actionBar.SetDisplayHomeAsUpEnabled(true);
                actionBar.SetHomeAsUpIndicator(Resource.Drawable.ic_chevron_left_white_24dp);
                actionBar.Title = "";
            }

            mLayoutManager = new LinearLayoutManager(context);

            relativeLayout = FindViewById <RelativeLayout>(Resource.Id.lookup_in_stock_list_container);
            progressBar    = new ProgressBar(context);
            RelativeLayout.LayoutParams layoutParams = new RelativeLayout.LayoutParams(200, 200);
            layoutParams.AddRule(LayoutRules.CenterInParent);
            relativeLayout.AddView(progressBar, layoutParams);
            progressBar.Visibility = ViewStates.Gone;

            s_iss_date         = FindViewById <TextView>(Resource.Id.s_iss_date);
            sp_made_no         = FindViewById <TextView>(Resource.Id.sp_made_no);
            s_tag_stock_no     = FindViewById <TextView>(Resource.Id.s_tag_stock_no);
            s_tag_locate_no    = FindViewById <TextView>(Resource.Id.s_tag_locate_no);
            s_pre_get_datetime = FindViewById <TextView>(Resource.Id.s_pre_get_datetime);
            s_ima03            = FindViewById <TextView>(Resource.Id.s_ima03);
            btnTransfer        = FindViewById <Button>(Resource.Id.btnTransfer);

            detailRecyclerView = FindViewById <RecyclerView>(Resource.Id.allocationDetailListView);
            detailRecyclerView.SetLayoutManager(mLayoutManager);

            s_iss_date.Text         = iss_date;
            sp_made_no.Text         = made_no;
            s_tag_locate_no.Text    = tag_locate_no;
            s_tag_stock_no.Text     = tag_stock_no;
            s_ima03.Text            = ima03;
            s_pre_get_datetime.Text = pre_get_datetime;

            showList.Clear();

            if (AllocationMsgFragment.msgDataTable.Rows.Count > 0)
            {
                foreach (DataRow rx in AllocationMsgFragment.msgDataTable.Rows)
                {
                    AllocationMsgDetailItem item = new AllocationMsgDetailItem();

                    //rx.setValue("scan_sp", "N");
                    //rx.setValue("scan_desc", "");

                    item.setItem_part_no(rx["part_no"].ToString());
                    item.setItem_ima021(rx["ima021"].ToString());
                    item.setItem_qty(rx["qty"].ToString());
                    item.setItem_src_stock_no(rx["src_stock_no"].ToString());
                    item.setItem_src_locate_no(rx["src_locate_no"].ToString());
                    item.setItem_src_batch_no(rx["src_batch_no"].ToString());
                    item.setItem_sfa12(rx["sfa12"].ToString());
                    item.setItem_scan_desc(rx["scan_desc"].ToString());

                    showList.Add(item);
                }
            }

            allocationMsgDetailItemAdapter            = new AllocationMsgDetailItemAdapter(this, Resource.Layout.inspected_receive_list_detail_item, showList);
            allocationMsgDetailItemAdapter.ItemClick += (sender, e) =>
            {
                for (int i = 0; i < showList.Count; i++)
                {
                    if (i == e)
                    {
                        if (showList[i].isSelected())
                        {
                            showList[i].setSelected(false);
                            item_select = -1;
                        }
                        else
                        {
                            showList[i].setSelected(true);
                            item_select = e;
                        }
                    }
                    else
                    {
                        showList[i].setSelected(false);
                    }
                }

                allocationMsgDetailItemAdapter.NotifyDataSetChanged();
            };
            allocationMsgDetailItemAdapter.ItemLongClick += (sender, e) =>
            {
                Intent detailIntent = new Intent(context, typeof(AllocationMsgDetailOfDetailActivity));
                detailIntent.PutExtra("PART_NO", showList[e].getItem_part_no());
                detailIntent.PutExtra("IMA021", showList[e].getItem_ima021());
                detailIntent.PutExtra("QTY", showList[e].getItem_qty());
                detailIntent.PutExtra("SRC_STOCK_NO", showList[e].getItem_src_stock_no());
                detailIntent.PutExtra("SRC_LOCATE_NO", showList[e].getItem_src_locate_no());
                detailIntent.PutExtra("SRC_BATCH_NO", showList[e].getItem_src_batch_no());
                detailIntent.PutExtra("SFA12", showList[e].getItem_sfa12());
                detailIntent.PutExtra("SCAN_DESC", showList[e].getItem_scan_desc());
                context.StartActivity(detailIntent);
            };
            detailRecyclerView.SetAdapter(allocationMsgDetailItemAdapter);
        }
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            // Create your application here
            SetContentView(Resource.Layout.allocation_msg_detail_of_detail_activity);

            context = Android.App.Application.Context;

            string part_no       = Intent.GetStringExtra("PART_NO");
            string ima021        = Intent.GetStringExtra("IMA021");
            string qty           = Intent.GetStringExtra("QTY");
            string src_stock_no  = Intent.GetStringExtra("SRC_STOCK_NO");
            string src_locate_no = Intent.GetStringExtra("SRC_LOCATE_NO");
            string src_batch_no  = Intent.GetStringExtra("SRC_BATCH_NO");
            string sfa12         = Intent.GetStringExtra("SFA12");
            string scan_desc     = Intent.GetStringExtra("SCAN_DESC");

            //ActionBar actionBar = getSupportActionBar();
            Android.App.ActionBar actionBar = ActionBar;
            if (actionBar != null)
            {
                actionBar.SetDisplayHomeAsUpEnabled(true);
                actionBar.SetHomeAsUpIndicator(Resource.Drawable.ic_chevron_left_white_24dp);
                actionBar.Title = "";
            }

            detailList.Clear();

            detailRecyclerView = FindViewById <RecyclerView>(Resource.Id.detailDetailListView);
            detailRecyclerView.SetLayoutManager(mLayoutManager);

            // part_no
            InspectedDetailItem item1 = new InspectedDetailItem();

            item1.setHeader(GetString(Resource.String.allocation_item_part_no));
            item1.setContent(part_no);
            detailList.Add(item1);
            //ima021
            InspectedDetailItem item2 = new InspectedDetailItem();

            item2.setHeader(GetString(Resource.String.allocation_item_name));
            item2.setContent(ima021);
            detailList.Add(item2);
            //qty
            InspectedDetailItem item3 = new InspectedDetailItem();

            item3.setHeader(GetString(Resource.String.allocation_item_qty));
            item3.setContent(qty);
            detailList.Add(item3);
            //src stock
            InspectedDetailItem item4 = new InspectedDetailItem();

            item4.setHeader(GetString(Resource.String.allocation_item_src_stock));
            item4.setContent(src_stock_no);
            detailList.Add(item4);
            //src locate no
            InspectedDetailItem item5 = new InspectedDetailItem();

            item5.setHeader(GetString(Resource.String.allocation_item_src_locate));
            item5.setContent(src_locate_no);
            detailList.Add(item5);
            //src batch no
            InspectedDetailItem item6 = new InspectedDetailItem();

            item6.setHeader(GetString(Resource.String.allocation_item_src_batch));
            item6.setContent(src_batch_no);
            detailList.Add(item6);
            //sfa12
            InspectedDetailItem item7 = new InspectedDetailItem();

            item7.setHeader(GetString(Resource.String.allocation_item_sfa12));
            item7.setContent(sfa12);
            detailList.Add(item7);
            //scan desc
            InspectedDetailItem item8 = new InspectedDetailItem();

            item8.setHeader(GetString(Resource.String.allocation_item_scan_desc));
            item8.setContent(scan_desc);
            detailList.Add(item8);

            inspectedDetailItemAdapter = new InspectedDetailItemAdapter(this, Resource.Layout.inspected_receive_list_detail_item, detailList);
            detailRecyclerView.SetAdapter(inspectedDetailItemAdapter);
        }
Exemple #5
0
        protected override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            // Create your application here
            SetContentView(Resource.Layout.production_storage_detail_activity);

            context = Android.App.Application.Context;

            index = int.Parse(Intent.GetStringExtra("INDEX"));
            string       in_no          = Intent.GetStringExtra("IN_NO");
            string       item_no        = Intent.GetStringExtra("ITEM_NO");
            string       in_date        = Intent.GetStringExtra("IN_DATE");
            string       made_no        = Intent.GetStringExtra("MADE_NO");
            string       store_type     = Intent.GetStringExtra("STORE_TYPE");
            string       dept_no        = Intent.GetStringExtra("DEPT_NO");
            string       dept_name      = Intent.GetStringExtra("DEPT_NAME");
            string       part_no        = Intent.GetStringExtra("PART_NO");
            string       part_desc      = Intent.GetStringExtra("PART_DESC");
            string       stock_no       = Intent.GetStringExtra("STOCK_NO");
            string       locate_no      = Intent.GetStringExtra("LOCATE_NO");
            string       locate_no_scan = Intent.GetStringExtra("LOCATE_NO_SCAN");
            string       batch_no       = Intent.GetStringExtra("BATCH_NO");
            string       qty            = Intent.GetStringExtra("QTY");
            string       stock_unit     = Intent.GetStringExtra("STOCK_UNIT");
            string       count_no       = Intent.GetStringExtra("COUNT_NO");
            string       sock_no_name   = Intent.GetStringExtra("STOCK_NO_NAME");
            RecyclerView listView       = FindViewById <RecyclerView>(Resource.Id.productionStorageDetailListView);

            //ActionBar actionBar = getSupportActionBar();
            Android.App.ActionBar actionBar = ActionBar;
            if (actionBar != null)
            {
                actionBar.SetDisplayHomeAsUpEnabled(true);
                actionBar.SetHomeAsUpIndicator(Resource.Drawable.ic_chevron_left_white_24dp);
                actionBar.Title = "";
            }

            ProductionDetailList.Clear();

            //in_no
            ProductionStorageDetailItem item1 = new ProductionStorageDetailItem();

            item1.setHeader(GetString(Resource.String.item_title_check_sp));
            item1.setContent(in_no);
            ProductionDetailList.Add(item1);
            //item_no
            ProductionStorageDetailItem item2 = new ProductionStorageDetailItem();

            item2.setHeader(GetString(Resource.String.production_storage_index));
            item2.setContent(item_no);
            ProductionDetailList.Add(item2);
            //in_date
            ProductionStorageDetailItem item3 = new ProductionStorageDetailItem();

            item3.setHeader(GetString(Resource.String.production_storage_in_date));
            item3.setContent(in_date);
            ProductionDetailList.Add(item3);
            //made_no
            ProductionStorageDetailItem item4 = new ProductionStorageDetailItem();

            item4.setHeader(GetString(Resource.String.production_storage_made_no));
            item4.setContent(made_no);
            ProductionDetailList.Add(item4);
            //store_type
            ProductionStorageDetailItem item5 = new ProductionStorageDetailItem();

            item5.setHeader(GetString(Resource.String.production_storage_store_type));
            item5.setContent(store_type);
            ProductionDetailList.Add(item5);
            //dept_no
            ProductionStorageDetailItem item6 = new ProductionStorageDetailItem();

            item6.setHeader(GetString(Resource.String.production_storage_dept_no));
            item6.setContent(dept_no);
            ProductionDetailList.Add(item6);
            //dept_name
            ProductionStorageDetailItem item7 = new ProductionStorageDetailItem();

            item7.setHeader(GetString(Resource.String.production_storage_dept));
            item7.setContent(dept_name);
            ProductionDetailList.Add(item7);
            //part_no
            ProductionStorageDetailItem item8 = new ProductionStorageDetailItem();

            item8.setHeader(GetString(Resource.String.production_storage_part_no));
            item8.setContent(part_no);
            ProductionDetailList.Add(item8);
            //part_desc
            ProductionStorageDetailItem item9 = new ProductionStorageDetailItem();

            item9.setHeader(GetString(Resource.String.production_storage_part_desc));
            item9.setContent(part_desc);
            ProductionDetailList.Add(item9);
            //stock_no
            ProductionStorageDetailItem item10 = new ProductionStorageDetailItem();

            item10.setHeader(GetString(Resource.String.production_storage_stock_no));
            item10.setContent(stock_no);
            ProductionDetailList.Add(item10);
            //locate_no
            ProductionStorageDetailItem item11 = new ProductionStorageDetailItem();

            item11.setHeader(GetString(Resource.String.production_storage_locate_no));
            item11.setContent(locate_no);
            ProductionDetailList.Add(item11);
            //locate_no_scan
            ProductionStorageDetailItem item12 = new ProductionStorageDetailItem();

            item12.setHeader(GetString(Resource.String.production_storage_locate_no_scan));
            item12.setContent(locate_no_scan);
            ProductionDetailList.Add(item12);
            //batch_no
            ProductionStorageDetailItem item13 = new ProductionStorageDetailItem();

            item13.setHeader(GetString(Resource.String.production_storage_batch_no));
            item13.setContent(batch_no);
            ProductionDetailList.Add(item13);
            //qty
            ProductionStorageDetailItem item14 = new ProductionStorageDetailItem();

            item14.setHeader(GetString(Resource.String.production_storage_qty));
            item14.setContent(qty);
            ProductionDetailList.Add(item14);
            //stock_unit
            ProductionStorageDetailItem item15 = new ProductionStorageDetailItem();

            item15.setHeader(GetString(Resource.String.production_storage_unit));
            item15.setContent(stock_unit);
            ProductionDetailList.Add(item15);
            //count_no
            ProductionStorageDetailItem item16 = new ProductionStorageDetailItem();

            item16.setHeader(GetString(Resource.String.production_storage_count_no));
            item16.setContent(count_no);
            ProductionDetailList.Add(item16);
            //stock_no_name
            ProductionStorageDetailItem item17 = new ProductionStorageDetailItem();

            item17.setHeader(GetString(Resource.String.production_storage_stock_no_name));
            item17.setContent(sock_no_name);
            ProductionDetailList.Add(item17);

            productionStorageDetailItemAdapter = new ProductionStorageDetailItemAdapter(this, Resource.Layout.production_storage_list_detail_item, ProductionDetailList);

            /*productionStorageDetailItemAdapter.ItemClick += (sender, e) =>
             * {
             *  Log.Debug(TAG, "Click Sender = " + sender.ToString() + " e = " + e.ToString());
             *
             *  if (e == 9) //quantity
             *  {
             *      Intent clearIntent = new Intent(Constants.ACTION_ENTERING_WAREHOUSE_DIVIDED_DIALOG_SHOW);
             *      clearIntent.PutExtra("INDEX", e.ToString());
             *      //clearIntent.putExtra("BARCODE", barcode);
             *      context.SendBroadcast(clearIntent);
             *
             *      Finish();
             *  }
             * };*/
            listView.SetAdapter(productionStorageDetailItemAdapter);
        }