public static void RunFragment(CSIBaseActivity activity) { try { FragmentTransaction ft = activity.FragmentManager.BeginTransaction(); DCJobRunFragment JobDialog = (DCJobRunFragment)activity.FragmentManager.FindFragmentByTag("JobReceipt"); if (JobDialog != null) { ft.Show(JobDialog); //ft.AddToBackStack(null); } else { // Create and show the dialog. JobDialog = new DCJobRunFragment(activity); //Add fragment JobDialog.Show(ft, "JobReceipt"); } } catch (Exception Ex) { CSIErrorLog.WriteErrorLog(Ex); } }
public DCMiscReceiveFragment(CSIBaseActivity activity = null) : base(activity) { Title = Application.Context.GetString(Resource.String.MiscReceive); CSISystemContext.ReadConfigurations(); SLDcitems = new CSIDcitems(CSISystemContext); SLDcitems.AddProperty("TransNum"); SLDcitems.AddProperty("TransType"); SLDcitems.AddProperty("Stat"); SLDcitems.AddProperty("Termid"); SLDcitems.AddProperty("TransDate"); SLDcitems.AddProperty("Whse"); SLDcitems.AddProperty("EmpNum"); SLDcitems.AddProperty("Item"); SLDcitems.AddProperty("UM"); SLDcitems.AddProperty("CountQty"); SLDcitems.AddProperty("Loc"); SLDcitems.AddProperty("Lot"); SLDcitems.AddProperty("ReasonCode"); SLDcitems.AddProperty("DocumentNum"); SLDcitems.AddProperty("ErrorMessage"); SLDcitems.SetFilter("1=0"); SLDcitems.UseAsync(false); SLDcitems.LoadIDO(); SLDcitems.UseAsync(true); SLDcitems.SaveDataSetCompleted += SLDcitems_SaveDataSetCompleted; SLDcitems.LoadDataSetCompleted += SLDcitems_LoadDataSetCompleted; SLDcitems.CallMethodCompleted += SLDcitems_CallMethodCompleted; }
public static void RunFragment(CSIBaseActivity activity) { try { FragmentTransaction ft = activity.FragmentManager.BeginTransaction(); ItemListFragment ItemListFragmentDialog = (ItemListFragment)activity.FragmentManager.FindFragmentByTag("Items"); if (ItemListFragmentDialog != null) { ft.Show(ItemListFragmentDialog); //ft.AddToBackStack(null); } else { // Create and show the dialog. ItemListFragmentDialog = new ItemListFragment(activity); //Add fragment ItemListFragmentDialog.Show(ft, "Items"); } } catch (Exception Ex) { CSIErrorLog.WriteErrorLog(Ex); } }
public DCOrderShippingFragment(CSIBaseActivity activity = null) : base(activity) { Title = Application.Context.GetString(Resource.String.SalesShip); CSISystemContext.ReadConfigurations(); SLDccos = new CSIDccos(CSISystemContext); SLDccos.AddProperty("TransNum"); SLDccos.AddProperty("TransType"); SLDccos.AddProperty("Stat"); SLDccos.AddProperty("Termid"); SLDccos.AddProperty("TransDate"); SLDccos.AddProperty("EmpNum"); SLDccos.AddProperty("CoNum"); SLDccos.AddProperty("CoLine"); SLDccos.AddProperty("CoRelease"); SLDccos.AddProperty("Item"); SLDccos.AddProperty("UM"); SLDccos.AddProperty("Whse"); SLDccos.AddProperty("Loc"); SLDccos.AddProperty("Lot"); SLDccos.AddProperty("QtyShipped"); SLDccos.AddProperty("QtyReturned"); SLDccos.AddProperty("ReasonCode"); SLDccos.AddProperty("DocumentNum"); SLDccos.AddProperty("ErrorMessage"); SLDccos.SetFilter("1=0"); SLDccos.UseAsync(false); SLDccos.LoadIDO(); SLDccos.UseAsync(true); SLDccos.SaveDataSetCompleted += SLDccos_SaveDataSetCompleted; SLDccos.LoadDataSetCompleted += SLDccos_LoadDataSetCompleted; SLDccos.CallMethodCompleted += SLDccos_CallMethodCompleted; }
public static ModuleDeckFragment NewInstance(Module Module, CSIBaseActivity activity = null) { ModuleDeckFragment fragment = new ModuleDeckFragment(activity); Bundle args = new Bundle(); args.PutString(MODULE_NAME, Module.ModuleName); fragment.Arguments = args; fragment.Module = Module; return(fragment); }
public ItemListFragment(CSIBaseActivity activity = null) : base(activity) { Title = Application.Context.GetString(Resource.String.Items); try { } catch (Exception Ex) { WriteErrorLog(Ex); } }
public DCJobMaterialTransactionsFragment(CSIBaseActivity activity = null) : base(activity) { Title = Application.Context.GetString(Resource.String.JobMaterial); CSISystemContext.ReadConfigurations(); SLDcjms = new CSIDcjms(CSISystemContext); SLDcjms.AddProperty("TransNum"); SLDcjms.AddProperty("TransType"); SLDcjms.AddProperty("Stat"); SLDcjms.AddProperty("Termid"); SLDcjms.AddProperty("TransDate"); SLDcjms.AddProperty("EmpNum"); SLDcjms.AddProperty("Job"); SLDcjms.AddProperty("Suffix"); SLDcjms.AddProperty("JobItem"); SLDcjms.AddProperty("CoProductMix"); SLDcjms.AddProperty("DerCoItem"); SLDcjms.AddProperty("OperNum"); SLDcjms.AddProperty("JobrtWc"); SLDcjms.AddProperty("JobItemLotTracked"); SLDcjms.AddProperty("JobItemSerialTracked"); SLDcjms.AddProperty("ItemSerialPrefix"); SLDcjms.AddProperty("Whse"); SLDcjms.AddProperty("Loc"); SLDcjms.AddProperty("Lot"); SLDcjms.AddProperty("Item"); SLDcjms.AddProperty("ItemLotTracked"); SLDcjms.AddProperty("ItemSerialTracked"); SLDcjms.AddProperty("JobmatlUM"); SLDcjms.AddProperty("UM"); SLDcjms.AddProperty("Qty"); SLDcjms.AddProperty("DocumentNum"); SLDcjms.AddProperty("ErrorMessage"); SLDcjms.SetFilter("1=0"); SLDcjms.UseAsync(false); SLDcjms.LoadIDO(); SLDcjms.UseAsync(true); SLDcjms.SaveDataSetCompleted += SLDcjms_SaveDataSetCompleted; SLDcjms.LoadDataSetCompleted += SLDcjms_LoadDataSetCompleted; SLDcjms.CallMethodCompleted += SLDcjms_CallMethodCompleted; }
public SignInDialogFragment(CSIBaseActivity activity = null) : base(activity) { Title = Application.Context.GetString(Resource.String.Login); try { //CreateSessionTokenCompleted += OnCreateSessionTokenCompleted; Users = new CSIUserNames(CSISystemContext); Users.CreateSessionTokenCompleted += OnCreateSessionTokenCompleted; Users.LoadDataSetCompleted += OnLoadDataSetCompleted; UsersLocal = new CSIUserLocals(CSISystemContext); UsersLocal.LoadDataSetCompleted += OnLoadDataSetCompleted; Employee = new CSIEmployees(CSISystemContext); Employee.LoadDataSetCompleted += OnLoadDataSetCompleted; Parms = new CSIParms(CSISystemContext); Parms.LoadDataSetCompleted += Parmse_LoadDataSetCompleted;; } catch (Exception Ex) { WriteErrorLog(Ex); } }
public ChangeWarehouseFragment(CSIBaseActivity activity = null) : base(activity) { Title = Application.Context.GetString(Resource.String.ChangeWarehouse); CSISystemContext.ReadConfigurations(); }
public ModuleDeckFragment(CSIBaseActivity activity = null) : base(activity) { }
public SettingsDialogFragment(CSIBaseActivity activity = null) : base(activity) { CSISystemContext.ReadConfigurations(); }
public ModuleDeckAdapter(Android.Support.V4.App.FragmentManager fm, ModuleDeck ModuleDecks, CSIBaseActivity activity = null) : base(fm, activity) { this.ModuleDecks = ModuleDecks; }
public SerialGenerator(CSIBaseActivity activity = null) : base(activity) { }
public AboutDialogFragment(CSIBaseActivity activity = null) : base(activity) { Title = Application.Context.GetString(Resource.String.About); CSISystemContext.ReadConfigurations(); }
public ProgressFragment(CSIBaseActivity activity = null) : base(activity) { }