<?xml version="1.0" encoding="utf-8"?><finScript version="1.00" exportedUtcDate="2021-12-08T20:52:40.0000000"><CreatedUserId>Admin</CreatedUserId><CreatedUtcDate>2021-11-26T02:16:42.5170000</CreatedUtcDate><UpdatedUserId>Admin</UpdatedUserId><UpdatedUtcDate>2021-11-28T20:53:49.9140000</UpdatedUtcDate><ScriptId>GLAE</ScriptId><Description>GL Account Edit</Description><ScriptType>HtmlWidget</ScriptType><Active>true</Active><AllowUI>false</AllowUI><Category /><Code>// HtmlWidget_GlAccountEdit

// #################################################################
// GL Account Edit form HTML Widget
//
// Version: 1.00 (29/11/2021)
//
// Usage: System-supplied HTML Widget
// #################################################################
// Version        Date  User     Job       Description
// -------  ----------  -------  --------  -------------------------
//    1.00  29/11/2021  ISS      J027875   Created
// #################################################################

// Constants
private const string FORM_KEY = "GlAccounts";

// Objects
private ISKeyValueList mCombinedParameters;
private ISKeyValueList mParameters;
private ISKeyValueList mStartupParameters;

// Standard Parameters
private string mGlAccountId;
private string mDuplicateRecordId;
private string mPage;
private bool mReadOnly;

public bool Main(string eventId, string parametersJson, string startUpParametersJson, isefinHtmlWidgetHostingContext hostingContext, finScriptRequestInfo requestInfo, ref string returnValue) {

  bool Main;

  // Assume Success
  Main = true;

  // Get Parameters
  mParameters = finBL.CreateKeyValueList();
  mParameters.FromSimpleJsonString(parametersJson);
  mStartupParameters = finBL.CreateKeyValueList();
  mStartupParameters.FromSimpleJsonString(startUpParametersJson);

  //Get Combined Parameters (Startup Parameters updated with event Parameters)
  mCombinedParameters = mStartupParameters.Clone();
  mCombinedParameters.UpdateFromKeyValueList(mParameters, true);

  // Get Standard Parameters
  mGlAccountId = mStartupParameters.GetString("GlAccountId"); // Always use Startup Parameters since the GL Account Id may be updated

  mDuplicateRecordId = mCombinedParameters.GetString("DuplicateRecordId");
  mPage = mCombinedParameters.GetString("Page");
  mReadOnly = mCombinedParameters.GetBoolean("ReadOnly");

  // Validate
  Main = finBL.HtmlWidgetUtilities.HasPermissionToViewFormKey(FORM_KEY);

  // Handle Events
  if (Main) {
    switch(eventId)
    {
      case "":
        // Main event, i.e., return initial HTML content (excluding html and body tags)
        returnValue = ScriptInfo.TemplateText;
        break;

      case "Finish":
        // Finish wizard
        Main = Finish(parametersJson, requestInfo, ref returnValue);
        break;

      case "GetInitialisationInfo":
        // Get Initialisation Information required for this wizard
        Main = GetInitialisationInfo(ref returnValue);
        break;

      default:
        Main = false;
        finBL.Error.ErrorBeginFormat("Unhandled event '{0}'", eventId);
        break;
    }
  }

  // Function should return a Boolean value indicating success
  return Main;

}

/// &lt;summary&gt;
///  Load GL Account.
/// &lt;/summary&gt;
private bool GetGlAccount(ref finGlAccount glAccount) {

  // Assume Success
  bool Success = true;

  // Validate

  // Create and Load GL Account
  if (Success) {
    // Create GL Account
    glAccount = finBL.CreateGlAccount();

    // Load GL Account
    if (mDuplicateRecordId != "") {
      // New record (by duplicating existing)
      Success = glAccount.Load(mDuplicateRecordId);
      if (Success) glAccount.Duplicate();
    }
    else if (mGlAccountId == "") {
      // New record
    }
    else {
      Success = glAccount.Load(mGlAccountId);
    }
  }

  return Success;
}

