Atribuição de número de lotes em artigo existente.

Tenho um artigo que é gerido por lotes. Acontece que existem 39.000 unidades no armazém que não consigo movimentar em documentos de vendas.
Quando verifico os lotes autorizados a sair ( Inventário -> Lotes -> Gestão de Lotes) não consigo executar as operações de actualizar e de concluir sobre os lotes existentes.
Em Inventário -> Lotes -> Detalhes de Lote e seleciono o artigo em causa numa procura aparece 54 lotes no sistema, seleciono um e depois faço as quantidades de lote e aparece a quantidade zero e a cinzento no código de armazém em que existem 39000 unidades segundo a informação do sistema via dados mestre dos artigos.
Como é que eu posso editar essas quantidades nos lotes desses artigos?
(Nota: Estou a utilizar a base de dados DEMO_PT - Mundo desportivo e o artigo é o A1000)
Obrigado
SM
Edited by: Paulo Calado on Oct 21, 2009 2:59 PM

Bom dia José Nunes,
Este report servirá apenas para o incidente, não para a causa raiz. Não esqueça de devolver o chamado para SAP para análise da causa raiz.
Os outros dois chamados foram enviados à equipe de banco de dados pois o "sintoma" do problema parece ser uma falha no isolamento de transação ou no enfileiramento de commits/locks.
Para se criar um lote o programa /xnfe/collect_batch seleciona do banco registros na tabela /xnfe/nfebat (ligação entre NF-e e Lote) com batchid zerado, ou seja, prontas para entrar em lote. Só quem faz este papel é o endless job /xnfe/process_reports (collect_batch é um subprocesso)... Então não há problemas de concorrência na criação de lote.
O problema acontece ao fazer update nesta tabela colocando o novo número de lote na associação com a NF-e. Neste ponto que digo que o "sintoma" aponta para alguma característica do banco de dados.
Qualquer ajuda da equipe de banco de dados é bem vinda.
Atenção: Não sei se o problema é banco de dados, hoje o sintoma aponta para ele porém pode ter trocentas variantes
Atenciosamente,
Fernando Da Ró

