Formulas in PLD
Hi everybody.
I have a problem using formulas in PLD.
I need to use 2 conditions in the same formulas, but i don't see the "&" to concatenate the conditions in the same formula. is it possible?
suppose u want give tow conditions in a formule for example __linenum<10 & linenum>5__
step one :u have to give one formule like linenum<10
step tow :u have to give one formule like linenum>5
step three: link these tow formules then it works like one formule like __linenum<10 & linenum>5__
Similar Messages
-
Documentation on Linking fields and adding formulas on PLDs
Does anyone know of some good docs on Linking fields and adding formulas on PLDs?
Can't seem to find much.
thanksHi Paulo
When I go to that link I get the following message:
Alias not available
The alias SMB/SBO/PLD that you have entered does either not exist,
or you are not authorized to access it.
do you know what this means?
thanks
mike -
Truncate last 2 character formula in PLD
Hi,
Just want to know does anyone know how to truncate last 2 characters formula in PLD? I know the substring formula in PLD is to truncate characters from left, how about from right?
I need to truncate 2 characters from the right for field like Batch No, this field may contain characters and numbers at not fix length. Hope anyone can help soon, thanks.Hi,
Try this one create a formula and insert the following
Substring(F_791,Length(F_791)-2,Length(F_791))
Thanks.
regards,
Clint -
Hi,
In PLD how can I calculate below values:-
1.Sum((Column "X" - Column "Y") <= 0)
2.Sum((Columnm "X"- Column "Y") > 0)
Desc:Column X minus Column Y and value of the expression should be greater,less than and equal to zero.
Sum of (Column X minus Column Y and value of the expression should be greater,less than and equal to zero.)
Please reply ASAP
Regard's
Amit TyagiHello,
Thanks for your response
I create a report via query generator and in that report there is two column "Delivery Date" & "First Dispatch Date".
What customer want field(Complete on time dispatch value) in the repetive footer area which will show sum of delivery dates minus first dispatch dates less than equal to Zero.
I worked and I generate out one formula
ColSum(Datediff(dd,"Field_207","Field_208")<=0) but it is not working
Please reply me ASAP.
Thanks & Regard's
Amit Tyagi -
Crosses formula "totalpages" PLD
Hi all,
I've built a layout in PLD and I wanted to add the following line (for example):
Pagina 1 van 3
Pagina : Textfield
1 : field with formula
CurrentPage()
van : Textfield
3 : field with formula
TotalPages()
The problem is that the "3"-field shows some XXXXX in the second line. Can anybody help me to get rid of those XXXXX?
Thank you in advance!
Greetz
LarsLars,
It happens in the newer versions when the field is too short. Just simply make the TotalPages() field wider.
Regards,
Nat -
plz tell me
hi
Refer to this elearning link for PLD forumulas.
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/media/uuid/51c19891-0901-0010-6eb1-e71abf09298a
Jeyakanthan -
How to Use conditions in PLD Formula Field
Dear, Experts
for eg I have two fields in pld Field_A and Field_B
Field A Contains values and fieldB also have values and 0.00 values as well.
I need to fetch the value to Field C from Field A where Field B >0
Field_a and field_B In third field (Field_C) i need the values of Field_A where Field B>0.
1000 567
2000 0
500 89
888 79
777 0
700 0
9000 78
So here what conditions i should give in the formula filed (Field_C)
Please help me to solve this issue.
thanksHi Sudatta,
Your solution seems to be correct, but I am not getting the point of keeping some of the fields visible.. You can make field Z in your example invisible.
To make the right formula in PLD you need an extra field, the formula fields in SAP allways give back an 0 or an 1.
So if you have Field_A and Field_B and Field_C, you also have to create another field (eg Field_D)
Field D should be typed as a formula field and contain Field_B > 0 or Field_B != 0 or Field_B > 0.00 (just the exact value when you don't want field_C to be filled.
Field_C should be marked as a formula aswell and contain Round(Field_A,2) in this 2 is the ammount of decimals.
Then you have to make a connection between field C and D on the general tab (as mentioned before). So Field_C should be connected to field D.
You can make field_D invisible so it won't be displayed on your lay-out.
After that it should work.
Good luck,
Kind regards,
Hendri Wessels -
Can I use split function in PLD?
Dear Experts,
Can anyone show me if I have this value in a variable F_001 in PLD.
012345-FAB
How can I get the below output? (Taking off the -FAB, by either using a split() function or equivalent)
012345
Much Thanks!
ChinhoHi Chinho,
ok, for example, IF you use add the last 4 Character only in CardCode(-FAB)
F_001 -> CardCode = 012345-FAB
or
F_001 -> CardCode = 1000123456-FAB
or
F_001 -> CardCode = 987456814-ADM
but you need to print the Value of CardCode is before last 4 Character Value .
Output: 012345 or 1000123456 or 987456814
Try this formula in PLD.
Substring(F_001,0,(Length(F_001)-4))
Regards,
Madhan. -
How to print A/R Invoice in Different Currency.
Hi All,
I have created one A/R Invoice in BP Currency (USD), Now I want to print A/R Invoice in both USD and INR. How can I do this in SAP Business One 2007 B PL 08.
Thanks & Regards,
Siddique Shaikh.If you want to use one template to print both currencies, you need add many fields to achieve your goal. Both LC & FC fields should be hidden and using formula fields plus the condition fields to show the results. Search the forum if you don't know how to use this Conditional Formula in PLD.
Thanks,
Gordon -
Customer Aging Report VT Label Exclusion and Modification of Date Format
Hi Folks!
I need your thoughts on how to remove the 'VT' label in all amounts of the Customer Receivables Aging Report.... Since it is a system variable, and already have the VT label when it is called, any remedy on how to remove this?
In line with this also,
We would like to modify the date format of the Aging Dates at the Header of the Table of the Report. The system returns the date format YYYY-MM-DD. We would like to change it to DD-MM-YYYY. I used the Concat and date functions provided in the Formula in PLD... but it returns mismatch error.
I have searched through the forum and find no answers with this. I know that this will help also other users with the same concerns.
Thanks a lot.
FringeSkype was causing the problem :@
-
Shorten string in line item in repetitive area
I have a field with a number that is consistently XXX-XXX-XXX-XXX-R.C or XXX-XXX-XXX-XXX.c
I would like to print only the characters before the period, or in other words I would like to drop the .c on each printout. I had a substring calculation for 15 characters but the client now wants the flexibility to have 17.
Is this possible?Hi,
Can you used the substring formula in PLD.
for example, Field_123 or F_123 -> XXX-XXX-XXX-XXX-R.C or XXX-XXX-XXX-XXX.c
Substring(Field_123,0,15)
Substring(F_123,0,15)
Result in Print,
XXX-XXX-XXX-XXX
Regards,
Madhan. -
On our check stub the taxdate is used to display the a/p invoice document date on the stub. when we have a credit appearing on the same check some random date from 2007 is shown. How can i have the taxdate appear when it is a credit vs. a/p invoice?
Could i create a formula in PLD?
ThanksFound additional info in some training material powerpoint:
You can make fields appear only if certain conditions are true. To do this, you first need to build the condition with the help of one calculation field and two operator fields:
The two operator fields are text or data fields. Usually, you want to compare the content of a data field with a fixed value. In this case, you would need the data field and a text field that contains the fixed value.
The calculation field compares the two operator fields with each other with any condition operator (such as greater, less, or equal). The calculation field returns either a 1 if the condition is TRUE or a 0 if the condition is FALSE.
You need to link the print layout field that you want to influence through the condition to the condition field.
To do this, you enter the Unique ID of the condition field into the Link to Field field of the print layout field. If the condition field is equal 1 the linked print layout field will be printed, if the condition field is equal 0 the linked print layout field will not be printed. -
hi experts,
I have a field in pld, it is a formula field.....
Usuallly i will get the values like 0.0085678, 0.78955............
So how can i bring this decimal point upto 2Dear,
use round formula in PLD.
Round(FiledName,0).
if the value is 0.78955 ,it will show 0.8 ,if the value after decimal is below 5 the round to lower value else to higher value.
Hope this will help you.
Regards,
Neetu -
hi all, is there any way in PLD to round down a value ?
there is only round function in formula.
thanks for every commentsHi Ivin,
Yes, Round Function only in formula on PLD.
any other related Function not in Formula on PLD.
for example,
DocTotal Field ID -> F_123 - 25412.76
Round(F_123,0)
Result(in print): 25413
Regards,
Madhan. -
Printing different Invoices or Credit Notes series
Hi,
I have two types of series on Credit Notes. One is called for example "Credit Note" and the other is called "Debit Note". On PLD, how can I do to print "Debit Note" on the layout when it's a Debit Note series and to print "Credit Note" when it's a credit note series?Well, I've made it through some formulas on PLD and associations between fields, but thanks anyway.
Regards,
Pedro Santos
Maybe you are looking for
-
Hi Can anybody tell me where is the deletion flag indicator in the pur. order. I could not find in ME22N - Item overview. and How the system consider the warehouse stock for MRP Calculation thanks Mohan
-
INNER JOIN PROBLEM IN Microsoft SQL Server 2008 R2 Report Builder 3.0
SELECT ,maximo_tbl_matrectrans.ponum ,maximo_tbl_po.description AS [maximo_tbl_po description] ,maximo_tbl_matrectrans.polinenum ,maximo_tbl_matrectrans.itemnum ,maximo_tbl_item.description AS [maximo_tbl_item description] FROM maximo_tbl_matrectran
-
Render (both for preview and export) takes forever
I'm running Premiere Elements 12.0 (really 12.1) in a MacBook Pro Retina running 10.10.1 (14B25) It has quad Core i7 each 2.7 gH, NVIDIA GeForce GT 650M 1024 MB, 16 GB of ram, and a 750GB SSD disk. There are no other applications running on the comp
-
Family sharing spouse gets error
I have added my husband to Family Sharing and he can see my installed apps on his phone but when he tries to download he gets the following error: Unable to Download To download shared content, your family must have a valid payment method. I went int
-
ITunes see my iPad, but will not open summary or other folders
iTunes sees my iPad when connected via USB cable, but unlike my iPod it doesnt progress to showing the Summary and other folders. What's wrong. Also cannot get it set up to sync on wifi. Using the same AppleID as my iPod Touch, which all above functi