i have script such as below :
tmpFixedAssetNew.JanuaryMST = (select sum(AmountMST) from assetTrans
where assetTrans.AssetId == assetBook.AssetId
&& assetTrans.BookId == assetBook.BookId
&& (assetTrans.TransType == AssetTransType::Depreciation
|| assetTrans.TransType == AssetTransType::DepreciationAdj)
&& mthOfYr(int TransDate) == 1).AmountMST;
but error with script this "mthOfYr(int TransDate) == 1"
why?
do you know it?
*This post is locked for comments
I have the same question (0)