hide rate and amont

Discussion in 'Free Source Codes' started by sayed, Feb 19, 2020.

    
  1. sayed

    sayed Member


    not work plss help me


    [*Field : VCHOutwardsTNo]
    Add : Option : MLK VCH DelNote TNo : $$IsDelNote:##SVVoucherType
    Add : Option : MLK VCH Outwards TNo : @@IsOutwardType AND NOT $$IsDelNote:##SVVoucherType

    [!Field : MLK VCH Outwards TNo]
    Table : VCH OutTNo, New Number, Not Applicable : (NOT @@HasBatchWise AND NOT $$IsMultiGodownOn)
    Table : VCH OutTNoG, New Number, Not Applicable : (NOT @@HasBatchWise AND $$IsMultiGodownOn)
    Table : VCH OutTNoB, New Number, Not Applicable : (@@HasBatchWise AND NOT $$IsMultiGodownOn)
    Table : VCH OutTNoBG, New Number, Not Applicable : (@@HasBatchWise AND $$IsMultiGodownOn)

    [!Field : MLK VCH DelNote TNo]
    Table : VCH OutTNo, New Number : (NOT @@HasBatchWise AND NOT $$IsMultiGodownOn)
    Table : VCH OutTNoG, New Number : (NOT @@HasBatchWise AND $$IsMultiGodownOn)
    Table : VCH OutTNoB, New Number : (@@HasBatchWise AND NOT $$IsMultiGodownOn)
    Table : VCH OutTNoBG, New Number : (@@HasBatchWise AND $$IsMultiGodownOn)

    [#Line: EI InvInfo]
    Add : Option : MLK EI InvInfo : @@MLKHideRate

    [!Line : MLK EI InvInfo]
    Local : Field : VCH Rate : Invisible : Yes
    Local : Field : VCH RateUnit : Invisible : Yes
    Local : Field : VCH Discount : Invisible : Yes
    Local : Field : VCH Value : Invisible : Yes

    [#Line: EI ColumnOne]
    Add : Option : MLK VCH Batch ColumnTwo : @@MLKHideRate

    [#Line : EI ColumnTwo]
    Add : Option : MLK VCH Batch ColumnTwo : @@MLKHideRate

    [#Line: VCHBATCH Column]
    Add : Option : MLK VCH Batch ColumnTwo : @@MLKHideRate

    [!Line : MLK VCH Batch ColumnTwo]
    Local : Field : VCH OrigRateTite : Invisible : Yes
    Local : Field : VCH RevsedRateTitle : Invisible : Yes
    Local : Field : VCH RateTitle : Invisible : Yes
    Local : Field : VCH RateUnitsTitle : Invisible : Yes
    Local : Field : VCH DiscTitle : Invisible : Yes
    Local : Field : VCH AmtTitle : Invisible : Yes

    [#Line: STKVCH Batch2]
    Add : Option : MLK STKVCH Batch2 : @@MLKHideRate

    [!Line : MLK STKVCH Batch2]
    Local : Field : VCHBATCH Rate : Invisible : Yes
    Local : Field : VCHBATCH RateUnits : Invisible : Yes
    Local : Field : VCHBATCH ItemRate : Invisible : Yes
    Local : Field : VCHBATCH Discount : Invisible : Yes
    Local : Field : VCHBATCH ItemDiscount : Invisible : Yes
    Local : Field : VCHBATCH Value : Invisible : Yes
    Local : Field : VCHBATCH AddlValue : Invisible : Yes

    [#Line : VCH NarrPrompt]
    Local : Field : EI RateTotal : Invisible : IF $$IsInventoryVch:##SVVoucherType Then @@MLKHideRate Else If @@IsRightToLeftScript Then No Else Yes
    Local : Field : EI RatePerTotal : Invisible : IF $$IsInventoryVch:##SVVoucherType Then @@MLKHideRate Else If @@IsRightToLeftScript Then No Else Yes
    Local : Field : EI DiscTotal : Invisible : IF $$IsInventoryVch:##SVVoucherType Then @@MLKHideRate Else NOT @@WithDiscount OR @@AcctsInvoice
    Local : Field : EIValueTotal : Invisible : @@MLKHideRate

    [System : Formula]
    MLKHideRate : $$CmpUserLevel = "HideRate" AND $$IsInventoryVch:##SVVoucherType
     
    Last edited: Feb 19, 2020


  2. suyash

    suyash New Member


    i try same but i can not track SO NO in Sales entry plz help me to




    [#Part: VTYP Behaviour]
    Add : Lines : At End : SCcustomization
    [Line: SCcustomization]

    Fields : Long Prompt, SCcustomization
    Local : Field : Long Prompt : Set as : $$LocaleString:"Enable Customization ?"
    Local : Field : Long Prompt : Color : Royal Blue
    Space Top : 0.5

    [Field: SCcustomization]
    Use : Name Field
    Storage : SCcustomization
    Table : YesNoTable
    Show Table : Always

    [System: Formula]
    IsSCcustomization : $SCcustomization:VoucherType:$VoucherTypeName="Yes"

    ;[#Line: vchbatch Columnone]
    [#Line: Ei Columnone]
    Add : Option : SCBatchcolone : @@IsSCcustomization;@@IsSales or @@IsSalesOrder ;or @@IsPurcOrder or @@IsPurchase

    [!Line: SCBatchcolone]
    Add : Right Fields : Before : VCH QtyTitle : VCHSCGodownT,VchSCBatchnameT,VCHdueonT,VCHmrpT, VchdiscT,VCHEdiscT,VCHEcostprcT,VCHtaxT,VchAsseValT,VCHETaxAmtT

    [Field: VCHSCGodownT]
    Info : "Godown"
    Width : 6% Page
    Style : Normal Bold
    Align : Center
    Color : Royal Blue

    [Field: VchSCBatchnameT]
    Info : "Batch Name"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VCHdueonT]
    Info : "Due On"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VCHmrpT]
    Info : "MRP"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VchdiscT]
    Info : "Discount"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VCHEdiscT]
    Info : "E-Discount"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VCHEcostprcT]
    Info : "CostPrice"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VCHtaxT]
    Info : "Tax% "
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VchAsseValT]
    Info : "Asses Val"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VCHETaxAmtT]
    Info : "Tax Amt"
    Width : 6% Page
    Style : Normal Bold
    Align : Center




    [#Line: Ei InvInfo]
    Add : Option : SCIBatch2 : @@IsSCcustomization;@@IsSales or @@IsSalesOrder ;or @@IsPurcOrder or @@IsPurchase

    [!Line: SCIBatch2]
    Add : Right Fields : Before : VCH ActualQty : VCHSCGodown,VchSCBatchname,VCHdueon,VCHmrp, Vchdisc,VCHEdisc,VCHEcostprc,VCHtax,VchAsseVal,VCHETaxAmt

    [Field: VCHSCGodown]
    Use : Name Field
    Storage : GodownName

    Table : Stockable Godown VchExtract ;: $$IsMultiGodownOn And (NOT @@IsOrderVch AND NOT @@IsJobOrderVouchers AND ($$Line = 1 OR @@HasTrackingNo OR @@IsOrdersOn) AND NOT @@IsJobCostingOn)
    Table : Stockable Godown VchExtract, End of List ;: $$IsMultiGodownOn And (NOT @@IsOrderVch AND NOT @@IsJobOrderVouchers AND ($$Line > 1 AND NOT @@HasTrackingNo AND NOT @@IsOrdersOn) AND NOT @@IsJobCostingOn) OR ($$Line > 1 AND @@IsNonTrackJobInOut)
    Table : Stockable Godown VchExtract ;: $$IsMultiGodownOn And ((@@IsOrderVch AND NOT @@IsJobCostingOn) OR @@IsJobOrderVouchers)

    Table : JOB Stockable Godown VchExtract ;: NOT @@IsOrderVch AND ($$Line = 1 OR @@HasTrackingNo OR @@IsOrdersOn) AND @@IsJobCostingOn AND $$IsRemoteCompany
    Table : JOB Stockable Godown VchExtract, End of List ;: NOT @@IsOrderVch AND ($$Line > 1 AND NOT @@HasTrackingNo AND NOT @@IsOrdersOn) AND @@IsJobCostingOn AND $$IsRemoteCompany
    Table : JOB Stockable Godown VchExtract ;: @@IsOrderVch AND @@IsJobCostingOn
    Width : 6% page
    Style : Normal
    Align : Center
    Show Table : Always
    Inactive : $$IsEnd:$StockItemName

    [Field: VchSCBatchname]
    Use : Name Field
    Key : Create New Number
    Variable : SVBatch
    Show Table : Always
    Dynamic : ""
    Trigger : New Number : $$IsSysNameEqual:NewNumber:$$EditData
    Storage : BatchName
    Table : Active Batches VchExtract, New Number ,Any : @@HasBatchWise
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero"
    Inactive : $$IsEnd:$StockItemName

    [Field: VCHdueon]
    Use : Name Field
    Set as : $$String:$Date
    Storage : OrderDueDate
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero"
    Inactive : $$IsEnd:$StockItemName

    [Field: VCHmrp]
    Use : Number Field
    Set as : @sr;$$GetPriceFromLevel:$StockItemName:$PriceLevel:$Date:$$Number:$BilledQty
    Storage : VCHmrp
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero"
    Inactive : $$IsEnd:$StockItemName
    sr : $$Number:$$GetPriceFromLevel:$Stockitemname:$PriceLevel:$Date:$Rate;:$StockItemName:$PriceLevel:$Date:$BilledQty

    [Field: Vchdisc]
    Use : Number Field
    Storage : Vchdisc
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero"
    Inactive : $$IsEnd:$StockItemName

    [Field: VCHEdisc]
    Use : Number Field
    Storage : VCHEdisc
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero"
    Inactive : $$IsEnd:$StockItemName

    [Field: VCHEcostprc]
    Use : Number Field
    Set as : #VCHmrp-#Vchdisc-#VCHEdisc
    Storage : VCHEcostprc
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero"
    Inactive : $$IsEnd:$StockItemName

    [Field : VCHtax]
    Use : Number Field
    Set as : $GSTIGSTRate:StockItem:$StockItemName
    Storage : VCHtax
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero, Percentage"
    Inactive : $$IsEnd:$StockItemName

    [Field : VchAsseVal]
    Use : Number Field
    Set as : (#VCHEcostprc/@sr)*100
    sr : #VCHtax+100
    Storage : VchAsseVal
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero, Decimal : 2"
    Inactive : $$IsEnd:$StockItemName

    [Field : VCHETaxAmt]
    Use : Number Field
    Set as : (#VchAsseVal*#VCHtax)/100
    Storage : VCHETaxAmt
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero, Decimal : 2"
    Inactive : $$IsEnd:$StockItemName

    [#Field: VCH StockItem]
    On : Accept : Yes : Call : VchStkFun
    On : Accept : Yes : Field Accept



    [Function: VchStkFun]
    02: Set Value : OrderDueDate : $$Date:$Date


    [#Field: VCHACC StockItem]
    Add: Option : Vchoptsub : @@IsSCcustomization;@@IsSales or @@IsSalesOrder

    [!Field: Vchoptsub]
    Delete : Sub Form: STKVCH BatchAllocations


    [#Field: VCH NrmlBilledQty]
    Add : Option : nrmbillopt : @@IsSCcustomization

    [!Field: nrmbillopt]

    Delete : Skip on
    Delete : Set as
    Delete :Set By Condition

    [#Field: VCH NrmlRate]
    Add : Option : NrmlRateopt : @@IsSCcustomization

    [!Field: NrmlRateopt]
    Delete : Skip on
    Delete : Set as
    Delete : Set By Condition
    Add : Set as : $VchAsseVal

    [#Field: VCH NrmlValue]
    Add : Option : NrmlValueopt : @@IsSCcustomization

    [!Field: NrmlValueopt]
    Delete : Read Only
    Delete : Set as
    Delete : Set By Condition
    Add : Set as : $Rate*$BilledQty








    ;;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;



    ;;::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::




    ;[#Part: EI Column]
    ; Delete : Line : EI ColumnTwo
    ; Delete : Common Border
    ;
    ;
    ;
    ;
    ;[#Field: VCHBATCH Godown]
    ;Add : Skip on: Yes
    ;
    ;[#Field: VCHBATCH Name]
    ;Add : Skip on: Yes
    ;
    ;
    ;[#Field: VCHBATCH BilledQty]
    ;Add : Skip on: Yes
    ;
    ;
    ;[#Field: VCHBATCH Discount]
    ;Add : Skip on: Yes
    ;
    ;
    ;[#Field: VCHBATCH RateUnits]
    ;Add : Skip on: Yes
    ;
    ;[#Field:VCHBATCH Value]
    ;Add : Skip on: Yes
    ;



    ; [*Field: EI TableOrder]
    ; Switch : EI TableOrder : EI TrackOrder : (@@IsOrderVch OR @@IsGoodsNote) OR NOT $$IsTrackingOn
    ; Switch : EI TableOrder : EI SalesOrder : (NOT @@IsOrderVch AND NOT @@IsGoodsNote) AND $$IsTrackingOn
    ; Key : Create New Number
    ; Show Table : Always
    ; Dynamic : ""
    ; Trigger : New Number : $$IsSysNameEqual:NewNumber:$$EditData
    ; ;; Table Cached at part Level.
    ; CommonTable : Yes
    ;
    ; [*Collection: InvSalesOrders]
    ;
    ; Title : $$LocaleString:"List of Orders"
    ; Type : Ledger Sales Orders
    ; ChildOf : ##pvPartyLedgerName
    ;
    ; Parmvar : pvPartyLedgerName : String : If $$IsEmpty:($$BaseOwner:$PartyLedgerName) then $LedgerEntries[1].LedgerName Else ($$BaseOwner:$PartyLedgerName)
    ; Parm Var : pvIsInvoice : Logical : @@IsInvoice
    ; Parm Var : pvIsPurcSalesVchType : Logical : ($$IsPurchase:##SVVoucherType OR $$IsSales:##SVVoucherType OR $$IsRcptNote:##SVVoucherType OR $$IsDelNote:##SVVoucherType OR $$IsSalesOrder:##SVVoucherType OR $$IsPurcOrder:##SVVoucherType OR $$IsCreditNote:##SVVoucherType OR $$IsDebitNote:##SVVoucherType)
    ; Parm Var : pvIsReceiptVch : Logical : $$IsReceipt:##SVVoucherType
    ; Parm Var : pvIsPaymentVch : Logical : $$IsPayment:##SVVoucherType
    ; Parm Var : pvIsJournalVch : Logical : $$IsJournal:##SVVoucherType
    ;
    ; Collections : Not Applicable, EndOfList, NewNumber
    ;
    ; Format : $Name, 13
    ; Format : $Date, 8 : Universal Date
    ; Fetch : Name, Date
    ; Unique : $Name, $Date
    ; Compute : IsVchExcise : (If @@IsExciseTraderOn then (If $$IsEmpty:($LedgerEntries[1].IsVchExcise) then No else $LedgerEntries[1].IsVchExcise) Else No) ; Compute introduced for to check Excise Voucher
    ; ;Filter : TrackOfLedger
    ; ;;Excise: case of Export Procedure enabled
    ; Option : ExciseExportInvSalesorders : @@IsExciseMfgrInvoice AND @@IsExciseExportEnabled
    ;



    [#Part: VTYP Behaviour]
    Add : Lines : At End : SCcustomization
    [Line: SCcustomization]

    Fields : Long Prompt, SCcustomization
    Local : Field : Long Prompt : Set as : $$LocaleString:"Enable Customization ?"
    Local : Field : Long Prompt : Color : Royal Blue
    Space Top : 0.5

    [Field: SCcustomization]
    Use : Name Field
    Storage : SCcustomization
    Table : YesNoTable
    Show Table : Always

    [System: Formula]
    IsSCcustomization : $SCcustomization:VoucherType:$VoucherTypeName="Yes"

    ;[#Line: vchbatch Columnone]
    [#Line: Ei Columnone]
    Add : Option : SCBatchcolone : @@IsSCcustomization;@@IsSales or @@IsSalesOrder ;or @@IsPurcOrder or @@IsPurchase

    [!Line: SCBatchcolone]
    Add : Right Fields : Before : VCH QtyTitle : VCHSCGodownT,VchSCBatchnameT,VCHdueonT,VCHmrpT, VchdiscT,VCHEdiscT,VCHEcostprcT,VCHtaxT,VchAsseValT,VCHETaxAmtT

    [Field: VCHSCGodownT]
    Info : "Godown"
    Width : 6% Page
    Style : Normal Bold
    Align : Center
    Color : Royal Blue

    [Field: VchSCBatchnameT]
    Info : "Batch Name"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VCHdueonT]
    Info : "Due On"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VCHmrpT]
    Info : "MRP"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VchdiscT]
    Info : "Discount"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VCHEdiscT]
    Info : "E-Discount"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VCHEcostprcT]
    Info : "CostPrice"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VCHtaxT]
    Info : "Tax% "
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VchAsseValT]
    Info : "Asses Val"
    Width : 6% Page
    Style : Normal Bold
    Align : Center

    [Field: VCHETaxAmtT]
    Info : "Tax Amt"
    Width : 6% Page
    Style : Normal Bold
    Align : Center




    [#Line: Ei InvInfo]
    Add : Option : SCIBatch2 : @@IsSCcustomization;@@IsSales or @@IsSalesOrder ;or @@IsPurcOrder or @@IsPurchase

    [!Line: SCIBatch2]
    Add : Right Fields : Before : VCH ActualQty : VCHSCGodown,VchSCBatchname,VCHdueon,VCHmrp, Vchdisc,VCHEdisc,VCHEcostprc,VCHtax,VchAsseVal,VCHETaxAmt

    [Field: VCHSCGodown]
    Use : Name Field
    Storage : GodownName

    Table : Stockable Godown VchExtract ;: $$IsMultiGodownOn And (NOT @@IsOrderVch AND NOT @@IsJobOrderVouchers AND ($$Line = 1 OR @@HasTrackingNo OR @@IsOrdersOn) AND NOT @@IsJobCostingOn)
    Table : Stockable Godown VchExtract, End of List ;: $$IsMultiGodownOn And (NOT @@IsOrderVch AND NOT @@IsJobOrderVouchers AND ($$Line > 1 AND NOT @@HasTrackingNo AND NOT @@IsOrdersOn) AND NOT @@IsJobCostingOn) OR ($$Line > 1 AND @@IsNonTrackJobInOut)
    Table : Stockable Godown VchExtract ;: $$IsMultiGodownOn And ((@@IsOrderVch AND NOT @@IsJobCostingOn) OR @@IsJobOrderVouchers)

    Table : JOB Stockable Godown VchExtract ;: NOT @@IsOrderVch AND ($$Line = 1 OR @@HasTrackingNo OR @@IsOrdersOn) AND @@IsJobCostingOn AND $$IsRemoteCompany
    Table : JOB Stockable Godown VchExtract, End of List ;: NOT @@IsOrderVch AND ($$Line > 1 AND NOT @@HasTrackingNo AND NOT @@IsOrdersOn) AND @@IsJobCostingOn AND $$IsRemoteCompany
    Table : JOB Stockable Godown VchExtract ;: @@IsOrderVch AND @@IsJobCostingOn
    Width : 6% page
    Style : Normal
    Align : Center
    Show Table : Always
    Inactive : $$IsEnd:$StockItemName

    [Field: VchSCBatchname]
    Use : Name Field
    Key : Create New Number
    Variable : SVBatch
    Show Table : Always
    Dynamic : ""
    Trigger : New Number : $$IsSysNameEqual:NewNumber:$$EditData
    Storage : BatchName
    Table : Active Batches VchExtract, New Number ,Any : @@HasBatchWise
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero"
    Inactive : $$IsEnd:$StockItemName

    [Field: VCHdueon]
    Use : Name Field
    Set as : $$String:$Date
    Storage : OrderDueDate
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero"
    Inactive : $$IsEnd:$StockItemName

    [Field: VCHmrp]
    Use : Number Field
    Set as : @sr;$$GetPriceFromLevel:$StockItemName:$PriceLevel:$Date:$$Number:$BilledQty
    Storage : VCHmrp
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero"
    Inactive : $$IsEnd:$StockItemName
    sr : $$Number:$$GetPriceFromLevel:$Stockitemname:$PriceLevel:$Date:$Rate;:$StockItemName:$PriceLevel:$Date:$BilledQty

    [Field: Vchdisc]
    Use : Number Field
    Storage : Vchdisc
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero"
    Inactive : $$IsEnd:$StockItemName

    [Field: VCHEdisc]
    Use : Number Field
    Storage : VCHEdisc
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero"
    Inactive : $$IsEnd:$StockItemName

    [Field: VCHEcostprc]
    Use : Number Field
    Set as : #VCHmrp-#Vchdisc-#VCHEdisc
    Storage : VCHEcostprc
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero"
    Inactive : $$IsEnd:$StockItemName

    [Field : VCHtax]
    Use : Number Field
    Set as : $GSTIGSTRate:StockItem:$StockItemName
    Storage : VCHtax
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero, Percentage"
    Inactive : $$IsEnd:$StockItemName

    [Field : VchAsseVal]
    Use : Number Field
    Set as : (#VCHEcostprc/@sr)*100
    sr : #VCHtax+100
    Storage : VchAsseVal
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero, Decimal : 2"
    Inactive : $$IsEnd:$StockItemName

    [Field : VCHETaxAmt]
    Use : Number Field
    Set as : (#VchAsseVal*#VCHtax)/100
    Storage : VCHETaxAmt
    Width : 6% page
    Style : Normal
    Align : Center
    Format : "No Zero, Decimal : 2"
    Inactive : $$IsEnd:$StockItemName

    [#Field: VCH StockItem]
    On : Accept : Yes : Call : VchStkFun
    On : Accept : Yes : Field Accept



    [Function: VchStkFun]
    02: Set Value : OrderDueDate : $$Date:$Date


    [#Field: VCHACC StockItem]
    Add: Option : Vchoptsub : @@IsSCcustomization;@@IsSales or @@IsSalesOrder

    [!Field: Vchoptsub]
    Delete : Sub Form: STKVCH BatchAllocations


    [#Field: VCH NrmlBilledQty]
    Add : Option : nrmbillopt : @@IsSCcustomization

    [!Field: nrmbillopt]

    Delete : Skip on
    Delete : Set as
    Delete :Set By Condition

    [#Field: VCH NrmlRate]
    Add : Option : NrmlRateopt : @@IsSCcustomization

    [!Field: NrmlRateopt]
    Delete : Skip on
    Delete : Set as
    Delete : Set By Condition
    Add : Set as : $VchAsseVal

    [#Field: VCH NrmlValue]
    Add : Option : NrmlValueopt : @@IsSCcustomization

    [!Field: NrmlValueopt]
    Delete : Read Only
    Delete : Set as
    Delete : Set By Condition
    Add : Set as : $Rate*$BilledQty








    ;;:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::;



    ;;::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::




    ;[#Part: EI Column]
    ; Delete : Line : EI ColumnTwo
    ; Delete : Common Border
    ;
    ;
    ;
    ;
    ;[#Field: VCHBATCH Godown]
    ;Add : Skip on: Yes
    ;
    ;[#Field: VCHBATCH Name]
    ;Add : Skip on: Yes
    ;
    ;
    ;[#Field: VCHBATCH BilledQty]
    ;Add : Skip on: Yes
    ;
    ;
    ;[#Field: VCHBATCH Discount]
    ;Add : Skip on: Yes
    ;
    ;
    ;[#Field: VCHBATCH RateUnits]
    ;Add : Skip on: Yes
    ;
    ;[#Field:VCHBATCH Value]
    ;Add : Skip on: Yes
    ;



    ; [*Field: EI TableOrder]
    ; Switch : EI TableOrder : EI TrackOrder : (@@IsOrderVch OR @@IsGoodsNote) OR NOT $$IsTrackingOn
    ; Switch : EI TableOrder : EI SalesOrder : (NOT @@IsOrderVch AND NOT @@IsGoodsNote) AND $$IsTrackingOn
    ; Key : Create New Number
    ; Show Table : Always
    ; Dynamic : ""
    ; Trigger : New Number : $$IsSysNameEqual:NewNumber:$$EditData
    ; ;; Table Cached at part Level.
    ; CommonTable : Yes
    ;
    ; [*Collection: InvSalesOrders]
    ;
    ; Title : $$LocaleString:"List of Orders"
    ; Type : Ledger Sales Orders
    ; ChildOf : ##pvPartyLedgerName
    ;
    ; Parmvar : pvPartyLedgerName : String : If $$IsEmpty:($$BaseOwner:$PartyLedgerName) then $LedgerEntries[1].LedgerName Else ($$BaseOwner:$PartyLedgerName)
    ; Parm Var : pvIsInvoice : Logical : @@IsInvoice
    ; Parm Var : pvIsPurcSalesVchType : Logical : ($$IsPurchase:##SVVoucherType OR $$IsSales:##SVVoucherType OR $$IsRcptNote:##SVVoucherType OR $$IsDelNote:##SVVoucherType OR $$IsSalesOrder:##SVVoucherType OR $$IsPurcOrder:##SVVoucherType OR $$IsCreditNote:##SVVoucherType OR $$IsDebitNote:##SVVoucherType)
    ; Parm Var : pvIsReceiptVch : Logical : $$IsReceipt:##SVVoucherType
    ; Parm Var : pvIsPaymentVch : Logical : $$IsPayment:##SVVoucherType
    ; Parm Var : pvIsJournalVch : Logical : $$IsJournal:##SVVoucherType
    ;
    ; Collections : Not Applicable, EndOfList, NewNumber
    ;
    ; Format : $Name, 13
    ; Format : $Date, 8 : Universal Date
    ; Fetch : Name, Date
    ; Unique : $Name, $Date
    ; Compute : IsVchExcise : (If @@IsExciseTraderOn then (If $$IsEmpty:($LedgerEntries[1].IsVchExcise) then No else $LedgerEntries[1].IsVchExcise) Else No) ; Compute introduced for to check Excise Voucher
    ; ;Filter : TrackOfLedger
    ; ;;Excise: case of Export Procedure enabled
    ; Option : ExciseExportInvSalesorders : @@IsExciseMfgrInvoice AND @@IsExciseExportEnabled
    ;
     


Share This Page