on 10-22-2015 11:09 AM
Hi All
I need to populate a UDF on an AR Invoice if the invoice is based on a sales order.
if its based on a Delivery note, it should be blank and the user needs to input info in that field.
However it's not working so well, as it populates it even when i copy from a delivery.
I didnt use the docnum = docentry in my where clause because the docnum and docentry is not the same.
SELECT DISTINCT 'from Mill' from OINV T0 inner join INV1 T1 on T0."DocEntry" = T1."DocEntry"
where T1."BaseType" = '17'
Any advise on where to change?
Should i join on the DLN1 table as well?
Thank you
Jerusha
Hi,
Link sales order and AR invoice.
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Use the below one when you use FMS in row level
select case when $[$38.43.0]='17' then 'From Mill' else '' end
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You should use 3rd option after pressing Alt+Shift+F2, also refer the below link
https://www.packtpub.com/books/content/working-user-defined-values-sap-business-one
User | Count |
---|---|
95 | |
11 | |
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.