/// &lt;summary&gt;
///  Get Initialisation Information required for this wizard.
/// &lt;/summary&gt;
public bool GetInitialisationInfo(ref string response) {

  finGlAccount GlAccount = null;
  FormInitialisationInfo fii = new FormInitialisationInfo();

  // Assume Success
  bool Success = true;

  // Validate

  // Get GL Account
  if (Success) {
    Success = GetGlAccount(ref GlAccount);
  }

  // Get Initialisation Info
  if (Success) {
    // Form
    fii.PageId = mPage;
    if (finBL.Database.IsReadOnly || mReadOnly) {
      fii.ReadOnly = true;
    }
    else {
      fii.ReadOnly = false;
    }

    // Record
    fii.Pk = GlAccount.Pk;
    fii.Timestamp = GlAccount.Timestamp;

    // Page Permissions (defined here since they are used below)
    fii.AllowPageGeneral = true;

    // General
    fii.GlAccountId = GlAccount.GlAccountId; // Always need to return GL Account Id
    if (fii.AllowPageGeneral) {
      fii.Active = GlAccount.Active;
      fii.Description = GlAccount.Description;

      fii.Category = GlAccount.Category;

      fii.AltAccountId = GlAccount.AltAccountId;
    }

    // Other

    // Permissions

    // Lists

    // Configuration
    fii.HideOtherPages = mCombinedParameters.GetBoolean("HideOtherPages", false);
    fii.PromptOnSave = finBL.CloudConnectFunctions.CloudConnectSettings.PromptOnSave;
  }

  // Response
  if (Success) {
    Success = finBL.Runtime.WebUtilities.SerialiseObjectToJsonString(fii, ref response);
  }

  return Success;
}

/// &lt;summary&gt;
///  Finish, i.e., Save GL Account.
/// &lt;/summary&gt;
/// &lt;param name="parametersJson"&gt;
///  A JSON formatted record (FormInitialisationInfo) object.
/// &lt;/param&gt;
private bool Finish(string parametersJson,
                    finScriptRequestInfo requestInfo,
                    ref string returnValue) {

  finGlAccount GlAccount = null;
  object obj = null;
  FormInitialisationInfo Record = null;

  // Assume Success
  bool Success = true;

  // Parse Parameters
  if (finBL.Runtime.WebUtilities.DeserialiseJsonStringToObject(parametersJson, typeof(FormInitialisationInfo), ref obj)) {
    Record = (FormInitialisationInfo) obj;
  }
  else {
    Success = false;
  }

  // Get GL Account
  if (Success) {
    Success = GetGlAccount(ref GlAccount);
  }

  // Validate
  if (Success) {
    if (Record.Timestamp != GlAccount.Timestamp) {
      Success = false;
      finBL.Error.ErrorBegin("This record has been updated by another User.");
    }
  }

  // Update and Save
  // NOTE: Recheck Permissions in addition to the 'AllowPage' properties before updating to prevent spoofing
  if (Success) {
    // Begin Transaction
    if (finBL.Database.TransactionBegin()) {
      // Update GL Account

      // General
      if (Record.AllowPageGeneral) {
        GlAccount.GlAccountId = Record.GlAccountId;
        GlAccount.Active = Record.Active;
        GlAccount.Description = Record.Description;

        GlAccount.Category = Record.Category;

        GlAccount.AltAccountId = Record.AltAccountId;
      }

      // Save
      if (Success) {
        Success = GlAccount.Save();
      }

      // Commit/ Rollback Transaction
      if (Success) {
        finBL.Database.TransactionCommit();
      }
      else {
        finBL.Database.TransactionRollback();
      }
    }
    else {
      Success = false;
    }
  }

  return Success;
}

