|
FUNCTION BT_RowReset() |
Resets a row.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION ClassOnFocusAddlGrid(gridCtl) |
Displays reference message (ML_Status) when a secondary grid field has focus.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION ClassOnFocusGrid(gridCtl) |
Enables/Disables controls based on field value when a grid row has focus.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LaunchMemoItem() |
Launches Item Memo selection from the pop-up menu.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LoadGrid(gridCtl) |
Loads records into grid. Places focus in the new empty row.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION ShowMemoItem() |
Hides or shows Item Memo selection from the pop-up menu.
|
| Returns |
[numeric] (1) - to show selection on menu or (-1) - to hide selection on menu |
|
|
FUNCTION LOCAL BT_Accept() |
Accepts transaction. Verifies that transaction has at least 1 line.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL BT_Alias() |
Invokes alias item dialog.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL BT_Batch() |
Invokes batch selection dialog.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL BT_BatchTransfer() |
Invokes batch transfer dialog.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL BT_Bill() |
Invokes phantom bill import dialog.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL BT_ExtendedDescGrid() |
Invokes extended description dialog.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL BT_ItemInquiry() |
Invokes item inquiry dialog.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL BT_Labor() |
Invokes the backflush labor transaction.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL BT_Materials() |
Invokes the backflush materials transaction.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL BT_Memo() |
Override of the base class memo logic for the Work Ticket Memo button
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL BT_NextNum() |
Gets next transaction number.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL BT_OKClose() |
'OK' button logic to close dialog.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL BT_OKView() |
'OK' button logic to close dialog in view mode.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL BT_RowDel() |
Function overridden from SY_LineEntryTier_ui. This is overridden to hide/show the materials being added help.
|
| Returns |
[boolean] Always returns retSUCCESS(1) |
|
|
FUNCTION LOCAL BT_StepMemo() |
Override of the base class memo logic for the Work Ticket Step Memo button
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL BT_WTDetail() |
Invokes work ticket detail dialog. If user selects an item code, updates materials item fields.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL BT_WTDetailSelect() |
Invokes work ticket material selection dialog. If user selects one or more materials, updates materials item fields.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeActivityCode(gridCtl) |
'Activity Code' change logic. Also sets work center if an activity code/work center combo is selected from lookup.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeCM_CloseWorkTicket(gridCtl) |
'Close Work Ticket' change logic. Translates check box value to Y/N.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeCM_Overhead(gridCtl) |
'Calculate Overhead' change logic. Translates check box value to Y/N.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeCM_Scrap(gridCtl) |
'Scrap' change logic. Translates check box value to Y/N. Enables/Disables related fields in grid.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeDB_CostMethod(gridCtl) |
'Cost Method' change logic. Translates drop box value.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeDB_MakeFor(gridCtl) |
'Make For' change logic. Translates drop box value. Enables/Disables related fields in grid.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeDB_Step() |
Change logic for Step Number in the Phantom Bill Import dialog.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL ChangeMakeForSalesOrderNo(gridCtl) |
'Make For Sales Order' change logic. Invokes sales order detail dialog after.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeMaterialsItemCode(gridCtl) |
'Materials Item Code' change logic.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeML_FromStepNo(gridCtl) |
'Scrap From Step Number' change logic.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeML_Import_Bill() |
Change logic for Bill Number in the Phantom Bill Import dialog.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeML_Import_Revision() |
Change logic for Bill Revision in the Phantom Bill Import dialog.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeML_QtyCompleted(gridCtl) |
Change logic for Quantity Completed in labor transaction.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeML_Qty_Issue() |
Change logic for Quantity Issued in the Phantom Bill Import dialog.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL ChangeML_ToStepNo(gridCtl) |
'Scrap To Step Number' change logic.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeML_WorkTicketNo() |
Transaction header 'Work Ticket Key' change logic.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeML_WorkTicketNum(gridCtl) |
Transaction detail 'Work Ticket Key' change logic.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeQuantity(gridCtl) |
'Quantity' change logic.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeQuantityIssued(gridCtl) |
'Quantity Issued' change logic.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeQuantityToComplete(gridCtl) |
'Quantity to Complete' change logic.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeStepNo(gridCtl) |
'Step Number' change logic.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeSubstituteItemCode(gridCtl) |
'Substitute Item Code' change logic.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeTransactionDate() |
Function to change the transaction date value
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeTransactionNo() |
'Transaction Number' change logic.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeTransactionType() |
'Transaction Type' change logic. Hides/Shows work ticket number based on type.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ChangeWorkCenter(gridCtl) |
'Work Center' change logic.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL CheckForExtendedDescription() |
|
FUNCTION LOCAL CheckForExtendedDescription(busObj) |
Overrides method from CI_ExtendedDescription_ui to clear ExtDescriptionText$ for completion/close transaction.
|
| Parameter | Description |
| busObj |
{optional} [input, numeric] Business object handle |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ClassDragGridClassDropGrid$(g1$, g2$) |
Function overridden from SY_LineEntry_ui. Overridden to adjust added material lines bitmap column ML_Added$ after row is moved.
|
| Parameter | Description |
| g1$ |
[input, string] Grid name that row was dragged from. |
| g2$ |
[input, string] Grid name that row was dropped onto. |
|
| Returns |
[string] returns error string if unsuccessful, otherwise returns an empty string. |
|
|
FUNCTION LOCAL ClearGridSettings() |
Clears and initializes grid settings when switching transaction type.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL DisplayExtendedDescription(gridCtl, item$, itemDesc$, extDescKey$) |
Displays extended description dialog.
|
| Parameter | Description |
| gridCtl |
[input, string] Grid control ID |
| item$ |
[input, string] Item code |
| itemDesc$ |
[input, string] Item code description |
| extDescKey$ |
[input, string] Extended description key, if null, will get extended description key from item maintenance |
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL DRBT_ItemInquiry() |
Displays item inquiry dialog.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL DRBT_ItemMaint() |
Displays item maintenance dialog.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL DRBT_ItemStatus() |
Displays item status dialog.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL EnableOtherControls(gridCtl, rowNo) |
Enables/disables controls on lines tab based on transaction type.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
| rowNo |
[input, numeric] Row number |
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL EnablepHeaderControls() |
Enables appropriate controls on header tab.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL EnablepLinesControls() |
Hides/shows controls on lines tab based on transaction type.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL EnableQuantityCompleted(gridCtl) |
Enables/disables quantity completed in labor transaction.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL EnableWorkTicket() |
Changes state of work ticket fields on header tab based on transaction type and other conditions.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL GetAliasDesc() |
Gets alias item description and sets ML_AliasItemDesc.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL GetLineRecord(gridCtl, rowNo) |
Gets selected line record.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
| rowNo |
[input, numeric] Row number |
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL GetWorkTicketDesc$(wtKey$) |
Gets work ticket description
|
| Parameter | Description |
| wtKey$ |
[input, string] work ticket key |
|
| Returns |
[string] work ticket description |
|
|
FUNCTION LOCAL HideColumn(gridCtl, column$) |
Function overridden from SY_LineEntry_ui. Overridden to hide new material lines message on the materials transaction type when the column is hidden.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
| gridCtl |
[input, columns$] Name of the column to hide. |
|
| Returns |
Always returns retSUCCESS(1) |
|
|
FUNCTION LOCAL OnExit() |
Clears variables when exiting dialog.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL OnExitPHeader() |
Validates that required field is filled in when exiting the header tab.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL OnExitPHeaderW() |
|
FUNCTION LOCAL OnExitPLines() |
Exits grid panel.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL OnExitPLinesW() |
|
FUNCTION LOCAL OnFocusItemCodeDesc(gridCtl) |
Displays work ticket item's extended description for completion/close transaction.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL OnFocusML_FromStepNo(gridCtl) |
Saves old value before change.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL OnFocusML_Import_Bill() |
Saves the previous value of Bill Number in the Phantom Bill Import dialog.
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL OnFocusML_Import_Revision() |
Saves the previous value of Revision Number in the Phantom Bill Import dialog.
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL OnFocusML_ToStepNo(gridCtl) |
Saves old value before change.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL OnFocusML_WorkTicketDesc(gridCtl) |
Displays work ticket's extended description for completion/close transaction.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL OnFocusSubstituteItemCode(gridCtl) |
Saves old value before change.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL OnFocusSubstituteItemCodeDesc(gridCtl) |
Displays substitute item's extended description for completion/close transaction.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
|
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL OnFocusTransactionNo() |
Enables/Disables lines folder tab.
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL PostLoad() |
Enables/Disables controls after screen is loaded.
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL PostLoadpHeader() |
Displays appropriate controls based on transaction type.
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL PostLoadpHeaderW() |
|
FUNCTION LOCAL PostLoadpLines() |
Displays appropriate controls based on transaction type.
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL PostLoadpLinesW() |
|
FUNCTION LOCAL PostReadRec() |
Displays appropriate controls based on transaction type.
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL PostResize() |
Overrides function from SY_LineEntry_ui. This is overridden to re-display the new materials message on Materials Issues type transactions.
|
| Returns |
Always returns value from baseclass call. |
|
|
FUNCTION LOCAL PreLoad() |
Intercepts parameter passed in when backflush material or labor transaction is launched.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL RefreshSearchGrid() |
Refreshes column names in search grid dialog.
|
| Returns |
[boolean] retSUCCESS (1) |
|
|
FUNCTION LOCAL RowMods(gridCtl, rowNo) |
Enables/Disables grid field when a row is loaded.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
| rowNo |
[input, numeric] Row number |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL SaveRow(gridCtl, row) |
Saves grid row when focus leaves a row.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
| rowNo |
[input, numeric] Row number |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL SelectSOLine() |
Displays sales order detail selection window. If user selects an item code, updates substitute item fields.
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL SetGridColumns(gridCtl, rowNo) |
Enables/Disables grid columns based on transaction type.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
| rowNo |
[input, numeric] Row number |
|
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL SetGridPresets(mainGridCtl, secGridCtl) |
Sets cNoWriteCtls$ (controls that will not cause a 'write' when leaving the grid).
|
| Parameter | Description |
| mainGridCtl |
[input, numeric] Primary grid control ID |
| secGridCtl |
[input, numeric] Secondary grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL SetLotSerial(rowNo) |
Sets LotSerialFullyDistributed$.
|
| Parameter | Description |
| rowNo |
[input, numeric] Grid row number |
|
@returns[boolean] retSUCCESS (1)
|
|
FUNCTION LOCAL SetNewMaterialToWT(rowNo) |
Function will set the bitmap into the locked column ML_Added$ to a "+" sign if the line being added has no work ticket line key.
|
| Parameter | Description |
| rowNo |
[input, numeric] Row number to add or remove the bitmap to. |
|
| Returns |
Always returns retSUCCESS(1) |
|
|
FUNCTION LOCAL SetupGrid(mainGrid, form$, grid$, option, secGrid) |
Sets up data entry grid.
|
| Parameter | Description |
| mainGrid |
[input, numeric] Primary grid control ID |
| form$ |
[input, string] Grid form name |
| grid$ |
[input, string] Grid name |
| option |
[input, numeric] Maintenance option |
| secGrid |
[input, numeric] Secondary grid control ID |
|
| Returns |
[boolean] retSUCCESS (1) or retFAILURE (0) |
|
|
FUNCTION LOCAL ShowColumn(gridCtl, column$) |
Function overridden from SY_LineEntry_ui. Overridden to show new material lines message on the materials transaction type when the column is shown.
|
| Parameter | Description |
| gridCtl |
[input, numeric] Grid control ID |
| gridCtl |
[input, columns$] Name of the column to show. |
|
| Returns |
Always returns retSUCCESS(1) |
|
|
FUNCTION LOCAL ShowNewMaterialMsg() |
Function shows or hides the help message below the grid when one or more rows does not have a link to a work ticket line.
|
| Returns |
Always returns retSUCCESS(1) |
|
|
FUNCTION LOCAL ShowPriceLevel() |
Hides unused option in BT_ItemInquiry button drop down menu
@returns[numeric] popHIDE (-1)
|
|
FUNCTION LOCAL ShowReorder() |
Hides unused option in BT_ItemInquiry button drop down menu
@returns[numeric] popHIDE (-1)
|
|
FUNCTION LOCAL SwapRows(firstRow, secondRow) |
Function overridden from base class SY_LineEntry_ui. Function used when moving rows up and down in the primary grid, the rows are swapped. This is overridden to put
the proper bitmap in the ML_Added column if a line has been added in material issues that will be added to the work ticket.
|
| Parameter | Description |
| firstRow |
[input, numeric] row number of the first row to be swapped |
| secondRow |
[input, numeric] row number of the second row to be swapped |
|
| Returns |
Returns the value returned from the base class. |
|
|
FUNCTION LOCAL TranslateColumns() |
Translates field values to values suitable for the controls.
@returns[boolean] retSUCCESS (1)
|