Validate While Porting

i am porting Dimension Value Codes in Journal line Dimension Tablethrough Dataport.

but before that i wanna validate the Dimension Value Codes. so i put a validation that

Validate(Journal Line Dimension.“Dimension Value Codes”); (in OnBeforeImport Trigger)

but it dint work… it is accepting the undefined values too…

can any one tell me how to validate…

thanks in advance

You put it in OnBeforeImport. You can’t validate if you haven’t imported the data :slight_smile: Try OnAfterImport.

tnx for reply matt…

but i had imported…

Tnx Matt Its Working