/// &lt;summary&gt;
///  Validate a Wizard page.
/// &lt;/summary&gt;
/// &lt;param name="returnValue"&gt;
///  A JSON object; "true" if validation passed, otherwise, information as to why validation failed.
/// &lt;/param&gt;
private bool WizardValidate(string parametersJson,
                            ref string returnValue) {

  object Data = null;
  string FailedControlId = "";
  string FailedMessage = "";
  string PageId;

  // Assume Success
  bool Success = true;

  // Get Parameters
  // NOTE: Use the module mCombinedParameters since this contains Startup and event Parameters in a single Key/Value List
  PageId = mCombinedParameters.GetString("PageId");

  // Validate Page
  switch(PageId) {
    case "General":
      // General
    break;
  }

  // Finalise
  if (Success) {
    Success = finBL.Runtime.WebUtilities.SerialiseObjectToJsonString(new WizardValidateResponse(Data, FailedMessage, FailedControlId), ref returnValue);
  }

  return Success;
}



/// &lt;summary&gt;
///  Wizard Initialisation Information.
/// &lt;/summary&gt;
/// &lt;remarks&gt;
///  This object is also used to save the Employment.
/// &lt;/remarks&gt;
public class FormInitialisationInfo {

  // Form
  public string PageId;
  public bool ReadOnly;

  // Record
  public int Pk;
  public int Timestamp;

  // General
  public string GlAccountId;
  public bool Active;
  public string Description;

  public string Category;

  public string AltAccountId;

  // Permissions
  public bool AllowPageGeneral;

  // Lists
  public string ListCategories;

  // Configuration
  public bool HideOtherPages;
  public bool PromptOnSave;
}



/// &lt;summary&gt;
///  Validation details.
/// &lt;/summary&gt;
public class WizardValidateResponse {

  public object Data;
  public string FailedMessage;
  public string FailedControlId;

  public WizardValidateResponse(object data,
                                string failedMessage,
                                string failedControlId) {

    this.Data = data;
    this.FailedMessage = failedMessage;
    this.FailedControlId = failedControlId;
  }
}</Code><Language>CSharp</Language><Notes>System-supplied HTML Widget to edit a GL Account.</Notes><PermissionKeyExecute /><RunWithoutPrompts>false</RunWithoutPrompts><TemplateText>&lt;div id="frmMain" class="is-widget-content" style="visibility:hidden"&gt;

  &lt;!-- Form Header --&gt;
  &lt;header&gt;
    &lt;!-- Tabs --&gt;
    &lt;div id="tabDetails" class="is-tabs"&gt;
      &lt;ul&gt;
        &lt;li tabId="General"&gt;General&lt;/li&gt;
      &lt;ul&gt;
    &lt;/div&gt;
  &lt;/header&gt;


  &lt;!-- Pages --&gt;
  &lt;div class="is-widget-form-body"&gt;
    &lt;!-- General --&gt;
    &lt;div id="pageGeneral"&gt;
      &lt;table class="is-form"&gt;
        &lt;colgroup&gt;
          &lt;col style="width:8em" /&gt;
          &lt;col /&gt;
        &lt;/colgroup&gt;

        &lt;tr&gt;
          &lt;th colspan="2"&gt;&lt;label id="lblCodeAndName"&gt;Code and Description&lt;/label&gt;&lt;/th&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;th&gt;&lt;label for="txtGlAccountId"&gt;Code:&lt;/label&gt;&lt;/th&gt;
          &lt;td&gt;&lt;input id="txtGlAccountId"/&gt; &lt;input id="chkActive" type="checkbox"/&gt;&lt;/td&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;th&gt;&lt;label for="txtDescription"&gt;Description:&lt;/label&gt;&lt;/th&gt;
          &lt;td&gt;&lt;input id="txtDescription"/&gt;&lt;/td&gt;
        &lt;/tr&gt;

        &lt;tr&gt;
          &lt;th colspan="2"&gt;&lt;label&gt;Account Category&lt;/label&gt;&lt;/th&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;th&gt;&lt;label for="cboCategory"&gt;Category:&lt;/label&gt;&lt;/th&gt;
          &lt;td&gt;&lt;input id="cboCategory"/&gt;&lt;/td&gt;
        &lt;/tr&gt;

        &lt;tr&gt;
          &lt;th colspan="2"&gt;&lt;label&gt;If your accountant uses another code, enter it here&lt;/label&gt;&lt;/th&gt;
        &lt;/tr&gt;
        &lt;tr&gt;
          &lt;th&gt;&lt;label for="txtAltAccount"&gt;Alternate&amp;nbsp;Code:&amp;nbsp;&lt;/label&gt;&lt;/th&gt;
          &lt;td&gt;&lt;input id="txtAltAccount"/&gt;&lt;/td&gt;
        &lt;/tr&gt;
      &lt;/table&gt;
    &lt;/div&gt;

  &lt;/div&gt;


  &lt;!-- Form Footer --&gt;
  &lt;footer&gt;
    &lt;button id="cmdCancel" class="is-button"&gt;Cancel&lt;/button&gt;
    &lt;button id="cmdFinish" class="is-button ok"&gt;Save&lt;/button&gt;
  &lt;/footer&gt;

