Storage problem

Discussion in 'Free Source Codes' started by Muhammadhaneef, Dec 18, 2021.

    
  1. Muhammadhaneef

    Muhammadhaneef New Member


    Please solve my query
    Storage problem
    Code :
    [#Part: VCHTitle2Right]
    Option : TDL MglExp :mad:@IsSales
    Space Left : 1
    Option : TDL LineExp :mad:@IsSales
    Option : TDL ExpPerKg :mad:@IsSales

    [!Part :TDL MGLEXP]

    Add : Line:AtEnd:TDL MglExp

    [Line : TDL MglExp]
    Field : Medium Prompt,TDL MglExp,Simple Prompt,TDL LineExp, Long Prompt, TDL ExpPerKg

    Local : Field:Medium Prompt:invisible:not ##SVVouchertype = "Fish Sales (Line)"
    Local : Field:Medium Prompt:Info:"Mgl Exp:"
    Local : Field:Medium Prompt:Width:10
    Local : Field:Medium Prompt:Style:HSB
    Local : Field:Medium Prompt:Background:Geranium
    Local : Field:Medium Prompt:Color:White
    Local : Field:Medium Prompt:Set Always:Yes

    Local : Field:Simple Prompt:invisible:not ##SVVouchertype = "Fish Sales (Line)"
    Local : Field:Simple Prompt:Info:"Line Exp:"
    Local : Field:Simple Prompt:Width:10
    Local : Field:Simple Prompt:Style:HSB
    Local : Field:Simple Prompt:Background:Geranium
    Local : Field:Simple Prompt:Color:White
    Local : Field:Simple Prompt:Set Always:Yes

    Local : Field:Long Prompt:invisible:not ##SVVouchertype = "Fish Sales (Line)"
    Local : Field:Long Prompt:Info:"Exp Per Kg:"
    Local : Field:Long Prompt:Width:10
    Local : Field:Long Prompt:Style:HSB
    Local : Field:Long Prompt:Background:Geranium
    Local : Field:Long Prompt:Color:White
    Local : Field:Long Prompt:Set Always:Yes

    [Field : TDL MglExp]
    Use : Number Field
    Set as : $MglExp
    Storage : MglExp
    Style : HSB
    Set Always : Yes
    Align : Right
    Width : 8
    Format : "NoZero"
    Background:White, Satin Blue
    Invisible:not ##SVVouchertype = "Fish Sales (Line)"

    [Field : TDL LineExp]
    Use : Number Field
    Set as : $LineExp
    Storage : LineExp
    Style : HSB
    Set Always : Yes
    Align : Right
    Width : 8
    Format : "NoZero"
    Background:White, Satin Blue
    Invisible:not ##SVVouchertype = "Fish Sales (Line)"

    [Field : TDL ExpPerKg]
    Use : Number Field
    Set as : $MglExp+$LineExp
    Storage : ExpPerKg
    Style : HSB
    Set Always : Yes
    Skip : Yes
    Align : Right
    Width : 8
    Format : "NoZero"
    Background:White, Satin Blue
    Invisible:not ##SVVouchertype = "Fish Sales (Line)"


    [System : UDF]
    TDLMglExp : Number : 369
    TDLLineExp : Number : 370
    TDLExpPerKg : Number : 371
     


  2. Muhammadhaneef

    Muhammadhaneef New Member


    Anyone solve this code
     


  3. Rohit001

    Rohit001 Member


    [System : UDF]
    MglExp : Number : 369
    LineExp : Number : 370
    ExpPerKg : Number : 371

    ;change this storage name not field name
     


  4. Muhammadhaneef

    Muhammadhaneef New Member


    How can
     


  5. Jayashri

    Jayashri Member


    ;trythis;
    [#Part: VCHTitle2Right]
    Option : TDL MglExp :mad:@IsSales
    Space Left : 1
    Option : TDL LineExp :mad:@IsSales
    Option : TDL ExpPerKg :mad:@IsSales

    [!Part :TDL MGLEXP]

    Add : Line:AtEnd:TDL MglExp

    [Line : TDL MglExp]
    Field : Medium Prompt,TDL MglExp,Simple Prompt,TDL LineExp, Long Prompt, TDL ExpPerKg

    Local : Field:Medium Prompt:invisible:not ##SVVouchertype = "Fish Sales (Line)"
    Local : Field:Medium Prompt:Info:"Mgl Exp:"
    Local : Field:Medium Prompt:Width:10
    Local : Field:Medium Prompt:Style:HSB
    Local : Field:Medium Prompt:Background:Geranium
    Local : Field:Medium Prompt:Color:White
    Local : Field:Medium Prompt:Set Always:Yes

    Local : Field:Simple Prompt:invisible:not ##SVVouchertype = "Fish Sales (Line)"
    Local : Field:Simple Prompt:Info:"Line Exp:"
    Local : Field:Simple Prompt:Width:10
    Local : Field:Simple Prompt:Style:HSB
    Local : Field:Simple Prompt:Background:Geranium
    Local : Field:Simple Prompt:Color:White
    Local : Field:Simple Prompt:Set Always:Yes

    Local : Field:Long Prompt:invisible:not ##SVVouchertype = "Fish Sales (Line)"
    Local : Field:Long Prompt:Info:"Exp Per Kg:"
    Local : Field:Long Prompt:Width:10
    Local : Field:Long Prompt:Style:HSB
    Local : Field:Long Prompt:Background:Geranium
    Local : Field:Long Prompt:Color:White
    Local : Field:Long Prompt:Set Always:Yes

    [Field : TDL MglExp]
    Use : Number Field
    Set as : $MglExp
    Storage : MglExp
    Style : HSB
    Set Always : Yes
    Align : Right
    Width : 8
    Format : "NoZero"
    Background:White, Satin Blue
    Invisible:not ##SVVouchertype = "Fish Sales (Line)"

    [Field : TDL LineExp]
    Use : Number Field
    Set as : $LineExp
    Storage : LineExp
    Style : HSB
    Set Always : Yes
    Align : Right
    Width : 8
    Format : "NoZero"
    Background:White, Satin Blue
    Invisible:not ##SVVouchertype = "Fish Sales (Line)"

    [Field : TDL ExpPerKg]
    Use : Number Field
    Set as : $MglExp+$LineExp
    Storage : ExpPerKg
    Style : HSB
    Set Always : Yes
    Skip : Yes
    Align : Right
    Width : 8
    Format : "NoZero"
    Background:White, Satin Blue
    Invisible:not ##SVVouchertype = "Fish Sales (Line)"


    [System : UDF]
    MglExp : Number : 369
    LineExp : Number : 370
    ExpPerKg : Number : 371
    Code:
    
    
     


  6. Muhammadhaneef

    Muhammadhaneef New Member


    Thank you very much
     


  7. Muhammadhaneef

    Muhammadhaneef New Member


    But when I quit and restart tally value not show and this is empty
     


  8. Muhammadhaneef

    Muhammadhaneef New Member


    But when restart tally value not show this is empty
     


  9. Jayashri

    Jayashri Member


    working right for me,you once again check and see sir
     


  10. Muhammadhaneef

    Muhammadhaneef New Member


    Th
    thank you very much
     


Share This Page