Inventaris
- Returns GR
-
Form 26: Start return
- Form57 to create new return.
- Form51 to select/add invoices to return.
- Form52 to add return content to stock.
-
Returns All
-
Form 60: Start return
- Form57 to create new return.
- Form61 to pick articles from original order.
-
Return to locations
-
Form45 : Enter location where returned goods will be placed.
-
Damaged returns
-
Form28 : start damages return (stockcode S, transaction type RETFGRC)
- Form57 to create new return.
- Form51 to select/add invoices to return.
- Form52 to add return content to stock.
-
GRC damaged returns.
Identiek aan Damaged returns maar (stockcode K2, transaction type RETDGRC) -
Pal(lette) content
-
Form37 Show content of palette. No other functionality.
-
Move pal(lette) content
-
Form 44: geef nieuwe locatie op voor palette: alle goederen naar die palette.
-
Pal(lette) picking Prepare a palette for picking for an outgoing order. (form 40)
Vragen
- GRC/Non GRC etc. Betekenis ?
- NPU, betekenis ?
- Database met invoices ?
Form ReturnsInTake
- Unit name: Forms.PickMethod
- Form name: PickMethodForm
- Old form name: form26 (scanner app), form28
Synopsis
Form to register and handle returns.
Functionalities
- Button to Execute NewReturn action. As long as no return was started, all other functionality is disabled.
- Edit to display return number. On enter key, execute DisplayReturn action.
- Checkbox 'Damaged'.
- Only enabled when no return is started.
- Button to execute DisplayReturn action.
- Dropdown to enter return reason (ReturnReason)
- radio button: duty free/duty cleared.
- Grid with return articles.
- Grid with return invoices.
- Edit for article code.
- On enter key, action SearchArticle is executed.
- Button for SearchArticle action.
- Edit for lot number.
- On enter key, action CheckLotNo is executed.
- Button for CheckLotNo is executed.
- Edit for Palette number.
- Only active when "damaged" is checked.
- Button to execute AddInvoice action.
- Button to execute AddArticle action.
- Button to execute ReturnToStock action.
- Button to execute CheckPalette action.
- Button to execute PickPalette action.
- Button to execute ReturnsToStock action.
- Button to execute MovePalette action.
- Button to execute NewPalette action.
Actions
Displayreturn
- Enabled when the return number edit is non-empty, and the return number differs from the current one.
- When executed, fetches the return record and the details.
NewReturn
- Enabled while no new return is active.
- Show NewReturnDialog dialog. If it returns with modalResult=mrOK then note the invoice ID, damaged and supplier ID. Determine transaction type:
- RET (niet damaged)
- RETDGRC (damaged)
- RETD (damaged)
- RETFGRC (refurbished)
- RETDGRC (damaged)
AddInvoice
- Enabled when a return is displayed.
- When executed, the user is asked to supply invoice details using the AddInvoiceToReturnForm form.
- The stock code is determined based on the supplier and damaged checkbox:
- Damaged:
- 'S' voor guthy renker
- 'K2' voor niet Guthy renker
- Niet damaged:
- '75'
- The list of invoices is refreshed if the form returns mrOK as modal result.
AddOrder
- Enabled when a return is displayed.
- When executed, the user is asked to supply invoice details using the AddOrderToReturnForm form.
ReturnToStock
- Enabled when a return is displayed.
- When executed, all data is saved to the server if need be, and the service call Returns.MoveReturnToStock is executed.
- On success, a message dialog is shown:
where result is the return result of the function. The article grid is refreshed.
Moved :result articles to stock.
NewPalette
- Only enabled when 'Damaged' is checked.
- When executed, executes the Returns.AllocatePalette service call and enters the result in the pallete number edit.
CheckPalette
- Always enabled.
- Show the form PaletteContentForm modally. If the palette edit contains a number, pass it on to the form.
PickPalette
- Always enabled.
- Shows the PickPaletteForm form modally.
- If a return order is filled in, it is passed to the form.
- if a palette is filled in, it is passed to the form.
MovePalette
- Always enabled.
- Shows the MovePaletteForm form modally.
ReturnsToStock
- Always enabled.
- Show the ReturnsToStock form (replacing the current one)
SearchArticle
- Enabled when there is an article number.
- When executed, activates the ArticleFromBarCode view. If empty, an exception is raised:
The article :ArticldeCode does not exist.
- If FLOTNO is Y then the lot number edit is enabled,
- If FLOTNO is not equal to Y then the lot number edit is disabled,
- The article expiry time is recorded.
AddArticle
- Enabled when
- a return is active
- an article code has been filled in.
- an article quantity has been filled in.
- When executed, the Returns.AddArticleToReturn service call is executed.
- The article-related edits (code, quantity, lot) are cleared, the details refreshed.
Tables/Views
- ReturnArticles
SELECT * FROM INVDETAILS INNER JOIN Retur ON (INVDETAILS.INVOICE = 'RET'+Retur.ID) WHERE (Retur.ID=:ReturnID) (TransactionType=:TransactionType) ORDER BY INVDETAILS.ID DESC
- ReturnInvoices
SELECT RetNo, ARTCODE, QTY, STOCKCODE, ItemStatus, CCODE, LOCATION, CREATIONDATE, PCNAME, ReturnDate, OriginalInvoiceNumber, TenantOrg, OriginalFileID, Prepaid, ReturnReason, SpecialInstructions RetSource FROM RETURDETGR WHERE (RetNo=:ReturnID)