Skip to content

Instantly share code, notes, and snippets.

@smarenich
Created November 4, 2015 05:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smarenich/dd45990dc207e2714b37 to your computer and use it in GitHub Desktop.
Save smarenich/dd45990dc207e2714b37 to your computer and use it in GitHub Desktop.
//PXSearchable for GL Batch
[PXSearchable(
SM.SearchCategory.GL,
"{0} {1} - {2}",
new Type[] { typeof(Batch.module), typeof(Batch.batchNbr), typeof(Batch.branchID) },
new Type[] { typeof(Batch.ledgerID), typeof(Batch.description), typeof(BatchExt.usrExternarLeference) },
NumberFields = new Type[] { typeof(Batch.batchNbr) },
Line1Format = "{0}{1}{2:d}",
Line1Fields = new Type[] { typeof(Batch.ledgerID), typeof(Batch.finPeriodID), typeof(Batch.dateEntered) },
Line2Format = "{0}", Line2Fields = new Type[] { typeof(Batch.description) }
)]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment