Validate Field

Discussion in 'Free Source Codes' started by A Sam, Mar 25, 2023.

    
  1. A Sam

    A Sam Member


    Code:
    [Field : VchRefFld]
    
      
        Type : String
        Use : Name Field
        Storage : VchRefFld
        Width : 9 ;@@ShortWidth
    
    Skip :$VoucherTypeName:$VchTypeFld:$$VchTypeContra
      
        Validate : NOT $$IsEmpty:$$Value If (($VoucherTypeName =$$VchTypePayment) or ($VoucherTypeName = $$VchTypeReceipt))
    How to validate and skip pls...
     
    Last edited: Mar 25, 2023


  2. BizVim IT Solutions

    BizVim IT Solutions New Member


    [#Line: ACLSFixedLed]

    Add: Field :After: ACLSFixedLed :VchRefFld

    [Field : VchRefFld]
    Type : String
    Use : Name Field
    Storage : VchRefFld
    Background : green
    Width : 9 ;@@ShortWidth
    Skip : $$IsContra:##SVVoucherType
    Validate : NOT ($$IsEmpty:$$Value and($$IsPayment:##SVVoucherType or $$IsReceipt:##SVVoucherType))
     


  3. A Sam

    A Sam Member


    Thank you sir,

    this is not default voucher creation form. Multiple voucher entry. This is not working on above code
     
    Last edited: Mar 27, 2023


Share This Page