on 05-30-2011 11:24 AM
Hi,
Please let me know how to get the persnumber from partner id,
I have queried but000 table with the partner id but persnumber is not maintained there wheras after getting the addressnumber from but020 table, if I am querying ADCP table it gives multiple records with persnumbers, I need the information where is the persnumber referred in the table ADCP maintained.
Regards,
Hi Smita,
In but000 table , if the TYPE field for a particular BP is 1 (i.e. Person) , then definetely there would be PERSNUMBER maintained for that BP. For other TYPE ( 2 for organization and 3 for group) PERSNUMBER will not be maintained.
Regards,
Nithish
Edited by: nithish P on May 30, 2011 12:54 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Smita
Those PERSNUMBERS which you are referring to are not the PERSNUMBERS of the BP organization. Check out the organization BP has any relationships where partner2 is of BP person type. If there are multiple relationships with diffrent partrners(of type Person), then multiple entries will be maintained in ADCP table for a given ADDRNUMBER . And all the PERSNUMBERS are the PERSNUMBER of the partner2 in the relationship whichcan be found out from BUT000-PERSNUMBER..
Regards,
Nithish
Edited by: nithish P on May 30, 2011 2:20 PM
The address number of a partner will always be stored in but020 table. So in ADCP table you need an addressnumber and Person number to find the exact record . I am not aware how a BP can be assigned to a shop. If there is any such kind, then i think it will be a relationship will be created to that BP(check out in BUT050 table if needed). So get any details of the shop(like person number) and check out any entries in ADCP table.
Regards,
Nithish
Edited by: nithish P on May 31, 2011 10:58 AM
User | Count |
---|---|
5 | |
1 | |
1 | |
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.