Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9052

Re: SAP B1 validations - SBO_Transaction validation done for Journal Entry but it working for Landed Cost also.

$
0
0

Hi,

 

Thanks for reply.

 

Coding is

If @object_type = '30' and @transaction_type in( 'A')

Begin

  If Exists (Select Distinct T2.TransId

  From OJDT T2 Inner Join JDT1 T0 on T0.TransId = T2.TransId

  Inner Join OACT T1 on T1.AcctCode = T0.Account

  and T1.GroupMask >3 and T1.ActType  <> 'N'

  and (isnull(T0.ProfitCode,'')+

  isnull(T0.OcrCode2,'')+

  isnull(T0.OcrCode3,''))= ''

  Where T0.TransId = @list_of_cols_val_tab_del)

  Begin

  select @error = '3000001'

  select @error_message = N'GS_Dimensions are Mandatory'

  End

End

 

Thanks,

Parvatha Solai.N


Viewing all articles
Browse latest Browse all 9052

Latest Images

Trending Articles



Latest Images