WMSJournalTable::validateDispositionCodeId Method
Validates values entered in the disposition code field from the arrival journal and quarantine.
Syntax
client server public static boolean validateDispositionCodeId(SalesId _salesId, ReturnDispositionCodeId _dispositionCodeId)
Run On
Called
Parameters
- _salesId
Type: SalesId Extended Data Type
A SalesId.
- _dispositionCodeId
Type: ReturnDispositionCodeId Extended Data Type
A ReturnDispositionCodeId.
Return Value
Type: boolean
true if the values in the disposition code field are valid; otherwise, false.
Remarks
At this stage in the return process, some specific disposition actions are not valid.
CreditOnly should only be used from the return order form.
If a replacement order was created, the disposition actions ReplaceCredit and ReplaceScrap are invalid.