on 09-19-2022 2:35 PM
Hi,
Is there setting for users to stop entering items from different vendors on purchase order?
Example:
if Item ABC belongs to Vendor XYZ, we dont want user to allow entering item ABC to another Vendor while creating Purchase Order.
Thanks,
Hi,
Don't think this kind of working is available from the system itself. I hope you must have checked the Preferred Vendor in the Purchasing Tab.
May be you can check the option of code in SP_TransactionNotificaiton which could help.
Kr,
Jitin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Olá, cria uma TN e insira o código abaixo. Só verifica se na sua base existe a váriavel CNT.
IF :object_type = '22' AND (:transaction_type = 'A' OR :transaction_type = 'U') THEN
Select count('A') INTO cnt From OPOR A
Join POR1 B ON A."DocEntry" = B."DocEntry"
Join OITM C ON B."ItemCode" = C."ItemCode"
Where A."CardCode" not in (Select T0."VendorCode" From ITM2 T0 Where T0."ItemCode" = B."ItemCode")
and C."InvntItem" = 'Y'
and A."DocEntry" = :list_of_cols_val_tab_del;
IF :cnt > 0 THEN
error := '2205';
error_message := 'PN DEVE ESTAR NO CADASTRO DO ITEM.';
END IF;
END IF;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your help Jitin. That did the trick.
On other note, I am new to SAP but I have extensive knowledge in .Net. How difficult it is to write .Net code to trigger events on Forms like Sales Orders OR Purchase Orders. I want starting point on how and where to write code and SAP B1 can pick up my code to trigger events?
I know this is very broad question but any guidance will be appreciated and helpful.
Thanks again for your help.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
107 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.