&lt;/div&gt;


&lt;script&gt;
// Properties
var mRecord;

var mOriginalJson;

// Controls
var C = {
  //   General
  lblCodeAndName: null,
  chkActive: null,
  txtGlAccountId: null,
  txtDescription: null,

  cboCategory: null,

  txtAltAccount: null,
}

// Form
var frmMain;
var tabDetails;

// Buttons
var cmdCancel;
var cmdFinish;

// Other

// ==========
// Initialise
// ==========
$(function () {
  // Mobile optimisations
  $(window).resize(Form_Resize);

  // --------
  // Controls
  // --------
  //   General
  C.lblCodeAndName = widget.UI.Label("lblCodeAndName", {});
  C.txtGlAccountId = widget.UI.TextBox("txtGlAccountId", {
    allowBlank: false,
    maxLength: 20,
    width: widget.UI.FIELD_WIDTH_CODE_20,
  });
  C.chkActive = widget.UI.CheckBox("chkActive", {
    caption: "Active?",
  });
  C.txtDescription = widget.UI.TextBox("txtDescription", {
    allowBlank: false,
    maxLength: 50,
  });

  C.cboCategory = widget.UI.InformationListComboBox("cboCategory", {
    maxLength: 50,
  });

  C.txtAltAccount = widget.UI.TextBox("txtAltAccount", {
    maxLength: 100,
  });

  // Grids

  // Create Widget form
  // NOTE: Hide by default for a cleaner startup
  frmMain = new widget.UI.Form("frmMain", { visible: false });

  // Create Tabs
  tabDetails = new widget.UI.Tabs("tabDetails", {
    style: "normal",
    onSelectedTabChanged: tabDetails_Refresh,
  });

  // Handle resize
  $(window).resize(Form_Resize);

  // Disable Close Button (this causes the 'FormClose' notification action to be invoked instead)
  widget.DisableCloseButton();
  widget.ActionNotificationHandle(Widget_NotificationHandler)

  // Handle Wizard Buttons
  cmdCancel = $("#cmdCancel");
  cmdFinish = $("#cmdFinish");
  cmdCancel.click(tabDetails_Cancel);
  cmdFinish.click(Form_ExecuteAction_Finish);

  // Reset
  Form_Reset();
});

// ==========
// Reset Form
// ==========
function Form_Reset() {
  // Resize
  Form_Resize();

  // Load Record (i.e., initialise wizard)
  Record_Load();
}

// ===========
// Load Record
// ===========
function Record_Load() {
  // Initialise
  mRecord = null;

  // Hide content
  frmMain.Visible(false);

  // Block UI
  widget.UI.Block("Initialising, please wait...");

  // Load Initialisation details
  widget.GetString("GetInitialisationInfo", {},
    // Success
    Record_Load_Done,

    // Fail
    function (message) {
      widget.UI.MsgBoxAlert("fail: " + message);
      Fields_Load();
    }
  );
}

