Delivery Draft Creation Respondida

Rami Keyrouz

Produmex scan is suppressing the approval template available in SAP B1 and posted the document directly when created in produmex scan.

Would be greate if we can get the possibility on creating a draft document or at least stick with the approval procedure available already in SAP.

Comentarios

3 comentarios

  • Comment author
    Jas Singh

    Hi Rami, 

    Please check the link below . Scan already provided a solution for this. Check section 2.5.1 

    https://wiki.produmex.name/doku.php?id=implementation:scan:customizationcomplete

    For example, with the following logic, all goods receipt PO documents (doc. type = 20) will be created as drafts, while the other documents are created as real documents:

    MS SQL

    Download

    SELECT CASE T0.[U_BXPDocTy] 
    WHEN 20 THEN 1 
    ELSE 0 END as 'BXDOCTYP' 
    FROM [dbo].[@BXPLMSMOBTHD] T0 WHERE T0.[Code] = [%3]

    HANA

    Download

    SELECT
    case
    T0."U_BXPDocTy" when 20 then 1
    else 0
    end as "BXDOCTYP"
    FROM "@BXPLMSMOBTHD" T0 WHERE T0."Code" = [%3]
    0
  • Comment author
    Rami Keyrouz

    Hi Jas,

    Thank you for your prompt reply!

    This one worked perfectely.

    Regards,

    0
  • Comment author
    Miguel Oscar Lozano

    Thanks Jas for helping other users. That's what I though.

    0

Iniciar sesión para dejar un comentario.