How to restrict duplication of BOL number for ASN of same Supplier

Hi All,
Is there any way to restrict using same BOL(Bill of Ladding) number in for the 2nd ASN of same supplier.
BAdi for validation framework will only make it Mandatory and does not restrict using same BOL number 2nd time.
Regards,
CK

hi Istvan Koros,
Thanks for ur reply.
Can u explain me what is "23" (line 6).
line 1 IF @transaction_type IN (N'A', N'U') AND (@Object_type = N'22')
line 2 BEGIN
line 3 declare  @line int
line 4 set @line=-1
line 5 set @line=(SELECT T0.LineNum+1 FROM POR1 T0
line 6  WHERE T0.DocEntry =23
line 7   and exists(select linenum from por1
line 8            where docentry=T0.DocEntry and itemcode=T0.Itemcode
line 9                and linenum<T0.LineNum) )
line 10 If @line<>-1
line 11 begin
line 12 SET @error = 10
line 13 SET @error_message = N'Duplicate item: line '+
line 14  CONVERT(nvarchar(4),@line) + '!'
line 15 end
line 16 END
Which parameter i should pass it the SP.
SAGAR

Similar Messages

  • How can I find my serial number for Adobe Acrobat 11. I got a new iMac and I don't want to use the new version at £18.00 per month. I don't need it. Thank you

    I used to use CS5 and I want to use the Acrobat version on my new iMac.
    How can I find my serial number for Adobe Acrobat 11.  I don't want to use the new version at £18.00 per month. I don't need it. Thank you

    Hi Anthony Aduhene
    Please refer : Find your serial number quickly

  • How can I find the serial number for my creative suite CS6 I bought it from a store.

    How can I find the serial number for my creative suite CS6 I bought it from a store.

    https://www.adobe.com/account.html for serial numbers or subscriptions on your Adobe page... or
    Lost serial # http://helpx.adobe.com/x-productkb/global/find-serial-number.html

  • HT3965 how do i change the phone number for imessages?

    how do i change the phone number for imessages?
    i have set up an iTouch for my 10 year old son. To set up iMessaging between him and his parents i used my iTunes account but this picked up my phone number..........i now need to change this but cannot see how to do it in Settings. Any suggestions?

    Thanks, but i guess this means i have to create an email address for my son and hs own apple id?
    My aim is to link his mobile number to the iTouch but not to give him his own iTunes account....

  • How do i get a serial number for Photoshop that i downloaded from Amazon? [was:thethurm]

    How do i get a serial number for my adobe photoshop software that i downloaded form amazon?

    I've never heard of buying software as a download from Amazon.  Why would you buy there instead of getting it directly from Adobe?
    Was it by chance through a 3rd party seller, not Amazon themselves?
    I should think Amazon will need to be contacted.
    -Noel

  • How do I find a serial number for a stolen ipod.

    How do I find the serial number for an ipod that has been stolen. We do not have the box or paperwork that came with it.

    If you registered the iPod, you might be able to see it at http://supportprofile.apple.com

  • How can I find the serial number for my stolen iPad that's associated with my apple ID ?

    How can I find the serial number for my stolen iPad that's associated with my apple ID ?

    If you registered it with Apple check your registered items at Your Support Profile for Registered Purchases. Also, see iOS- How to find the serial number, IMEI, MEID, CDN, and ICCID number.
    What To Do If Your iDevice Is Lost Or Stolen
    If you activated Find My Phone before it was lost or stolen, you can track it only if Wi-Fi is enabled on the device. What you cannot do is track your device using a serial number or other identifying number. You cannot expect Apple or anyone else to find your device for you. You cannot recover your loss unless you insure your device for such loss. It is not covered by your warranty.
    If your iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should have done in advance - before you lost it or it was stolen - and some things to do after the fact. Here are some suggestions:
    This link, Re: Help! I misplaced / lost my iPhone 5 today morning in delta Chelsea hotel downtown an I am not able to track it. Please help!, has some good advice regarding your options when your iDevice is lost or stolen.
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T. Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. What to do if your iOS device is lost or stolen
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
      8. Report Stolen iPad | Stolen Lost Found Online
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on iCloud
      3. OS X Lion/Mountain Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

  • I recently subscribed to Acrobat XI after the trial expired but when I went to activate it I was asked for the serial number. I only have the order number on the invoice. How do I get the serial number for the trial software that is on my computer?

    I recently subscribed to Acrobat XI after the trial expired but when I went to activate it I was asked for the serial number. I only have the order number on the invoice. How do I get the serial number for the trial software that is on my computer?

    Please do not try to send attachments in mail responses to forum messages. Please return to the forum and click Reply. You can then use the CAMERA icon to add your pictures. Looking forward to seeing what is wrong with your license screens - the general advice is simply to sign in, and everything is done. Make sure you use the SAME Adobe ID that you used to purchase, and check your account details to be sure the subscription is active.

  • I downloaded a Trial version of Adobe Acrobat XI.  Now the trial has runout and I've signed up for a subscription.  However, my software still needs a serial number.  How can I get a serial number for the installed software?

    I downloaded a Trial version of Adobe Acrobat XI.  Now the trial has runout and I've signed up for a subscription.  However, my software still needs a serial number.  How can I get a serial number for the installed software?

    There is no serial number and you don't need one. What you need for a subscription is to SIGN IN within Acrobat, so it knows the subscriptions you own.

  • How to track the transport request number for the Role/Composit Role

    Hi,
    How to track the transport request number for the Role/Composit Role.
    Thanks,
    Ravi

    Use transaction SE03 Transport Organizer Tools
    Execute "Search for Objects in Requests/Tasks" with objects of types:
    R3TR     ACGR     Role
    R3TR     ACGT     Role - User assignment
    Regards

  • How to set a new SCSI number for a second drive?

    How to set a new SCSI number for a second drive?
    Walter

    Walter,
    This web site gives a good diagram:
    http://www.hitachigst.com/hdd/support/dpes/dpesjum.htm
    On a Quantum hard disk drive - they were the original equipment manufacturer (OEM) hard drive provider for Apple, you will see three or four pairs of pins on the green circuit board. They are labled:
    AO . .
    A1 . .
    A2 . .
    If no pins are connected, you have SCSI ID Zero This was the standard setting from the factory.
    If you short out the pins beside AO .__. , you have designated SCSI ID One.
    If you short out the pins beside A1 .__. , you have designated SCSI ID Two.
    If you short out the pins beside A2 .__. , you have designated SCSI ID Four.
    These values can be added together to get other SCSI IDs. If you have a jumper beside AO AND A1, that will add up to SCSI ID Three.
    Some of the quantum drives used tiny black plastic jumpers with tiny metal contacts. I have yet to find a store that sells the tiny ones. I get my larger jumpers from old PC motherboards that are being thrown away. A small piece of aluminum foil will work as a jumper in a pinch. Just make sure it soed not fall off and short something else out!
    Jim
    PS
    CD-ROM drives are set at the factory as ID 3. Internal drives are set at ID 0. I set my external SCSI drive at SCSI 1 so it does not conflict with the internal drive. Internal Zip drives are set at ID 5 and external Zip drives let you choose between 5 and 6. I set my burners at ID 4. Come up with a master plan for your devices like scanners and burners. Apple System Profiler will give you info on the device ID. If the computer fails to boot, turn off all but one SCSI device and make sure of its ID. Then check each subsequent device by powering up only one device at a time while booting from a CD at ID #3.

  • How do i get my serial number for lightroom when it was purchased from the app store?

    how do i get my serial number for lightroom when it was purchased from the app store now that the app store has discontinued selling the product?
    Thanks
    -Ethan

    Purchases from the App Store do not include serial numbers. The App Store itself provides the licensing for the product. You will have to contact Apple to have them help you reinstall Lightroom through the App store (just because it is no longer for sale does not mean that you will not be able to download your past purchases).

  • How can I get a serial number for Illustrator CS5?

    How can I get a serial number for Illustrator CS5 when I have a complete CC subscription?
    I have a GCC Expert 24 plotter running on OS X and the direct cut plugin is only compatible with CS5 or earlier.
    I have tried asking in support chat but it never actually works, my next option is to ring or get a cracked version but i'm trying to avoid both of those options if I can.
    Thanks.

    xdmg,
    In addition to what Lutz said, unless you buy a CS5 that is still new and unused, you will need a licence transfer through Adobe,
    http://helpx.adobe.com/x-productkb/policy-pricing/transfer-product-license.html
    and the application must be deactivated on any machine it has been installed on.

  • HOW DO I GET A SERIAL NUMBER FOR LOGIC PRO IF LOST MINE ?

    How do i get a serial number for logic pro ?  i purchased it so long ago and i just cleaned off my computer and re-installed mountain lion . When i did an erase and archive i forgot to look to see the serial number . Now when i go to launch it it asks for SN . Any help would be great .

    http://support.apple.com/kb/ht1861

  • I'm trying to open the photoshop and it's asking for a serial number  how can i gent a serial number for photoshop, i buy it here

    i'm trying to open the photoshop and it's asking for a serial number  how can i gent a serial number for photoshop, i buy the photoshop here

    What version of Photoshop are you using?
    Did you purchase it outright, or do you have a subscription?
    Gene

Maybe you are looking for

  • Issue with Update Rules

    Hi,     I am working on IM  (Inventory Management), following the steps as in " How to Handle Inventory management Scenario In BW ". I installed all objects from Business Content that are required for IM like Infocube(0IC_C03) and three communication

  • How do I open older iMovie projects?

    I upgraded to Lion, and now can't open any of my imovie projects, as "PowerPC applications are no longer supported." Anyone have a solution???

  • Is my WD Maybook Studio running at FW800

    Hi I have a new MacBookPro and an External Western Digital Mybook Studio hard drive. I am connected to the Firewire connector. How can I tell its running at FW800 and not FW400. Or can the macbook only run at FW800 Thanks

  • Command to move window to another desk?

    i was wonding if there's a command to move a window to another desk. Also is there a "command line" thread because that would be really helpfull to people like me who don't know how to use it at all and would like to learn a little at their own pase,

  • KP26 cost element- Entry

    HI For a activity type we are assigning a cost center with a cost element (category 43). when that acitivity is performed the cost element is getting and debited ...i want to know to which cost element the credit will affect and where & how we assign