function Record_Load_Done(data) {
  // Initialise
  mRecord = JSON.parse(data);

  // Set Tab
  if (mRecord &amp;&amp; mRecord.PageId) {
    tabDetails.SelectedTabId(mRecord.PageId);

    // Hide other Pages
    if (mRecord.HideOtherPages) {
      tabDetails.ShowSingleTab(mRecord.PageId);
    }
  }
  else {
    tabDetails.SelectedTabId("General");
  }

  // Page Permissions
  if (!mRecord.AllowPageGeneral) tabDetails.TabVisible("General", false);

  // Load Fields
  Fields_Load();
  
  // Save Fields (so UserData is in correct format for mOriginalJson)
  Fields_Save();

  // Save original JSON for Form_IsDirty
  mOriginalJson = JSON.stringify(mRecord);
}

// ===========
// Load Fields
// ===========
function Fields_Load() {
  if (mRecord) {
    // General
    C.txtGlAccountId.Text(mRecord.GlAccountId);
    C.chkActive.Value(mRecord.Active);
    C.txtDescription.Text(mRecord.Description);

    C.cboCategory.Text(mRecord.Category);

    C.txtAltAccount.Text(mRecord.AltAccountId);
  }

  // Unblock UI
  widget.UI.Unblock();

  // Update Controls

  // Update fields
  Fields_Update();

  // Refresh Tab
  tabDetails_Refresh();
  tabDetails_Resize();
}

// ===========
// Save Fields
// ===========
function Fields_Save() {
  // General
  mRecord.GlAccountId = C.txtGlAccountId.Text();
  mRecord.Active = C.chkActive.Value();
  mRecord.Description = C.txtDescription.Text();

  mRecord.Category = C.cboCategory.Text();

  mRecord.AltAccountId = C.txtAltAccount.Text();
}

// =============
// Update Fields
// =============
function Fields_Update() {
  // Heading
  if (mRecord) {
    if (mRecord.GlAccountId) {
      widget.SetHeading("GL Account (" + mRecord.GlAccountId + ")");
    }
    else {
      widget.SetHeading("New GL Account");
    }
  }

  // Information Lists
  if (mRecord) {
    C.cboCategory.SetComboFromInformationList("GLAccountCategories");
  }

  // Lists
  if (mRecord) {
  }

  // Controls
  if (mRecord) {
  }

  // Pages
  if (mRecord) {
    // NOTE: Even though many pages are updated in tabDetails_Refresh, we must update them here to ensure controls are hidden since this is not a wizard and all pages are validated on "Finish"
    pageGeneral_Refresh();
  }

  // Read-Only?
  if (mRecord &amp;&amp; mRecord.ReadOnly) {
    cmdFinish.prop("disabled", true);
    frmMain.FormReadOnly(C, true);
  }

  // Show content
  frmMain.Visible(mRecord != null);

  // Resize Tab
  tabDetails_Resize();
}

// ===========
// Resize Form
// ===========
function Form_Resize() {
  // Mobile Optimisations
  var el = $(".mobile-indent th.indent1, .mobile-indent th.no-indent1");
  if (window.innerWidth &lt; 500) {
    el.addClass("no-indent1").removeClass("indent1");
  }
  else {
    el.addClass("indent1").removeClass("no-indent1");
  }

  // General

  // Tab
  tabDetails_Resize();
}

// ========
// Is Dirty
// ========
function Form_IsDirty() {
  if (mRecord) {
    // Save Fields
    Fields_Save();

    // Is Dirty?
    return mOriginalJson != JSON.stringify(mRecord);
  }
  else {
    return false;
  }
}

// ==============
// Wizard Buttons
// ==============
function tabDetails_Cancel() {
  if (Form_IsDirty()) {
    // Confirm
    widget.UI.MsgBoxConfirm("Are you sure you want to close this form without saving your changes?", { heading: "Close Form" }, tabDetails_Cancel_Finalise);
  }
  else {
    // Cancel immediately
    tabDetails_Cancel_Finalise();
  }
}

