Job Work Invoice (Job Details Amount not Calculated)

Discussion in 'Tally Developer' started by Mahesh Sethi, Feb 16, 2021.

    
  1. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    [#Part: EXPINV Totals]
    Lines : EXPINV Totals, EXPINV BaseCurrTotals, MyDetailsL
    Repeat : MyDetailsL: LineDetails
     


  2. Mahesh Sethi

    Mahesh Sethi Member


    Sir Its not working

    pls find att complete code,required screen shoot and data file.

    Awaiting for your valuable replay.

    Thanks & Regards

    Mani
     

    Attached Files:



  3. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Always do R & D....... make a dummy LINE as below....does it shows ??? No, then you are addressing the wrong PART/Line etc......

    First find the correct one, as per your print setting and mode.


    [#Part: EXPINV Totals]
    Add : Lines : After : EXPINV Totals : Dummyline

    [Line : Dummyline]
    Field : TPField

    [Field : TPField]
    Use : Name Width
    PrintBg : Yellow
    Width : 40
    Set As : "Timepass Field"
     


  4. Mahesh Sethi

    Mahesh Sethi Member



    Sir As you said i have done all this things but when i want repeat the line its not working.
    in Att file at the end i will mark it. here i post the print code as under :

    ;;====================================
    ;; Print Code Starts From Here
    ;;====================================
    [System : UDF]
    LineDetails : Aggregate:10004

    [#Part: EXPINV Totals]
    Lines : EXPINV Totals, EXPINV BaseCurrTotals, MyDetailsL

    ;Repeat : MyDetailsL: LineDetails ;;When i active this line its not working

    ;;For repeat the line what should i do, can i make a function or what Pls guide me

    [Line : MyDetailsL]

    Fields : VthanNoF,MyDetailsF,CMPDiaFF, ;CMPPQty, CMPMQty, CMPMRate, CMPCommissionF,
    Border : Thin Top
    Space Top : 9 mms
    Space Bottom: 9 mms

    [Field : VthanNoF]
    Use : Number Field
    Width : 4
    Set as : $$Line
    Skip : Yes
    Set as : $vaibhTotalthan

    [Field : MyDetailsF]
    Use : Name Field
    Set as : $SalesmanName ;; "This is dummy Line for testing"
    Style : Small Bold

    [Field : CMPDiaFF]
    Use : Number Field
    Set as : $Dia
    Width : 18 mms
    Align : Center
     


  5. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Make a collection of your aggregate
     


  6. Mahesh Sethi

    Mahesh Sethi Member


    Sir Can you pls give me an Example for collection , I am not much expert about make a collection.

    Pls Sir
     


  7. Mahesh Sethi

    Mahesh Sethi Member


    Sir Pls Help

    [Collection : CMP Salesman LineDetails]
    Type : Inventory Entries ;;Cost Category
    Fetch : *
    IsOdbcTable : Yes

    Can i use this kind of code or else something else. Pls Pls help
     


  8. Mahesh Sethi

    Mahesh Sethi Member


    Respected Amit sir,

    Pls Help me sir
     


  9. Amit Kamdar

    Amit Kamdar Administrator Staff Member


    Have patience.....will check when am able to.
     


  10. Mahesh Sethi

    Mahesh Sethi Member


    Amit sir,

    Pls give me any clue so that i try for printing solution .

    Awaiting for your replay.

    Manish
     


Share This Page