on 05-19-2011 5:33 PM
Hi All,
In SBO 8.8 PL 11, BP/Items can be placed as active or inactive. In the help files it states that if the BP / item is used, a warning message will appear - BUT when in a sales order for example, the BP is unable to be found. Why is the BP unable to be found? Is this related to a setting or discrepancy with the patch or new functionality with 8.8?
We have recently upgraded to 8.8 PL17 and realised we had a problem with this function.
Can you let me know the query to create the alert?
I was told to create a new post based on a previous post which is out of date.
Regards
Hello Nick - welcome to the forum...I just returned from Europe last night and received the messages you have posted...yes, as you stated there is a glitch in the BP not being listed...
But there are several alerts which might help you. For instance:
1. An alert which tells the Financial personnel a Customer is to their limit (this includes open invoices, deliveries, and open orders) and they need to take a look to see if the Customer should be placed on hold.
2. An alert which lists out all those Customers who are on hold based upon the same criteria as above.
Both of these require a UDF to be set up on the BP Master Data record (as you read in the previous thread)...
Please let us know which alert you are looking for or maybe your own ideas on what the alert would look like or how it would be triggered...
Regards - Zal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All, thanks for replying back to my post.
I have just returned from a couple of days off leave.
I was thinking to create a UDF in the BP with "Accounting on Hold" = Yes or No. If the BP is on Hold then when a user enter the specific BP on the Sales Order an alert will pop up stating customer is on hold. Is this possible? i have a bad feeling it is not and a approval procedure is needed when BP is on hold and sales order is created on them, a manager will need to approve the SO.
If this is the only way, what query can i use to generate this function?
Regards
Hello Nick - hope you had a good time on vacation...
The SQL for the approval procedure would go something like this:
SELECT 'TRUE'
FROM OCRD T0
WHERE
T0.CardCode = $[$4.0.0]
AND T0.U_OnHold = 'Yes'
It is the TRUE return which sets off the approval process. The WHERE T0.CardCode, of course, might change dependent upon if you are using an approval procedure on a marketing document besides Sales Order....
Hope this helps - Zal
Hi Zal,
Thanks for the information. I'm just confused with the statement $($4.0.0) what does this mean?
U_onhold is a UDF which i will need to create and replace with what i will name it. I will probably name it the same as it is more system oriented.
Regards...
Edited by: Nick Dang on May 23, 2011 1:53 PM
Edited by: Nick Dang on May 23, 2011 1:54 PM
Hello Nick -
T0.CardCode = $[$4.0.0]
refers to the field value you find when you have the System Information displayed in SAP B1.
When the Sales Order window is open, go to "View" in SAP B1 at the very top of the screen, then select "Display System Information", move your cursor around to various fields on the Sales Order, and see what is displayed in the lower left hand corner of the screen. You will see that CardCode has that 4.0.0 value and you can think of it as if the 4.0.0 is like a variable which the SQL checks each time you enter a Sales Order.
Here, find some of the SAP B1 documentation under "SAP Manuals" found here:
http://wiki.sdn.sap.com/wiki/display/B1/SAPB1SQLLinksandAdditionalInformation
Hope this helps - Zal
Nick - no problem whatsover - that is why we are here in the forum...we have newbies and really experienced folks coming together helping each other - and that is what the forum is all about...
Just from experience I know that to use the variable reference, you use the first two - the 4 and the 0 - add a 0 on the end - add a $ to the 4 - encase them in the $ and the two
[ ]
in order to use them as variable references. There are other rules associated with this variable reference, but I cannot remember them now (usually remember them only when I am working on a specific SQL or problem)...
LOL - See, I am not a technical expert either - just experience...maybe there is something in the manuals reference on the link above???
Regards from Across the Pond - Zal
PS - I bet if you posted your initial thread in the SAP B1 Core Forum, you would get lots of folks answering there. I personally start all my threads there and let them tell me if I should be putting it somewhere else...
Hi Zal,
I have tried this on the ITEMCODE and it is not working. All the sales quatation comes with an error message when i tried to add the order.
the message reads "Could not commit transaction: Error - 1 detected during transaction". AS soon i have made the approval inactive the order goes through fine.
I have done it the same way with the relevant changes to the table and field names as the account on hold, which works perfectly now. Any advice?
SELECT 'TRUE'
FROM OITM
WHERE
T0.ITEMCode = ${$5.0.0}
and T0.U_retailitem = 'Y'
Note for some reason when i use the [ it becomes a hyperlink. { = [
Hi Zal,
Wow it worked with the approval appearing! I am still confused with the $ part of the query. Where on the system information can you see it is $38.0.0.
I am in the stock management > Item master data
when i place my mouse over the item number it is saying form =150 item =5 Pane=0 variable=1? How did you come up with 38.0.0? I only ask becuase I would never have got that from the information i can see on SAP. I would like like to learn about this?
Many thanks Zal.
Hi Nick,
We have created a different workaround where we have a UDF on the BP to indicate on hold, and a stored procedure to block adding of deliveries, invoices & payments for these customers.
It works well in smaller companies where the decision hierarcy is smaller. An authorised user can drill to the BP and release the hold
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Nick,
Welcome you post on the forum.
This is a new functionality with 8.8. The inactive BP will not show when you add sales order.
What alert do you want?
Thanks,
Gordon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.