Please help to correct the function

Discussion in 'Requests' started by Naitesh, Feb 16, 2020.

    
  1. Naitesh

    Naitesh Member


    ;Hello Experts Sir
    ;Please help to correct the function
    ;add sales man name via function

    ;; Thank You Sir


    [System: UDF]
    nUdfBrokerInfoMst : Aggregate: 20000
    nUdfBrokerNameMst : String: 20001


    [Function : TestFunction123]
    10 : New Object : nUdfBrokerInfoMst
    30 : Set Value : nUdfBrokerNameMst : "HARI YADAV"
    70 : Set Object Values
    110 : Create Target


    [#Menu: Accounts Info.]
    Add: Item :Before : @@locQuit:SalesMan Master:Alter:Sales Man Master
    Add: Item :Before : @@locQuit:""
    Add: Item :Before : @@locQuit:Import SALES MAN: Call : TestFunction123

    [Report:Sales Man Master]
    Form: SMForm
    Title: "Sales Man Master"
    Object:company

    [Form: SMForm]
    Width: 100% Screen
    Height: 100% Screen
    Background: FormClr
    Part:SMPart

    [Part:SMPart ]
    Line: SMLineTitle,SMLine
    Repeat:SMLine:nUdfBrokerInfoMst
    Break on : $$IsEmpty:$nUdfBrokerNameMst
    Scroll: Vertical

    [Line:SMLineTitle]
    Fields : TLSMNameFld
    Local : Field : Default : Delete : Border

    [Line:SMLine]
    Fields :SMNameFld
    Local : Field : Default : Delete : Border

    [Field: TLSMNameFld]
    Use: Name Field
    Set as: "Sales Man"
    Width: 20
    Align: Left
    Color: BLUE

    [Field: SMNameFld]
    Use : Name Field
    Storage : nUdfBrokerNameMst
    Width: 20
     


Share This Page