예제 #1
0
        /// <summary>
        /// To List the F1440 Batch Button SnapShots for Current form slice.
        /// </summary>
        /// <param name="formsSliceNo">The forms slice no.</param>
        /// <returns>Typed DataSet containg the list of F1440 Batch Button SnapShots for Current form slice</returns>
        public static F9040SnapShotUtilityData F9040_ListBatchButtonSnapShots(int formsSliceNo)
        {
            F9040SnapShotUtilityData snapShotUtilityData = new F9040SnapShotUtilityData();
            Hashtable ht = new Hashtable();

            ht.Add("@Form", formsSliceNo);
            Utility.LoadDataSet(snapShotUtilityData.ListSnapShot, "f1440_pclst_SnapShot", ht);
            return(snapShotUtilityData);
        }
예제 #2
0
        /// <summary>
        /// Lists the SnapShots for the form.
        /// </summary>
        /// <param name="formId">The form id.</param>
        /// <returns>F9040SnapShotUtilityData Dataset</returns>
        public static F9040SnapShotUtilityData F9040_ListSnapShots(int formId)
        {
            F9040SnapShotUtilityData snapShotUtilityData = new F9040SnapShotUtilityData();
            Hashtable ht = new Hashtable();

            ht.Add("@Form", formId);
            string[] optionalParameter = new string[] { snapShotUtilityData.ListSnapShot.TableName, snapShotUtilityData.DefaultIncludeRows.TableName };
            Utility.LoadDataSet(snapShotUtilityData, "f9040_pclst_SnapShot", ht, optionalParameter);
            return(snapShotUtilityData);
        }