Models | Examples |
---|---|
Display ads | Yahoo! |
Search ads |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/************************************************************************** | |
* OSM2GEO - OSM to GeoJSON converter | |
* OSM to GeoJSON converter takes in a .osm XML file as input and produces | |
* corresponding GeoJSON object. | |
* | |
* AUTHOR: P.Arunmozhi <aruntheguy@gmail.com> | |
* DATE : 26 / Nov / 2011 | |
* LICENSE : WTFPL - Do What The Fuck You Want To Public License | |
* LICENSE URL: http://sam.zoy.org/wtfpl/ | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Event::listen('404', function() | |
{ | |
$username = URI::segment(1); | |
$user = User::where_username($username) | |
->where_type('account') | |
->first(); | |
if ($user != null) { | |
if ($user->username != '') { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEF VAR vWorkstation AS CHAR NO-UNDO. | |
FIND FIRST LicUser WHERE LicUser.CurUserID = dcd-userid NO-LOCK. | |
ASSIGN vWorkstation = STRING(LicUser.ClientComputerName) + " " + STRING(LicUser.ClientTerminalID). | |
ASSIGN ttJobTravParam.WorkstationID = vWorkstation. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ************************************************** | |
// Custom code for SalesOrderForm | |
// Created: 4/9/2014 7:29:23 AM | |
// ************************************************** | |
using System; | |
using System.ComponentModel; | |
using System.Data; | |
using System.Diagnostics; | |
using System.Windows.Forms; | |
using Epicor.Mfg.BO; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Execute BAQ with parameter | |
using (var session = new Epicor.Mfg.Core.Session("user", "secret", "AppServerDC://server:port")) | |
{ | |
// DynamnicQuery for BAQ | |
var dynamicQuery = new Epicor.Mfg.BO.DynamicQuery(session.ConnectionPool); | |
// Build Parameters DS | |
QueryExecutionDataSet executionDS = new QueryExecutionDataSet(); | |
// Actual parameter row |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Change Epicor Panel Default titles | |
* | |
* @type Custom Function | |
* @return void | |
*/ | |
public void ChangePanelTitles() | |
{ | |
// Initialize Variables for Title Changing | |
Infragistics.Win.UltraWinDock.DockableWindow dockWindow; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Add Support for the KeyField to trigger something | |
* when the keyboard is triggered. (Does not come out of the box) | |
* | |
* @type Custom Function | |
* @return void | |
*/ | |
private void txtKeyField_KeyDown(object sender, System.Windows.Forms.KeyEventArgs args) | |
{ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
internal static class EpiConsole | |
{ | |
public static void Start() | |
{ | |
IntPtr hw = GetConsoleWindow(); | |
if (hw == IntPtr.Zero) AllocConsole(); | |
Console.Clear(); | |
ShowWindow(hw, 8); | |
Debug.Listeners.Clear(); | |
TextWriterTraceListener writer = new TextWriterTraceListener(System.Console.Out); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Check for Negative Inventory, Epicor does Check for this however we have no control | |
* wether we should play the ERROR sound or not unless we check and play the sound | |
* before Epicor makes a Dialog Box appear | |
* | |
* @var partNum | |
* @var lotNum | |
* @var qty | |
* @type Custom Function | |
* @return bool |
OlderNewer