createBp This method creates a business partner in the AVS/3 System. Object: /net/dsb/avs3/Bp Method: createBp Version: 2.0.0 Fuba: /DSB/ISM_H_STAPEL_EINSPIELEN Parameter NameType / max. lengthmandatory?Description input-office AN / 12 m input-office input-user AN / 12 m input-user stack-name AN / 17 (m) stack-name business-partnern.a. m XML-Fragment ‚business-partner‘ see below Response Element XML-Fragment ‚ bp-create-response‘ see below Example Request <?xml version="1.0" encoding="UTF-8"?> <message version="1.0" system="avs/3"> <header> <client>999</client> <avs3-sales-organization>9999</avs3-sales-organization> <avs3-service-provider>123</avs3-service-provider> </header> <body> <input-office></input-office> <input-user></input-user> <stack-name></stack-name> <business-partner> <salutation-code>01</salutation-code> <last-name1>Lustig</last-name1> <first-name>Peter</first-name> <street>Buchenstr.</street> <street-number>12</street-number> <street-number-suffix/> <zipcode>74196</zipcode> <country-code>DE</country-code> <city>Neuenstadt</city> </business-partner> </body> </message> Example Response <?xml version="1.0" encoding="UTF-8"?> <message version="1.0" system="avs/3"> <header> <client>999</client> <avs3-sales-organization>9999</avs3-sales-organization> <avs3-service-provider>123</avs3-service-provider> </header> <body> <bp-create-response> ... </bp-create-response> </body> </message> Request Structure Structure <business-partner> <business-partner role-type=""> <salutation-code></salutation-code> <prefix></prefix> <titel-code-academic></titel-code-academic> <titel-academic></titel-academic> <titel-code-royal></titel-code-royal> <titel-royal></titel-royal> <job-titel></job-titel> <last-name1></last-name1> <last-name2></last-name2> <first-name></first-name> <nick-name></nick-name> <street></street> <street-suffix></street-suffix> <street-number></street-number> <street-number-suffix></street-number-suffix> <address-line-1></address-line-1> <address-line-2></address-line-2> <address-line-3></address-line-3> <zipcode></zipcode> <country-code></country-code> <city></city> <district></district> <region-code></region-code> <region-text></region-text> <company1></company1> <company2></company2> <company3></company3> <company4></company4> <department></department> <po-box></po-box> <po-box-zipcode></po-box-zipcode> <po-box-city></po-box-city> <po-box-country-code></po-box-country-code> <major-customer-zipcode></major-customer-zipcode> <address-source></address-source> <language>DE</language> <advertisement></advertisement> <category></category> <bp-number></bp-number> <bp-number-external></bp-number-external> <bp-group></bp-group> <eu-sales-tax-number></eu-sales-tax-number> <date-of-birth></date-of-birth> <postal-check></postal-check> <block></block> <block-reason></block-reason> <bic-master-number></bic-master-number> <sector></sector> <email-bp></email-bp> <communication> <communication-type></communication-type> <communication-value></communication-value> </communication> <attribute> <attribute-type></attribute-type> <attribute-value></attribute-value> </attribute> <debit-account> <debit-account-number></debit-account-number> <debit-bank-code></debit-bank-code> <debit-country-code></debit-country-code> <debit-account-holder></debit-account-holder> <debit-continuous></debit-continuous> </debit-account> <cc-account> <cc-number></cc-number> <cc-company-code></cc-company-code> <cc-holder></cc-holder> <cc-expiry></cc-expiry> <cc-startdate></cc-startdate> <cc-issuenumber></cc-issuenumber> <cc-type></cc-type> </cc-account> <avs-attributes> <sales-organization></sales-organization> <distribution-channel></distribution-channel> <division></division> </avs-attributes> <vhs-attributes> <client></client> <service-provider></service-provider> </vhs-attributes> </business-partner> Element Definitions Field NameLengthTypeTextm = Must k = can (m) = conditional MustRemark, field supply or encoding salutation-code 2 C salutation m 01 = Mr. 02 = Ms. 99 = unknown further codes are left in a code table if required please ask If a firm address is transferred, is this the salutation of the contact person ( if available) prefix 4 C name prefixk titel-code-academic 4 C Title-academic k Coding see table in enclosure. Attention this table correspond to the base settings of a client. Maybe it must be discussed how far this base settings of the customer have been drifted. titel-academic 15 C Academic title in clear text (for example Dr.) titel-code-royal 4 C Title of nobility k Coding see table in enclosure. Attention this table correspond to the base settings of a client. Maybe it must be discussed how far this base settings of the customer have been drifted. titel-royal 15 C Title of nobility in clear text job-titel 35 C Job titel last-name1 35 C Last-name1 (m) If a firm address is transmitted this is the contact person last-name2 35 C Last-name2 k If a firm address is transmitted this is the contact person first-name 35 C First name(s) (m) If a firm address is transmitted this id the contact person nick-name 35 C Nick name(s) k street 50 C Street (m) Mandatory if a street address should be transmitted street-suffix 40 C Street-suffix k street-number 10 C House number (m) Mandatory if a street address should be transmitted street-number-suffix 8 C House-number additon k address-line-1 35 C Adresse Line 1 for UK Addresses k address-line-2 35 C Adresse Line 2 for UK Addresses k address-line-3 35 C Adresse Line 3 for UK Addresses k zipcode 10 C Zipcode (m) Duty if a street address should be transmitted country-code 3 C contry (KFZ country code) m Coding see table in enclosure city 40 C city (m) Duty if a street address should be transmitted district 25 C Additon to city (for example district, area….) k region-code 3 C Regions-Code (federal state, province, county) k region-text 25 C Region als Klartext (z.B. Bundesland, County…) k company1 35 C Firm line 1 (m) company2 35 C Firm line 2 k company3 40 C Firm line 3 k company4 40 C Firm line 4 k department 30 C department k po-box 10 C Po-box (m) Duty if po-box-zipcode should be transmitted po-box-zipcode 10 C Po-box-zipcode (m) Duty if a po-box-zipcode should be transmitted po-box-city 40 C Po-box-city (m) Duty if po-box-zipcode should be transmitted po-box-country-code 3 C Po-box-country (m) Duty if po-box-zipcode should be transmitted major-customer-zipcode10 C Major-customer-zipcode (m) address-source 10 C Address-source Code table, contents states faculty k language 2 C Language k ISO-Code advertisement 1 C Mark if advertisement should be send k ‚N‘ → send no advertisement ‚Y‚ → send advertisement category 2 C Type of address bp-number 10 C Optional, with bp customer number k bp-number-external 20 C Business partner-No. of an external system k bp-group 4 C Customer group Code table, contents states faculty k eu-sales-tax-number 14 C EG-UST ID number k date-of-birth 10 D Date of birth format: JJJJ-MM-TT k transaction-type 2 C Transaction-type k 01 = New system 02 = change If no value is stated a change is made of existing (bp-number) if bp number is missing a new system is made. bic-master-number 10 C Partner-ID of master (for example firm of contact person) k sector 10 C sector k email-bp1 C Email BusinessPartnerk Y = Yes, N = No(Default) no entry = Default > communication * communication-type 2 C Communication-type (m) Values Attention: only 1 telephonenumber, 1 email address and 1 fax number is allowable! * communication-value 50 C Communication-value (m) Attention : only 1 telephonenumber, 1 email address and 1 fax number is allowable! > attribute * attribute-type > 6 > C > Function of business partner attributes For example type of address> (m) * attribute-value 50 C Attribute value of business partner (m) debit-account * debit-account-number18 C Account no. k Bank data is only to state if it should be stored in business partner. Usually bank data is transmitted with order. * debit-bank-code 12 C Debit bank code no. k * debit-country-code 2 C Debit country code k * debit-account-holder50 C Name of account holder * debit-continous 1 C Debit continous placed k Y = durably N = once > cc-account * cc-number 19 C cc-number k Credit data is only to state if it should be stored in business partner. Usually credit data is transmitted with order. * cc-company-code 4 C cc-company-code k * cc-holder 40 C cc-holder k * cc-expiry 6 C cc-expiry from (Format YYYYMM) k * cc-startdate 6 C cc-startdate (Format YYYYMM) k * cc-issuenumber 3 C cc-issue number k * cc-type 2 C cc-type k > avs-attributes * sales-organization 4 C Sales organization in AVS/3 m * distribution-channel2 C Distribution channel in AVS/3 m * division 2 C Division in AVS/3 m vhs-attributes * client 4 C Client no. in VHS/3 k * service-provider 3 C Service-provider identification in VHS/3 k Response Structure Structure <bp-...-response> <bp-...-response> <bp-number></bp-number> <bp-number-external></bp-number-external> <stack-name></stack-name> <number-in-stack></number-in-stack> </bp-...-response> Element Definitions Field NameLengthTypeTextm = Must \ k = can \ (m) = conditional MustRemark, field supply or encoding bp-number 10 C Business partner number in AVS/3 if direct booking was successful. bp-number-external20 C External business partner number from the request, if available stack-name 17 C Name of the stack, the business partner was created number-in-stack 6 N Sequence number inside the stack This website uses cookies for visitor traffic analysis. By using the website, you agree with storing the cookies on your computer.OKMore information