Deliveries Validation

SOLVED

Good day Sage Community!!

I'm trying to perform the validation of deliveries (sale deliveries) by code but i'm failing in all my tries, that's why I come to this forum for searching some advice from the Experts!, I'm creating the delivery correctly using import template and after import is successful I want to mark the delivery as validated(like perform click to validation in GESSDH but without being in that window)

I tried with a WorkFlow using the already existent VALSDH (version 9) but doesn't validate the delivery but it sends the email as I performed the action of validation, I tried using the object, the entry function, but didn't work out. no error displayed just action requested wasn't executed.

Can someone provide me with some advice about how to validate a delivery directly via code? Any ideas or thoughts about it?

Thanks a lot for the help/assistance from this x3 newbie developer!

  • 0
    verified answer

    Hi again everyone,

    By the moment I added to the import template for deliveries (SDELIVERY) the field CFMFLG (validated) with value 2, but I need someone please to confirm if this will do all the steps that the validation button does or it will just create my delivery with value 2 making impossible to validate it using the x3 GESSDH usual way.

    Thanks!

    Edit: Checked by myself, It does the validation correctly, I was able to find this solution in the next link, I confirm that it works properly this way.

    Thanks GreyTrix!!

  • FormerMember
    0 FormerMember in reply to JackMorton

    Hi JackMorton,

    I need to import deliveries (for stockable items) but I have some errors. Can you please share with me your SDELIVERY import model.

    Thanks in advance !

  • 0 in reply to FormerMember

    Hi Majda,

    Of course, I can send you but It will be on Monday (3rd June) when I will be back at the office (if is not a problem for you of course) We currently using the import template and working correctly in several clients.

    Regards.