{
public static void addChangeTrackingDataSourcesForMyPriceDiscTableEntity(QueryBuildDataSource _parentDS, FieldId _parentAccountRelationFieldNum, JoinMode _joinMode)
{
var priceDiscTableDS = _parentDS.addDataSource(tableNum(PriceDiscTable));
priceDiscTableDS.joinMode(_joinMode);
priceDiscTableDS.addLink(_parentAccountRelationFieldNum, fieldNum(PriceDiscTable, AccountRelation));
}
public static Query defaultCTQuery()
{
Query PriceDiscTableQuery = new Query();
priceDiscTableDS.addRange(fieldNum(PriceDiscTable, relation)).value(queryValue(PriceType::PricePurch));
}
}