Codeunit WSB_PRPHistoryProtectionMgt¶
Provides functions to protect history if records are renamed of deleted.
Properties¶
Name | Value |
---|---|
Access | Public |
Methods¶
wgFncCheckForProtectedCustLedgerEntries¶
Checks when a record is deleted if it is allowed based on the history setup.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Customer" |
pRecCustomer |
The customer record to check customer ledger entries for. |
wgFncCheckForProtectedItemLedgerEntries¶
Checks when a record is deleted if it is allowed based on the history setup.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Item" |
pRecItem |
The item record to check item ledger entries for. |
wgFncCheckForProtectedResLedgerEntries¶
Checks when a record is deleted if it is allowed based on the history setup.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Resource" |
pRecResource |
The resource record to check resource ledger entries for. |
wgFncCheckForProtectedVendLedgerEntries¶
Checks when a record is deleted if it is allowed based on the history setup.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Vendor" |
pRecVendor |
The vendor record to check vendore ledger entries for. |
wgFncCustomerMoveServHistToDeletedCustNo¶
Moves service history rescords of a customer to the deleted customer no. from the productivity package setup.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Customer" |
pRecCustomer |
The customer record to move service history for. |
wgFncGetDeletedCustomerNoForLedgerEntries¶
Gets the 'deleted' Customer No. from setup.
Parameters¶
Type | Name | Description |
---|---|---|
Code[20] |
vDelCustNo |
The customer no. used to move existing history records to. |
wgFncGetDeletedItemNoForLedgerEntries¶
Gets the 'deleted' Item No. from setup.
Parameters¶
Type | Name | Description |
---|---|---|
Code[20] |
vDelItemNo |
The item no. used to move existing history records to. |
wgFncGetDeletedResNoForLedgerEntries¶
Gets the 'deleted' Resource No. from setup.
Parameters¶
Type | Name | Description |
---|---|---|
Code[20] |
vDelResourceNo |
The resource no. used to move existing history records to. |
wgFncGetDeletedVendorNoForLedgerEntries¶
Gets the 'deleted' Vendor No. from setup.
Parameters¶
Type | Name | Description |
---|---|---|
Code[20] |
vDelVendorNo |
The vendor no. used to move existing history records to. |
wgFncItemMoveServHistToDeletedItemNo¶
Updates service items with the 'delete' item no.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Item" |
pRecItem |
The item no. used to move existing history records to. |
wgFncVendorMoveServHistToDeletedVendorNo¶
Updates service items with the 'delete' vendor no.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Vendor" |
pRecVendor |
The Vendor record. |