PARTSRECEIVED
Repository name :   SampDB1
Repository location : C:\Versata_55\Samples\SampDB1
Analysis date :   Tue Sep 16 16:10:05 PDT 2003
Analysis run on machine : TYLER_DELL
Analysis run by user : Tyler
DataObject Name : PARTSRECEIVED
Description : All the purchases of parts
Attributes Caption Nullability Persistent DataType Business Rule
PartNum Part Num Required Persistent Long
PONumber P.O. Number Required Persistent Long None()
DateReceived Received Required Persistent Date Default(date())
UnitCost Cost Required Persistent Currency Default(0)
Quantity Total QTY Required Persistent Long Default(1)
TotalPaid Total Paid Optional Persistent Currency Formula( UnitCost * Quantity )
Constraints When Constraint Error Message
TestInsert RejectWhen Quantity cannot exceed 500 Inserting AND Quantity > 500
Event Condition Action Condition Action
TestAction Updating callTest()
Parent Relationships Parent Child Enforced
Child Relationships Child Parent Enforced
PART_JN_PARTSRECEIVED PARTSRECEIVED (PartsReceived) PART (Part) Enforced
Indexes
PKEY_PARTSRECEIVED PartNum || PONumber || Pimary Key
User Defined Methods Method Signature
addListeners public void SampDB1.PARTSRECEIVEDImpl.addListeners()
getNewObject public static SampDB1.PARTSRECEIVEDImpl SampDB1.PARTSRECEIVEDImpl.getNewObject(versata.vls.Session,boolean)
callTest public void SampDB1.PARTSRECEIVEDImpl.callTest()
Used By Used In
PART Sum Quantity
PARTSRECEIVED FORM TestExceptions:fPARTSRECEIVED