Tuesday, March 26, 2013

Lookup form for the Enum field

Creates and shows a lookup form for the Enum field for the Document Type based on reference type.
Ex: If reference type is Purchase,  document type enum should only have options blank, Product receipt, Receipt list, registration.
If reference type is Sales,  document type enum should only have options blank, Packing slip, Picking list

Refer the Quality Association form (Inventory and warehouse management > Setup >Quality Control > Quality Association)
Form InventTestAssociationTable
QualityOrderGeneration_M_edit_documentType:Lookup method which calls the  inventTestAssociationTable.lookupDocumentType(this);
edit method on table is used to show the enum values.