Unable to Get Buyer Details

Discussion in 'Tally Developer' started by AnuB, Apr 5, 2022.

    
  1. AnuB

    AnuB New Member


    Hello, I want to Excel export Sales Register with Voucher and Item Details.
    I am unable to get BasicBuyer Address, BasicBuyerName, BasicShippedBy etc. fields. Below is my Collection. Any Help is appreciated...

    [Collection : My Src Coll]
    Parm Var:SVFromDate : Date : ##SVFROMDATE
    Parm Var:SVtoDate : Date : ##SVTODATE
    Type : Vouchers : Voucher Type
    Child of : $$VchTypeSales
    Filter: OnlySal
    belongs to : yes
    Object:Vouchers: $MasterID

    Fetch: VoucherNumber, Date, PartyLedgerName, PartyName, Narration, PARTYGSTIN
    Fetch: BasicShippedBy
    Fetch: BasicShipDocumentNo,BasicFinalDestination, PlaceOfSupply
    Fetch: BillOfLandingNo, BillOfLandingDate, BasicShipVesselNo, BasicBuyerName
    Fetch: InventoryEntries.*, Address.*,BasicBuyerAddress.*

    [Collection : SalesVoucherItems]
    Source Collection : My Src Coll
    Walk : Inventory Entries
    By : ValMasterID: $$Sprintf:mad:@VchMasterID:$MasterID ;;$MasterID
    By : StockItemName : $StockItemName

    Compute: StockItem: $StockItemName
    Format :$StockItem

    Compute: VBuyerAddress: $$FullList:BasicBuyerAddress:$BasicBuyerAddress
    Format: $VBuyerAddress

    Compute: VVehicleNo: $BasicShipVesselNo
    Format: $VVehicleNo

    Compute: VShippedBy: $BasicShippedBy
    Format: $VShippedBy

    Compute: VBuyerName: $BasicBuyerName
    Format: $VBuyerName
     


  2. AnuB

    AnuB New Member


    I solved it by below way....
    Compute : TNeVATVchNo : $$CollSrcObj:$VoucherNumber
    Compute: NEPSRBuyerAddress: $$LocaleString:$$CollSrcObj:$$FullList:BasicBuyerAddress:$BasicBuyerAddress
     


  3. balajimg

    balajimg Active Member


    Since you are in inventory entries, use $$Owner
    Eg : Compute: VBuyerAddress: ($$Owner:$$FullList:BasicBuyerAddress:$BasicBuyerAddress)
    Format: $VBuyerAddress

    Compute: VVehicleNo: ($$Owner:$BasicShipVesselNo)
    Format: $VVehicleNo

    Compute: VShippedBy: ($$Owner:$BasicShippedBy)
    Format: $VShippedBy

    Compute: VBuyerName: ($$Owner:$BasicBuyerName)
    Format: $VBuyerName
     
    AnuB likes this.


Share This Page