Similar Messages

  • PROCESSO DE RECEBIMENTO E VENDAS COM "GRADE"

    Bom tarde a todos, importamos Mármore em M² e recebemos essa mercadoria convertendo para unidade, mas na forma de “grade”, por exemplo:
    1000  M² de Marmore X
    Após a conferência equivale a:
    1 chapa de 2 x 2 de mármore x
    2 chapas de 3 x 2 de mármore x
    3 chapas de 3,5 x 2,35 de mármore x
    e assim por diante
    Ou seja o item é o mesmo só muda as medidas, muito parecido com indústria de calçados que tem a grade de tamanhos.
    A questão é: O SAP atende essa necessidade? Pelo que pesquisei, como padrão não atende.
    Alguém já tratou essa situação ou teria alguma sugestão?

    Caro Leônidas,
    Boa tarde!
    Já realizei operação semelhante para o processo de BOBINAS DE AÇO, onde o item é o mesmo (BOBINA DE AÇO) mas o cliente necessitava controlar a largura da bobina e o peso da bobina gerada na ORDEM DE PRODUÇÃO.
    Para realizar tal processo, utilizei o processo de ADMINISTRAÇÃO DE NUMERO DE LOTE, da seguinte forma (já fazendo analogia ao seu processo:
    1 - Todos os itens comprados eram inventariados (lançados via NOTA FISCAL DE ENTRADA ou RECEBIMENTO) e lançados em um único item, sendo que este item possuía controle em ADMINISTRAÇÃO DE NÚMERO DE LOTE;
    Ex: Mármore M2;
    2 - Foi criado um campo de usuário nas informações de DETALHES DO LOTE e neste campo padronizei todas as medidas existentes para os produtos trabalhados;
    Ex: Chapa de 1x1, Chapa de 1x2, Chapa de 2x2, Chapa de 3x2, Chapa de 3x3...
    3 - NO momento do lançamento em RECEBIMENTO ou NOTA FISCAL DE ENTRADA, eram identificados os produtos existentes em cada lote sendo que:
    3.1 - O campo do NÚMERO DO LOTE era igual ao NUMERO DA NOTA FISCAL e à DATA DE LANÇAMENTO
    3.2 - O campo de usuário era identificado a característica criada do produto;
    Ex: 10 Chapas de 1x1, 12 Chapas de 1x2, 5 Chapas de 2x2...
    É perfeitamente possível utilizar os recursos padrão do SAP para implementar este processo, sendo apenas possível criar um campo de usuário. Mas neste caso, o cliente preferiu customizar um relatório específico do Crystal Reports que filtra o inventário pela característica específica do produto (em seu caso, a chapa).
    Espero ter ajudado a clarear suas idéias neste processo.
    Leandro Martins
    Consultor SAP Business One
    [email protected]
    www.updatesolution.com.br

  • Estorno de NF-e no GRC com Status 38 - Lote: Web Service não acessível

    Oi pessoal,
    Preciso de um help para estornar uma NF-e.
    Criamos uma nova empresa no SAP e na emissão da primeira nf-e esqueceram de alterar as configurações da spro que informa que a nfe é Produção e não Homologação.
    Resultado, a nfe foi enviado para o GRC produção como sendo Homologação e então ocorreu o erro de envio do lote por não haver conexão com o ambiente de Homologação da SEFAZ.
    Com esta situação o ECC não é atualizado pois não ocorreu um erro de validação, apenas de comunicação. O problema já foi resolvido para o envio das próximas nfe´s mas fiquei com esta bucha para resolver.
    Podem me dar um help? Como faço para forçar um erro no GRC que me possibilite estornar no ECC.
    Sei que posso alterar os status da NF-e no ECC (J_1BNFE_ACTIVE e J_NFEDOC), mas se eu fize isso não consigo atualizar o GRC e vou ficar com esta perna pendente.
    Obrigado,
    Jônatas Lemes.

    Boa Tarde,
    Fernando, fiz a confirmação de inutilização na SEFAZ e realmente a nfe não consta como inutilizada.
    O status ECC após a alteração: statdoc = 2 / statcode=215
    O status do GRC é = cancelado/inutiliz.
    O problema é que na tentativa de solicitação de cancelamento, ocorreu erro (número "docnum" existente).
    Como no GRC já estava OK, fizeram o restante do estorno na J_NFEDOC e J_1NFE_ACTIVE para terminar o processo no ECC, movimentando material para estoque, etc...
    Então o atual status do ECC é: statdoc= 1 / stat.comunic. = 4 / stat.mensg.= B / estorno = X / Cód.status = 102
    O problema é que só depois disso é que lembramos da informação à SEFAZ que o GRC faz automaticamente. Mas que devido aos ajustes manuais não ocorreu.
    Diante desta situação, tem alguma forma de forçarmos esta comunição para a SEFAZ?
    Obrigado pela atenção,
    Jônatas.

  • Consulta de status de lote: erro de sistema PI

    Pessoal, bom dia.
    Em alguns casos ocorre erro de comunicação na consulta do status do lote. Após o GRC enviar o lote pra SEFAZ, ele fica consultando o status do lote até n vezes (conforme atualizado nas configurações do lote no monitor do GRC), certo?.
    Quando ocorre esse erro de comunicação (Consulta de status de lote: erro de sistema PI), o GRC para de ficar consultando o status.
    Existe alguma forma de parametrizar/automatizar o GRC para que quando ocorrer esse erro, ele fique solicitando a consulta de status até as n vezes em vez de para a solicitação da consulta?
    Ou criar um Z que busque os lotes que estajam com este status e coloca-los em processamento?

    Bom dia Fábio,
    Não, a configuração de tentativas serve apenas para quando a Sefaz responde de forma clara com um 105 - Em processamento.
    Quanto acontece erros, o processo fica parado mesmo e a forma de restart é manual ou através de Z (Cristiane deu uma colaboração colocando o código para referência, veja: Sample code for automatic resend of batches with communication errors não consegui achar a thread que discutimos isso).
    Observação: É muito importante garantir que os problemas que estão fazendo seus lotes pararem são realmente externos e solucionáveis pelo job, do contrário você pode gerar sim problema interno no GRC para todas os processos/Sefazes ao insistir num reprocessamento automático.
    Sugestão:
    - certifique-se que o motivo para o restart é externo
    - faça log de todos os restarts em tabela
    - determine um número máximo de restarts automáticos
    - analise continuamente do que foi restartado sem sucesso para tentar obter regras que impeçam o restart sem sucesso
    Atenciosamente, Fernando Da Rós
    Edited by: Fernando Ros on Jul 21, 2010 5:41 PM

  • Anyone know how to remove Overdrive books from my iphone that have been transferred from my computer? They do not show up on itunes. I see a lot of answers to this question but they all are based on being able to see the books in iTunes.

    How do I remove Overdrive books from the library that were downloaded onto my computer then transferred to my iphone? The problem is that they do not show up in iTunes.
    I see this question asked a lot when I google, but they always give answers that assumes you can find the books in iTunes either under the books tab, or the audio books tab or in the music. They do not show up anywhere for me. They do not remove from the app like the ones I downloaded directly onto my iphone.the related archived article does not answer it either.  I even asked a guy working at an apple store and he could not help either.   Anybody...?
    Thanks!

    there is an app called daisydisk on mac app store which will help you see exactly where the memory is focused and consumed try using that app and see which folders are using more memory

  • Internet Problem - One site will load, another won't. Then mintues later, the site that previously would load won't and the one that wouldn't will. I'm also pulling up a lot of pages in all text. Pics won't load or only one will load and the rest won't...

    Several weeks ago, I began to have some very strange internet connection issues. All the lights on my modem stay on and my computer shows full wi-fi signal, but I suddenly I won't be able to load any pages. Other times, I'll be able to load pages from one site, but not another. It's not the same sites all the time though.... sometimes I'll be able to load pages from one site and not another, and then 5 minutes later it'll switch and I'll be able to load pages from the site I previously couldn't and I won't be able to load pages from the site I previously could. A lot of pages are coming up just text with no pics... and then 5 mintues later that site will load normally and another site will come up just text. It does the same thing whether I'm connecting wirelessly or via an ethernet cable. It also doesn't matter which browser I use (I've tried Safari, Chrome, and Firefox). Although, once in a while when using chrome, I get a DNS error page instead of the usual 'cannot find server'. I contacted my service provider and I'm not losing speed or dropping packets. According to them, the problem I'm having is very strange since diagnostic tests show no problems at all. Perhaps someone has run into this before and has a suggestion?

    Then if you have tried all the browsers try connecting the system to yoour router with an Ethernet cable and turn WiFi off. If you have the same problem then it more then likely after your computer, Router or modem or connection from your ISP.
    If you get good browsing with the Ethernet cable then it is either the WiFi card in your Mac or the WiFi system in your router.

  • Follow-up action : please help - Inspection Lot related

    Hi,
    I am having the following trouble:
    Through MB02, a printout is generated to the local printer (LOCL).
    However, through QA11, when we save, we have a custom follow-up action attached that pops-up a
    dialog screen.
    The follow up action is triggered when a usage decision is changed for the inspection lot.
    The follow-up action (configured in IMG) calls a Function Module and a screen, which in turn populates
    a value into a custom DB table (based on the buttons, on the screen, sending either to LOCL or to a
    zebra printer).
    Now, what has to happen is that after inserting the value into a custom table, it should also open a sapscript and output.
    The Sapscript and print program are there, with the print program being created 3-4 years ago by someone
    else. However, even though we have code in the print program to update nast, in turn creating a message
    for output (1st the custom DB table is checked to see if the values match, MATNRCHARG), It does not update
    NAST. When we go through MB02, it does, but this should happen automatically after selecting one of the radio
    buttons on the original pop-up & selecting print.
    Please help. I don't know what to do and can't enable a debugger from the pop-up and if going though QA11,
    I can't get it to stop inside the print program (only inside the custom FM).
    Cheers,
    John

    hi
    kindly check whether this FM will work for you QFOA_OBJECT_STATUS_SET
    regards
    thyagarajan

  • Does any one know , how to delete the others in itunes. it takes lot of space

    does any one know , how to delete the others in itunes. it takes lot of space, i wanna delete that... Actually what it contains

    Those are the data of the installed apps. Don't listen if someone says that it's an iOS, because it is not. On your iPhone, go to general > usage. It will show you all the programs installed on your iPhone. If you click any of them you will see how much of "others" it has (documents and data)
    There's no way to delete it if you want to still have those apps. You can reinstal those which has the most "others" but after some time of usage, it will raise again.

  • My 2 children share an itunes account.  now that they are older and receive lots of itunes gift cards, it's very difficult for them to each redeem cards fairly! how do i set up separate accts

    can anyone tell me how to go about setting up a separate account for one child without messing up the original account?  or can anyone give suggestions about redeeming gift cards so each child does not have to keep track of the others purchases.  its' causing a lot of stress around here and potential inequity.  my daughter wants her own acct.  i assume i would set that up under a separate email and will she lose everything?

    You will indeed need another email address, but you just then set up the account as you did your current one. You can use your daughter's gift card to set up the account. I'd suggest you give each child his/her own user account in Windows, if you haven't already. That will give them each their own iTunes library and keep each child's purchases completely separate.
    As to the existing content, once you've set up the user account for your daughter, just copy the content you want your daughter to have from your current iTunes library to a shared location (either on the computer or on removable storage such as a USB flash drive or an external hard drive), log into your daughter's user account, launch iTunes, and drag the content into the iTunes window. Then just authorize that copy of iTunes to that iTunes Store account (Store menu -> Authorize) and she'll be able to continue to play and sync that content. Log her into her own iTunes Store account for future purchases.
    Regards.

  • TS1368 I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.

    I want to delete a lot of things childrens stories, albums which are not used which that are on my ipad. However when I go through Itunes it wont show me most of the stuff in my library. it takes ages to delete one at a time.
    Can you help please?

    Thanks King_Penguin for taking time to read and reply. 
    I just purchased this movie on Thursday, May 15, so just a few days ago.  I have never had any trouble whatsoever since I have been in Vietnam.  I have downloaded several movies and even music and they have all synced to my respected Apple products except for this purchase. 
    Sorry, I don't quite understand what you mean by studios and different versions.  Could you please explain? 
    I checked my purchased list in my purchase history under my account and there are no hidden items. 

  • I need to delete a lot of duplicates on iPhoto. I just bought my MacBook Pro and was so excited I downloaded my external hard drive without thinking through the process. I now realize I had my photos doubled up. So I actually have the same library twice.

    Hello All!
    I am so excited about my new computer and I didn't know that my external hard drive had so many pictures duplicated on it. So I downloaded the entire hard drive. I thought iPhoto was going to be my answer, and now after reading a lot of discussions, it seems I have royally screwed up.  Please help me fix this problem. I am a computer novice. An even more Mac novice. I need very simple directions.  I would just start over with iPhoto, but I downloaded my digital camera with brand new photos on iPhoto and also downloaded my digital camera software on my new MacBookPro.  I am afraid if I "start over" with iPhoto I will lose my digital camera pictures. I bought the Mac to finally get my pictures straight, and look at the mess I have made.  I had AVG PC cleanup and used that program last night to delete duplicates from my PC. I also used it to delete duplicates from my external hard drive. I omega. I know, I know, too late huh? But I am teachable. And I now have my external hard drive fixed. But now, my question to the community is how to fix my new Mac, and my iPhoto. 
    Thanks,

    SweetThunder73 wrote:
    When you say to remove the photos out of the iPhoto folder, then import the clean single copies, I am understanding that the "original" file that the decloner was run against is now the "clean" single copies?
    Ok, you've got iPhoto Library that you have imported everything into, you can't delete the iPhoto Library and start over because you have only one copy of some pictures in there, combined with a lot of duplicates.
    You want all the duplicates out, but it will take you ages to do it by hand.
    What you do is.
    1: Right click on the iPhoto Library and "Show Package Contents"
    2: You will see a folder called Originals, these are all your original photo's, copy this folder to a external drive someplace, it's your backup.
    3: Select the Originals folder again and from the Finder Menu > File > Duplicate.
    4: Now you will have a OriginalsCopy folder, move that OriginalsCopy folder onto the desktop area out of the iPhoto Library folder. Close the iPhoto Library folder/window.
    5: Download the Decloner software and install it, use it to find all the "real" duplicates, via it's content on the OriginalsCopy folder.
    6: From the Finder menu > New Folder, now send the duplicate files to that folder, so all that is left in the OriginalsCopy folder is 1 copy of your pictures, minus all the duplicates which are now in New Folder.
    7: Open iPhoto and remove all your pictures in there. The iPhoto Library will update to become empty.
    8: Now import the pictures from the OriginalsCopy folder, these will now have only one copy of each picture.
    9: Open your New Folder, from the Edit menu > Select All and
    10 From the Finder > File Menu > Open With > Preview.
    Now you have one copy in your iPhoto Library and the duplicates in a New Folder opened with Preview which you can compare to make sure.
    Make as many backups of your pictures as you think you need during this prcess, but eventually you only want 1 picture of all you have in the iPhoto Library.
    Some pictures may be the same thing but a little smaller etc., these obviously are not duplicates, and you can weed those out by hand in iPhoto.
    Good Luck.

  • I just updated itunes and a LOT of my movies and music disappeared. These are movies and music I owned already and did not purchase from iTunes. How do I find them or do I need to add them all again? Also what happened to the sidebar?

    I just updated my iTunes software and have a lot of problems...
    1. The sidebar option is gone. I LIKED the sidebar and it was easier for me to navigate that way.
    2. Also no lists? I hate the icon way to view it. It makes my eyes go wonky and I have a harder time actually looking for what I want.
    3. A LOT of my music and movies have disappeared. These are music and movies I owned that I did NOT purchase from iTunes so I can not re-download them.
    How do I find the missing files? Do I have to readd them into iTunes? Is there a way I am not seeing to put thew sidebar back or make the files be viewed in list form? Can I undo this update to put it back the way it was. I hate this update...

    See my answere to your post in the Mt. Lion forum.

  • Creation of inspection lot 04 depending on production version

    Hi Experts,
    could you tell me if it is possible to create a Good Receipt inspection (lot origin 04) depending on the production version used ?
    My material has 2 production versions:
    0001 - production with process order
    0002 - production with repetitve manufacturing
    When I do a GR on process order, I do not want to create an inspection lot 04.
    When I do a GR on product cost collector, I want to create an inspection lot 04.
    As I have entered inspection types in material master data, I do not know how to do the distinction ?
    Thanks in advance for your help
    Best regards
    Amaury

    Hi
    Check user exit
    QBCK0003 |Extended QM check for goods receipt
    Regards
    Sujit

  • I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?

    I am running out of memory on my hard drive and need to delete files. How can I see all the files/applications on my hard drive so I can see what is taking up a lot of room?
    Thanks!
    David

    Either of these should help.
    http://grandperspectiv.sourceforge.net/
    http://www.whatsizemac.com/
    Or search 'disk size' in the App Store.
    Be carefull with what you delete & have a backup BEFORE you start, you may also want to reboot to try to free any memory that may have been written to disk.

  • I have been having a lot of trouble with the latest itunes update and my ipod classic 80Gb i.e. being unable to sync songs, but now i have no files at all on my ipod, it is completely blank when i view it from my computer. I need help, please, anybody.

    As it says above, i have been having a lot f trouble with my ipod classic and the latest itunes update, i was unable to sync songs or anything to it and have tried every conceivable 'fix' i could find. i have run an itunes diagnostic and the results are posted below. a major problem is that when i try and view my ipod through my computer it displays nothing at all on the ipod, no files or anything, this may be the problem but i have no idea how it has happened or how i could resolve it.
    This ipod holds huge sentimental value and i am loathe to buy a new one! If anybody can help it is greatly appreciated, than kyou in advanced.
    Microsoft Windows 7 x64 Home Premium Edition Service Pack 1 (Build 7601)
    ASUSTeK Computer Inc. K50IJ
    iTunes 11.1.5.5
    QuickTime not available
    FairPlay 2.5.16
    Apple Application Support 3.0.1
    iPod Updater Library 11.1f5
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 7.1.1.3
    Apple Mobile Device Driver 1.64.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 0038B8600B98D1E0
    Current user is not an administrator.
    The current local date and time is 2014-03-21 16:52:39.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is not supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Mobile Intel(R) 4 Series Express Chipset Family
    Intel Corporation, Mobile Intel(R) 4 Series Express Chipset Family
    **** External Plug-ins Information ****
    No external plug-ins installed.
    Genius ID: 2fd81a1f13cf3ff25a8b4f0e8e725116
    **** Device Connectivity Tests ****
    iPodService 11.1.5.5 (x64) is currently running.
    iTunesHelper 11.1.5.5 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    Universal Serial Bus Controllers:
    Intel(R) ICH9 Family USB Universal Host Controller - 2934.  Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2935.  Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2936.  Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2937.  Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2938.  Device is working properly.
    Intel(R) ICH9 Family USB Universal Host Controller - 2939.  Device is working properly.
    Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293A.  Device is working properly.
    Intel(R) ICH9 Family USB2 Enhanced Host Controller - 293C.  Device is working properly.
    No FireWire (IEEE 1394) Host Controller found.

    Here is what worked for me:
      My usb hub, being usb2, was too fast. I moved the wire to a usb port directory on my pc. That is a usb1 port which is slow enough to run your snyc.

Maybe you are looking for

  • How to setup a network printer via http

    I have a router with a USB printer attached to it. It looks like this: Printer status: Ready Printer location: http://192.168.2.1:1631/printers/My_Printer In Windows you setup a network printer and the printers address is the http address above. How

  • Change Value based on Dynamical Object

    Goal: The goal is to make the variable with value '2014-06-14 09:00:00.000' Problem: The syntax code is created as a dynamical object how do you make it from '2014-06-14 16:20:10.000' into value '2014-06-14 09:00:00.000'? DECLARE @a datetime = '2014-

  • Problem in update PO's partner function using BAPI_PO_CHANGE

    Hi All, I have some problem when i try to update PO partner function using BAPI_PO_CHANGE. If i update partner function where business partner number is vendor (eg. GS) , it run successfully. But when I try to update partner function where business p

  • High availibility on 2500

    Hello guys, I have an environment with 1 AIR-CT2504-K9 implemented. I'm trying to configure N+1 High Availability with AIR-CT2504-HA-K9 following this article: http://www.cisco.com/c/en/us/td/docs/wireless/technology/hi_avail/N1_High_Availability_Dep

  • Why I don't have face time in my new iphone 4s?

    Why I don't have Face Time on my Iphone 4s? I bought it last week from Apple store online.