Table "Item Charge Assignment (Purch)"
Properties
| Name | Value |
|---|---|
| Caption | Item Charge Assignment (Purch) |
| DataClassification | CustomerContent |
Fields
| Name | Type | Description |
|---|---|---|
| "Document Type" | Enum Microsoft.Purchases.Document."Purchase Document Type" | |
| "Document No." | Code[20] | |
| "Document Line No." | Integer | |
| "Line No." | Integer | |
| "Item Charge No." | Code[20] | |
| "Item No." | Code[20] | Specifies the item number on the document line that this item charge is assigned to. |
| Description | Text[100] | Specifies a description of the item on the document line that this item charge is assigned to. |
| "Qty. to Assign" | Decimal | Specifies how many units of the item charge will be assigned to the document line. If the document has more than one line of type Item, then this quantity reflects the distribution that you selected when you chose the Suggest Item Charge Assignment action. |
| "Qty. Assigned" | Decimal | Specifies the number of units of the item charge will be assigned to the document line. |
| "Unit Cost" | Decimal | |
| "Amount to Assign" | Decimal | Specifies the value of the item charge that is going to be assigned to the document line. |
| "Applies-to Doc. Type" | Enum Microsoft.Purchases.Document."Purchase Applies-to Document Type" | Specifies the type of the document that this document or journal line will be applied to when you post, for example to register payment. |
| "Applies-to Doc. No." | Code[20] | Specifies the number of the document that this document or journal line will be applied to when you post, for example to register payment. |
| "Applies-to Doc. Line No." | Integer | Specifies the number of the line on the document that this document or journal line will be applied to when you post, for example to register payment. |
| "Applies-to Doc. Line Amount" | Decimal | |
| "Qty. to Handle" | Decimal | Specifies how many items the item charge will be assigned to on the line. It can be either equal to Qty. to Assign or to zero. If it is zero, the item charge will not be assigned to the line. |
| "Amount to Handle" | Decimal | Specifies the value of the item charge that will be actually assigned to the document line. |
| SystemId | Guid | |
| SystemCreatedAt | DateTime | |
| SystemCreatedBy | Guid | |
| SystemModifiedAt | DateTime | |
| SystemModifiedBy | Guid | |
| SystemCreatedByUserName | Text[50] | |
| SystemCreatedByFullName | Text[80] | |
| SystemModifiedByUserName | Text[50] | |
| SystemModifiedByFullName | Text[80] | |
| SystemRowVersion | BigInteger |
Methods
PurchLineInvoiced
procedure PurchLineInvoiced(): Boolean
Returns
| Type | Description |
|---|---|
| Boolean |
CheckAssignment
procedure CheckAssignment(AppliesToDocumentType: Enum "Purchase Applies-to Document Type"; AppliesToDocumentNo: Code[20]; AppliesToDocumentLineNo: Integer)
Parameters
| Name | Type | Description |
|---|---|---|
| AppliesToDocumentType | Enum Microsoft.Purchases.Document."Purchase Applies-to Document Type" | |
| AppliesToDocumentNo | Code[20] | |
| AppliesToDocumentLineNo | Integer |
Events
OnValidateQtyToAssignOnBeforeTestFieldAppliesToDocLineNo
[IntegrationEvent(False,False)]
local procedure OnValidateQtyToAssignOnBeforeTestFieldAppliesToDocLineNo(var ItemChargeAssignmentPurch: Record "Item Charge Assignment (Purch)"; var IsHandled: Boolean)
Parameters
| Name | Type | Description |
|---|---|---|
| ItemChargeAssignmentPurch | Table Microsoft.Purchases.Document."Item Charge Assignment (Purch)" | |
| IsHandled | Boolean |