project QadFinancials > class BDebtorEndUser > business logic query DebtorEndUserPrim


Parameters


icDebtorEndUserCodecharacter
iiDebtorEndUser_IDinteger
iiCompanyIdintegerCompany id


query condition


  each DebtorEndUser where
DebtorEndUser.SharedSet_Id = vi_DEBTOR_sharedset(iiCompanyId) AND
DebtorEndUser.DebtorEndUser_ID = iiDebtorEndUser_ID AND
DebtorEndUser.DebtorEndUserCode = icDebtorEndUserCode


query resultset tqDebtorEndUserPrim


field namedata typedb fielddescription
tiDebtorEndUser_IDintegerDebtorEndUser.DebtorEndUser_IDRecord ID
tcDebtorEndUserCodecharacterDebtorEndUser.DebtorEndUserCodeEnd user code(maximum 8 characters).
api annotation:If you select Link to Customer or Link to Ship-To Address, the End User Code field is filled with the value you specify for the customer or ship-to address./ Otherwise the system automatically generates a number for the record based on the sequence defined in End User Autonumber Create.


Internal usage


QadFinancials
method BDebtorEndUser.ApiCreateDebtorEndUser
method BDebtorEndUser.ApiReplicateFromDaemon
method BDebtorEndUser.ApiStdMaintainTT
read related business field(s) on tDebtorShipTo.DebtorEndUser_ID
ApiGetAlternateKeyValues
validate related business field(s) on tDebtorShipTo.DebtorEndUser_ID