ParseNDC
Detects and parses NDC data elements from the calling field value.
Member of namespace:
MC_ValidationSyntax:
bool ParseNDC(string NDCField,string TypeField,string QuantityField)
Parameters
Three Smart Parameters that represent the target path from the calling object to the field's parsed data that is to be saved.Returns
False, if the action generates an error. Otherwise, True.Level
Field level that contains NDC data to detect and parse.Details
This action detects and parses NDC data elements from the calling field value. NDC value parsing looks for "N4" followed by 11 numbers. The NDC Type and Quantity parameters look for "F2", "GR", "ML", or "UN" followed by 1 to 9 numbers.- Example:
ParseNDC("..\NDC","..\NDCType","..\NDCQty")