Hi Administrator, I need the Syntax to call for the Parent Value in the child . [#Part: STKG Details] Add: Line: RdGroupDiscount [Line: RdGroupDiscount] Fields : Long Prompt, RdGDiscount Local : Field : Long Prompt : Info : $$LocaleString:"Applicable Discount % " [Field: RdGDiscount] Use : Number Field Storage : RdGDiscount [System:UDF] RdGDiscount : Number: 100 ;[#Field: VCH StockItem] ; ; On : Accept : vch Discount : 10 ;;$RdGDiscount:StockItem:$StockItemName [#Field: VCH Discount] Use : Number Field Width : @@VCHDiscountWidth Set as : $RdGDiscount:StockGroup:$StockItemName Align : Right Style : Normal Bold Storage : Discount Set always : Yes Format : "NoZero,Percentage" Kindly Help out in this Casestudy, Thank u for supporting
;Try this [#Field: VCH Discount] Use : Number Field Width : @@VCHDiscountWidth Set as : $RdGDiscount:StockGroupStockParent Stockparent:$Parent:StockItem:$StockItemName Align : Right Style : Normal Bold Storage : Discount Set always : Yes Format : "NoZero,Percentage"
;try this [#Part: STKG Details] Add: Line: RdGroupDiscount [Line: RdGroupDiscount] Fields : Long Prompt, RdGDiscount Local : Field : Long Prompt : Info : $$LocaleString:"Applicable Discount % " [Field: RdGDiscount] Use : Number Field Storage : RdGDiscount Format:"Nozero,percentage" [System:UDF] RdGDiscount : Number: 100 [#Field: VCH BatchDiscount] Set as : $RdGDiscount:StockGroupLocFor LocFor :$Parent:StockItem:$StockItemName [#Field: VCH Discount] Set as : $RdGDiscount:StockGroupLocFor LocFor :$Parent:StockItem:$StockItemName
create a field before the discount field in Voucher entry Get the values there first ... then delete the Set as in discount field and force the given value of the new field there it will work with this you can achive 2 thigns a you are sure that the values are coming in new field from group and 2nd you are not disturbing the basic field of Tally the discount field
Try this ... Code: [#Field: VCH Batch Discount] Add : Set By Condition : not ($$IsEmpty:@@GrpDiscount) : @@GrpDiscount [System : Formula] GrpDiscount : $RdGDiscount:StockGroup:($Parent:StockItem:$StockItemName) This should work
Thanks Sanjeev.... Its Working Perfect In Batch Wise.... But Normal invoice Discount not show auto.... please Check...and Guide us.... [#Field: VCH Discount] Add : Set By Condition : not ($$IsEmpty@GrpDiscount) : @@GrpDiscount [#Field: VCH Batch Discount] Add : Set By Condition : not ($$IsEmpty@GrpDiscount) : @@GrpDiscount