PriceDiscAdmTrans Table
The PriceDiscAdmTrans table contains trade agreement journal lines.
Configuration Key: PriceDisc
Methods
Method | Description | |
---|---|---|
amountQuantitiesOverlap | ||
aosValidateDelete | Validates on the server that the specified record can be deleted from a table. (Inherited from xRecord.) | |
aosValidateInsert | Validates on the server that the specified record can be inserted. (Inherited from xRecord.) | |
aosValidateRead | Validates on the server that the specified record can be read. (Inherited from xRecord.) | |
aosValidateUpdate | Validates on the server that the specified record can be updated. (Inherited from xRecord.) | |
buf2con | Packs the table buffers of an xRecord instance into an X++ container. (Inherited from xRecord.) | |
cancelTimeOut | Cancels a previous method call to the setTimeOut method. (Inherited from Object.) | |
canEditPriceDiscValueField | Checks whether the trade agreement value-related fields can be modified. | |
canSubmitToWorkflow | Indicates whether submission to workflow is possible. (Inherited from xRecord.) | |
caption | Gets and sets the caption property of a table. (Inherited from xRecord.) | |
checkAccountCode | ||
checkAccountRelation | ||
checkAgreement_RU | ||
checkAmount | OBSOLETE: This method is obsolete and will be removed. | |
checkAmountQuantity | ||
checkCurrency | ||
checkDate | ||
checkForGaps | ||
checkInvalidFieldAccess | Gets and sets invalid field access. (Inherited from xRecord.) | |
checkItemCode | ||
checkItemRelation | ||
checkOverlaps | ||
checkPriceDiscRelation | ||
checkProductDimensions | ||
checkRecord | Gets and sets the property that indicates whether to check mandatory fields. (Inherited from xRecord.) | |
checkRestrictedDeleteActions | Gets and sets the property that indicates whether a record can be deleted. (Inherited from xRecord.) | |
checkUnitId | ||
clear | Removes all rows from the table buffer. (Inherited from xRecord.) | |
company | Gets and sets the property that indicates a legal entity for the record. (Inherited from xRecord.) | |
con2buf | Unpacks a container into the table buffers. (Inherited from xRecord.) | |
concurrencyModel | Gets and sets the default concurrency model to use to update records. (Inherited from xRecord.) | |
context | Gets and sets the context property. (Inherited from xRecord.) | |
data | Retrieves a row from the table. (Inherited from xRecord.) | |
dataSource | Retrieves the data source of the table. (Inherited from xRecord.) | |
dateRangesOverlap | Determines whether the date of the current PriceDiscAdmTrans record overlaps with the date of the _priceDiscAdmTrans. | |
defaultField | Populates default values in a field in the table. (Inherited from xRecord.) | |
defaultRow | Populates default values in fields in the table in the non-interactive case. (Inherited from xRecord.) | |
delete | Deletes the current record from the table. (Inherited from xRecord.) | |
disableCache | Gets and sets the property that indicates whether caching is disabled. (Inherited from xRecord.) | |
dispose | Releases resources that are used by the xRecord object. (Inherited from xRecord.) | |
doClear | Removes all rows from the table buffer and bypasses any additional logic in the clear method of the table. (Inherited from xRecord.) | |
doDelete | Deletes the current record from the table and bypasses any additional logic in the delete method of the table. (Inherited from xRecord.) | |
doInsert | Inserts the record into the table and bypasses any additional logic in the insert method of the table. (Inherited from xRecord.) | |
doUpdate | Updates the current record and bypasses any additional logic in the update method of the table. (Inherited from xRecord.) | |
doValidateDelete | Performs the action to validate that a record can be deleted. (Inherited from xRecord.) | |
equal | Determines whether the specified object is equal to the current one. (Inherited from xRecord.) | |
errorExist | ||
fieldAccessRight | Returns the field access right. (Inherited from xRecord.) | |
fieldBufferAccessRight | Returns the field access right for the current record. (Inherited from xRecord.) | |
fieldState | Sets or returns the state of a field in the table buffer. (Inherited from xRecord.) | |
getAllowRedefault | Returns the list of fields that are allowed to re-default. (Inherited from xRecord.) | |
getDefaultingDependencies | Returns the container that holds defaulting dependencies. (Inherited from xRecord.) | |
getExtension | Returns the table extension. (Inherited from xRecord.) | |
getFieldValue | Gets the value of the specified field from a table buffer. (Inherited from xRecord.) | |
getInstanceRelationType | Returns the table name that corresponds to the InstanceRelationType ID. (Inherited from xRecord.) | |
getPhysicalTableName | Return the physical table name, which, in the case of the SQL Temp DB table, is the table instance name. (Inherited from xRecord.) | |
getPresenceFieldData | Retrieves the PresenceInfo value from the specified field. (Inherited from xRecord.) | |
getSQLStatement | Gets the SQL statement that is used to return records from the database. (Inherited from xRecord.) | |
getTableInInstanceHierarchy | (Inherited from xRecord.) | |
getTableType | Indicates the type of the table. (Inherited from xRecord.) | |
getTimeOutTimerHandle | Returns the timer handle for the object. (Inherited from Object.) | |
handle | Retrieves the handle of the class of the object. (Inherited from Object.) | |
hasRelatedTable | Indicates whether a foreign key constraint buffer is linked with the table. (Inherited from xRecord.) | |
helpField | Retrieves a string that contains the Help text for the specified field. (Inherited from xRecord.) | |
initFromAccountCode | ||
initFromItemCode | ||
initFromPriceDiscAdmTrans | Initiates the current table buffer by using the specified table buffer. | |
initFromPriceDiscTable | Initiates a PriceDiscAdmTrans record from a PriceDiscTable record. | |
initMaximumRetailPrice_IN | Initialize the "MaximumRetailPrice_IN" field based on item master if needed. | |
initValue | Initializing the Price and Discount record. | |
inputStatus | Sets or returns the current input status of the table buffer. (Inherited from xRecord.) | |
insert | Inserts the current record into the database. | |
interactiveContext | Sets or returns the current interactive context of the table buffer. (Inherited from xRecord.) | |
inventDim | ||
isDiscAdmTransChanged | ||
isFieldDataRetrieved | Checks whether the data of the given field has been retrieved. (Inherited from xRecord.) | |
isFieldSet | Checks whether a field has a Set or Defaulted state. (Inherited from xRecord.) | |
isFormDataSource | Indicates whether the data source is a form. (Inherited from xRecord.) | |
isNewRecord | Returns true if the record is a new record that hasn't been persisted yet. (Inherited from xRecord.) | |
isPartOfUOWSaveChanges | (Inherited from xRecord.) | |
isTempDb | Indicates whether the type of the table is SQL TempDB. (Inherited from xRecord.) | |
isTmp | Indicates whether this is a temporary table. (Inherited from xRecord.) | |
itemId | ||
joinChild | Finds the join child of the current record. (Inherited from xRecord.) | |
joinParent | Finds the join parent of the current record. (Inherited from xRecord.) | |
jumpRefAgreement_RU | Jump to the the agreements. | |
linkPhysicalTableInstance | Checks whether there is a link for the physical table instance for the record. (Inherited from xRecord.) | |
lookupAgreement_RU | Creates the agreements lookup. | |
merge | Merges the current table with the specified table. (Inherited from xRecord.) | |
modifiedField | ||
modifiedFieldValue | Modifies the specified field to the original value. (Inherited from xRecord.) | |
module | ||
new | Initializes a new instance of the Object class. (Inherited from Object.) | |
notify | Releases the hold on an object that has called the wait method on this object. (Inherited from Object.) | |
notifyAll | Releases a lock on the object that was issued by the wait method on this object. (Inherited from Object.) | |
objectOnServer | Determines whether the object is on a server. (Inherited from Object.) | |
orig | Retrieves the original values of the current record. (Inherited from xRecord.) | |
overwriteSystemfields | Gets and sets the property that indicates whether system fields can be overwritten. (Inherited from xRecord.) | |
owner | Returns the instance that owns the object. (Inherited from Object.) | |
postCacheLoad | Is executed after data is hit from the cache for the select operation on the table. (Inherited from xRecord.) | |
postLoad | Is executed after a record is read. (Inherited from xRecord.) | |
preRemoting | Is executed before a cross-tier call is about to be executed for the table that would pack its state to the other tier. (Inherited from xRecord.) | |
preWrite | Update some fields based on AccountCode and ItemCode, pre-write. | |
priceGroupType | ||
queryTimedOut | Indicates whether the query exceeded the time limit for execution. (Inherited from xRecord.) | |
queryTimeout | Gets and sets the property that indicates the time limit for the execution of a query. (Inherited from xRecord.) | |
readCommittedLock | (Inherited from xRecord.) | |
readPast | Gets and sets the property that indicates whether to skip rows that are locked by other processes when a record is read. (Inherited from xRecord.) | |
recordLevelSecurity | Gets and sets the property that indicates whether to apply security on a record level. (Inherited from xRecord.) | |
relatedTable | Sets or returns the related buffer of a link of a table buffer. (Inherited from xRecord.) | |
renamePrimaryKey | Renames the foreign keys in other tables according to the change of the corresponding primary key value in this table. (Inherited from xRecord.) | |
reread | Rereads the record from the table. (Inherited from xRecord.) | |
resetPriceDiscValueFields | Resets the trade agreement value-related fields, depending on the current ability to modify each field. | |
roundQty | Rounds the passed field according to Unit of Measure decimal precision of the trade agreement, | |
RowCount | Retrieves the number of rows in the table. (Inherited from xRecord.) | |
selectForUpdate | Gets and sets the property that indicates whether to select records for update when they are read. (Inherited from xRecord.) | |
selectLocked | Indicates whether to select locked records. (Inherited from xRecord.) | |
selectRefRecord | Selects the record by referenced field ID. (Inherited from xRecord.) | |
selectWithRepeatableRead | Gets and sets the property that indicates whether repeatable read is enabled. (Inherited from xRecord.) | |
setConnection | Sets the user connection for this table. (Inherited from xRecord.) | |
setCrossPartition | Sets or resets cross-partitioning for the table. (Inherited from xRecord.) | |
setFieldValue | Sets the field value in the record buffer. (Inherited from xRecord.) | |
setSQLTracing | Enables or disables SQL tracing mode. (Inherited from xRecord.) | |
setTimeOut | Sets up the scheduled execution of a specified method. (Inherited from Object.) | |
setTmp | Sets the table so that it is not persisted to the database. (Inherited from xRecord.) | |
setTmpData | Sets the contents of the temporary table to the specified data. (Inherited from xRecord.) | |
setXDSContext | Sets new XDS context. (Inherited from xRecord.) | |
skipAosValidation | Gets and sets the property that indicates whether to skip validation of Microsoft Dynamics AX Application Object Server (AOS). (Inherited from xRecord.) | |
skipDatabaseLog | Gets and sets the property that indicates whether to skip database log requests. (Inherited from xRecord.) | |
skipDataMethods | Gets and sets the property that indicates whether to discard overloaded methods. (Inherited from xRecord.) | |
skipDeleteActions | Gets and sets the property that indicates whether to skip delete actions on the table. (Inherited from xRecord.) | |
skipDeleteMethod | Gets and sets the property that indicates whether to discard overloaded methods. (Inherited from xRecord.) | |
skipEvents | Provides an option to turn off calling the Application.event* methods for the lifetime of an xRecord object. (Inherited from xRecord.) | |
skipPostLoad | Gets and sets the property that indicates whether to skip executing the xRecord.postLoad method on the table. (Inherited from xRecord.) | |
skipTTSCheck | Gets and sets the property that indicates whether to skip the check to determine whether the record is selected for update. (Inherited from xRecord.) | |
suppressWarnings | Gets and sets the property that indicates whether to suppress warnings for this pointer. (Inherited from xRecord.) | |
tableAccessRight | Returns the table access right. (Inherited from xRecord.) | |
tableBufferAccessRight | Returns the table access right for the current record. (Inherited from xRecord.) | |
takeOwnershipOfTempDBTable | (Inherited from xRecord.) | |
toolTipField | Retrieves the HelpText value for the specified field. (Inherited from xRecord.) | |
toolTipRecord | Retrieves the ToolTip value for the current record. (Inherited from xRecord.) | |
toString | Returns a string that represents the current object. (Inherited from Object.) | |
ttsabort | Aborts a transaction that was started by a call to the ttsbegin method. (Inherited from xRecord.) | |
ttsbegin | Starts a transaction that can be either committed by the ttscommit method or aborted by the ttsabort method. (Inherited from xRecord.) | |
ttscommit | Commits a transaction that was started by a call to the ttsbegin method. (Inherited from xRecord.) | |
update | Updates the current record in the database. | |
usageCount | Retrieves the current number of references (the value of the reference counter) that the object has. (Inherited from xRecord.) | |
useExistingTempDBTable | (Inherited from xRecord.) | |
validateDelete | Determines whether the current record is valid and ready to be deleted from the database. (Inherited from xRecord.) | |
validateField | Determines whether the fieldId field is valid. | |
validateFieldValue | (Inherited from xRecord.) | |
validateWrite | Determines whether the current record is valid and ready to be written to the database. | |
validTimeStateUpdateMode | Sets a valid time state update mode on the cursor. (Inherited from xRecord.) | |
wait | Pauses a process. (Inherited from Object.) | |
wasCached | Specifies the location from which the data was retrieved. (Inherited from xRecord.) | |
write | Updates a record if it exists; otherwise, inserts a record. (Inherited from xRecord.) | |
xml | Retrieves an XML string that represents the current object. (Inherited from xRecord.) | |
::createFromTmpProductAndVariants | Create multiple journal lines. | |
::createFromTmpProductAndVariantsOnServer | Create multiple product/variant journal lines on server | |
::existDeleteMarked | Determines whether any delete marked lines exist for the journal. | |
::existErrorsOrWarnings | Determines whether any lines with errors or warnings exist in the journal. | |
::findRefRecId |
Top
Fields
Field | Type | Configuration key | Description |
---|---|---|---|
AccountCode | Extended Data Type: PriceDiscAccountCode Type: Enum |
None | Account code, that is account, cash discount group, or all |
AccountRelation | Extended Data Type: PriceDiscAccountRelation Type: String |
None | Account number or account discount group |
Agreement | Extended Data Type: PriceAgreement Type: String |
None | Agreement number of price/discount agreement |
AgreementHeaderExt_RU | Extended Data Type: AgreementHeaderExtRecId_RU Type: Int64 |
TradeBlanketOrder | Agreement registration number. (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS)) |
AllocateMarkup | Enumeration: NoYes |
None | Always allocate quantity independent supplement on the volume? |
Amount | Extended Data Type: AmountCur Type: Real |
None | Price or discount amount. |
CalendarDays | Extended Data Type: CalendarDays Type: Enum |
Req | Are days specified in the working days calendar? |
Currency | Extended Data Type: CurrencyCode Type: String |
None | Currency that prices/discounts are expressed in. |
dataAreaId | Extended Data Type: DataAreaId Type: String |
None | |
DeliveryTime | Extended Data Type: LeadTime Type: Integer |
None | Lead time in days. |
DifferentFromPosted | Enumeration: NoYes |
None | |
DisregardLeadTime | Extended Data Type: DisregardLeadTime Type: Enum |
PriceDisc | If this check box is selected, delivery date control is applied to the order lines. However, lead time may still be used by master scheduling. (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS)) |
FromDate | Extended Data Type: FromDate Type: Date |
None | Price/Discount applies from this date. |
GenericCurrency | Extended Data Type: SalesGenericCurrency Type: Enum |
PriceDisc | Include trade agreements defined for the generic currency. |
InventBaileeFreeDays_RU | Extended Data Type: InventBaileeFreeDays_RU Type: Integer |
LogisticsBasic | Free days of storage. (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS)) |
InventDimId | Extended Data Type: InventDimId Type: String |
None | Identification of dimensions for the item. |
ItemCode | Extended Data Type: PriceDiscItemCode Type: Enum |
None | Item code (item number, item discount group, all) |
ItemRelation | Extended Data Type: PriceDiscItemRelation Type: String |
LogisticsBasic | Item number or item discount group |
JournalNum | Extended Data Type: PriceDiscJournalNum Type: String |
PriceDisc | Identification of the journal. |
LineNum | Extended Data Type: LineNum Type: Real |
None | Identification of line. |
Log | Extended Data Type: PriceJournalLogTrans Type: String |
None | Error log attached to the transaction. |
Markup | Extended Data Type: PriceMarkup Type: Real |
LogisticsBasic | Fixed charges on price, applied once for each invoice |
MaximumRetailPrice_IN | Extended Data Type: MaximumRetailPrice_IN Type: Real |
None | Maximum retail price per the number of units specified in the Price unit field. (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS)) |
Module | Extended Data Type: PriceDiscModule Type: Enum |
None | Specify discount group module, that is, inventory, customer, or vendor |
MustBeDeleted | Enumeration: NoYes |
None | |
Partition | Extended Data Type: Partition Type: Int64 |
None | (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS)) |
PDSCalculationId | Extended Data Type: PDSCalculationId Type: String |
PDSPotency | Set the unique identifier for a given calculation formula. (This field applies only to the following version(s): Microsoft Dynamics AX 2012 R3, Microsoft Dynamics AX 2012 R2 (SYS)) |
Percent1 | Extended Data Type: DiscPct Type: Real |
None | Discount percentage 1 combined with discount percentage 2: Amount - pct. 1% - pct. 2%. |
Percent2 | Extended Data Type: DiscPct Type: Real |
None | Discount percentage 1 combined with discount percentage 2: Amount - pct. 1% - pct. 2%. |
PriceDiscTableRef | Extended Data Type: PriceDiscTableRefRecId Type: Int64 |
None | Reference field in a different table |
PriceUnit | Extended Data Type: PriceUnit Type: Real |
LogisticsBasic | Quantity of internal units per purchase/sales price. |
QuantityAmountFrom | Extended Data Type: AmountQty Type: Real |
None | Quantity for price, line discount and multiline discount. Order subtotal amount for total discount. |
QuantityAmountTo | Extended Data Type: AmountQuantityTo Type: Real |
None | Quantity for price, line discount and multiline discount. Order subtotal amount for total discount. |
RecId | Extended Data Type: RecId Type: Int64 |
None | |
recVersion | Extended Data Type: RecVersion Type: Integer |
None | |
relation | Enumeration: PriceType |
None | Type of relation between inventory items and customer/vendor. |
SearchAgain | Enumeration: NoYes |
None | Criteria for continued search for discount combinations. |
ToDate | Extended Data Type: ToDate Type: Date |
None | Price/Discount applies from this date. |
UnitId | Extended Data Type: UnitOfMeasureSymbol Type: String |
None | Unit applicable to line. |
Top
Field Groups
Field Group | Fields |
---|---|
QuantityAmount | |
TaxInformation_IN | |
All | |
Administration | |
Amount | |
AutoReport | |
Currency | |
PDSPotency | |
Percent | |
Delivery | |
Identification | |
InventBailee_RU | |
InventDim | |
MiscCharges |
Top
Relations
Relation | Table | Lines |
---|---|---|
AgreementHeaderExt_RU | AgreementHeaderExt_RU | |
Currency | Currency | |
CustEndGroup | PriceDiscGroup | |
CustLineGroup | PriceDiscGroup | |
CustMultiGroup | PriceDiscGroup | |
CustPriceGroup | PriceDiscGroup | |
CustTable | CustTable | |
dataAreaId | DataArea | |
InventDim | InventDim | |
InventTable | InventTable | |
MCRPostageGroup | PriceDiscGroup | |
Partition | Partitions | |
PDSCalculationTable | PDSCalculationTable | |
PriceDiscAdmTable | PriceDiscAdmTable | |
PriceDiscTable | PriceDiscTable | |
PurchEndGroup | PriceDiscGroup | |
PurchLineGroup | PriceDiscGroup | |
PurchMultiGroup | PriceDiscGroup | |
PurchPriceGroup | PriceDiscGroup | |
SalesEndGroup | PriceDiscGroup | |
SalesLineGroup | PriceDiscGroup | |
SalesMultiGroup | PriceDiscGroup | |
SalesPriceGroup | PriceDiscGroup | |
UnitId | UnitOfMeasure | |
VendEndGroup | PriceDiscGroup | |
VendLineGroup | PriceDiscGroup | |
VendMultiGroup | PriceDiscGroup | |
VendPriceGroup | PriceDiscGroup | |
VendTable | VendTable |
Top
Indexes
Index | AllowDuplicates | Enabled | Fields |
---|---|---|---|
AgreementHeaderExt_RUIdx | Yes | Yes | |
JourLineNumIdx | No | Yes | |
JournalRelationIdx | Yes | Yes | |
PDSCalculationTableIdx | Yes | Yes | |
PriceDiscTableRefIdx | Yes | Yes |
Top
Inheritance Hierarchy
xRecord Class
Common Table
PriceDiscAdmTrans Table