Kullanıcı
SAP B1-PTN Satınalma Siparişinde belge kayıt edildiğinde Müşteri/Satıcı referans numarasına otomatik numara verme nasıl yapılır?
Danışman
if :object_type='22' and (:transaction_type='A' or :transaction_type='U') then
update OPOR set OPOR."NumAtCard"=CONCAT(CONCAT(CONCAT(CONCAT('PO','-'),RIGHT(YEAR(OPOR."DocDate"),2)),'-'),OPOR."DocNum")
from OPOR
where OPOR."DocEntry"=:list_of_cols_val_tab_del;
end if;