on 05-06-2015 2:13 PM
Bom dia!
Gostaria de saber se para alterar o número do item da nota fiscal que atualmente é de 10 em 10 para 1 em 1 é possível via customizing. Verifiquei e não encontrei nada.
Mas debugando a J1B1N encontrei a include LJ1BB2FB2 com o form determine_item_num que somaria de 10 em 10 o valor do item, isso é standard.
FORM determine_item_num.
DATA: wk_lin_copy LIKE wk_lin OCCURS 0 WITH HEADER LINE.
* get item number of last item without changing the work area of wk_lin
APPEND LINES OF wk_lin TO wk_lin_copy.
LOOP AT wk_lin_copy.
ENDLOOP.
wk_lin-itmnum = wk_lin_copy-itmnum + 10.
CLEAR wk_lin-selkz. "don't select new items on overview screen
ENDFORM. " DETERMINE_ITEM_NUM
Pensei em verificar uma exit após esse ponto para dividr por 10 cada item e assim obter o valor de 1, 2, 3 etc. Mas se alguém souber de uma forma standard de fazer isso ajudaria muito.
Att,
Willy
Olá Willy.
Esse campo é a chave da tabela, um campo interno, não é aconselhável fazer isso.
Se a sua preocupação é em relação ao número do item em relação à nota fiscal, então o campo correto é o NUM_ITEM.
abs
André
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
16 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.