function tabDetails_Cancel_Finalise() {
  if (widget.CanClose()) {
    widget.Close();
  }
  else {
    widget.Reset();
  }
}

// ==========
// Resize Tab
// ==========
function tabDetails_Resize() {
  switch (tabDetails.SelectedTabId()) {
    case "General":
      // General
      C.txtDescription.WidthResizeFromParent();
      C.txtAltAccount.WidthResizeFromParent();
      break;
  }
}

// ===========
// Refresh Tab
// ===========
function tabDetails_Refresh() {
   // Load details
  switch (tabDetails.SelectedTabId()) {
    case "General":
      pageGeneral_Refresh();
      break;

    default:
      break;
  }

  // Resize
  tabDetails_Resize();

  // Focus
  switch (tabDetails.SelectedTabId()) {
    default:
      tabDetails.FocusFirst();
      break;
  }
}

// =================
// Execute an Action
// =================
function Form_ExecuteAction(actionId, data) {
  switch(actionId) {
    default:
      window.alert("Unhandled action '" + actionId + "'");
  }
}

// =============
// Finish Action
// =============
function Form_ExecuteAction_Finish() {
  // Assume Success
  var Ok = true;

  // Validate
  Ok = tabDetails.Validate();

  // Prompt
  if (Ok) {
    if (mRecord.PromptOnSave) {
      // Confirm
      widget.UI.MsgBoxConfirm("Are you sure you want to save this record?",
                              { heading: "Save" },
                              Form_ExecuteAction_FinishPost);

    }
    else {
      // Save without prompting
      Form_ExecuteAction_FinishPost();
    }
  }
}

function Form_ExecuteAction_FinishPost() {
  // Disable Form
  widget.UI.Block("Saving, please wait...");

  // Create Parameters
  // NOTE: We will simply update mRecord, clone this and send back (less some information)
  Fields_Save();
  var params = JSON.parse(JSON.stringify(mRecord));
  //params.GendersList = null;

  // Finish
  widget.GetString("Finish", params,
    function (data) {
      // Close Form
      widget.Close();

      // Refresh Parent (to show updated details)
      // NOTE: Pass in Record Id just in case this has changed
      widget.RefreshParent(C.txtGlAccountId.Text());
    },

    function (data) {
      // Show Error
      widget.UI.MsgBoxAlert(data);

      // Enable Form
      widget.UI.Unblock();
    }
  );
}

// ===========
// pageGeneral
// ===========
function pageGeneral_Refresh() {
  if (!mRecord) return;

  // Controls
}

