Click or drag to resize

clsImportBusinessPartner Properties

The clsImportBusinessPartner type exposes the following members.

Properties
  NameDescription
Public propertyBank1Account
Main Bank information: account number
Public propertyBank1BankCode
Main Bank information (old BLZ in Germany)
Public propertyBank1BankName
Main Bank information: Bank Name (optional)
Public propertyBank1IBAN
Main Bank information: Unique IBAN Code
Public propertyBank1SwiftNum
Main Bank information: Swift Code
Public propertyBilling_AdressID
Address identifier for the first address in CRD1
Public propertyBilling_Block
Address via CDR1. Use Billing_AdressID as identifier.
Public propertyBilling_City
Address via CDR1. Use Billing_AdressID as identifier.
Public propertyBilling_Country
Address via CDR1. Use Billing_AdressID as identifier.
Public propertyBilling_County
Address via CDR1. Use Billing_AdressID as identifier.
Public propertyBilling_Name2
Address via CDR1. Use Billing_AdressID as identifier.
Public propertyBilling_Name3
Address via CDR1. Use Billing_AdressID as identifier.
Public propertyBilling_State
Address via CDR1. Use Billing_AdressID as identifier.
Public propertyBilling_Street
Address via CDR1. Use Billing_AdressID as identifier.
Public propertyBilling_StreetNo
Address via CDR1. Use Billing_AdressID as identifier.
Public propertyBilling_ZipCode
Address via CDR1. Use Billing_AdressID as identifier.
Public propertyBlockCommunicationEMail
Block Marketing communication SELECT Select FROM CRDC CardCode= AND CommMeanId=-1
Public propertyBlockCommunicationFax
Block Marketing communication SELECT Select FROM CRDC CardCode= AND CommMeanId=-2
Public propertyCardCode
Primary Key for the business parner
Public propertyCardFName
CardFName
Public propertyCardName
CardName
Public propertyCardType
Mandatory field: C=Customer, S=Supplier, L=Lead. eCardType.
Public propertyCellular
Cellular
Public propertyChannlBP
BP Channel Code Link to existing channel partner OCRD.ChanelBP
Public propertyCollectionCDR1
Collection of additional addresses. The Main billing address (via properties Billing_AdressID..) and shippping address (via properties Ship_AdressID ...) are already in this collection.

>You can add additional addresses. clsImportBPAddress for property details

Public propertyCollectionContactPerson
Property to attach a list oc Contact Person to be created with the business partner together. The card code (potentially the new CardCode) will automatically linked to all contract person in this collection.

In the update approach, only contact person with the same Name can be updated. Changing of the name is not possible

Public propertyCountry
Country
Public propertyCurrency
Currency
Public propertyE_Mail
E_Mail
Public propertyFax
Fax
Public propertyFree_Text
Free_Text
Public propertyGroupCode
Customer Group, Supplier Group. Referenced to OCRG.GroupCode
Public propertyGroupCodeByName
Helper variable to search [SELECT GroupCode FROM OCRG WHERE GroupName=UPPER() AND GroupType='C'/'S'] for or create the customer or supplier group in OCRG
Public propertyGroupNum Obsolete.
In the frontend: PaymentTerm
Public propertyIndustryC
IndustryC -> OOND.IndCode
Public propertyIntrntSite
website of the business client
Public propertyLangCode
Language code (see SELECT Code FROM OLNG)
Public propertyLicTradNum
LicTradNum
Public propertyListNum
OCRG.ListNum
Public propertyNotes
Notes
Public propertyPaymentTerm
Payment Term. Reference to OCTG.GroupNum
Public propertyPhone1
Phone1
Public propertyPhone2
Phone2
Public propertyPymCode
Payment Method Zahlweg referenced by OPYM
Public propertyShip_AdressID
Address indentifier for the shipping address in CRD1
Public propertyShip_Block
2. Address via CDR1.Block Use Ship_AdressID as identifier.
Public propertyShip_City
2. Address via CDR1.City Use Ship_AdressID as identifier.
Public propertyShip_Country
2. Address via CDR1.Country Use Ship_AdressID as identifier.
Public propertyShip_County
2. Address via CDR1.County Use Ship_AdressID as identifier.
Public propertyShip_Name2
2. Address via CDR1.Address2 Use Ship_AdressID as identifier.
Public propertyShip_Name3
2. Address via CDR1.Address3 Use Ship_AdressID as identifier.
Public propertyShip_State
2. Address via CDR1.State Use Ship_AdressID as identifier.
Public propertyShip_Street
2. Address via CDR1.Street Use Ship_AdressID as identifier.
Public propertyShip_StreetNo
2. Address via CDR1.StreetNo Use Ship_AdressID as identifier.
Public propertyShip_ZipCode
2. Address via CDR1.ZipCode Use Ship_AdressID as identifier.
Public propertySlpCode
Sales Employee Code refernced by OSLP.SlpCode
Public propertyU_MARINam2
U_MARINam2 Additional second name field
Public propertyU_MARINam3
U_MARINam3 Additional third name field
Public propertyVatGroup
VAT Group OCRD.VatGroup or OCRD.EVVatGroup VarChar 8
Public propertyVatIdUnCmp Obsolete.
VatIdUnCmp
Public propertyVatStatus
Top
See Also