Hi ..
*This post is locked for comments
Hi ..
*This post is locked for comments
Hi Ganesan .. thanks for your information .. i got solution for this one ..
i use this coding in class---> vendvoucher---->
protected void initFromPostingProfile(VendTrans vendTrans,
VendPostingProfile _vendPostingProfile)
{
;
VendTrans.Remarks = VendTable::find(VendTrans.AccountNum).Remarks;
vendTrans.initFromPostingProfile(_vendPostingProfile);
}
Okay Ganesan,
Thanks , i will check and reach you back.......
Saravanaa,
Please check your code, in the last line,
vendVoucherPurch.parmRemarks(custTable::find(PurchTable.AccountNum).remarks
I think you made a mistake there, instead of using vendTable::find() you are using CustTable::find()
please check your code.
Hi Kavin,
If you are using the map, then first verify that you have added the Remarks field to the map object.
HI Ganesh,
I tried following way but nothing happen.
am declared variable as in custVendVoucher
abstract custVendVoucher
{
Description remarks;
}
in that i create a new method
public Description parmRemarks(Description _remarks = remarks)
{
_remarks = remarks;
return _remarks;
}
And Initializing the Remark values in initCustVendTrans () method
custVendTrans.Remarks = remarks;
And then in VendVoucher class am add following line in newVendVoucherPurch() method
vendVoucherPurch.parmRemarks(custTable::find(purchTable.AccountNum).Remarks;
i did like that but VendTrans Table field hasn't changed....can you tell me the correct way to do that.......
Hi Ganesh,
Is it write any method in CustVendTrans Mapping?Am write CustVendTrans.Remarks == VendTrans.Remarks. is it correct way to create?
like this i try but vales not inserted in vendTrans after the po form status posted invoiced ...
Hi Ganesan .. and here i using mapping for CustVendTable.Remarks == VendTable.Remarks
Hi Kavin,
you have to write this method in Purchformletter_invoice > CreateVendtTrans class, not in insert method of VendTrans table
Hi Ganesan ,,
i try with ( this.Remarks = vendTable::find(this.OrderAccount).Remarks;)
for inserted the field values from vendTable to vendTrans .. but i want to write coding in class for insert field values from vendTable to vendTrans while po form will posted invoiced .. that's problem for asking you for where to write coding class for insert the values when po form will posted invoice ......................
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156