Skip to content

Instantly share code, notes, and snippets.

@ztirom

ztirom/JumpRef Secret

Created Dec 26, 2016
Embed
What would you like to do?
jumpref-xpp
public void jumpRef()
{
Args locArgs = new Args();
DirPartyTable locDirPartyTable;
locArgs.caller(this);
// Find and set buffer
locDirPartyTable = DirPartyTable::findRec(CustTable::find(SalesTable.CustAccount).Party);
// Set record
locArgs.record(locDirPartyTable);
locArgs.lookupRecord(locDirPartyTable);
new MenuFunction(menuitemDisplayStr(DirPartyTableMain), MenuItemType::Display).run(locArgs);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment