project QadFinancials > class BBusinessRelation > business logic query BusinessRelationByIDCodeIC

Description

BusinessRelationByIDCodeIC; paramters (code-id-intercocode-active)( and a fixed condition 'isInterco = true'


Parameters


iiBusinessRelationIDintegerBusinessRelationId
icBusinessRelationCodecharacterBusiness Relation Code
icBusinessRelationIntercoCodecharacterBusinessRelationIntercoCode
ilBusinessRelationIsActivelogicalBusinessRelationIsActive


query condition


  each BusinessRelation where
BusinessRelation.BusinessRelation_ID = iiBusinessRelationID AND
BusinessRelation.BusinessRelationCode = icBusinessRelationCode AND
BusinessRelation.BusinessRelationICCode = icBusinessRelationIntercoCode AND
BusinessRelation.BusinessRelationIsActive = ilBusinessRelationIsActive AND
BusinessRelation.BusinessRelationIsInterco = true


query resultset tqBusinessRelationByIDCodeIC


field namedata typedb fielddescription
tlBusinessRelationIsDomRestrlogicalBusinessRelation.BusinessRelationIsDomRestrDomain Restricted. This filed indicates if access to this business relation is restricted by domain.
api annotation:PartialUpdate = yes - defaults to the value for this field defaults from the Business Relations by Domain field in System Maintain.
tcBusinessRelationName1characterBusinessRelation.BusinessRelationName1Name: The full name of the business relation.
This field sets the default name for linked addresses such as customers and suppliers.
api annotation:PartialUpdate = yes - defaults to the BusinessRelationCode.
tiDomain_IDintegerBusinessRelation.Domain_IDLink to Domains
tiBusinessRelation_IDintegerBusinessRelation.BusinessRelation_IDRecord ID
tcBusinessRelationCodecharacterBusinessRelation.BusinessRelationCodeBusiness Relation. A code to identify the business relation.
If this field does not have a input from the user, the system automatically generates a number for the record based on the sequence defined in Business Relation Autonumber Create.
tcBusinessRelationICCodecharacterBusinessRelation.BusinessRelationICCodeIntercompany Code. When Intercompany is true, this field is mandatory.
The code entered here must match the intercompany code entered for GL accounts in order to generate intercompany reports.
The intercompany code must be unique for this business relation.
tlBusinessRelationIsActivelogicalBusinessRelation.BusinessRelationIsActiveActive: This field indicates if this is an active record.
api annotation:PartialUpdate = yes - defaults to true.
tlBusinessRelationIsIntercologicalBusinessRelation.BusinessRelationIsIntercoIntercompany. This field Indicates if the business relation identifies an entity that is a member of a group of entities that trade with each other.
If the business relation is identified as an internal entity,this field is true and cannot be changed.
api annotation:PartialUpdate = yes - defaults to false.
tcBusinessRelationSearchNamecharacterBusinessRelation.BusinessRelationSearchNameSearch Name: An alternate name for finding the business relation. This field can be useful for sorting and filtering.
api annotation:PartialUpdate = yes - defaults to the BusinessRelationCode.


Internal usage


QadFinancials
method BCInvoice.CreateCInvoiceMovements
method BCInvoice.ReplaceCInvoicePosting
method BCInvoice.ReverseCInvoicePosting
method BDInvoice.CreateDInvoiceMovements
method BFRWAnalysisCode.GetCOAElementDescription
method BFRWAnalysisCode.ValidateComponentPreFRWAnCodeElemDet
method BPosting.AddPostingSub
method BPosting.ApiStdMaintainTTSub1
method BPosting.ValidateComponentPostPostingLine3
method BJournalEntry.UpdatePostingLine