project QadFinancials > class BDebtor > business logic query DebtorForSSMProfFinChgGL

Description

Used for shared set merge validation - compatibility of profiles definition


Parameters


iiCompanyIdintegerCompany id
iiSharedSetIdinteger


query condition


  each Debtor where
Debtor.SharedSet_Id = iiSharedSetId

      first Profile (inner-join) where
Profile.Profile_ID = Debtor.FinChgGLProfile_ID AND

          each ProfileLink (inner-join) where
ProfileLink.Profile_ID = Profile.Profile_ID AND

              first GL (inner-join) where
GL.GL_ID = ProfileLink.ProfileLinkObject_ID AND
(GL.SharedSet_Id = 0 or true )


query resultset tqDebtorForSSMProfFinChgGL


field namedata typedb fielddescription
tiDebtor_IDintegerDebtor.Debtor_IDRecord ID
tcDebtorCodecharacterDebtor.DebtorCodeA code (maximum eight characters) that identifies a customer. If the code you specify matches an existing supplier code, a warning message displays. You can choose to ignore the warning, and create the record. However, when a supplier and customer share the same code, they must reference the same business relation.
api annotation:If you leave the Customer Code field blank, the system automatically generates a number for the record based on the sequence defined in Customer Autonumber Create.
tiGL_IDintegerGL.GL_IDRecord ID
tcGLCodecharacterGL.GLCodeA code identifying the GL account.
tiGLSharedSet_IDintegerGL.SharedSet_IDLink to SharedSet
tcProfileCodecharacterProfile.ProfileCodeA code (maximum 20 characters) that identifies a profile.
tiSharedSet_IDintegerDebtor.SharedSet_IDLink to SharedSet


Internal usage


QadFinancials
method BSharedSetMerge.MergeValidateLoadProfDataDebtor