Codeunit WSB_STMCustomerStatusPublic¶
Exposes procedures to manage and perform tests specifically related to the statuses of customers.
Properties¶
Name | Value |
---|---|
Access | Public |
Methods¶
wgFncTestForSalesInsert¶
Check if the customer can be used in sales documents/entities, and throw an error if that is not the case.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Customer" |
pRecCustomer |
The customer. |
wgFncTestForSalesReleaseDocument¶
Check if a sales document can be released based on the bill-to and sell-to customer status, and throw an error if that is not the case.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Sales Header" |
pRecSalesHeader |
The sales header. |
wgFncTestForServiceInsert¶
Check if the customer can be used in service documents/entities, and throw an error if that is not the case.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Customer" |
pRecCustomer |
The customer. |
wgFncTestForServiceReleaseDocument¶
Check if a service document can be released based on the bill-to and sell-to customer status, and throw an error if that is not the case.
Parameters¶
Type | Name | Description |
---|---|---|
Record "Service Header" |
pRecServiceHeader |
The service header. |