Pl Help Regarding : Add Fixed Cost in MFG Voucher

Discussion in 'Requests' started by miteshchavda, Aug 23, 2013.

    
  1. miteshchavda

    miteshchavda New Member


    Hello Sir,

    here i have attached code in which i hv given one udf at item master which is cutting cost
    e.g. 10 Rs. per Nos. Now at MFG Voucher i m calling the same and its getting calculated
    too. But infinite loop is not getting stop when we are giving enter enter for saving the same
    so pl guide me regarding this issue.
     

    Attached Files:



  2. admin

    admin Administrator Staff Member


    Code:
    [system : udf]
            CMCut        : Number    : 2009
     
     
    [#Part: STKI Batch]
        Add : Line : At end : HallCutLn
       
     
        [line : HallCutLn]
            field : HallCutLnF1,HallCutLnF2
                [field : HallCutLnF1]
                    use : short prompt
                    set as : "Cutting"
                    color : blue
                    space left : 5.5 mm
                   
                [field : HallCutLnF2]
                    USE  : Number field             
                    set as : $CMCut
                    storage : CMCut
                    color : blue
                    WIDTH : 15 MM               
                    Format: "Decimal:2"
       
     
     
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;Production Mfg voucher customization for custting process
     
    [#Field: MfgrSJ AccDesc]
        Set as: If $$Line=1 Then  "Cutting" Else $$Value
       
       
     
    [#Field: MfgrSJ Value]
       
        set as : If $$Line=1 Then ($$ASAMOUNT:@cmcalcItem*$$AsAmount:#MVCHBilledQty) Else if
     
    $$IsEmpty:$RateofInvoiceTax then $$Value else +
                      @CalcVal
     
        cmcalcItem : $CMcut:stockitem:#mvchstockitem
        Skip on    : $$IsSysName:$LedgerName
        Inactive    : $$IsSysName:$LedgerName
    
     


  3. miteshchavda

    miteshchavda New Member


    Thank you Sir
     


  4. Muhammadhaneef

    Muhammadhaneef New Member


    Sir but is not working
     

    Attached Files:



Share This Page