// ====================
// Notification Handler
// ====================
function Widget_NotificationHandler(actionId, data) {
   switch(actionId) {
     case "FormClose":
      // Form Close button is disabled so act as if 'Cancel' has been clicked
      tabDetails_Cancel();
      break;
   }
}
&lt;/script&gt;</TemplateText><TemplateTextBookmarks /><TimeoutSeconds>60</TimeoutSeconds><UniqueId>1LqQ68UMoEqKRPcKirVw-g</UniqueId><AllowRefresh>true</AllowRefresh><Caption>GL Account</Caption><HtmlWidgetMaxHeight>800</HtmlWidgetMaxHeight><HtmlWidgetMaxWidth>800</HtmlWidgetMaxWidth><HtmlWidgetNeverApplyStyling>false</HtmlWidgetNeverApplyStyling><HtmlWidgetResourceCssSummaryPage2>false</HtmlWidgetResourceCssSummaryPage2><HtmlWidgetResourceCssWidget>true</HtmlWidgetResourceCssWidget><HtmlWidgetResourceJQuery>true</HtmlWidgetResourceJQuery><HtmlWidgetResourceJQueryVersion /><Icon>GLAccount</Icon><JavaScriptDebugger>None</JavaScriptDebugger><RestrictedOriginsListEnabled>false</RestrictedOriginsListEnabled><RunAsAdministrator>false</RunAsAdministrator><WebServiceName /><WebServiceAllowAnonymous>false</WebServiceAllowAnonymous><WebServiceSendDebugInformation>false</WebServiceSendDebugInformation><ShowInMenu>None</ShowInMenu><ParametersType>Custom</ParametersType><Parameters><ISParameterDefs version="1.00"><Parameters><Parameter name="" type="SectionStart"><BlankTip /><Caption>Form options.</Caption><StandaloneOnly>false</StandaloneOnly><TooltipText /><SectionColumns>1</SectionColumns><Visible>true</Visible></Parameter><Parameter name="HideOtherPages" type="Boolean"><BlankTip /><Caption>Hide pages other than the one being edited?</Caption><StandaloneOnly>false</StandaloneOnly><TooltipText /><DefaultValueExpression /><Enabled>true</Enabled><HideDescription>false</HideDescription><IndentLevel>0</IndentLevel><NonPersistable>false</NonPersistable><ReadOnly>false</ReadOnly><ReadOnly2>false</ReadOnly2><Value>True</Value><Visible>true</Visible></Parameter><Parameter name="" type="SectionStart"><BlankTip /><Caption>Configuration options.</Caption><StandaloneOnly>false</StandaloneOnly><TooltipText /><SectionColumns>1</SectionColumns><Visible>true</Visible></Parameter><Parameter name="" type="SectionStart"><BlankTip /><Caption>TESTING</Caption><StandaloneOnly>false</StandaloneOnly><TooltipText /><SectionColumns>1</SectionColumns><Visible>true</Visible></Parameter><Parameter name="GlAccountId" type="Range"><BlankTip /><Caption /><StandaloneOnly>false</StandaloneOnly><TooltipText /><DefaultValueExpression /><Enabled>true</Enabled><HideDescription>false</HideDescription><IndentLevel>0</IndentLevel><Mandatory>false</Mandatory><NonPersistable>false</NonPersistable><ReadOnly>false</ReadOnly><ReadOnly2>false</ReadOnly2><Value /><Visible>true</Visible><LimitToList>false</LimitToList><MaxLength>20</MaxLength><RangeSingle>true</RangeSingle><RangeType>Standard</RangeType><RangeLookupSource>GlAccounts</RangeLookupSource><RangeLookupSqlWhere /></Parameter><Parameter name="DuplicateRecordId" type="List"><BlankTip /><Caption /><StandaloneOnly>false</StandaloneOnly><TooltipText /><DefaultValueExpression /><Enabled>true</Enabled><HideDescription>false</HideDescription><IndentLevel>0</IndentLevel><Mandatory>false</Mandatory><NonPersistable>false</NonPersistable><ReadOnly>false</ReadOnly><ReadOnly2>false</ReadOnly2><Value /><Visible>true</Visible><List>RANGE.ClientTypes</List><LimitToList>false</LimitToList><MaxLength>0</MaxLength><Rows>1</Rows></Parameter><Parameter name="Page" type="List"><BlankTip /><Caption /><StandaloneOnly>false</StandaloneOnly><TooltipText /><DefaultValueExpression /><Enabled>true</Enabled><HideDescription>false</HideDescription><IndentLevel>0</IndentLevel><Mandatory>false</Mandatory><NonPersistable>false</NonPersistable><ReadOnly>false</ReadOnly><ReadOnly2>false</ReadOnly2><Value /><Visible>true</Visible><List>General,Filters</List><LimitToList>false</LimitToList><MaxLength>0</MaxLength><Rows>1</Rows></Parameter><Parameter name="ReadOnly" type="Boolean"><BlankTip /><Caption /><StandaloneOnly>false</StandaloneOnly><TooltipText /><DefaultValueExpression /><Enabled>true</Enabled><HideDescription>false</HideDescription><IndentLevel>0</IndentLevel><NonPersistable>false</NonPersistable><ReadOnly>false</ReadOnly><ReadOnly2>false</ReadOnly2><Value>False</Value><Visible>true</Visible></Parameter></Parameters></ISParameterDefs></Parameters></finScript>